Re: Problems with Router Solicitation

This is a discussion on Re: Problems with Router Solicitation within the IPFilter forums, part of the System Security and Security Related category; [ Charset ISO-8859-1 unsupported, converting... ] > Hi, > > Is anyone having this kind of problem with IPF 4....


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-10-2006
Darren Reed
 
Posts: n/a
Default Re: Problems with Router Solicitation

[ Charset ISO-8859-1 unsupported, converting... ]
> Hi,
>
> Is anyone having this kind of problem with IPF 4.1.x:
>
> http://www.netbsd.org/cgi-bin/query-...l?number=33423


I've found the problem. The call to frpr_pullup() in frpr_icmp6()
does a "+ 8" that it doesn't need to, causing IPFilter to look
for a minimum size of 16, which it can't pullup and then drops the
packet.

Patch below.

Darren

*** fil.c.dist Thu May 11 02:33:38 2006
--- fil.c Thu May 11 02:33:56 2006
***************
*** 703,709 ****
int minicmpsz = sizeof(struct icmp6_hdr);
struct icmp6_hdr *icmp6;

! if (frpr_pullup(fin, ICMP6ERR_MINPKTLEN + 8 - sizeof(ip6_t)) == -1)
return;

if (fin->fin_dlen > 1) {
--- 703,709 ----
int minicmpsz = sizeof(struct icmp6_hdr);
struct icmp6_hdr *icmp6;

! if (frpr_pullup(fin, ICMP6ERR_MINPKTLEN - sizeof(ip6_t)) == -1)
return;

if (fin->fin_dlen > 1) {
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 04:05 PM.


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