Package: jesred
Severity: grave
Justification: renders package unusable

I'm using testing on i386 arch with latest packages for lenny. The squid
setup is almost the default one, being the bigest change that I'm using
transparent proxying by specifying "http_port 80 transparent".

While trying to upgrade a setup from squid 2.6 to squid3 I found that the
url rewriting scheme was not working, jesred gets the urls but doesn't act
uppon them.

The problem here seems to be that 2.6 sends petitions like this:

http://url 127.0.0.1/localhost - GET -

While 3.0 sends something like this:

http://url 127.0.0.1/localhost - GET myip=127.0.0.1 myport=80

My setup doesn't include any urlgroup so my jesred.rules reads...

regex   file.mp3$               http://no.mp3/allowed.html
regexi  ^http://domain.name     http://other.domain.name/url.cgi

If I manually run jesred and pass to it a couple of urls matching this rules
and ending with a "-" to specify no urlgroup, then it works ok, and if I
send the same info ending with the new "myip=127.0.0.1 myport=80" jesred
won't match.

This is a real execution tests that includes those rules:

# /usr/lib/squid/jesred 
JESRED running as UID 0: writing logs to stderr
1226324254.959 Freeing up old linked lists
1226324254.960 Loading IP List from /etc/jesred.acl
1226324254.960 Reading Patterns from config /etc/jesred.rules
1226324254.961 JESRED (PID 3105) started
http://domain.name 127.0.0.1/localhost - GET myip=127.0.0.1 myport=80

http://domain.name 127.0.0.1/localhost - GET -
http://other.domain.name/url.cgi 127.0.0.1/localhost - GET
1226324319.787 127.0.0.1/localhost http://domain.name 
http://other.domain.name/url.cgi 4

As you can see, the new squid scheme doesn't seem to work, while the old one
does work.

If you need any other info just ask for it.

Regards...

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=gl_ES.UTF-8, LC_CTYPE=gl_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to