mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: umesh chandak <chandak_pict@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: problem regarding new LSM hook
Date: Sun, 25 Sep 2005 00:40:20 -0700 (PDT)	[thread overview]
Message-ID: <20050925074021.20942.qmail@web35906.mail.mud.yahoo.com> (raw)

Hello sir,

		I am using madwifi v1.5 driver with linksys pci
adapter.


I have written a lsm hook  for netif_rx(struct sk_buff
*skb) in security.h file. 
I have  called that hook from  netif_rx fuction (after
variable declaration) in net/core/dev.c . 


Then I have written module for that hook.In that
module, I have dropped Icmp packets. But in Wireless
network ,When i ping machine "B" from machine "A" ,i
am getting the message on console like this
  64 bytes from machine "B" ip addr :icmp_seq=no
......   
but this should not happen because i am dropping
incoming Icmp packets in my module.
Can you tell me why this is happening.What i have made
wrong .
          

Note :    1)My module is working proper and i have
also
              freed the skb buffer.
	  2)It work fine for wired network.
	  3)Ethereal shows the correct result (does not
capture ICMP reply packets)
            for both wired and wireless network.


                          -Plz help me.We are trying
this from 6 days .  	                   
            thanks in advance
-Rishi


	
		
______________________________________________________ 
Yahoo! for Good 
Donate to the Hurricane Katrina relief effort. 
http://store.yahoo.com/redcross-donate3/ 


                 reply	other threads:[~2005-09-25  7:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050925074021.20942.qmail@web35906.mail.mud.yahoo.com \
    --to=chandak_pict@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®