I think Stud is working on IPV4, but reporting the PROXY line as TCP6

PROXY  TCP6 ::ffff:127. 0.0.1 :: 52460 7302\r\n

When Haproxy goes to hash it:
/* backend.c */
case BE_LB_HASH_SRC:
                                if (s->req->prod->addr.from.ss_family == 
AF_INET)
                                        len = 4;
                                else if (s->req->prod->addr.from.ss_family == 
AF_INET6)
                                        len = 16;


It detects the protocol as IPv4, and only hashes the first 4 characters of the 
source ip, even though the PROXY line says TCP6

I would guess then that the problem lies with stud?

---
posted at http://www.serverphorums.com
http://www.serverphorums.com/read.php?10,452932,469045#msg-469045

Reply via email to