Re: Attempting to clear entries in stick table based on server id, results in all entries being dropped.

2013-08-13 Thread Godbach
On 2013/8/14 13:10, Willy Tarreau wrote: Hi Godbach, On Wed, Aug 14, 2013 at 10:20:10AM +0800, Godbach wrote: I have done a new test with this patch, it works well now. Thanks for testing. Yes, just do the same test as last node for other nodes to be removed. I had tried to fixed it just by

Re: Attempting to clear entries in stick table based on server id, results in all entries being dropped.

2013-08-13 Thread Willy Tarreau
Hi Godbach, On Wed, Aug 14, 2013 at 10:20:10AM +0800, Godbach wrote: > I have done a new test with this patch, it works well now. Thanks for testing. > Yes, just do the same test as last node for other nodes to be removed. I > had tried to fixed it just by testing skip_entry but forgetten to te

Re: Attempting to clear entries in stick table based on server id, results in all entries being dropped.

2013-08-13 Thread Godbach
On 2013/8/13 22:54, Willy Tarreau wrote: Hi guys, On Thu, Aug 08, 2013 at 08:48:53PM +0800, Godbach wrote: On 2013/8/8 18:50, Mark Brooks wrote: The issue I am seeing is that using the dev version of HAProxy 1.5-dev19 git commit id 00f0084752eab236af80e61291d672e835790cff I have a source IP s

Re: haproxy duplicate http_request_counter values (BUG)

2013-08-13 Thread haproxy
Oh, for some reason my mail client wasn't showing the response from Willy when I made this reply. Not sure if this info is really necessary any more. Will try the patch on that email and report back to it. -Patrick On 08/13/2013 07:13 PM, Patrick Hemmer wrote: > > On 2013/08/11 15:45, Patrick Hem

Re: haproxy duplicate http_request_counter values (BUG)

2013-08-13 Thread Patrick Hemmer
On 2013/08/11 15:45, Patrick Hemmer wrote: > I'm using the %rt field in the "unique-id-format" config parameter > (the full value is "%{+X}o%pid-%rt"), and am getting lots of > duplicates. In one specific case, haproxy added the same > http_request_counter value to 70 different http requests withi

Re: haproxy duplicate http_request_counter values

2013-08-13 Thread Willy Tarreau
Hi Patrick, On Sun, Aug 11, 2013 at 03:45:36PM -0400, Patrick Hemmer wrote: > I'm using the %rt field in the "unique-id-format" config parameter (the > full value is "%{+X}o%pid-%rt"), and am getting lots of duplicates. In > one specific case, haproxy added the same http_request_counter value to >

Re: TCP reject logging of request

2013-08-13 Thread Willy Tarreau
Hi, On Mon, Aug 12, 2013 at 04:45:42PM +0200, Ghislain wrote: > Le 05/08/2013 10:44, Baptiste a écrit : > >Hi Ghislain, > > > >To log such rejected connection please ensure you don't have the > >"dontlognull" option enabled and you're rejecting connections using > >the "tcp-request content" statem

Error 500 with -m Option

2013-08-13 Thread Schmitt, Christian
I've tried to setup haproxy on Ubuntu 12.04 LTS. My HaProxy Version is: root@node01:~# haproxy -v HA-Proxy version 1.4.18 2011/09/16 Copyright 2000-2011 Willy Tarreau I've tried to do lot's of things to got it running, but I tried endlessy. I only wanted to setup HAProxy which proxies Requests

Re: RDP Session Broker Redirect Token

2013-08-13 Thread Willy Tarreau
Hi Mathew, On Tue, Aug 13, 2013 at 12:40:43PM +0100, Mathew Levett wrote: > Just an update on this, it looks like there may be a small bug in the way > multiports work when used with RDP as if I specify the port on the real > servers as below it then works correctly. > > listen TS-Farm > bi

Re: [PATCH] BUG/MINOR: ssl_sock.c: use PATH_MAX only when defined

