Tag: squid

  • EVA and WiFi

    So I am flying EVA from SIN – TPE – JFK and back. For the first time I also went to the dark side (16hrs was too long to be locked up with just my mind) and got onboard WiFi. This seems to come with unlimited data for ~20USD for 24hrs. I manage to stream…

  • Squid MRTG stats

    I talked about MRTG stats for Squid in the past but apparently forgot to include the .mib file. So, here it is. Download this file and put it in /usr/share/squid/mib.txt. I don’t quite remember where I found that mib file. Probably included with Squid on Gentoo or the world wide web… But I couldn’t find…

  • Squid: readable time format in log

    Change the time & date log format For Squid. From: 1295723692.628 24 192.168.200.6 TCP_MISS/200 3505 GET https://web.archive.org/web/20130823023017/http://i3.ytimg.com/vi/ru8ddkzOFUI/default.jpg – DIRECT/74.125.79.101 image/jpeg To: 22/Jan/2011:20:48:17 +0100.079 40 192.168.200.6 TCP_MISS/304 353 GET https://web.archive.org/web/20110124082452/http://s.ytimg.com/yt/cssbin/www-embed-vfl0GVaH1.css – DIRECT/74.125.79.101 – In the Squid config comment all “logformat” lines, and add: logformat squid %tl.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt FYI; Default is:…