Re: Bug report for latest dev release, 1.5.21, segfault when using http expect string x and large 404 page (includes GDB output)

2014-01-13 Thread Willy Tarreau
Hi again Steve, On Mon, Jan 13, 2014 at 08:44:08AM +0100, Willy Tarreau wrote: Hi Steve, On Fri, Jan 10, 2014 at 02:16:48PM -0800, Steve Ruiz wrote: I'm experimenting with haproxy on a centos6 VM here. I found that when I specified a health check page (option httpchk GET /url), and that

Error 400

2014-01-13 Thread Kobus Bensch
Hi My environment looks like this: Haproxy 1.5 (Also tried 1.4 with stunnel) === Apache1 Apache2 Each apache server uses ajp to forward traffic to tomcat servers in a 1 to 1 relationship from port 443 on the apache to 7000 on the tomcat server. If i setup haproxy in tcpmode then it load

Error 400

2014-01-13 Thread Kobus Bensch
A few more observations: Hi My environment looks like this: Haproxy 1.5 (Also tried 1.4 with stunnel) === Apache1 Apache2 Each apache server uses ajp to forward traffic to tomcat servers in a 1 to 1 relationship from port 443 on the apache to 7000 on the tomcat server. If i setup

Re: Bug report for latest dev release, 1.5.21, segfault when using http expect string x and large 404 page (includes GDB output)

2014-01-13 Thread Tim Prepscius
Willy, Can you take me off of this list? Unsubscribing doesn't work. I have no idea why. I've tried many times. The last time I tried, I got back a message that gmail was identified as a spammer. Here is a sample of my unsubscribe message: - snip MIME-Version: 1.0 Received: by

Loading configuration from multiple files

2014-01-13 Thread Dmitry Borodaenko
Greetings, Can the question of loading HAProxy configuration from multiple files be revisited once again? The most useful implementation I've found so far is this: http://marc.info/?l=haproxym=129235503410444 Even though it's been a few years, that patch still cleanly applies to the latest

Re: Error 400

2014-01-13 Thread PiBa-NL
When using the backens with port 443 do you have the ssl keyword on the server line? http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#5.2-ssl Also can you share your complete (anonimized) haproxy configuration file? Kobus Bensch schreef op 13-1-2014 12:27: A few more observations:

Re: Bug report for latest dev release, 1.5.21, segfault when using http expect string x and large 404 page (includes GDB output)

2014-01-13 Thread Willy Tarreau
Hi Tim, On Mon, Jan 13, 2014 at 12:25:30PM -0500, Tim Prepscius wrote: Willy, Can you take me off of this list? done! Unsubscribing doesn't work. I have no idea why. I've tried many times. The last time I tried, I got back a message that gmail was identified as a spammer. This is the

Re: Bug report for latest dev release, 1.5.21, segfault when using http expect string x and large 404 page (includes GDB output)

2014-01-13 Thread Willy Tarreau
On Mon, Jan 13, 2014 at 10:10:45AM -0800, Steve Ruiz wrote: sure thing, trace attached. Looking at the page returned, the only strange thing I can see is that there are extremely long lines in the response - I'm guessing on the order of 100k / line. I also tried this but failed to see the

Re: Bug report for latest dev release, 1.5.21, segfault when using http expect string x and large 404 page (includes GDB output)

2014-01-13 Thread Willy Tarreau
There's something excellent in your trace : 09:52:29.759117 sendto(1, GET /cp/testcheck.php HTTP/1.0\r\n..., 34, MSG_DONTWAIT|MSG_NOSIGNAL, NULL, 0) = 34 09:52:29.759357 epoll_ctl(0, EPOLL_CTL_MOD, 1, {EPOLLIN|0x2000, {u32=1, u64=1}}) = 0 09:52:29.759487 gettimeofday({1389635549, 759527}, NULL)

Re: read ACL to block ip's from file to prevent DDoS?

2014-01-13 Thread Baptiste
Hi David, You can tell HAProxy to load IPs from a file in a acl. IE: acl abuser src -f /etc/haproxy/abusers.lst And place one IP per line in the abusers.lst file. Hope this helps. Baptiste On Sun, Jan 12, 2014 at 12:45 AM, david rene comba lareu shadow.of.sou...@gmail.com wrote: Hi, i'm

LED Tube, DC Fluorescent, Specialty Lamps

2014-01-13 Thread GEB Lighting
%{CURRENT_MAILCONTENT}

Re: Bug report for latest dev release, 1.5.21, segfault when using http expect string x and large 404 page (includes GDB output)

2014-01-13 Thread Cyril Bonté
Hi Willy, Le 13/01/2014 19:19, Willy Tarreau a écrit : There's something excellent in your trace : 09:52:29.759117 sendto(1, GET /cp/testcheck.php HTTP/1.0\r\n..., 34, MSG_DONTWAIT|MSG_NOSIGNAL, NULL, 0) = 34 09:52:29.759357 epoll_ctl(0, EPOLL_CTL_MOD, 1, {EPOLLIN|0x2000, {u32=1, u64=1}}) =

Re: Bug report for latest dev release, 1.5.21, segfault when using http expect string x and large 404 page (includes GDB output)

2014-01-13 Thread Cyril Bonté
Hi again Willy, Le 14/01/2014 00:51, Cyril Bonté a écrit : I don't know if this is of any help because I don't have enough details yet, but I jut reproduced segfaults while playing with the configuration provided by Steve. To reproduce it on my laptop, it's quite easy : generate a lot of

Re: Bug report for latest dev release, 1.5.21, segfault when using http expect string x and large 404 page (includes GDB output)

2014-01-13 Thread Willy Tarreau
Hi Cyril! On Tue, Jan 14, 2014 at 02:51:41AM +0100, Cyril Bonté wrote: Le 14/01/2014 00:51, Cyril Bonté a écrit : Well, I couldn't leave my debug session in its current state. I know what it's like when you go to bed an cannot sleep with eyes wide open thinking about your last gdb output :-)