Setting listen address of HAProxy as HTTP-Header?

2009-07-27 Thread Maik Broemme
Hi, is it possible to set the listen address of HAProxy as an HTTP-Request Header? For example if you have HAProxys running on multiple servers and balance the requests to multiple backend servers, which have a NAT router between HAProxys and backend servers, it would be very nice to have a

Re: TCP traffic multiplexing as balance algorithm?

2009-05-13 Thread Maik Broemme
Hi, Willy Tarreau w...@1wt.eu wrote: Hi Maik, On Tue, May 12, 2009 at 01:57:47AM +0200, Maik Broemme wrote: Hi, I have a small question. Did someone know if it is possible to do simple traffic multiplexing with HAProxy? Maybe I am missing it somehow, but want to ask on the list

Re: [PATCH] Fix 'tcp-request content [accept|reject] if condition' parser for missing 'if'.

2009-05-13 Thread Maik Broemme
Hi, Willy Tarreau w...@1wt.eu wrote: Hi Maik, On Tue, May 12, 2009 at 01:36:46AM +0200, Maik Broemme wrote: Hi, attached is a patch which fixes a configuration mistake regarding the 'tcp-request' option. If you have the following in your configuration file: acl

Re: TCP traffic multiplexing as balance algorithm?

2009-05-13 Thread Maik Broemme
Hi, Benoit max.maver...@maverick.eu.org wrote: Maik Broemme a écrit : Hi, Multiplex means traffic duplication. If you have multiple server configuration options in one listen group, the incoming traffic is sent to all servers. Hum, i'm sorry but no, multiplexing

[PATCH] Fix 'tcp-request content [accept|reject] if condition' parser for missing 'if'.

2009-05-11 Thread Maik Broemme
Hi, attached is a patch which fixes a configuration mistake regarding the 'tcp-request' option. If you have the following in your configuration file: acl localnet dst 10.0.0.0/8 tcp-request content reject if localnet This will work fine, but if you change the

TCP traffic multiplexing as balance algorithm?

2009-05-11 Thread Maik Broemme
Hi, I have a small question. Did someone know if it is possible to do simple traffic multiplexing with HAProxy? Maybe I am missing it somehow, but want to ask on the list before creating a patch for it. Just to answer the real-world scenario question. TCP multiplexing can be very useful for

[PATCH] Added 'option inject' for mode 'tcp'

2009-04-16 Thread Maik Broemme
Hi, attached is a patch which adds a new option to HAProxy called 'inject' for the mode 'tcp'. In the current version of this patch you can only add data at the beginning of the session. I think this is very useful - at least for me it is. :)) The configuration syntax is the following (I will

Re: A patch for haproxy-1.3.17 which add X-Original-Dst header.

2009-04-15 Thread Maik Broemme
Hi, Maik Broemme mbroe...@plusserver.de wrote: Hi, I have attached a patch which will add on every http request a new header 'X-Original-Dst'. If you have HAProxy running in transparent mode with a big number of SQUID servers behind it, it is very nice to have the original destination ip

A patch for haproxy-1.3.17 which add X-Original-Dst header.

2009-04-14 Thread Maik Broemme
Hi, I have attached a patch which will add on every http request a new header 'X-Original-Dst'. If you have HAProxy running in transparent mode with a big number of SQUID servers behind it, it is very nice to have the original destination ip as a common header to make decisions based on it. The