So first, my "soon running" configuration http://vpaste.net/j13Tb
I'm using haproxy in front of 3 lighttpd.
I have 3 "listen", we received some DOS, so sometimes we have to nullroute one of the IP, so we can keep 2/3 of our trafic.

There is only one backend for now, the "backup" is just on another port for testing.

So *first*, do you see anything really wrong with my config file ?

I just updated my kernel to 3.7.10 to see if there is, or not any amelioration, I can't feel the difference for know (I'm the only one on this haproxy).

Before the SSL handle, I was using a lighttpd in front => localhost: haproxy => backend lighttpd.

*Other question* : I have a little bittorrent tracker, running on C++, since 2 days, I'm trying to find on Google some information on "how to get the X Forward header".

char ip[INET_ADDRSTRLEN];
inet_ntop(AF_INET, &(client_addr.sin_addr), ip, INET_ADDRSTRLEN);
std::string ip_str = ip;

Should be in something arround this, I tried to find some stuff in HAProxy sources, but I'm not very familiar with this.

*Other Quesiton* : Any idea, maybe it could be a feature request, to add haproxy "user agent" on check.

*Keep Alive question* : On my ACL munin (the only page where I can have a real use of keepalive because of the number of images), I can't find a valid method to activate keepalive.

That's all for now, thanks in advance if you can help me, or just if you read this entire message.

Boris.

Reply via email to