Re: Is there some kind of program that mimics a problematic HTTP server?

2022-03-01 Thread Shawn Heisey
On 3/1/2022 4:27 PM, Aleksandar Lazic wrote: I don't know such a tool but this sounds like a interesting project Idea. Maybe some parts could be done via LUA but as HAProxy internally handle a lot of errors it could be tricky to force HAProxy do behave "weird" and not standard compliant.

Re: Is there some kind of program that mimics a problematic HTTP server?

2022-03-01 Thread Shawn Heisey
On 3/1/2022 4:46 PM, Camilo Lopez wrote: If I read your question correctly maybe https://github.com/Shopify/toxiproxy can help? That looks interesting. I'll need to investigate. But I really would like such a proxy to handle SSL and HTTP like haproxy

Re: Is there some kind of program that mimics a problematic HTTP server?

2022-03-01 Thread Camilo Lopez
If I read your question correctly maybe https://github.com/Shopify/toxiproxy can help? On Tue, Mar 1, 2022 at 3:30 PM Aleksandar Lazic wrote: > > Hi Shawn. > > On 01.03.22 23:09, Shawn Heisey wrote: > > I was thinking about ways to help pinpoint problems a client is having > connecting to

Re: Is there some kind of program that mimics a problematic HTTP server?

2022-03-01 Thread Aleksandar Lazic
Hi Shawn. On 01.03.22 23:09, Shawn Heisey wrote: I was thinking about ways to help pinpoint problems a client is having connecting to services.  And a thought occurred to me. Is there any kind of software available that can stand up a broken HTTP server, such that it is broken in very

Is there some kind of program that mimics a problematic HTTP server?

2022-03-01 Thread Shawn Heisey
I was thinking about ways to help pinpoint problems a client is having connecting to services.  And a thought occurred to me. Is there any kind of software available that can stand up a broken HTTP server, such that it is broken in very specific and configurable ways? Imagine a bit of

Incompatible with 'frontend http-request header rule'

2022-03-01 Thread Henning Svane
Hi I am trying to make a configuration that counts missed login attempts and block after 10 attempts in 60 sec. The following example are accepted, but with a warning. It looks like the configuration will not work as keyword 'status' is incompatible with 'frontend http-request header rule' I

Re: [PATCH] BUILD ssl: another build warning on LIBRESSL_VERSION_NUMBER

2022-03-01 Thread William Lallemand
On Mon, Feb 28, 2022 at 10:13:31PM +0100, Julien Thomas wrote: > Hi William, > > Please find attached a patch I used in order to remove some > LIBRESSL_VERSION_NUMBER warnings when building haproxy 2.5.4 with an old > version of OpenSSL. > > Cheers, > Julien Thanks Julien, I just pushed it into

Re: [PATCH] MINOR: queue: Replace if() + abort() with BUG_ON()

2022-03-01 Thread Willy Tarreau
On Mon, Feb 28, 2022 at 07:16:31PM +0100, Tim Duesterhus wrote: > see 5cd4bbd7a ("BUG/MAJOR: threads/queue: Fix thread-safety issues on the > queues management") Merged, thanks Tim! Willy