squid transparent proxy is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Squid |
Fix Released
|
Low
|
||
| squid (Ubuntu) |
High
|
Stéphane Graber | ||
| Edgy |
High
|
Stéphane Graber |
Bug Description
Binary package hint: squid
In package 2.6.1-3ubuntu1 , the transparent option in squid.conf is broken in Squid upstream version 2.6.RELEASE1. This has been fixed in 2.6.RELEASE2.
Recommend 2.6.RELEASE2 be added to edgy-backports.
Changed in squid: | |
status: | Unknown → Fix Released |
Kenneth Rawlings (rawlink) wrote : | #1 |
James Troup (elmo) wrote : | #2 |
We've just run into this at the allhands conference. There's a trivial workaround in the upstream bug (adding 'always_direct allow all' to the config). But this is a serious regression from dapper and really should be fixed in edgy updates if at all possible.
Changed in squid: | |
importance: | Undecided → High |
status: | Unconfirmed → Confirmed |
importance: | Undecided → High |
status: | Unconfirmed → Confirmed |
Martin OConnor (martinoc) wrote : | #3 |
Using always_direct allow all, in most cases defeats the purpose of using a proxy. I have pinned to dapper for squid until this is fixed.
Daniel Fonseca (dalraf) wrote : | #4 |
I have the same trouble here, anybody know a .deb that i can install without the bug ?
Stéphane Graber (stgraber) wrote : | #5 |
As I've just had this issue on my local server, I quickly made a backport of Feisty packages.
They are available here : http://
And their use is of course at your own risks.
Changed in squid: | |
assignee: | nobody → stgraber |
Stéphane Graber (stgraber) wrote : | #6 |
I have found a working patch attached to Squid Bug 1650.
I updated it a little bit to apply on the Ubuntu Edgy package and then made the attached debdiff, if someone can have a look at it.
(As it's for Edgy I didn't what distrib and what version to put, actually I took the previous record from the changelog which is edgy-security and -3ubuntu1.3, let me know if you want something else)
Changed in squid: | |
status: | Confirmed → In Progress |
Martin OConnor (martinoc) wrote : | #7 |
Remember this is an upstream bug that was broken and has also been fixed upstream. Ideally, the upstream version of squid this package uses should be updated to a more recent version where the fix has been applied.
Stéphane Graber (stgraber) wrote : | #8 |
Usually Ubuntu doesn't do a backport only for one bugfix if it's possible to isolate the patch and apply it to the current version of the package in Ubuntu (what I in fact did).
Stéphane Graber (stgraber) wrote : | #9 |
Changed in squid: | |
status: | Confirmed → In Progress |
Martin Pitt (pitti) wrote : | #10 |
Fixed upstream in 2.6.5, thus fixed in Feisty.
Changed in squid: | |
status: | In Progress → Fix Released |
Changed in squid: | |
assignee: | nobody → stgraber |
Martin Pitt (pitti) wrote : | #11 |
Stephane, please rework this patch a bit. First, I am not convinced that the autoconf changes are necessary. If debian/rules actually specifies this flag, then it should just be removed there (it has to be removed anyway if configure does not offer it any more).
Also, the dpatch seems broken, since it duplicates the patches:
$ lsdiff bug-68818.debdiff
squid_2.
squid_2.
squid_2.
squid_2.
squid_2.
squid_2.
configure
configure.in
include/
src/acl.c
src/client_side.c
src/structs.h
The code parts of the upstream parts look reasonable.
Changed in squid: | |
status: | In Progress → Needs Info |
Martin Pitt (pitti) wrote : | #12 |
Stephane, please set this back to 'in progress' when you have an updated patch. Thank you!
Stéphane Graber (stgraber) wrote : | #13 |
New updated patch, removing the autoconf part (this flag wasn't used) and I fixed the duplicate thing (a copy of the patch was in the debian/patches/ directory).
Changed in squid: | |
status: | Needs Info → In Progress |
Martin Pitt (pitti) wrote : | #14 |
Stephane,
+squid (2.6.1-3ubuntu1.3) edgy-proposed; urgency=low
You have to bump this to 1.4 and base your patch on the already existing
squid | 2.6.1-3ubuntu1.3 | http://
Patch is ok otherwise, so please upload with above correction.
Stéphane Graber (stgraber) wrote : | #15 |
Ok, I've just done the changes
Martin Pitt (pitti) wrote : | #16 |
Stephane, looks good. Please upload.
Martin Pitt (pitti) wrote : | #17 |
Upload sponsored and accepted into edgy-proposed, please go ahead with QA testing.
Changed in squid: | |
status: | In Progress → Fix Committed |
Michael Vogt (mvo) wrote : | #18 |
Thanks for your update.
Please include instructions how to reproduce the bug. The policy says:
"Detailled instructions how to reproduce the bug.- These should allow someone who is not familiar with the affected package to reproduce the bug and verify that the updated package fixes the problem."
I will be happy to do the verification once I have this instructions.
Thanks,
Michael
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Setting the following in squid.conf before starting squid will reproduce
this bug.
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_
httpd_accel_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://
iD8DBQFGUxcdFEB
29K0EyBDTPV3Gvj
=CfEi
-----END PGP SIGNATURE-----
Daniel Holbach (dholbach) wrote : | #20 |
Martin OConnor: which version of Squid are you using? Do you still have the problem?
Changed in squid: | |
status: | Fix Committed → Incomplete |
Daniel Holbach (dholbach) wrote : | #21 |
Marking the bug as fixed released, please reopen the bug, if you can follow up with more information.
Changed in squid: | |
status: | Incomplete → Fix Released |
Changed in squid: | |
status: | Fix Released → Unknown |
Changed in squid: | |
status: | Unknown → Fix Released |
Martin Pitt (pitti) wrote : | #22 |
The package is still sitting in edgy-proposed, it is not in -updates yet. We need proper testing verification first.
Changed in squid: | |
status: | Fix Released → Fix Committed |
Kees Cook (kees) wrote : | #23 |
This has been superseded by a security upload. Please remerge.
Changed in squid: | |
status: | Fix Committed → Triaged |
Kees Cook (kees) wrote : | #24 |
Security debdiff attached...
Martin Pitt (pitti) wrote : | #25 |
Can someone please test this? Martin OConnor?
This SRU is very old, and if it does not get verified I'll just remove it from -proposed due to obsolescence.
Martin OConnor (martinoc) wrote : | #26 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I can confirm that this now works. I have installed the version in
edgy-proposed and the transparent option now works.
Martin Pitt wrote:
| Can someone please test this? Martin OConnor?
|
| This SRU is very old, and if it does not get verified I'll just remove
| it from -proposed due to obsolescence.
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAke
lxoAmwblTccIM4a
=McFw
-----END PGP SIGNATURE-----
Martin Pitt (pitti) wrote : | #27 |
Reuploaded this patch on top of Kees' security update:
squid (2.6.1-3ubuntu1.6) edgy-proposed; urgency=low
.
* Fix transparent proxies (LP: #68818).
Can you please test this version and give feedback here? Thanks!
Changed in squid: | |
status: | Triaged → Fix Committed |
Martin OConnor (martinoc) wrote : | #28 |
squid 2.6.1-3ubuntu1.6 from edgy-proposed works as required as a transparent proxy
Martin Pitt (pitti) wrote : | #29 |
Copied to edgy-updates. Thank you!
Changed in squid: | |
status: | Fix Committed → Fix Released |
Sunday Olutayo (solutayo) wrote : | #30 |
" In package 2.6.1-3ubuntu1 , the transparent option in squid.conf is broken in Squid upstream version 2.6.RELEASE1. This has been fixed in 2.6.RELEASE2.
Recommend 2.6.RELEASE2 be added to edgy-backports."
Please how do I carry out the backporting?
Martin Pitt (pitti) wrote : | #31 |
sadeeb [2009-01-20 12:08 -0000]:
> " In package 2.6.1-3ubuntu1 , the transparent option in squid.conf is
> broken in Squid upstream version 2.6.RELEASE1. This has been fixed in
> 2.6.RELEASE2.
>
> Recommend 2.6.RELEASE2 be added to edgy-backports."
edgy has not been supported since April 2008, so we will not do any
official backports for it any more. So if you are still running edgy,
you need to install your own package from upstream sources. However, I
urgently recommend you to upgrade to a supported Ubuntu release like
8.04 LTS.
Francesco Chemolli (kinkie) wrote : | #32 |
As a further note, Squid 2.6 is not supported anymore by the Squid developers; the currently supported versions are 2.7.STABLE5 and 3.0.STABLE11.
If recompilation from source, we recommend to choose one of the two - which one depends on the needed features.
See http://
Changed in squid: | |
importance: | Unknown → Low |
I'll second this one. I replaced a gentoo server in my DMZ providing the squid transparent proxy and couldn't figure out why it wasn't working with my brand new "Edgy" install. It took me a while to track down that it was bug in squid and not a configuration error on my part. Refer to bug #1650 in the squid bug system.