openbsd-misc
[Top] [All Lists]

Re: the keep state rule

To: misc@openbsd.org
Subject: Re: the keep state rule
From: Claus <cniesen@gmx.net>
Date: Wed, 28 Feb 2001 15:24:30 -0600
In-reply-to: <5.0.2.1.0.20010228174702.02589ec0@mail.planete-marseille.f r>
Sender: owner-misc@openbsd.org
Your post is a little confusing, or maybe it's just me.

The "out" rules don't work in bridging mode. It might be that the "out" rule only applies to connection from the firewall itself. I haven't confirmed that yet. Maybe sometime I get time to try this out.

To save space in the state table use the "flags" key word in your rules. Just check the How-To or browse the archives there are plenty of examples.

At 10:52 AM 02/28/2001, Maxime Longuet wrote:
I've bridge + Ipf

xl0 on my internal network
xl1 on my routeur

I've this rules

pass in log quick on xl1 proto icmp from any to 193.56.133.70/32

pass in quick on xl1 proto icmp from any to 193.56.133.200/32

pass in quick on xl0 proto TCP/UDP all keep state

block in log quick on xl1 from any to any


But for pass out the rules pass in quick on xl0 proto TCP/UDP all keep state is necessary and the word keep state too. The problem is that the firewall crash with too many state. I've already give this question but no success ...



<Prev in Thread] Current Thread [Next in Thread>