Re: squid 3.1 ICAP problem

2010-04-30 Thread Alex Rousskov
On 04/23/2010 09:43 AM, Dan Searle wrote: > I'm writing an ICAP server from scratch If it is not too late, consider using an existing ICAP server. There are a few open source options available. It is very difficult to implement a full-featured ICAP server correctly. The specs are deceivingly simp

Re: IpAddress comparison operators lie

2010-04-30 Thread Alex Rousskov
On 05/01/2010 12:07 AM, Amos Jeffries wrote: > Alex Rousskov wrote: >> Current IpAddress comparison operators are broken from logic point >> of view. For example, if a and b are IpAddress objects, then >> >> * both (a < b) and (a > b) are true if exactly one address is NoAddr; >> > > Sorry. >

Re: IpAddress comparison operators lie

2010-04-30 Thread Amos Jeffries
Amos Jeffries wrote: Alex Rousskov wrote: Hello, Current IpAddress comparison operators are broken from logic point of view. For example, if a and b are IpAddress objects, then * both (a < b) and (a > b) are true if exactly one address is NoAddr; Sorry. (a > b) looks correct. (a < b

Re: IpAddress comparison operators lie

2010-04-30 Thread Amos Jeffries
Alex Rousskov wrote: Hello, Current IpAddress comparison operators are broken from logic point of view. For example, if a and b are IpAddress objects, then * both (a < b) and (a > b) are true if exactly one address is NoAddr; Sorry. (a > b) looks correct. (a < b) should return false

Hudson build is back to normal: 3.1-amd64-CentOS-5.3 #127

2010-04-30 Thread noc
See

IpAddress comparison operators lie

2010-04-30 Thread Alex Rousskov
Hello, Current IpAddress comparison operators are broken from logic point of view. For example, if a and b are IpAddress objects, then * both (a < b) and (a > b) are true if exactly one address is NoAddr; * (ip1 == ip2) may be true even if the addresses have different ports There may be mor

[PATCH] IpAdress truncates printed port that exceeds 9999

2010-04-30 Thread Alex Rousskov
Fixed IpAddress port printing for ports higher than : snprintf includes zero-terminator in its size limit, so 7 rather than 6 bytes are needed to snprintf a colon followed by 5 port digits. Whether the bug has any runtime effects in the current code, I do not know, but I did waste a few hours

Re: Forward Authenticated User

2010-04-30 Thread Amos Jeffries
Henrik Nordström wrote: tor 2010-04-29 klockan 15:53 -0430 skrev Robert Marcano: I am attaching a patch for 3.0.x versions (I will forward port if there is interest and change recommendations). This patch adds a new option to Squid that allows it to forward the current authenticated user to the

Re: Introduction - pre patch submission

2010-04-30 Thread Amos Jeffries
Robert Marcano wrote: Greetings. I am interested in developing features for squid that are currently needed in our installations, related with LDAP and authentication integration and content filtering (ICAP). I have being able to add the feature of forwarding the current authenticated to the

Build failed in Hudson: 3.HEAD-sparc-opensolaris-SunStudioCc #134

2010-04-30 Thread noc
See Changes: [Automatic source maintenance ] SourceFormat Enforcement [Francesco Chemolli ] Fixed more symbol overlapping in ntlm_auth/smb_lm helper -- [...truncated 45

Build failed in Hudson: 3.HEAD-i386-opensolaris-SunStudioCc #203

2010-04-30 Thread noc
See Changes: [Automatic source maintenance ] SourceFormat Enforcement [Francesco Chemolli ] Fixed more symbol overlapping in ntlm_auth/smb_lm helper -- [...truncated 451

Re: Forward Authenticated User

2010-04-30 Thread Henrik Nordström
tor 2010-04-29 klockan 15:53 -0430 skrev Robert Marcano: > I am attaching a patch for 3.0.x versions (I will forward port if there > is interest and change recommendations). This patch adds a new option to > Squid that allows it to forward the current authenticated user to the > next proxy (or t

Forward Authenticated User

2010-04-30 Thread Robert Marcano
I am attaching a patch for 3.0.x versions (I will forward port if there is interest and change recommendations). This patch adds a new option to Squid that allows it to forward the current authenticated user to the next proxy (or the HTTP server if that is what is wanted) via an HTTP header.

Introduction - pre patch submission

2010-04-30 Thread Robert Marcano
Greetings. I am interested in developing features for squid that are currently needed in our installations, related with LDAP and authentication integration and content filtering (ICAP). I have being able to add the feature of forwarding the current authenticated to the next proxy in the chai

Build failed in Hudson: 3.HEAD-sparc-opensolaris-SunStudioCc #133

2010-04-30 Thread noc
See Changes: [Francesco Chemolli ] Fixed more symbol overlapping in ntlm_auth/smb_lm helper [Amos Jeffries ] Translation .POT updates [Amos Jeffries ] Naming upgrade of digest_pw_auth (now digest_file_auth)

Build failed in Hudson: 3.HEAD-i386-opensolaris-SunStudioCc #202

2010-04-30 Thread noc
See Changes: [Francesco Chemolli ] Fixed more symbol overlapping in ntlm_auth/smb_lm helper [Amos Jeffries ] Translation .POT updates [Amos Jeffries ] Naming upgrade of digest_pw_auth (now digest_file_auth) [

Hudson build is back to normal: 3.HEAD-amd64-CentOS-5.3 #503

2010-04-30 Thread noc
See

Build failed in Hudson: 3.HEAD-amd64-CentOS-5.3 #502

2010-04-30 Thread noc
See Changes: [Francesco Chemolli ] Portability fixes. [Francesco Chemolli ] Fixed symbol clash in group ldap authorization helper. -- [...truncated 4497 lines...] if gcc -DHAVE_CONFIG

Build failed in Hudson: 3.HEAD-sparc-opensolaris-SunStudioCc #132

2010-04-30 Thread noc
See Changes: [Francesco Chemolli ] Fixed symbol clash in group ldap authorization helper. [Francesco Chemolli ] Fixed symbol clash in digest ldap auth helper. -- [...tr

Build failed in Hudson: 3.HEAD-i386-opensolaris-SunStudioCc #201

2010-04-30 Thread noc
See Changes: [Francesco Chemolli ] Fixed symbol clash in group ldap authorization helper. [Francesco Chemolli ] Fixed symbol clash in digest ldap auth helper. -- [...tru