2013-08-13 Thread Willy Tarreau
On Mon, Aug 12, 2013 at 01:47:02PM +0300, Apollon Oikonomopoulos wrote: > > Anyway I'd prefer something simpler : let's define PATH_MAX in compat.h > > if it is not defined. > > Yes, that's probably a cleaner solution. Finally I switched to MAXPATHLEN which is already handled in compat.h if it is

Re: HAProxy v1.5-dev19 OpenSSL Support Issue

2013-08-13 Thread Scott McKeown
Whoops, I'll have another bash at getting this to work with the correct branch then. Sorry for the confusion to one and all. On 13 August 2013 15:56, Willy Tarreau wrote: > On Tue, Aug 13, 2013 at 03:36:09PM +0100, Scott McKeown wrote: > > Hi Guys, > > > > I've not applied any patches to the

Re: HAProxy v1.5-dev19 OpenSSL Support Issue

2013-08-13 Thread Willy Tarreau
On Tue, Aug 13, 2013 at 03:36:09PM +0100, Scott McKeown wrote: > Hi Guys, > > I've not applied any patches to the download as this was a direct 'wget' > from the Git repository. > As follows is the OpenSSL v1.0.0 Centos 6.4 x64 build > > [root@localhost ~]# wget > https://github.com/horms/haproxy

Re: Attempting to clear entries in stick table based on server id, results in all entries being dropped.

2013-08-13 Thread Willy Tarreau
Hi guys, On Thu, Aug 08, 2013 at 08:48:53PM +0800, Godbach wrote: > On 2013/8/8 18:50, Mark Brooks wrote: > >The issue I am seeing is that using the dev version of HAProxy > >1.5-dev19 git commit id 00f0084752eab236af80e61291d672e835790cff > > > >I have a source IP stick table and im trying to dro

RE: HAProxy v1.5-dev19 OpenSSL Support Issue

2013-08-13 Thread Lukas Tribus
Hi Scott, > I've not applied any patches to the download as this was a direct 'wget' > from the Git repository. That is *not* haproxy's git repository. It looks to be a git repository of Simon Horman. I doubt this problem ever affected regular haproxy. You will have to contact Simon, he is worki

Re: HAProxy v1.5-dev19 OpenSSL Support Issue

2013-08-13 Thread Scott McKeown
Hi Guys, I've not applied any patches to the download as this was a direct 'wget' from the Git repository. As follows is the OpenSSL v1.0.0 Centos 6.4 x64 build [root@localhost ~]# wget https://github.com/horms/haproxy/archive/agent-check-20130806.zip [root@localhost ~]# unzip agent-check-2013080

Re: HAProxy v1.5-dev19 OpenSSL Support Issue

2013-08-13 Thread Willy Tarreau
Hey Scott, On Sun, Aug 11, 2013 at 10:22:15AM +0200, Lukas Tribus wrote: > Hi Scott, > > > src/ssl_sock.c:796: error: âstruct checkâ has no member named 'xprt' > > Strange, I cannot reproduce this. > > > > > Now if I edit src/ssl_sock.c line 796 and comment out > > 'srv->check.xprt = &ssl_soc

Re: Different check conditions for server selected from lb trees

2013-08-13 Thread Willy Tarreau
Hi Godbach, On Wed, Aug 07, 2013 at 11:26:40AM +0800, Godbach wrote: > From 370a74e89af0153a96ed8b7ebd4648258c89109e Mon Sep 17 00:00:00 2001 > From: Godbach > Date: Wed, 7 Aug 2013 09:48:23 +0800 > Subject: [PATCH] BUG/MINOR: use the same check condition for server as other > algorithms (...)

Re: RDP Session Broker Redirect Token

2013-08-13 Thread Mathew Levett
Just an update on this, it looks like there may be a small bug in the way multiports work when used with RDP as if I specify the port on the real servers as below it then works correctly. listen TS-Farm bind 192.168.75.38:3389 mode tcp balance leastconn persist rdp-

Re: HA Proxy Install Guide

2013-08-13 Thread Baptiste
HAProxy can run without root rights, but some features won't be available. IE, you won't be able to bind a port below 1024, transparent mode may not work, performance tuning won't be able to be applied. but all basic TCP and HTTP features should work without any issues at all. Baptiste On Mon, A