Re: Block clients based on header in real time?

2013-06-12 Thread Ricardo Fraile
Fantastic! Whith this conf, now, i can update the list with a simple: # echo set table name-of-the-table key 10.0.0.1 data.gpc0 1 | socat stdio /var/run/haproxy.sock And with a curl: $ curl -I 127.0.0.1:80 -H True-Client-IP: 10.0.0.1 HTTP/1.0 403 Forbidden Cache-Control: no-cache Connection:

Meaning of hrsp_2xx in show_stat

2013-06-12 Thread Ashish Jaiswal
Hi All, I'm trying to collect some statistics of haproxy server. Here is what I'm not able to understand. If possible any body can help me out with this. This is the command which is running and giving stats to collectd and the graphs are generated on graphite. echo 'show stat' |

мыслите иметься превосходнейшим партнером?

2013-06-12 Thread Артем Глебович
Любая мадам изведает Оргазм http://goo.gl/yTqWt?/QDuw?/uIMizbC

Re: Meaning of hrsp_2xx in show_stat

2013-06-12 Thread Jonathan Matthews
On 12 June 2013 10:20, Ashish Jaiswal ash...@trellian.com wrote: The problem is that the rate is showing something different and the hrsp_2xx is showing something different. [snip] # 33. rate: number of sessions per second over last elapsed second This is what it says it is: sessions/sec over

RE: HAProxy latest on SSL

2013-06-12 Thread Lukas Tribus
IMHO, it's confusing having clear and SSL backends defined I do see your point, but I would rather not introduce another configuration option like use-server (a new user probably doesn't know about ssl_fc and conditional options either). What about removing the clear-text options and make a

RE: odd 10 seconds in websocket negotiation with more than one backend server

2013-06-12 Thread Lukas Tribus
Hi Ramin, When I have two servers in the backend haproxy makes connections to both websocket backends and exactly 10 seconds after the client had negotiated the connection to haproxy the client considers itself connected to socket.io application. This is very odd, but I also have to admit I

RE: CPU spike after restarting with -sf pid

2013-06-12 Thread Lukas Tribus
Is the latest snapshot really what you recommend for running in production? That depends ;) The thing is, if you already run the development branch (1.5), its likely that a snapshot contains more bugfixes - which you may be interested in (like [1]). Of course a snapshot on the other hand is

Re: CPU spike after restarting with -sf pid

2013-06-12 Thread Willy Tarreau
Hi Malcolm, On Tue, Jun 11, 2013 at 12:01:25AM +, Malcolm Handley wrote: That's sound advice. We'll upgrade soon and see whether anything changes. Is the latest snapshot really what you recommend for running in production? I was nervous about using a dev release but we desperately needed