[DONE] m_geoip_whois: displays users' countries in WHOIS

Need a module converted from 3.2.x to UnrealIRCd 4? Or looking for a certain module? Ask here.

Moderators: Gottem, Supporters

Post Reply
k4be
Posts: 24
Joined: Sun Jan 09, 2005 12:19 pm

[DONE] m_geoip_whois: displays users' countries in WHOIS

Post by k4be » Sun Nov 04, 2018 4:10 pm

Not very elegant, but working. Appends swhois info to all users, unless they are not listed in the input data.
This module needs to be loaded on only single server on the network.
This version is not configurable. It expects three files in conf/: GeoLite2-Country-Blocks-IPv4.csv, GeoLite2-Country-Locations-en.csv, GeoLite2-Country-Blocks-IPv6.csv. These can be downloaded from here (get GeoLite2 Country in CSV format).
Download link
Any feedback would be appreciated.

Gottem
Posts: 171
Joined: Fri Aug 19, 2016 5:26 pm
Location: NL

Re: [DONE] m_geoip: displays users' countries in WHOIS

Post by Gottem » Sun Nov 04, 2018 6:08 pm

Err, could you rename your module perhaps? :D I happen to have a (paid) one with the exact same name which prevents users from certain countries connecting to your IRCd. =]
If you like my modules, pls consider donating (through PayPal) or becoming a monthly Patron ;];]

k4be
Posts: 24
Joined: Sun Jan 09, 2005 12:19 pm

Re: [DONE] m_geoip: displays users' countries in WHOIS

Post by k4be » Mon Nov 05, 2018 5:09 pm

Changed.
Download link

Gottem
Posts: 171
Joined: Fri Aug 19, 2016 5:26 pm
Location: NL

Re: [DONE] m_geoip_whois: displays users' countries in WHOIS

Post by Gottem » Mon Nov 05, 2018 6:08 pm

Cool, thanks fam. =] Changed the topic title as well to help people searching for either module.
If you like my modules, pls consider donating (through PayPal) or becoming a monthly Patron ;];]

k4be
Posts: 24
Joined: Sun Jan 09, 2005 12:19 pm

Re: [DONE] m_geoip_whois: displays users' countries in WHOIS

Post by k4be » Mon Dec 03, 2018 4:12 pm

Updated to match current GeoLite2 database format (and future ones too, I hope).
New download link on GitHub

Post Reply