Capture tcp payload on HAProxy

2020-07-28 Thread YB Shin
I wanna capture tcp packet and make acl by captured tcp packet but now I'm trying to capture payload it doesn't work. My configuration frontend hts_frontend bind *:8400 mode tcp maxconn 3000 option tcplog log global #log-format "%ci:%cp [%t] %ft %b/%s

stable-bot: Bugfixes waiting for a release 2.2 (2), 2.1 (48), 2.0 (9)

2020-07-28 Thread stable-bot
Hi, This is a friendly bot that watches fixes pending for the next haproxy-stable release! One such e-mail is sent periodically once patches are waiting in the last maintenance branch, and an ideal release date is computed based on the severity of these fixes and their merge date. Responses

missing date() fetcher in lua api in haproxy 2.2

2020-07-28 Thread James Brown
In earlier versions of haproxy, the txn.f object had a `date()` method when called from a fetch context which returned the current unix timestamp. In HAproxy 2.2, this method is removed. The `date()` fetch is still documented and works fine from bare haproxy config, so I'm not sure why Lua can't

Re: SRV records resolution failure if Authority section is present

2020-07-28 Thread Baptiste
On Tue, Jul 28, 2020 at 2:59 PM Jerome Magnin wrote: > Hi, > > On Sun, Jul 26, 2020 at 10:41:18PM +0200, Willy Tarreau wrote: > > Thanks Jérôme, > > > > CCing Baptiste for approval (in case we've missed anything, I'm clueless > > about DNS). > > > > Baptiste just reviewed my patch, made a couple

Re: SRV records resolution failure if Authority section is present

2020-07-28 Thread Jerome Magnin
Hi, On Sun, Jul 26, 2020 at 10:41:18PM +0200, Willy Tarreau wrote: > Thanks Jérôme, > > CCing Baptiste for approval (in case we've missed anything, I'm clueless > about DNS). > Baptiste just reviewed my patch, made a couple suggestions, so please find an update attached to this email. >From

Re: [PATCH] BUG/MAJOR: dns: fix null pointer dereference in snr_update_srv_status

2020-07-28 Thread Baptiste
Hi Jerome, Thanks a lot for the debugging and the fix. This is all good and can be applied. Baptiste On Tue, Jul 28, 2020 at 2:09 PM Jerome Magnin wrote: > Hi, > > this is a patch for issue #775. > > -- > Jérôme >

[PATCH] BUG/MAJOR: dns: fix null pointer dereference in snr_update_srv_status

2020-07-28 Thread Jerome Magnin
Hi, this is a patch for issue #775. -- Jérôme >From 68e8b71c50d0805faf5facba587f1c8c3f1760b7 Mon Sep 17 00:00:00 2001 From: Jerome Magnin Date: Tue, 28 Jul 2020 13:38:22 +0200 Subject: [PATCH] BUG/MAJOR: dns: fix null pointer dereference in snr_update_srv_status Since commit 13a9232eb