Search squid archive

Re: AW: ident auth problem with squid 3.1.0.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michael.KASTINGER@xxxxxxx wrote:
Hi Amos,

what dou you mean with:
This thread started with "Same problem in 3.1.0.6" no reference to _which_ problem.
The thread was started with detailed information regarding this ident issue (strace, cache.log)
see posting with Subject "  ident auth problem with squid 3.1.0.6"

Which additional informations do you need?

Please let me know.


Actual quoted content about the earlier problem would have helped, or at least a link to the thread in archives.

This thread?
http://www.mail-archive.com/squid-users@xxxxxxxxxxxxxxx/msg63339.html
  (something about squid failing to lookup ident)

or this one?
http://www.mail-archive.com/squid-users@xxxxxxxxxxxxxxx/msg63174.html
  (squid trying to open a port twice)

Assuming you mean the second. Does the attached patch work?


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE14
  Current Beta Squid 3.1.0.7
=== modified file 'src/ident.cc'
--- src/ident.cc	2009-02-01 10:09:23 +0000
+++ src/ident.cc	2009-04-17 01:16:02 +0000
@@ -220,9 +220,12 @@
         return;
     }
 
+    IpAddress addr = me;
+    addr.SetPort(0); // NP: use random port for outbound to IDENT_PORT
+
     fd = comm_open(SOCK_STREAM,
                    IPPROTO_TCP,
-                   me,
+                   addr,
                    COMM_NONBLOCKING,
                    "ident");
 


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux