Re: [PATCH] add further tcp_info fetchers

2016-08-10 Thread Joe Williams
16 at 05:36:16PM +0200, Willy Tarreau wrote: > > On Wed, Aug 10, 2016 at 07:11:44AM -0700, Joe Williams wrote: > > > Hello list, > > > > > > Adding on to Theirry's work ( > > > http://git.haproxy.org/?p=haproxy.git;a=commit;h= > 6310bef51148b747f9019bd0bd6

Re: [PATCH] add further tcp_info fetchers

2016-08-10 Thread Joe Williams
Willy, I think we can just drop those two from the patch. I'll be happy to have the rest. Thanks! -Joe On Wed, Aug 10, 2016 at 8:36 AM, Willy Tarreau wrote: > Hi Joe, > > On Wed, Aug 10, 2016 at 07:11:44AM -0700, Joe Williams wrote: > > Hello list, > > >

[PATCH] add further tcp_info fetchers

2016-08-10 Thread Joe Williams
Hello list, Adding on to Theirry's work ( http://git.haproxy.org/?p=haproxy.git;a=commit;h=6310bef51148b747f9019bd0bd67fd285eff0ae3) I have added a few more fetchers for counters based on the tcp_info struct maintained by the kernel. Thanks. -Joe 0001-add-further-tcp-info-fetchers.patch Descrip

lua api

2015-03-17 Thread Joe Williams
List, I am trying to figure out how to use the new lua API. After reading https://raw.githubusercontent.com/yuxans/haproxy/master/doc/lua-api/index.rst it still isn't clear to me how to get the client IP of a connection. Is information about the socket available inside lua? If so, any suggestions

Re: building haproxy with lua support

2015-03-17 Thread Joe Williams
> > On Tue, 17 Mar 2015 08:38:23 +0100 > > > Baptiste wrote: > > > > > >> On Tue, Mar 17, 2015 at 1:51 AM, Joe Williams > wrote: > > >>> List, > > >>> > > >>> I seem to be running into issues building haproxy wi

building haproxy with lua support

2015-03-16 Thread Joe Williams
List, I seem to be running into issues building haproxy with lua support using HEAD. Any thoughts? joe@ubuntu:~/haproxy$ make DEBUG=-ggdb CFLAGS=-O0 TARGET=linux2628 USE_LUA=yes LUA_LIB=/opt/lua53/lib/ LUA_INC=/opt/lua53/include/ LDFLAGS=-ldl /opt/lua53/lib//liblua.a(loadlib.o): In function `loo

Re: Patch for ALPN compatibility with OpenSSL development

2014-02-13 Thread Joe Williams
It would be great to see this patch find it’s way into the next dev release. Let us know if any changes need to be made. --  Joe Williams williams@gmail.com WILLI567-ARIN On February 13, 2014 at 4:32:42 AM, Dirkjan Bussink (d.buss...@gmail.com) wrote: Hi all, At GitHub we’ve worked on

Re: proxy protocol and websockets

2012-08-06 Thread Joe Williams
Email: williams@gmail.com On Saturday, August 4, 2012 at 10:45 AM, joseph williams wrote: > > On Aug 3, 2012, at 9:33 PM, Willy Tarreau mailto:w...@1wt.eu)> > wrote: > > > Hi Joe, > > > > On Fri, Aug 03, 2012 at 03:54:35PM -0700, Joe Williams wrote: > >

proxy protocol and websockets

2012-08-03 Thread Joe Williams
List, I am attempting to setup stud, haproxy (1.5-dev7) and a backend web sockets server using proxy protocol to communicate between stud and haproxy. It seems like my requests are making it to the backend server but the client never receives anything. This is the only thing I ever see in the

halog manpage

2011-11-28 Thread Joe Williams
Does a halog man page exist? If not, it would be great if someone who knows what all the options are could document all of them. The best reference I know of is the following thread, which does not include many of the newer filters and etc. http://www.mail-archive.com/haproxy@formilux.org/msg0

Re: status of master/worker model in 1.5

2011-11-07 Thread Joe Williams
It would be great to see these changes merged in. Willy, any thoughts? -- Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/ Twitter: http://twitter.com/williamsjoe On Tuesday, September 27, 2011 at 6:28 PM, Simon Horman wrote: > On Mon, Sep 19, 2011 at

Re: 1.5 status

2011-03-01 Thread Joe Williams
On Mar 1, 2011, at 12:46 AM, Willy Tarreau wrote: > On Tue, Mar 01, 2011 at 03:30:08PM +0800, Delta Yeh wrote: >> Hi Willy, >> >> Do you have any plan to add http compress feature into haproxy ? > > Yes, we'll probably implement it here at Exceliance once we're done > with SSL. The internal re

