Re: Block clients based on header in real time?

2013-06-08 Thread Baptiste
Hi Ricardo, Actually, this is how I would do the conf: stick-table type ip size 1m store gpc0 tcp-request content track-sc1 req.hdr_ip(True-Client-IP) http-request deny if { sc1_get_gpc0 gt 0 } Then you can insert new data in the stick table using HAProxy UNIX socket (which can run over

RE: haproxy on mac os x (homebrew) returns acl invalid

2013-06-08 Thread Lukas Tribus
Ciao Claudio! I can't start haproxy on my local machine due to errors regarding the ACL regexs: Can you grep the latest snapshot from [1] and post the output from ./haproxy -vv. Their may be a problem with the PCRE and recent snapshots have a more verbose output about PCRE in -vv. Regards,

RE: haproxy on mac os x (homebrew) returns acl invalid

2013-06-08 Thread Lukas Tribus
Hi! Their may be a problem with the PCRE and recent snapshots have a more verbose output about PCRE in -vv. this is the result I notice this is PCRE 8.33 - which is the latest PCRE release available, but I doubt Mac OS X ships it. Did you install PCRE 8.33 manually on your system? Probably

Re: haproxy on mac os x (homebrew) returns acl invalid

2013-06-08 Thread Claudio Poli
I notice this is PCRE 8.33 - which is the latest PCRE release available, but I doubt Mac OS X ships it. Did you install PCRE 8.33 manually on your system? Probably that installation is somehow broken or you have a PATH problem somewhere. PCRE is installed with homebrew as well: $ brew

RE: haproxy on mac os x (homebrew) returns acl invalid

2013-06-08 Thread Lukas Tribus
Hi Claudio, could you apply the attached patch to haproxy and repost the output of haproxy -vv in the non-working condition? I would like know if that patch pinpoints the issue (which I believe is a mismatch between PCRE releases). Thanks, Lukas

HAProxy maintains connection to proxied server after client disconnects

2013-06-08 Thread Chris Yang
Hi, I'm using HAProxy (1.5 dev18) in front of tornado servers to load-balancing websockets and xhr-streaming connections. I notice something strange but consistent with xhr-streaming connection (details here: https://groups.google.com/forum/?fromgroups#!topic/sockjs/LwfgT2qwIT0). In short, even

Re: Debian/Ubuntu packages for HAProxy

2013-06-08 Thread Vincent Bernat
❦ 8 juin 2013 00:49 CEST, hapr...@serverphorums.com : While it's great to have more Ubuntu packages, especially for the dev version, I took a look at the Ubuntu ecosystem and basically all the packages are missing the USE_ZLIB to enable gzip compression. It will be added in the next upload.

(AD)吴天榮

2013-06-08 Thread fate625126
TABLE cellSpacing=0 cellPadding=0 width=99% bgColor=#fff border=0TBODYTRTD style=BACKGROUND-POSITION: 0px 0px; BACKGROUND-REPEAT: no-repeat align=left background=http://mimg.126.net/p/images/letter/200709/flower_A_1.jpg bgColor=#ff height=65nbsp;/TDTD style=BACKGROUND-REPEAT: repeat-x