Accept PROXY protocol
Alan DeKok
aland at deployingradius.com
Mon Aug 2 14:28:55 CEST 2021
On Aug 2, 2021, at 4:55 AM, Lineconnect <nabble at felix.world> wrote:
>
>> For anyone who wants PROXY protocol support, please try v3.0.x.
>
> It's working in general but has sometimes problems.
> In the log below the connection was established from two different sources.
> One from a VPS with static IP, no NAT etc.(165.22.89.224) and the other from a laptop in my home network(77.47.68.110). The second connection attemp is causing the server to crash.
Hmm... see doc/bugs for some more information. Getting full back traces is helpful.
> Is something like this(in this context) better suited as github issue? Of course you have much stuff to do, you're responding *for free* and it's a bit hypocratic to say it needs some hours to write a reproducable explination of the bug (escpacially with the PROXY protocol forwarder etc.), but it's much faster. If it's better as github issue, i'm going to open one.
Sure, that's good.
> Debug Log below. I've shortend the logs for all lines where its says 'Waking up in x.x seconds.' because its 50k less lines.
That looks like a busy loop, which is not good either.
I've done some preliminary tests with haproxy, and it seems to work. So I'm not sure what else is going on here.
Alan DeKok.
More information about the Freeradius-Users
mailing list