1.5 status

2011-02-28 Thread Joe Williams
Willy and list, I am curious of the development status of 1.5. It looks like there have been some recent commits but no dev release since dev3 months ago. Thoughts? -Joe Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/ Twitter: http://twitter.com/willia

Re: url based sticky sessions

2011-01-10 Thread Joe Williams
On Jan 10, 2011, at 5:06 PM, David Cournapeau wrote: > On Tue, Jan 11, 2011 at 8:40 AM, Joe Williams wrote: >> >> List, >> >> Is it possible to setup an ACL that will any client that hits a specific uri >> will be sticky and subsequent requests will be rout

Re: url based sticky sessions

2011-01-10 Thread Joe Williams
Did a quick test and it seems "option http-server-close" always trumps the stick table and stick match. Do I have any options here? Thanks. -Joe On Jan 10, 2011, at 4:02 PM, Joe Williams wrote: > Looking deeper it seems like stick tables might work here. Will these > confl

Re: url based sticky sessions

2011-01-10 Thread Joe Williams
Looking deeper it seems like stick tables might work here. Will these conflict with "option http-server-close"? -Joe On Jan 10, 2011, at 3:40 PM, Joe Williams wrote: > > List, > > Is it possible to setup an ACL that will any client that hits a specific uri > will

url based sticky sessions

2011-01-10 Thread Joe Williams
List, Is it possible to setup an ACL that will any client that hits a specific uri will be sticky and subsequent requests will be routed to the same backend server? Note that I am using "option http-server-close" to force each request to hit a different server on the backend, I would like to c

Re: disable-on-404 and tracking

2010-12-08 Thread Joe Williams
On Dec 8, 2010, at 3:53 PM, Willy Tarreau wrote: > Hi Joe, > > On Mon, Dec 06, 2010 at 03:19:36PM -0800, Joe Williams wrote: >> >> On Dec 6, 2010, at 2:45 PM, Bryan Talbot wrote: >> >>> I worked around this issue by including the "option httpchk"

Re: disable-on-404 and tracking

2010-12-06 Thread Joe Williams
sable-on-404 option inconsistency. >> config : 'disable-on-404' will be ignored for frontend 'http_proxy' >> (requires 'option httpchk'). >> >> I assume this is by design for some reason but certainly seems like a >> desirable feature. C

Re: stunnel patch updates

2010-12-06 Thread Joe Williams
On Dec 6, 2010, at 1:31 PM, Cyril Bonté wrote: > Hi Joe, > Le lundi 4 octobre 2010 21:42:09, Joe Williams a écrit : > > Anyone have updated patches for stunnel 4.34, specifically for the listen > > queue length and X-Forwarded-For? The patches on the haproxy site don'

Re: disable-on-404 and tracking

2010-12-06 Thread Joe Williams
is by design for some reason but certainly seems like a desirable feature. Can anyone point me in the right direction regarding a writing a patch to "fix" it? Thanks. -Joe On Dec 6, 2010, at 8:55 AM, Joe Williams wrote: > Anyone have any thoughts? Is it possible to use tracking and

Re: disable-on-404 and tracking

2010-12-06 Thread Joe Williams
Anyone have any thoughts? Is it possible to use tracking and disable-on-404 together? -Joe On Dec 2, 2010, at 3:41 PM, Joe Williams wrote: > > On Dec 2, 2010, at 2:28 PM, Krzysztof Olędzki wrote: > >> On 2010-12-02 21:28, Joe Williams wrote: >>> >>> List, &

Re: disable-on-404 and tracking

2010-12-02 Thread Joe Williams
On Dec 2, 2010, at 2:28 PM, Krzysztof Olędzki wrote: > On 2010-12-02 21:28, Joe Williams wrote: >> >> List, >> >> I am attempting to enable the disable-on-404 option on only the >> backends that other backends track. It seems that the secondary >> backend

disable-on-404 and tracking

2010-12-02 Thread Joe Williams
List, I am attempting to enable the disable-on-404 option on only the backends that other backends track. It seems that the secondary backends do not like this and error out saying it is "inconsistent" even if disable-on-404 is only enabled in the backend that they track. Is it possible to hav

CL error flag

2010-11-02 Thread Joe Williams
List, I am seeing some 'CL' error flags in my logs, what does this one mean? Thanks. -Joe -- Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/ Twitter: http://twitter.com/williamsjoe

stats page errors column

