View Issue Details

IDProjectCategoryView StatusLast Update
0005507unrealircdpublic2019-12-30 18:24
ReporterPeGaSuS Assigned Tosyzop  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
PlatformUnixOSUbuntuOS Version18.04 LTS
Target Version5.0.1Fixed in Version5.0.1 
Summary0005507: ELINE option to exempt maxperip restriction
Descriptionwhen using /ELINE command we could have an option to exempt a user/IP from the maxperip as the example below:
/ELINE *@hostname/IP i 0 This user is exempt from maxperip (I went with 'i' flag as for IP)

This would be useful to exempt some services/users when the network has a very restrictive maxperip setting, without the need to SSH into the shell to edit the configuration file.

Cheers!
TagsNo tags attached.
3rd party modules

Activities

syzop

2019-12-24 09:28

administrator   ~0021171

yes, great idea :)

syzop

2019-12-30 18:24

administrator   ~0021179

Thanks, added for 5.0.1:

commit fccb3b2f5bc8f845db4cee9d4e88512ccedb881b (HEAD -> unreal50, origin/unreal50)
Author: Bram Matthys <[email protected]>
Date: Mon Dec 30 18:19:09 2019 +0100

    Add /ELINE exception type 'm' to bypass allow::maxperip.
    
    In the configuration item you can now achieve the same via:
    except ban { mask 1.2.3.4; type maxperip; }
    Or even:
    except ban { mask { 1.2.3.4; 8.8.8.8; }; type maxperip; }
    etc.
    
    Suggested by The_Myth in https://bugs.unrealircd.org/view.php?id=5507
    
    Also, fixed an issue where the IRCd was counting servers as
    clients for maxperip, which doesn't make much sense in practice,
    so it only counts users now.

Issue History

Date Modified Username Field Change
2019-12-24 09:26 PeGaSuS New Issue
2019-12-24 09:28 syzop Assigned To => syzop
2019-12-24 09:28 syzop Status new => confirmed
2019-12-24 09:28 syzop Note Added: 0021171
2019-12-24 10:37 syzop Summary ELINE command could have an option to exempt a hostname/IP from maxperip connections => ELINE option to exempt from maxperip restriction
2019-12-24 10:37 syzop Summary ELINE option to exempt from maxperip restriction => ELINE option to exempt maxperip restriction
2019-12-28 09:45 syzop Target Version => 5.0.1
2019-12-30 18:24 syzop Status confirmed => resolved
2019-12-30 18:24 syzop Resolution open => fixed
2019-12-30 18:24 syzop Fixed in Version => 5.0.1
2019-12-30 18:24 syzop Note Added: 0021179