[squid-users] Is jesred still compatible with squid 4.x?

Karl-Philipp Richter richter at richtercloud.de
Fri Feb 26 15:20:04 UTC 2016


Hi,
I noticed that `jesred` when used as `url_rewrite_program` program of
`squid` 4.0.4 with `jesred.rules`

    regex ^http://(de.archive.ubuntu.com/ubuntu/(dists|pool)/.*)$
http://192.168.178.20:3142/\1
    regex ^http://(security.ubuntu.com/ubuntu/(dists|pool)/.*)$
http://192.168.178.20:3142/\1
    regex ^http://(extras.ubuntu.com/ubuntu/(dists|pool)/.*)$
http://192.168.178.20:3142/\1
    regex ^http://(archive.canonical.com/ubuntu/(dists|pool)/.*)$
http://192.168.178.20:3142/\1

    regex ^http://(packages.medibuntu.org/(dists|pool)/.*)$
http://192.168.178.20:3142/\1
    regex
^http://(ppa.launchpad.net/chromium-daily/stable/ubuntu/(dists|pool)/.*)$ http://192.168.178.20:3142/\1
    regex ^http://(http://deb.opera.com/opera/(dists|pool)/.*)$
http://192.168.178.20:3142/\1

and an instance of `apt-cacher-ng` running on `192.168.178.20:3142`
(according to `netstat`) causes a lot of entries like

    1456494043|E|481|192.168.178.20|403 Forbidden file type or location:
/security.ubuntu.com/ubuntu/dists/wily-proposed/main/binary-i386/Packages.gz192.168.179.2/192.168.179.2-GET

I'd like to get some feedback whether this might be due to a change in
4.x communication with `url_rewrite_program` and which is the
recommended program to use for `url_rewrite_program`.

-Kalle

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20160226/9cf796e0/attachment.sig>


More information about the squid-users mailing list