Search squid archive

Re: intercept problem squid 3.1.18 SOLVED

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 31, 2011, at 11:32 PM, Amos Jeffries wrote:

> On 1/01/2012 11:23 a.m., jeffrey j donovan wrote:
>> turns out to be an OSX 10.6 issue
>> 
>> previous systems were set to 0 the default on 10.6 is 1. disable this and squid then gets the hit transparently.
>> sysctl -w net.inet.ip.scopedroute=0
>> 
>> -j
>> 
> 
> Thank you for that info. I've added it to the IPFW wiki page.
> http://wiki.squid-cache.org/ConfigExamples/Intercept/Ipfw
> 
> Amos


Great amos,

lets add the full set of sysctrl settings.

sysctl -w net.inet.ip.scopedroute=0
sysctl -w net.inet.ip.forwarding=1
sysctl -w net.inet.ip.fastforwarding=1



each of these items requires a " plist " file placed in /Library/LaunchDaemons to make changes after restart.

looks like this

/Library/LaunchDaemons/com.local.ipforwarding.plist

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.local.ipforwarding</string>
<key>Program</key>
<string>/usr/sbin/sysctl</string>
<key>ProgramArguments</key>
<array>
<string>sysctl</string>
<string>-w</string>
<string>net.inet.ip.forwarding=1</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>TimeOut</key>
<integer>90</integer>
<key>WorkingDirectory</key>
<string>/var/root</string>
</dict>
</plist>


-j


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux