[SOLVED] Proxy Protocol

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
sevensrequiem
Posts: 3
Joined: Sat Jul 27, 2024 7:35 pm

[SOLVED] Proxy Protocol

Post 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.
CrazyCat
Posts: 272
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: Proxy Protocol

Post by CrazyCat »

This is not an unrealircd matter, rather the way your proxy can forward the user real IP.
Unrealircd cannot guess anything
sevensrequiem
Posts: 3
Joined: Sat Jul 27, 2024 7:35 pm

Re: Proxy Protocol

Post 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
PeGaSuS
Official supporter
Posts: 122
Joined: Tue Jun 27, 2017 4:42 pm
Contact:

Re: Proxy Protocol

Post 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
IRC Network: PTirc - GitHub: TehPeGaSuS - Help and support: #unreal-support
Post Reply