Re: Stickiness on req.payload fails

2015-09-25 Thread Miloš Kozák
Dne 25.9.2015 v 11:21 Emeric Brun napsal(a): On 09/25/2015 11:00 AM, Miloš Kozák wrote: OK, and is it possible to dump the content of such a buffer for inspection? There is no easy way to do that. Dne 25.9.2015 v 10:16 Baptiste napsal(a): On Fri, Sep 25, 2015 at 9:49 AM, Miloš Kozák wrote:

Re: Stickiness on req.payload fails

2015-09-25 Thread Emeric Brun
On 09/25/2015 11:00 AM, Miloš Kozák wrote: > OK, and is it possible to dump the content of such a buffer for inspection? There is no easy way to do that. > Dne 25.9.2015 v 10:16 Baptiste napsal(a): >> On Fri, Sep 25, 2015 at 9:49 AM, Miloš Kozák wrote: >>> Hi, >>> >>> thank you for that fix. My

Re: Stickiness on req.payload fails

2015-09-25 Thread Miloš Kozák
OK, and is it possible to dump the content of such a buffer for inspection? Dne 25.9.2015 v 10:16 Baptiste napsal(a): On Fri, Sep 25, 2015 at 9:49 AM, Miloš Kozák wrote: Hi, thank you for that fix. My solution, which uses -m found, works perfectly now! BTW how one can check which packets are

Re: Stickiness on req.payload fails

2015-09-25 Thread Baptiste
On Fri, Sep 25, 2015 at 9:49 AM, Miloš Kozák wrote: > Hi, > > thank you for that fix. My solution, which uses -m found, works perfectly > now! > > BTW how one can check which packets are considered in that inspect-delay > time period? > > Milos > Hi, HAProxy is not aware of packets. Your kernel

Re: Stickiness on req.payload fails

2015-09-25 Thread Miloš Kozák
Hi, thank you for that fix. My solution, which uses -m found, works perfectly now! BTW how one can check which packets are considered in that inspect-delay time period? Milos Dne 24.9.2015 v 16:48 Emeric Brun napsal(a): Hi, On 09/24/2015 03:42 PM, Miloš Kozák wrote: I am getting this er

Re: Stickiness on req.payload fails

2015-09-24 Thread Emeric Brun
Hi, On 09/24/2015 03:42 PM, Miloš Kozák wrote: > I am getting this error: > > matching method 'found' cannot be used with fetch keyword 'req.payload' Willy've just push a fix about that! > In order to detect correct frame I do something like this do you think it is > enough? > >acl px r

Re: Stickiness on req.payload fails

2015-09-24 Thread Miloš Kozák
I am getting this error: matching method 'found' cannot be used with fetch keyword 'req.payload' In order to detect correct frame I do something like this do you think it is enough? acl px req.payload(0,4) -m bin FF00FF00 acl rib req.payload(5,4) -m bin tcp-request content

Re: Stickiness on req.payload fails

2015-09-24 Thread Emeric Brun
Hi Milos, On 09/24/2015 09:16 AM, Miloš Kozák wrote: > I did try even that.. > > Interesting thing happens when I set tcp-inspect delay to 10s, my stickiness > rule appears after 30s. The problem is it takes very much of time, and the > stickiness then actually does not work, i.e., I can see th

Re: Stickiness on req.payload fails

2015-09-24 Thread Miloš Kozák
I did try even that.. Interesting thing happens when I set tcp-inspect delay to 10s, my stickiness rule appears after 30s. The problem is it takes very much of time, and the stickiness then actually does not work, i.e., I can see that every further response goes from different server. Also, th

Re: Stickiness on req.payload fails

2015-09-24 Thread Emeric BRUN
original message- De: "Milo? Koz�k" milos.ko...@lejmr.com A: haproxy@formilux.org Date: Thu, 24 Sep 2015 08:21:48 +0200 - > Any thoughts? > > Dne 22.9.2015 v 09:35 Milo? Koz�k napsal(a): >> >> Hi, >> >> I am tr

Re: Stickiness on req.payload fails

2015-09-23 Thread Miloš Kozák
Any thoughts? Dne 22.9.2015 v 09:35 Miloš Kozák napsal(a): Hi, I am trying to set up a load balancer for a special binary protocol which uses TCP for transport. Each TCP payload starts with sequence of bytes which can be used for load balancing and stickiness. Each packet starts with

Stickiness on req.payload fails

2015-09-22 Thread Miloš Kozák
Hi, I am trying to set up a load balancer for a special binary protocol which uses TCP for transport. Each TCP payload starts with sequence of bytes which can be used for load balancing and stickiness. Each packet starts with 4B ... protocol identifier FF00FF00 1B ... protocol version

Stickiness on req.payload fails

2015-09-22 Thread Miloš Kozák
Hi, I am trying to set up a load balancer for a special binary protocol which uses TCP for transport. Each TCP payload starts with sequence of bytes which can be used for load balancing and stickiness. Each packet starts with 4B ... protocol identifier FF00FF00 1B ... protocol version