option httpchk version 'trick'

2010-02-26 Thread Andrew Commons
Hi all, The ability to extend the option httpchk argument string to dummy up a Host header is described as a 'trick' in the configuration documentation. I have found that the 'trick' can be extended to add User-Agent (HAProxy) and Accept (*/*) headers to keep ModSecurity quiet when checking an Ap

sL flag

2010-02-26 Thread Joe Williams
I wasn't able to find it in the documentation, what does the "sL" termination flag stand for? Thanks. -Joe -- Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/

Re: Redirect Question

2010-02-26 Thread Willy Tarreau
On Fri, Feb 26, 2010 at 01:39:48PM -0800, Sriram Chavali wrote: > Thanks for your reply, > > The redirect location is actually on a different server that is behind the > firewall. What is best way to configure for this? Then you'd better create a specific backend for it and force rewrite the UR

Re: Redirect Question

2010-02-26 Thread Sriram Chavali
Thanks for your reply, The redirect location is actually on a different server that is behind the firewall. What is best way to configure for this? Sriram On Feb 26, 2010, at 1:36 PM, Willy Tarreau wrote: > On Fri, Feb 26, 2010 at 01:24:25PM -0800, Sriram Chavali wrote: >> I have written a ru

Re: Redirect Question

2010-02-26 Thread Willy Tarreau
On Fri, Feb 26, 2010 at 01:24:25PM -0800, Sriram Chavali wrote: > I have written a rule in my haproxy configs to redirect the incoming request > to a certain page based on an acl rule being satisfied. It looks like as > following: > redirect location http://server:port/violation.html if acl_met >

Redirect Question

2010-02-26 Thread Sriram Chavali
I have written a rule in my haproxy configs to redirect the incoming request to a certain page based on an acl rule being satisfied. It looks like as following: redirect location http://server:port/violation.html if acl_met The redirected page is on the same server - however I don't want the redi

Re: [ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Jeff Buchbinder
Willy Tarreau wrote: On Fri, Feb 26, 2010 at 03:57:16PM -0500, Jeff Buchbinder wrote: With that patch it does seem to build the files that were getting stuck before under OpenBSD 4.3. Excellent, thanks very much Jeff for your quick response, I'm applying the patch now. Much apprecia

Re: [ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Willy Tarreau
On Fri, Feb 26, 2010 at 03:57:16PM -0500, Jeff Buchbinder wrote: > With that patch it does seem to build the files that were getting stuck > before under OpenBSD 4.3. Excellent, thanks very much Jeff for your quick response, I'm applying the patch now. Cheers, Willy

Fwd: HAProxy - Frontend / Backend transparency

2010-02-26 Thread German Gutierrez :: OLX Operation Center
Fwd to list to keep it in the loop -- Forwarded message -- From: Ariel Moreno Date: Feb 26, 2010 3:53 PM Subject: Re: HAProxy - Frontend / Backend transparency To: "German Gutierrez :: OLX Operation Center" German, yes in deed! I have site redundancy configured for this service

Re: [ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Jeff Buchbinder
Willy Tarreau wrote: Could you please check if the following patch is enough to fix it ? I think it should in fact. Thanks, Willy diff --git a/include/common/compat.h b/include/common/compat.h index 3c939ce..9eecdfb 100644 --- a/include/common/compat.h +++ b/include/common/compat.h @@ -23,8 +23

Re: HAProxy - Frontend / Backend transparency

2010-02-26 Thread Willy Tarreau
Hello, On Fri, Feb 26, 2010 at 03:11:07PM -0300, Ariel Moreno wrote: > Dear Sir. > We are testing HAProxy in our network to balance some proxy > servers and I was wandering about how the front-end and back-end interact to > make the solution reliable. > In this particular case, I h

Re: [ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Willy Tarreau
On Fri, Feb 26, 2010 at 03:35:41PM -0500, Jeff Buchbinder wrote: > Willy Tarreau wrote: > >Thanks for your feedback, that helps a lot. Unfortunately I don't > >have any OpenBSD anymore here :-/ > > > No problem. > > About the error messages; it gives a bunch of error messages about > "/usr/incl

Re: [ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Willy Tarreau
On Fri, Feb 26, 2010 at 03:35:41PM -0500, Jeff Buchbinder wrote: > Willy Tarreau wrote: > >Thanks for your feedback, that helps a lot. Unfortunately I don't > >have any OpenBSD anymore here :-/ > > > No problem. > > About the error messages; it gives a bunch of error messages about > "/usr/incl

Re: [ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Jeff Buchbinder
Willy Tarreau wrote: Thanks for your feedback, that helps a lot. Unfortunately I don't have any OpenBSD anymore here :-/ No problem. About the error messages; it gives a bunch of error messages about "/usr/include/sys/socket.h", complaining about syntax errors. If you run it on an OpenBSD

Re: [ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Willy Tarreau
On Fri, Feb 26, 2010 at 10:45:58AM -0500, Jeff Buchbinder wrote: > Willy Tarreau wrote: > >I'm obviously interested in any problem report :-) > > > One other OpenBSD build problem that I saw was that OBJS in Makefile.bsd > seems to be missing: > > src/auth.o src/stick_table.o src/pattern.o oop

Re: [ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Willy Tarreau
Hi Jeff, On Fri, Feb 26, 2010 at 10:38:55AM -0500, Jeff Buchbinder wrote: > Willy Tarreau wrote: > >I'm obviously interested in any problem report :-) > > > Build on OpenBSD 4.3 seems to fail unless "#include " > is commented out of the src/lb_*.c files. This seemed to be the case on > both th

HAProxy - Frontend / Backend transparency

2010-02-26 Thread Ariel Moreno
Dear Sir. We are testing HAProxy in our network to balance some proxy servers and I was wandering about how the front-end and back-end interact to make the solution reliable. In this particular case, I have simulated a full back-end proxy fail in order to know if there will be any c

Re: Re[2]: FreeBSD Ports: bumping haproxy from v1.2.18 -> v1.4.x

2010-02-26 Thread joris dedieu
> Also, changing -devel right now at the same will cause all sorts of > support issues as people deal with the migration - not everyone reads > the UPDATING file before issuing "portupgrade -a". Even a solution should be to mark the haproxy-devel has "Moved" (see /usr/ports/MOVED) I see in portup

Re[2]: FreeBSD Ports: bumping haproxy from v1.2.18 -> v1.4.x

2010-02-26 Thread Ross West
AH>> However, the way I think it should go in the ideal situation, is that AH>> the haproxy port should contain the latest and greatest stable release AH>> (1.4.x), and the haproxy-devel port should go to the latest experimental AH>> snapshot.. If you think keeping a 1.3.x tree alive is usefull (wh

Re: FreeBSD Ports: bumping haproxy from v1.2.18 -> v1.4.x

2010-02-26 Thread Jim Riggs
On 26 Feb 2010, at 10:04, Angelo Höngens wrote: > On 26-2-2010 16:42, Ross West wrote: >> >> Opening up a bit of discussion: >> >> For those Freebsd port users out there, I'm looking to submit updates >> for the haproxy port to take it from it's current v1.2.18 to the new >> v1.4.x tree - Leapf

Re: FreeBSD Ports: bumping haproxy from v1.2.18 -> v1.4.x

2010-02-26 Thread Angelo Höngens
On 26-2-2010 16:42, Ross West wrote: > > Opening up a bit of discussion: > > For those Freebsd port users out there, I'm looking to submit updates > for the haproxy port to take it from it's current v1.2.18 to the new > v1.4.x tree - Leapfrogging the v1.3.x tree (which is part of the > haproxy-de

Re: [ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Jeff Buchbinder
Willy Tarreau wrote: I'm obviously interested in any problem report :-) One other OpenBSD build problem that I saw was that OBJS in Makefile.bsd seems to be missing: src/auth.o src/stick_table.o src/pattern.o to build properly. Once those are back in the OBJS list (and the previous fix ha

FreeBSD Ports: bumping haproxy from v1.2.18 -> v1.4.x

2010-02-26 Thread Ross West
Opening up a bit of discussion: For those Freebsd port users out there, I'm looking to submit updates for the haproxy port to take it from it's current v1.2.18 to the new v1.4.x tree - Leapfrogging the v1.3.x tree (which is part of the haproxy-devel port). Note: I'm _not_ looking to change the h

Re: [ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Jeff Buchbinder
Willy Tarreau wrote: I'm obviously interested in any problem report :-) Build on OpenBSD 4.3 seems to fail unless "#include " is commented out of the src/lb_*.c files. This seemed to be the case on both the i386 and amd64 targets I was building on. -- Jeff Buchbinder Senior Infrastructure

[ANNOUNCE] haproxy-1.4.0

2010-02-26 Thread Willy Tarreau
Hi all, now's THE day. 1.4-rc1 was emitted 3 weeks ago, and very minor issues were reported and fixed. There's no need to wait any longer, so let's release it now. The code is remarkably stable and has no known regressions from 1.3. (Some fixes from 1.4 will even have to be backported to 1.3 soo

Re: killing persisent conections on backends marked down?

2010-02-26 Thread Greg Gard
hi, just a followup with a solution that might save some other rails dude some time. the fix below allows you to set the same timeouts for db connections as you have for your webserver backends without major invasive surgery to what rails expects (ie a persistent connection to db). turns out that

Re: Just a quick thank you for the new stick table feature:

2010-02-26 Thread Willy Tarreau
Hi Malcolm, On Fri, Feb 26, 2010 at 11:39:04AM +, Malcolm Turnbull wrote: > Willy, > > Just a quick thank you for the new stick table feature: > > Brief testing has show this works really well, especially the option persist > and option redispatch which when combined provide a very graceful

Just a quick thank you for the new stick table feature:

2010-02-26 Thread Malcolm Turnbull
Willy, Just a quick thank you for the new stick table feature: Brief testing has show this works really well, especially the option persist and option redispatch which when combined provide a very graceful shutdown of the server for maintenance. listenVIP_Name 192.168.2.194:80 modetc

Re: killing persisent conections on backends marked down?

2010-02-26 Thread XANi
Hi Dnia 2010-02-25, czw o godzinie 21:07 -0500, Greg Gard pisze: > hi guys, > > thanks for the feedback. yet another rails issue that makes deployment > a hassle. my biggest issue with setting the timeouts is that when a > user hits the page after a timeout, they will get a 5xx error, but > perha