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

Eliezer Croitoru eliezer at ngtech.co.il
Mon Feb 29 00:13:00 UTC 2016


Hey Kalle,

I do not remember if I have tried to work with such a setup in the past 
but, can you give some technical details on the desired setup?
Are there any written documentations about such a setup already? if so 
can you redirect me to one of these?

Basically the jesred program as far as I remembered it was not developed 
for a very long time but I have found the next sources:
https://github.com/sawcache/jesred/blob/master/main.c#L166

Which indicates that someone did something with it to somehow work with 
Squid 3.5+ including 4.X.
If I would have known more about the setup I would probably be able to 
answer the question.

Also what changes in 4.X communications are you talking about?
The changes I know about are from 3.4-3.5

Eliezer

On 26/02/2016 17:20, Karl-Philipp Richter wrote:
> 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
>
>
>
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>



More information about the squid-users mailing list