Re: ipfilter causing kernel panic in FreeBSD 6.1

This is a discussion on Re: ipfilter causing kernel panic in FreeBSD 6.1 within the IPFilter forums, part of the System Security and Security Related category; Darren Reed wrote: > Steve Clark wrote: > >>... >>Hi Darren, >> >>Since I ...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-07-2008
Steve Clark
 
Posts: n/a
Default Re: ipfilter causing kernel panic in FreeBSD 6.1

Darren Reed wrote:
> Steve Clark wrote:
>
>>...
>>Hi Darren,
>>
>>Since I knew it was night time "down under" I went ahead and just
>>changed to code
>>to print a message and return -1 in nat_finalise() then the tcp
>>pointer was null.
>>The system has stayed up now almost 24 hours - where yesterday it had
>>20 panics.
>>
>>Is there some reason we wouldn't want to just dump/ignore this packet,
>>since it seems to
>>me that the initial syn and at least the first packet of the
>>fragmented series had gotten lost
>>and eventually will be retried.

>
>
> Well, the original packet that caused this problem was not
> part of a SYN - it was a midstream TCP packet. I suspect
> something else is going on there. It may be part of a retransmitted
> packet sent after the original NAT session is torn down.
> I don't know. But obviously your policy allows the packet
> to be sent (and received) so the NAT code should make
> this possible.
>
> It might be more appropriate to not allow fragments that are
> not the first fragment (offset = 0) to form NAT sessions for
> the TCP/UDP protocols. That I could understand.
>

Yes that is what I was getting at. It is my understanding that in
freebsd ip_nat happens
before ip_filter - so we really can't filter these before they hit
ip_nat. Since they are externally
generated we would have to put another fw in front of this firewall to
keep them out.

Steve

> Darren
>
>


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:49 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0