netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 0/2] Find address type on the packet's interface
@ 2007-11-19 15:55 Laszlo Attila Toth
  2007-11-19 15:55 ` [PATCHv4 1/2] Find address type on a specific or on any interface Laszlo Attila Toth
  2007-11-19 16:06 ` [PATCHv4 0/2] Find address type on the packet's interface Patrick McHardy
  0 siblings, 2 replies; 10+ messages in thread
From: Laszlo Attila Toth @ 2007-11-19 15:55 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: netfilter-devel, Laszlo Attila Toth

Hi Patrick,

This extension of addrtype match lets the address type checking be
limited to the incoming or outgoing interface of the packets depending
on the current hook.

In the FORWARD chain only one check is allowed but the user can choose
which one would like to specifiy.

Because of this extension the match has a new revision. Rev 0 can be
used by older tools and rev 1 is for the modified iptables match.

The iptables patch is for revision 1 only.

Both the kernel module and the iptables module moved to xtables,
but the kernel module uses ipt_addrtype_info in revision 0.

Usage:
  iptables -A INPUT -m addrtype ... --limit-iface-in -j ACCEPT
  iptables -A OUTPUT -m addrtype ... --limit-iface-out -j ACCEPT
  # 2 rules in the FORWARD chain
  iptables -A FORWARD -m addrtype ... --limit-iface-in -j ACCEPT
  iptables -A FORWARD -m addrtype ... --limit-iface-out -j ACCEPT

Patches:
 [kernel 1/2] Find address type on a specific or on any interface
 [kernel 2/2] Addrtype match: limit addrtype check to an interface.
      Moved to xtables
 [iptables] Adress type match: limited to incoming or outgoing interface.
      Moved to xtables

Regards,
  Attila

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

end of thread, other threads:[~2007-11-20 10:54 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-19 15:55 [PATCHv4 0/2] Find address type on the packet's interface Laszlo Attila Toth
2007-11-19 15:55 ` [PATCHv4 1/2] Find address type on a specific or on any interface Laszlo Attila Toth
2007-11-19 15:55   ` [PATCHv4 2/2] Addrtype match: limit addrtype check to an interface. Moved to xtables Laszlo Attila Toth
2007-11-19 15:55     ` [PATCHv4 iptables] Address type match: limited to incoming or outgoing " Laszlo Attila Toth
2007-11-19 16:06 ` [PATCHv4 0/2] Find address type on the packet's interface Patrick McHardy
2007-11-19 17:00   ` Jan Engelhardt
2007-11-19 17:12     ` Patrick McHardy
2007-11-19 17:15       ` Jan Engelhardt
2007-11-19 17:20         ` Patrick McHardy
2007-11-20 10:54       ` Laszlo Attila Toth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).