View Issue Details

IDProjectCategoryView StatusLast Update
0005677unrealircdpublic2020-05-21 18:28
ReporterLesterClayton Assigned To 
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version20.04
Product Version5.0.4 
Summary0005677: Feature Request: Identify Authorised WebIRC Clients
DescriptionA lot of web clients are available these days - some good, and some bad, but the real evil comes from people who are trying to deceive IRC Operators into believing they are using one of these IRC Clients. Deception is rife. It's very easy to pretend you're coming from Mibbit just by faking a specific ident and Gecos, so to the naked eye a /whois won't tell a real from a fake.

My suggestion is to add a line to the user's swhois if they are coming from a authorised WebIRC block.

Solution suggested by means of a patch in the Additional Information section
Additional Informationdiff -ruN src/modules/webirc.c src/modules/webirc.c
--- src/modules/webirc.c 2020-04-19 14:23:31.000000000 +0200
+++ src/modules/webirc.c 2020-05-21 12:39:38.849490783 +0200
@@ -494,5 +494,7 @@
        if (IsWEBIRC(client) && IsSecureConnect(client) && !IsWEBIRCSecure(client))
                client->umodes &= ~UMODE_SECURE;
+ if (IsWEBIRC(client))
+ swhois_add(client, "webirc", 0, "is using an authorized webIRC client", &me, NULL);
        return 0;
Tagswebirc, WHOIS
3rd party modules



2020-05-21 15:33

developer   ~0021583

The "third/showwebirc" module does exactly that. It would be a good idea to add more information (for opers only - webirc block name, gateway IP) though.


2020-05-21 15:55

reporter   ~0021584

I agree on adding more information such as which webirc block was used for the authentication, I know at least one other IRCd that does this and it has been useful, said IRCd also stores the IP and rDNS of the actual TCP connection separately for informational purposes too.


2020-05-21 18:28

reporter   ~0021585

Thanks @k4be - I'll use yours :)

Issue History

Date Modified Username Field Change
2020-05-21 15:28 LesterClayton New Issue
2020-05-21 15:28 LesterClayton Tag Attached: webirc
2020-05-21 15:28 LesterClayton Tag Attached: WHOIS
2020-05-21 15:33 k4be Note Added: 0021583
2020-05-21 15:55 Jobe Note Added: 0021584
2020-05-21 18:28 LesterClayton Note Added: 0021585