Page 1 of 1
[SOLVED] Proxy Protocol
Posted: Sat Jul 27, 2024 7:37 pm
by sevensrequiem
How do I enable proxy protocol v1/v2 for Unrealircd? I run through a reverse proxy for DDOS protection. All users show as 127.0.0.1 instead of their real ip, so banning is useless.
Re: Proxy Protocol
Posted: Sat Jul 27, 2024 10:28 pm
by CrazyCat
This is not an unrealircd matter, rather the way your proxy can forward the user real IP.
Unrealircd cannot guess anything
Re: Proxy Protocol
Posted: Sun Jul 28, 2024 2:19 am
by sevensrequiem
CrazyCat wrote: Sat Jul 27, 2024 10:28 pm
This is not an unrealircd matter, rather the way your proxy can forward the user real IP.
Unrealircd cannot guess anything
Unrealircd is seeing the connecting ip's as 127.0.0.1:40000-50000. I've tried both v1 and v2.
Proxy Protocol v1 or v2 adds the real info to the connection header, however unrealircd has no support for it, it would seem.
https://www.haproxy.org/download/1.8/do ... otocol.txt
Re: Proxy Protocol
Posted: Sun Jul 28, 2024 2:33 am
by PeGaSuS
UnrealIRCd's
Proxy block may be useful for this.
I've never used it so I can't be of much help with it.
You can always join #unreal-support @ irc.unrealircd.org for real-time discussions.
Cheers