On Sun, Jun 5, 2011 at 6:10 AM, Odhiambo Washington <odhia...@gmail.com>wrote:
> Hello Everyone, > > I am new to pfsense - using it for the first time, though I've known about > it all these years. > > Kindly bear with me on this one. > > I am running *2.0-RC2* and I've been trying to achieve a few things with > Squid (3.1.9). It's not been well as squid refuses to start. > I managed to spend some time on this matter and figured out that the > problems are resident inside squid.inc. > > I still do not understand why we have this on line 903 of squid.inc, > especially the "deny all" bit. > > $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . " deny all\n"; > > > So here is my patch, which also contains a few changes required in squid-3. > > (14:02:35 <~>) 0 $ less squid.inc.diff > 527c527 > < } > --- > > } > 813,814c813,814 > < acl all src 0.0.0.0/0.0.0.0 > < acl localhost src 127.0.0.1/255.255.255.255 > --- > > acl all src all > > acl localhost src 127.0.0.1/32 > 903c903 > < $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . " deny > all\n"; > --- > > $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . " KB\n"; > > > I stand corrected though. > Thanks for the diff Odhiambo, can you please submit this as a pull request via github: https://github.com/bsdperimeter/pfsense-packages (you can edit the file directly on github and create a fork with the change). --Bill