Page 1 of 1

m_geoip_whois

Posted: Sat Mar 28, 2020 9:05 pm
by GaMbiTo
Hi. the module returns the location in the "whois" twice. i have
checked the unrealircd.conf file and no line repeats

Code: Select all

17:50  |---> +info?    : PiOjitoh connected from Argentina (AR), Sudamérica
17:50  |---> +info?    : PiOjitoh Conecta Desde  Argentina (AR), Sudamérica

Re: m_geoip_whois

Posted: Thu Apr 02, 2020 7:11 pm
by k4be
You may have changed the text "connected from" to "Conecta Desde " when the module was already loaded, or have set it differently on multiple servers. It can be cleaned by unloading the module (remove loadmodule from config and rehash) and then loading it back.
I wrote this explanation assuming you're using U5. It does not fit to the module for U4 though you've posted on U4 forum.

Re: m_geoip_whois

Posted: Wed Apr 15, 2020 1:41 am
by GaMbiTo
Is it possible to add the city to this module? I have the file GeoLite2-City-Locations-en.csv, could it be added?

Re: m_geoip_whois

Posted: Mon Apr 20, 2020 3:50 pm
by k4be
This was already discussed multiple times. It is theoretically technically possible, but it would give extremely inaccurate data. The databases are very imprecise, and can't be made better, as sometimes a single IP address is assigned to or shared between users scattered across the entire country. Also (if you consider the data to be accurate anyway) it would create privacy issues. I won't do it.

Re: m_geoip_whois

Posted: Tue Apr 21, 2020 2:20 am
by GaMbiTo
I understand, although if we talk about privacy, revealing the country of origin of each user is also private, that's why I think this module should be limited only to operators, or add the option of cities so that only operators see it, if not bad inspired has something like this