Yesterday, I upgraded our router/squid/samba/printer server from Ubuntu Dapper to Ubuntu Edgy Eft via a fresh install.
To my horror, as I tried to run ipkungfu from the terminal... it won't run leaving several lines of error warnings! I did some research with Mr. Google in which I find out that I only have to open /usr/sbin/ipkungfu...
sudo gedit /usr/sbin/ipkungfuand change the first line to...
#!/bin/bashand then my IpKungfu started to work flawlessly.
Then next is Squid. When I tried the same configurations I used on this blogpost, Squid won't start with matching errors (again!).
After a few seconds Googling the net, I found out that I no longer have to setup the lines below on Squid version 2.6 (Dapper uses the older version)...
httpd_accel_host virtualInstead, all I have to do is to change the http_port tag at the squid configuration file from "http_port 3128" to "http_port 3128 transparent" and that's it!
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
Now Ipkungfu and Squid works well hand in hand (and a bit zippier!) on my Ubuntu Edgy Eft box as if it was configured by a pro. :)
Online Resources: Transparent Caching on Squid 2.6 and Ipkungfu on Edgy Eft.