Re: [squid-users] Squid 2.5STABLE10 core dumps

From: Odhiambo Washington <wash@dont-contact.us>
Date: Sun, 26 Jun 2005 06:42:34 +0300

* Thomas-Martin Seck <tmseck-lists@netcologne.de> [20050625 22:29]: wrote:
> * Odhiambo Washington (wash@wananchi.com):
>
> > Hiya,
> >
> > PS: I am not subscribed to the list so CC me in any replies!
> >
> >
> > I have been running squid-2.5STABLE5 for ages and was generally
> > happy. Today I upgraded to STABLE10 on FreeBSD 5.4-STABLE and all hell
> > broke loose.
> >
> > I use squid in a transparent proxy setup using IPFilter and
> > DansGuardian.
> >
> > With the same config file, whenever I attempt to browse, I get a core
> > dump. I did not change anything in squid.conf that I have always used.
>
> [gdb output elided]
>
> Is it possible that you are bitten by the "access denied to ipnat
> device" bug (see squid bug #1314,
> <http://www.squid-cache.org/bugs/show_bug.cgi?id=1313>)?

Yes. That is correct! I have seen same behaviour, now that I see the
bug. I hadn't though this could be the issue previously, but I realized
at some point that if i disabled the transparent proxying options in
squid.conf and put proxy settings in my browser then squid worked fine.
The moment I reverted to transparent and it crashed. I got so confused
I did not even remember to look at cache.log ;)

> If so, could you try the patch at <http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE10-transparent>,
> and if you use the FreeBSD port, could you try out the patch below,
> too and tell me if it fixes the problem?

Yes, I use the ports. I have applied your patch and it actually solved
the problem.

Short of using this patch, does it mean if I changed the perms on the
/dev/ipnat then it could have worked? Tricky, I think, since in FreeBSD
5.x most devices are created on the fly, yes?

Thank you very much for the fast response.
 

        Best regards,
        Odhiambo Washington
        Systems Admin,
        Wananchi Online Ltd.

Are you hosting your domain name with the leaders??:
See http://webhosting.info/webhosts/tophosts/Country/KE

DISCLAIMER : http://ns2.wananchi.com/~wash/Email/disclaimer.txt
----------------------------------+-----------------------------------------
 Odhiambo WASHINGTON . WANANCHI ONLINE LTD (Nairobi, KE)
 http://www.wananchi.com/email/ . 1ere Etage, Loita Hse, Loita St.,
 Mobile: (+254) 722 743 223 . # 10286, 00100 NAIROBI
----------------------------------+-----------------------------------------
You know 'that look' women get when they want sex? Me neither.
There are a number of mechanical devices which increase sexual arousal,
particularly in women. Chief among these is the Mercedes-Benz 600SL convertible.
        --Mikky
     
Received on Sat Jun 25 2005 - 21:42:39 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:03 MDT