Subject: Re: pkg/30085: squid-2.5.9 >=nb6 crashes when doing ipf-transparent
To: None <taca@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Markus W Kilbinger <mk@kilbi.de>
List: pkgsrc-bugs
Date: 04/29/2005 09:17:01
The following reply was made to PR pkg/30085; it has been noted by GNATS.

From: Markus W Kilbinger <mk@kilbi.de>
To: Takahiro Kambe <taca@back-street.net>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/30085: squid-2.5.9 >=nb6 crashes when doing ipf-transparent
Date: Fri, 29 Apr 2005 11:16:46 +0200

 > Is this additional patch change your problem?
 > 
 >  
 >  --- src/client_side.c.orig	2005-04-28 12:15:59.000000000 +0900
 >  +++ src/client_side.c
 >  @@ -2739,8 +2739,8 @@ parseHttpRequest(ConnStateData * conn, m
 >         if (natfd < 0) {
 > 	   int save_errno;
 > 	       enter_suid();
 >  -#ifdef IPL_NAME
 >  -		natfd = open(IPL_NAME, O_RDONLY, 0);
 >  +#ifdef IPNAT_NAME
 >  +		natfd = open(IPNAT_NAME, O_RDONLY, 0);
 >   #else
 > 		natfd = open(IPL_NAT, O_RDONLY, 0);
 >   #endif
 
 Nope. squid now fails recurrently with
 
   Page faults with physical i/o: 0
 
 I guess that was the first error message w/o your patch, too. Only
 further panics yielded the IPNAT related error message...