Re: [PATCH] MINOR: lua: Add a flag to disable logging to stderr

2023-10-19 Thread Willy Tarreau
Hi Tristan, On Wed, Oct 18, 2023 at 04:25:47PM +, Tristan wrote: > > > > ... > > > One last thing, SEND_ERR() reports to stderr through ha_alert() and > > > hlua_sendlog() does it through fprintf(stderr, ) by appending a static > > > header containing the log level, the date and the pid: may

Override X-Forwarded-Port with send-proxy-v2

2023-10-19 Thread kvaps
Hi, I run haproxy in non-privileged container, so I can't bind on higher port eg 80 and 443 Thus I binded it to 8080 and 8443. But kubernetes service listening on normal port: 80 and 443 I use tcp mode with proxy protocol (send-proxy-v2) to preserve the client's real IP and port. On the backend

Re: Override X-Forwarded-Port with send-proxy-v2

2023-10-19 Thread kvaps
My bad, I was testing it on wrong instance. tcp-request content set-dst-port int(80) is working fine :-) Best Regards, Andrei Kvapil On Thu, Oct 19, 2023 at 8:06 PM kvaps wrote: > Hi, > > I run haproxy in non-privileged container, so I can't bind on higher port > eg 80 and 443 > Thus I bind

Re: Some filter discussion for the future

2023-10-19 Thread Aleksandar Lazic
Hi Tristan. On 2023-10-17 (Di.) 10:51, Tristan wrote: Hi Aleksandar, That is a welcome follow-up to the tangent we went on in the announce thread. Thanks :-) As there was the discussion about the future of the SPOE filter, let me start a discussion about some possible filter options. [..