2010-10-28 Thread Joe Williams
List, I didn't immediately see this in the docs. What types of errors (CD, sQ, etc) are included in the "error" column labeled as "conn" and "resp" on the haproxy stats page? Thanks. -Joe Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/ Twitter: http://

config reload time gap and dropped requests

2010-10-18 Thread Joe Williams
List, I am experiencing a gap between when the old process stops listening and the new process starts were requests fail. AFAICT this is not a new issue rather we just started to notice it with increased number of requests and we found we can readily reproduce it. My understanding is that thi

Re: kill existing connections immediately on failed health check

2010-10-08 Thread Joe Williams
Awesome, thanks Willy. I look forward to testing it out. -Joe On Oct 8, 2010, at 10:04 AM, Willy Tarreau wrote: > Hi Joe, > > On Fri, Oct 08, 2010 at 07:37:20AM -0700, Joe Williams wrote: > (...) >>> Thus we could have : >>> >>> timeout server

Re: kill existing connections immediately on failed health check

2010-10-08 Thread Joe Williams
On Oct 7, 2010, at 2:48 PM, Willy Tarreau wrote: > Hi Joe, > > On Mon, Oct 04, 2010 at 03:46:34PM -0700, Joe Williams wrote: >> >> Is it possible for haproxy to basically kill (and/or retry) established >> backend connections for a failed backend server as soon as i

Re: stunnel patch updates

2010-10-06 Thread Joe Williams
Here's an updated listen queue depth patch for stunnel 4.32 -Joe On Oct 4, 2010, at 1:09 PM, Jim Riggs wrote: > On Oct 4, 2010, at 2:42 PM, Joe Williams wrote: > >> Anyone have updated patches for stunnel 4.34, specifically for the listen >> queue length and X-Forwar

x-forwarded-for logging

2010-10-06 Thread Joe Williams
I applied the x-forwarded-for patch to stunnel in hopes that haproxy would log the forwarded for address but it doesn't seem to. Is this possible? Thanks. -Joe Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/ Twitter: http://twitter.com/williamsjoe

Re: kill existing connections immediately on failed health check

2010-10-05 Thread Joe Williams
aving. -Joe On Oct 4, 2010, at 3:46 PM, Joe Williams wrote: > > Is it possible for haproxy to basically kill (and/or retry) established > backend connections for a failed backend server as soon as it fails a content > check? Basically I have some long running requests that are expect

kill existing connections immediately on failed health check

2010-10-04 Thread Joe Williams
Is it possible for haproxy to basically kill (and/or retry) established backend connections for a failed backend server as soon as it fails a content check? Basically I have some long running requests that are expected to hang, in some cases the server they are connected to goes unavailable, fa

stunnel patch updates

2010-10-04 Thread Joe Williams
Anyone have updated patches for stunnel 4.34, specifically for the listen queue length and X-Forwarded-For? The patches on the haproxy site don't seem to work. -Joe Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/ Twitter: http://twitter.com/williamsjoe

syslog hostnames

2010-09-20 Thread Joe Williams
From what I can tell haproxy does not include the hostname with the syslog messages it sends. Additionally I don't see this as a configurable option. This is causing my syslog server to do reverse dns lookups to get a hostname. Is it possible to set the hostname? If not is this a feature that c

Re: Tt of +0 without logasap

2010-09-17 Thread Joe Williams
Ha! You're right, must be Friday afternoon. :D -Joe On Sep 17, 2010, at 2:01 PM, Cyril Bonté wrote: > Hi, > > Le vendredi 17 septembre 2010 22:27:17, Joe Williams a écrit : >> I am not using logasap and am seeing response times like >> "1903/1903/0/1/+0"

Tt of +0 without logasap

2010-09-17 Thread Joe Williams
I am not using logasap and am seeing response times like "1903/1903/0/1/+0". From the docs it sounds like this should only happen with logasap. Any ideas? Thanks. -Joe Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/ Twitter: http://twitter.com/williamsjo

hanging in syn_sent

2010-09-07 Thread Joe Williams
Anyone ever seen connections to haproxy hang in a syn_sent state and then fail while other connections (to/from the same hosts) work perfectly fine? Thanks. -Joe Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/ Twitter: http://twitter.com/williamsjoe

Re: PD error code

