Skip to contentSkip to conversation

let arptables see bridged frames

RFC Bart De Schuymer 3 participants 3 messages Jun 11, 2003 – Jun 13, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

Hello,

I'm planning on letting arptables see bridged frames. This would be done by making a new arptables hook "NF_ARP_FORWARD", which would be called inside net/bridge/br_netfilter.c. Next would be adding an arptables target that can alter device and IP addresses inside the ARP payload. This can atleast be handy on a bridging firewall. Since there's no real routing or bridging happening for the ARP prococol, I don't think there's any need for special chains to alter the payload: just allow it in all three arptables chains.

Are there any objections against this, or comments? This would be only for 2.5/2.6. Maybe it's too late into 2.5 for this? There's now an arptables userspace tool, so that's not a problem.

cheers,
Bart

#1 lore raw

From: Bart De Schuymer <[email protected]>
Date: Wed, 11 Jun 2003 21:28:39 +0200

I'm planning on letting arptables see bridged frames.
...
Are there any objections against this, or comments?

No objections.

#2 lore raw
Quoted 5 lines · David S. Miller

I'm planning on letting arptables see bridged frames.
...
Are there any objections against this, or comments?

No objections.

I agree with davem, this could really be an useful feature for filtering bridges... so please go ahead with your implementation :)

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie