View Issue Details

IDProjectCategoryView StatusLast Update
0006147unrealircdpublic2022-07-01 10:22
Reporterarmyn Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.0.4 
Fixed in Version6.0.5 
Summary0006147: Bug on channel bans with ~quiet and IPv6
DescriptionReproduce the bug:
/mode #chan +b ~quiet:x.x.x.x
It generates this: sets mode: +b ~quiet:*!*@x.x.x.x

Now type this:
/mode #chan +b ~quiet:x:x:x:x:IP
It generates this: sets mode: +b ~quiet:x:x:x:x:IP!*@*
there is a problem


TagsNo tags attached.
3rd party modules

Activities

syzop

2022-07-01 10:22

administrator   ~0022585

Indeed, makes sense to provide the same functionality for IPv6 as for IPv4. Fixed now, thanks for the report!
(Was in all style of bans by the way)

https://github.com/unrealircd/unrealircd/commit/7371498ffdd336a9af9b648422f39444cfaf35cb

commit 7371498ffdd336a9af9b648422f39444cfaf35cb (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: Bram Matthys <syzop@vulnscan.org>
Date: Fri Jul 1 10:13:57 2022 +0200

    Make auto-expansion work for IPv6 bans as well: +b A:B:C:IP -> *!*@A:B:C:IP.
    Reported by armyn in https://bugs.unrealircd.org/view.php?id=6147
    
    This also adds a new function convert_regular_ban() which is now
    used by both clean_ban_mask() and extban_conv_param_nuh().

Issue History

Date Modified Username Field Change
2022-06-28 06:57 armyn New Issue
2022-07-01 10:22 syzop Assigned To => syzop
2022-07-01 10:22 syzop Status new => resolved
2022-07-01 10:22 syzop Resolution open => fixed
2022-07-01 10:22 syzop Fixed in Version => 6.0.5
2022-07-01 10:22 syzop Note Added: 0022585