2010-09-03 Thread Joe Williams
Thanks guys, missed that in the docs. -Joe On Sep 3, 2010, at 12:49 PM, Cyril Bonté wrote: > Le vendredi 3 septembre 2010 20:59:35, Bryan Talbot a écrit : >> Section 8.5 of the doc ( >> http://haproxy.1wt.eu/download/1.3/doc/configuration.txt) says: >> >> - On the first character, a code report

Re: PD error code

2010-09-02 Thread Joe Williams
Anyone know what this one could be? -Joe On Sep 1, 2010, at 10:35 AM, Joe Williams wrote: > > I've seen a few "PD" error codes in my logs but don't see it mentioned in the > docs. What does this flag stand for? > > Thanks. > -Joe > > > Nam

PD error code

2010-09-01 Thread Joe Williams
I've seen a few "PD" error codes in my logs but don't see it mentioned in the docs. What does this flag stand for? Thanks. -Joe Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/ Twitter: http://twitter.com/williamsjoe

Re: halog feature

2010-08-30 Thread Joe Williams
Willy, I think it would be really handy for me to have. I need to keep track of any naughty clients and backend nodes. -Joe On Aug 28, 2010, at 10:50 AM, Willy Tarreau wrote: > Hi Joe, > > On Fri, Aug 27, 2010 at 12:59:07PM -0700, Joe Williams wrote: >> >> Is it pos

halog feature

2010-08-27 Thread Joe Williams
Is it possible to use halog to get a distribution of error codes (RC, cH, CH, CQ, CT, etc) in the same way the "-st" switch works? If not, is this something that could be added? Thanks. -Joe Name: Joseph A. Williams Email: j...@joetify.com Blog: http://www.joeandmotorboat.com/ Twitter: http:

Re: request introspection

2010-08-26 Thread Joe Williams
-Joe On Aug 26, 2010, at 7:38 AM, Joe Williams wrote: > > > On Aug 25, 2010, at 11:13 PM, Willy Tarreau wrote: > >> Hi Joe, >> >> On Wed, Aug 25, 2010 at 03:46:06PM -0700, Joe Williams wrote: >>> >>> Is there anyway to look deeper into erron

Re: request introspection

2010-08-26 Thread Joe Williams
On Aug 25, 2010, at 11:13 PM, Willy Tarreau wrote: > Hi Joe, > > On Wed, Aug 25, 2010 at 03:46:06PM -0700, Joe Williams wrote: >> >> Is there anyway to look deeper into erroneous requests? Preferably having >> haproxy log more details in the cases of something lik

request introspection

2010-08-25 Thread Joe Williams
Is there anyway to look deeper into erroneous requests? Preferably having haproxy log more details in the cases of something like a PR (400 status code). I have some naughty clients and want to see what haproxy is seeing and why it determines a request as PR. If haproxy doesn't have a facility

Re: unexpected results with hdr_beg

2010-04-23 Thread Joe Williams
n issue there. I'll see if I can reproduce the scenario and let you know what I can find. -Joe On 4/23/10 12:16 PM, Willy Tarreau wrote: Hi Joe, On Fri, Apr 23, 2010 at 09:26:56AM -0700, Joe Williams wrote: We had a case this morning where an ACL using hdr_beg(host) was matching a

unexpected results with hdr_beg

2010-04-23 Thread Joe Williams
We had a case this morning where an ACL using hdr_beg(host) was matching an host header that didn't actually match afaict. Example: Requests to http://xyz.blah.com and http://abc.blah.com both were getting routed based on the following ACL when only one should have been. acl xyz hdr_beg(ho

Re: sL flag

2010-02-27 Thread Joe Williams
Looks like all the most recent sL's I have seen have been GET requests. Thanks. -Joe On 2/27/10 10:08 AM, Joe Williams wrote: Willy, This was on 1.3.23, it might have been a POST I will need to go back through the logs to find out. Thanks. -Joe On 2/27/10 12:26 AM, Willy Tarreau

Re: sL flag

2010-02-27 Thread Joe Williams
Willy, This was on 1.3.23, it might have been a POST I will need to go back through the logs to find out. Thanks. -Joe On 2/27/10 12:26 AM, Willy Tarreau wrote: On Fri, Feb 26, 2010 at 03:07:40PM -0800, Joe Williams wrote: I wasn't able to find it in the documentation, what doe

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: Tuning HAProxy on EC2 instances?

2010-01-31 Thread Joe Williams
We use haproxy and EC2 instances as load balancers for our clusters. The tuning we use is pretty standard (somaxconn, nf_conntrack_max, tcp_fin_timeout, rmem_max, wmem_max and etc) running vanilla ubuntu AMIs. While EC2's instances and network have performance problems it is possible to get r

Re: sending arbitrary errors to client

2009-12-21 Thread Joe Williams
Cool, I'll take a look and see if it's something that I can handle. -Joe On 12/21/09 9:24 PM, Willy Tarreau wrote: On Mon, Dec 21, 2009 at 04:12:01PM -0800, Joe Williams wrote: Willy, Has this been added to the dev releases of 1.4? just on the todo list, and 1.4 is no

Re: sending arbitrary errors to client

2009-12-21 Thread Joe Williams
Willy, Has this been added to the dev releases of 1.4? Thanks. -Joe On 9/24/09 10:17 PM, Willy Tarreau wrote: On Thu, Sep 24, 2009 at 03:41:06PM -0700, Joe Williams wrote: Cool, something like this would be great to have in the arsenal. Think it will make it into 1.4? I hope, I

Re: connslots and frontend/backend controls

2009-12-21 Thread Joe Williams
Willy, I am just curious if any progress has been made on the persistence layer and thus enabling my idea of "total connections per host header". Thanks. -Joe On 10/10/09 12:20 AM, Willy Tarreau wrote: On Fri, Oct 09, 2009 at 05:19:46PM -0700, Joe Williams wrote: Thank

Re: connslots and frontend/backend controls

2009-10-09 Thread Joe Williams
something like "total connections per host header" with the idea that I can send 503s if a single host header is flooding a backend. -Joe On Fri, 9 Oct 2009 22:52:38 +0200 Willy Tarreau wrote: > On Fri, Oct 09, 2009 at 11:08:09AM -0700, Joe Williams wrote: > > > > I a

Re: Connection Pooling

2009-10-09 Thread Joe Williams
I would be interested in hearing about this possibility too, however in my case HTTP is okay. I will be in a similar multi-datacenter HA situation soon and something like this would be very cool. -Joe On Thu, 8 Oct 2009 06:22:58 -0700 Chris Goffinet wrote: > I was wondering if anyone has consi

connslots and frontend/backend controls

2009-10-09 Thread Joe Williams
I am attempting to limit the number of connections on a per host header basis. Currently each host header has it's own ACL and backend. This allows me to use maxconns and limit the number of connections per host header even if the physical server is the same in both backends. ### frontend http_p

Re: sending arbitrary errors to client

2009-09-24 Thread Joe Williams
Cool, something like this would be great to have in the arsenal. Think it will make it into 1.4? -Joe On Thu, 24 Sep 2009 22:53:33 +0200 Willy Tarreau wrote: > On Thu, Sep 24, 2009 at 10:11:34AM -0700, Joe Williams wrote: > > > > Is it possible to send arbitrary errors to t

Re: backend 412 http errors

2009-08-20 Thread Joe Williams
20, 2009 at 10:14:39AM -0700, Joe Williams wrote: > > > > I seem to be seeing 412 error codes from my backend in my haproxy > > logs and from what I can tell haproxy is producing 502 errors when > > this happens. In my case the 412 is expected and I would like to > >

Re: backend 412 http errors

2009-08-20 Thread Joe Williams
omewhere in the docs? Thanks. -Joe On Thu, 20 Aug 2009 22:05:18 +0200 Willy Tarreau wrote: > On Thu, Aug 20, 2009 at 10:14:39AM -0700, Joe Williams wrote: > > > > I seem to be seeing 412 error codes from my backend in my haproxy > > logs and from what I can tell haproxy i

backend 412 http errors

2009-08-20 Thread Joe Williams
I seem to be seeing 412 error codes from my backend in my haproxy logs and from what I can tell haproxy is producing 502 errors when this happens. In my case the 412 is expected and I would like to pass it along to the client. Is there an option to do this? Thanks. -Joe -- Name: Joseph A. Will

Re: haproxy include config

2009-07-08 Thread Joe Williams
Holger's config utility inspired me to write my own that fit my needs a bit better. It's called haproxy_join and basically does the job of combining configs for you, creates a backup of the old config and etc. The code is available at: http://github.com/joewilliams/haproxy_join/tree/master And t

Re: load balancing based off type of request

2009-01-26 Thread Joe Williams
Thanks for the help! -Joe Willy Tarreau wrote: On Mon, Jan 26, 2009 at 09:28:48PM -0800, Joe Williams wrote: I am attempting to load balance based off of the type of request (POST, PUT, DELETE, GET, etc). Sending GETs to all backend servers and POST, DELETE and PUT to only one. From

load balancing based off type of request

2009-01-26 Thread Joe Williams
I am attempting to load balance based off of the type of request (POST, PUT, DELETE, GET, etc). Sending GETs to all backend servers and POST, DELETE and PUT to only one. From the documentation it looks like this might be possible with an ACL or maybe some regex. I tried a couple configuration