View Issue Details

IDProjectCategoryView StatusLast Update
0006093unrealircdpublic2022-05-13 08:11
ReporterPeGaSuS Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSUbuntuOS Version20.04
Product Version6.0.3 
Fixed in Version6.0.4-rc1 
Summary0006093: antirandom not showing all the details of the user
DescriptionRecently a user (probably a misconfigured bot of sorts) tried to to connect to my network several times in a row and kept getting the connection denied due to the antirandom module.

When the user tried to join this was the snotice I got sent to me:
antirandom.ANTIRANDOM_DENIED_USER [info] [antirandom] denied access to user with score 36: nsxjxnxx:


but according to https://github.com/unrealircd/unrealircd/blob/unreal60_dev/src/modules/antirandom.c#L873, the $client.info information is missing in the snotice
Additional InformationCurrent antirandom configuration
loadmodule "antirandom";
@if module-loaded("antirandom")
set {
    antirandom {
        threshold 4;
        ban-action soft-gline;
        ban-time 4h;
        ban-reason "You look like a bot. Be sure to fill in your nick/ident/realname properly.";
        convert-to-lowercase yes;
        show-failedconnects yes;
        except-hosts {
            mask 192.168.0.0/16;
            mask 127.0.0.0/8;

            ##########
            # IRCCloud
            ##########
            mask 2a03:5180:f::/62;
            mask 2a03:5180:f:4::/63;
            mask 2a03:5180:f:6::/64;
            mask 5.254.36.56/29;
            mask 5.254.36.104/29;
        }
        except-webirc yes;
    }
}
@endif
TagsNo tags attached.
3rd party modules

Activities

syzop

2022-05-13 08:10

administrator   ~0022479

Last edited: 2022-05-13 08:11

Thanks for the report. It should now show the same details in U6 as in U5 again:

[antirandom] denied access to user with score 82: [email protected]:zxcxcxcxzcxzxcxcxcxzcxzxcxcxcxzcx

https://github.com/unrealircd/unrealircd/commit/4a03943996c321b6d583eb9cdc79e798619fe859

commit 4a03943996c321b6d583eb9cdc79e798619fe859 (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: Bram Matthys <[email protected]>
Date: Fri May 13 08:09:46 2022 +0200

    Fix antirandom log message when user is denied (only showed nick).
    Reported by PeGaSuS in https://bugs.unrealircd.org/view.php?id=6093

Issue History

Date Modified Username Field Change
2022-04-27 23:42 PeGaSuS New Issue
2022-05-13 08:10 syzop Assigned To => syzop
2022-05-13 08:10 syzop Status new => resolved
2022-05-13 08:10 syzop Resolution open => fixed
2022-05-13 08:10 syzop Fixed in Version => 6.0.4-rc1
2022-05-13 08:10 syzop Note Added: 0022479
2022-05-13 08:11 syzop Note Edited: 0022479