apt-cacher transparent proxying
apt-cacher is a really neat program which caches debian downloads. Very useful when you look after a few debian boxes and brilliant when you are doing automated installs.
However I’ve never used apt-cacher at home since it requires you to edit your sources.list file and then it wouldn’t work when I was somewhere without apt-cacher.
Well, that’s no longer the case – I got bored last night and added transparent proxying support to it in about an hour (tops) of which quite some time was trying to work out why it didn’t get the Host: header since it had code to parse that kind of stuff. I
believe it only sees that when used as a daemon.
Anyhow, it should be patched for both daemon and apache modes and I’ve submitted my code upstream. I hope to use this at the next HantsLUG meet.
Posted: February 12th, 2006 under Linux.
Comments: none
Write a comment