Re: iptables subroutine chains

2002-05-07 Thread Jamin W . Collins
On Tue, 7 May 2002 12:50:19 -0700 (PDT) "David Wright" <[EMAIL PROTECTED]> wrote: > I am building a firewall with iptables. There are some checks I'd like > to occur on multiple chains. I'd like to arrange these as a "subroutine > chain", i.e. a chain that is called and then returns to the calling

Re: iptables subroutine chains

2002-05-07 Thread martin f krafft
also sprach David Wright <[EMAIL PROTECTED]> [2002.05.07.2150 +0200]: > I am building a firewall with iptables. There are some checks I'd like to > occur on multiple chains. I'd like to arrange these as a "subroutine > chain", i.e. a chain that is called and then returns to the calling chain > if t

Re: iptables subroutine chains

2002-05-07 Thread Jeremy T. Bouse
I'm not sure what the problem you're having is... This is exactly what Firewall Builder (fwbuilder) does when you build rules using it... In my case a quick 'grep ^iptables rules.fw |awk '{print $3}' |sort |uniq' results in 43 chains including the standard 3... Jeremy On Tue, May

Re: iptables subroutine chains

2002-05-07 Thread David Wright
> iptables -A CHECKS -j RETURN Doh! This is exactly the correct syntax. RTFM! Sorry for the noise. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

iptables subroutine chains

2002-05-07 Thread David Wright
I am building a firewall with iptables. There are some checks I'd like to occur on multiple chains. I'd like to arrange these as a "subroutine chain", i.e. a chain that is called and then returns to the calling chain if the packet makes it to the end. Schematically... iptables -A FORWARD -j CHECK