pirc-pl / unrealircd-modules

8 stars 2 forks source link

[Feature] add /checkip command #3

Open TehPeGaSuS opened 5 years ago

TehPeGaSuS commented 5 years ago

This command could be useful to check the location of a IP that has been detected in a DNSBL, e.g.

Cheers

k4bek4be commented 5 years ago

Already done here: https://github.com/unrealircd/unrealircd/pull/79

TehPeGaSuS commented 5 years ago

Sorry. I thought that the BLCHECKcommand would only say in which DNSBL lists the IP would be found and wouldn't give any geoip information

k4bek4be commented 5 years ago

OK, I have misunderstood "location" as the DNSBL reply code. Why should the command return info only about DNSBLed addresses and not any of them?

TehPeGaSuS commented 5 years ago

Well, the CHECKIP command could return info about any IP. I was just giving an example of the utility.

k4bek4be commented 5 years ago

I'm waiting for geoip API to appear in unrealircd, to avoid loading my whois module (that is resource intensive) on every server. (I may create one myself if this is getting too long). This is also valid for the other request (https://github.com/pirc-pl/unrealircd-modules/issues/2).