Re: PF drops tcp packets from a machine with Gentoo linux kernel 2.6.18

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Darren Spruell <phatbuckett@...>
Cc: <misc@...>
Date: Wednesday, February 14, 2007 - 4:08 pm

On Wednesday 14 February 2007 12:11 pm, Darren Spruell wrote:

You think it is an issue with my state table rules even though running an "pfctl -ss" shows that the state is established?

I keep state on my outgoing connection and don't do any on the incoming connection except for some ssh connections which I rate limit. These ssh connections haven't been the issue anyway.

The basic outgoing rule is relatively simple it is
pass out on { $int_if $vpn_if $ext_if $dsl_if $DMZ_production_if $DMZ_proto_if } proto {tcp udp icmp} modulate state

After that I do some queuing but most of the test connections should have just gone into the default queue. Here are the rules,

pass out on $ext_if proto udp from $ext_ip port $vpn_port to $vpn_tungsten keep state queue vpn
pass out on $ext_if proto udp from $ext_ip port domain to any keep state queue vpn
pass out on $ext_if from to any modulate state queue dmz

The problem has occurred between pretty much any combination of those interfaces except the ext_if and dsl_if which I haven't tested. I will try and simplify things a bit but unfortunately the box is in production and has a lot of traffic moving through it right now so I can't do anything too drastic right away. One thing I will do right away is add the flag S/SA to all of these entries, I don't see any reason why that will break anything on the live machine.

Any other specific suggestions?

Whoops I was just grepping for state in my rules and I missed one though it shouldn't have applied to any of these connections
pass in on $int_if route-to ($dsl_if $dsl_gw) from to keep state

Thanks for the help.

--
Tim Kuhlman
Network Administrator
ColoradoVnet.com

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: PF drops tcp packets from a machine with Gentoo linux ke..., Tim Kuhlman, (Wed Feb 14, 4:08 pm)