On Sun, Jun 5, 2011 at 17:44, Bill Marquette <[email protected]>wrote:

> On Sun, Jun 5, 2011 at 6:10 AM, Odhiambo Washington <[email protected]>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
>

Hi Bill,

I've looked at this but did not find a way to accomplish your request.
BTW, I am not a developer at all so don't trust me to work correctly on the
file:-)
I'll be happy if you could just help out make the change.


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.
Please consider the environment before printing this email.

<<image001.png>>

Reply via email to