All of lore.kernel.org
 help / color / mirror / Atom feed
* How to drop arps when protocol addrs of sender = target
@ 2003-09-10 17:04 Chris Schanzle
  2003-09-11 12:14 ` Cedric Blancher
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Schanzle @ 2003-09-10 17:04 UTC (permalink / raw)
  To: netfilter; +Cc: schanzle

I have a need to not respond to arps where the protocol address of the 
sender is the same as the target, which is the case when Windows clients 
try to ARP for the manually-configured address it is about to use.  If 
it gets a response, it disables the interface.  I currently respond 
because of a global arp entry ("arp ... -s ... netmask 0.0.0.0 pub"), 
which is required for my application.

I want to receive and respond to all other ARPs (e.g., for routers).

I cannot change the Windows clients.

It does not appear to me this can be done with iptables or arptables 
(comparisons between two fields in the packet).  Any suggestions before 
I start hacking on kernel code?

Thanks,

Chris Schanzle
[yes, the nospam *does* go to me.  :-]




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to drop arps when protocol addrs of sender = target
  2003-09-10 17:04 How to drop arps when protocol addrs of sender = target Chris Schanzle
@ 2003-09-11 12:14 ` Cedric Blancher
  0 siblings, 0 replies; 2+ messages in thread
From: Cedric Blancher @ 2003-09-11 12:14 UTC (permalink / raw)
  To: Chris Schanzle; +Cc: netfilter, schanzle

Le mer 10/09/2003 à 19:04, Chris Schanzle a écrit :
> I have a need to not respond to arps where the protocol address of the 
> sender is the same as the target, which is the case when Windows clients 
> try to ARP for the manually-configured address it is about to use.

It is not easy to achieve as you would need a specific match extensions
for that compares protocole source and destination addresses for
arptables or ebtables (iptables does not filter ARP). I wanted to write
something like this to spot wierd ARP stuff, but I do not have the time
for now. However, enhancing ebtables arp match is quite an easy thing. I
did not look at arptables, but it must be easy too.

-- 
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-11 12:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-10 17:04 How to drop arps when protocol addrs of sender = target Chris Schanzle
2003-09-11 12:14 ` Cedric Blancher

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.