[SOLVED] request form stop connection to server for countries

Looking for a module? Or want to see one converted to 6.x?

Moderator: Supporters

Post Reply
Suratka
Posts: 72
Joined: Thu Nov 14, 2019 12:32 am
Contact:

[SOLVED] request form stop connection to server for countries

Post by Suratka »

On an Italian net that I do not name there is the sasl enabled in such a way as not to allow access to the server to all connections outside Italy. So whoever wants to connect must have the nick registered and set the sals on the client he uses. While for those who connect from Italy there is no need to use sals or to be registered. Well I have unrealircd 5.0.6 and 5.0.7 and I would like something like this on my little Net. That way I would solve the attacks of people playing with their stupid proxxies enstring en masse. In fact, the proxies are all outside Italy. In short, I would need something that I can set that excludes all the countries in the world, but that makes me put in exceptions the countries that I say. for example those that host my vps.
seth
Posts: 1
Joined: Tue Mar 09, 2021 9:39 pm

Re: request form stop connection to server for countries

Post by seth »

Check mp.
PeGaSuS
Official supporter
Posts: 118
Joined: Tue Jun 27, 2017 4:42 pm
Contact:

Re: request form stop connection to server for countries

Post by PeGaSuS »

Hi, @Suratka.
Unfortunately, UnrealIRCd doesn't have geo location ban (yet).
Currently you're limited to only a few options such as:
- Set your channels to +R which stops unregistered users from joining.
- Use blacklist blocks (https://www.unrealircd.org/docs/Blacklist_block) and that will stop some proxies from connecting.
- Use some third party modules such as geoip-base (https://github.com/pirc-pl/unrealircd-m ... geoip-base), geoip-whois (https://github.com/pirc-pl/unrealircd-m ... eoip-whois) and geoip-chanban (https://github.com/pirc-pl/unrealircd-m ... ip-chanban).
IRC Network: PTirc - GitHub: TehPeGaSuS - Help and support: #unreal-support
DonTCry
Posts: 56
Joined: Mon Feb 06, 2012 6:01 pm
Contact:

Re: request form stop connection to server for countries

Post by DonTCry »

Check https://unrealshop.gottem.nl/
geoip - Block access to your IRC network based on a user's IP geolocation data.
Valware
Official supporter
Posts: 76
Joined: Wed Mar 31, 2021 3:17 am
Location: Internet
Contact:

Re: request form stop connection to server for countries

Post by Valware »

Sorry I know this is an old post, but just for anyone who stumbles on this forum, UnrealIRCd supports the `~country` extended server ban now. so you can do, for example,

Code: Select all

/gline ~country:GB 0 Great Britain people not allowed lol
Got an idea for a module? Don't be shy! Come talk to me on #unreal-support
Like the support? Consider supporting us with a donation.
Post Reply