View Issue Details

IDProjectCategoryView StatusLast Update
0004429unrealircdpublic2018-12-09 10:01
ReporterAmiga600 Assigned Tosyzop  
PrioritynormalSeverityfeatureReproducibilityN/A
Status acknowledgedResolutionopen 
Product Version4.0.0-rc1 
Summary0004429: Ideas - Country Name Support
DescriptionThe idea is simple, add country name to the users /whois information, under a numeric which is not currently used by anything else.

For example: Nick is connected from Australia (AU)

Currently I do this via a Bot and a localized ip2country.db but I think it could be useful if it could be applied server-side, using a localized ip2c database (I use a free version) so external lookups are not required.

I have also noticed there is no actual numeric for Country (according to https://www.alien.net.au/irc/irc2numerics.html)
Steps To Reproducena
Additional Informationna
TagsNo tags attached.
3rd party modules

Relationships

related to 0005005 confirmed Block or allow access list to the ircd with geoip 

Activities

blank

2015-10-21 15:35

reporter   ~0018773

I think that this should be done in a third-party module

It would be quite possible

Hook in to WHOIS, do the lookup on the client who is being whois'd IP, and return an extra line in WHOIS output

Most users wouldn't want this information shown, in a similar sense to they do not want their uncloaked IP address shown

Hero

2015-10-23 17:59

reporter   ~0018774

I Like This Idea!

Eman

2015-10-23 19:13

reporter   ~0018780

if you're going to go far enough to make the ircd know which country the ip is from, might as well make it bannable too.

syzop

2015-10-26 10:51

administrator   ~0018790

Interesting idea. Quite possible with our (module) infrastructure.
Would be nice if we wouldn't require yet another library or other thing though, maybe via DNS lookups like how blacklists work?

Anyway.. post-4.0 ;)

user7695

2016-01-07 18:02

  ~0019032

blank: There could be a mode for a user to hide their country in WHOIS (like Umode 'p' does for channels in WHOIS).

I'm pretty much for this idea.

syzop

2018-12-09 09:56

administrator   ~0020398

Apparently nowadays there's a 3rd party module that does this, called m_geoip_whois "displays users' countries in WHOIS".
https://forums.unrealircd.org/viewtopic.php?f=52&t=8853

Issue History

Date Modified Username Field Change
2015-10-20 22:47 Amiga600 New Issue
2015-10-21 15:35 blank Note Added: 0018773
2015-10-23 17:59 Hero Note Added: 0018774
2015-10-23 19:13 Eman Note Added: 0018780
2015-10-26 10:51 syzop Note Added: 0018790
2015-10-26 10:51 syzop Assigned To => syzop
2015-10-26 10:51 syzop Status new => acknowledged
2016-01-07 18:02 user7695 Note Added: 0019032
2018-12-09 09:56 syzop Note Added: 0020398
2018-12-09 10:01 syzop Relationship added related to 0005005