View Issue Details

IDProjectCategoryView StatusLast Update
0006292unrealircdpublic2023-07-16 12:24
ReporterBlackBishop Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.1.1.1 
Fixed in Version6.1.2-rc1 
Summary0006292: set security-group unknown-users resulting in weird behaviour
DescriptionTrying to set static-quit for the unknown-users I came across 2 problems
1) I set it up wrongly and the error message got confusing
2) unexpected behaviour when set right, I think...
Steps To Reproduce1) setting wrongly -> weird error

set {
    unknown-users {
        static-part "https://d3x.ro/";
    }
}
15:31:11 -- irc.d3x.ro: config.DOWNLOAD_FAILED_HARD [error] /home/ircd/unrealircd/conf/unrealircd.conf:308: Failed to download 'https://d3x.ro/': HTTP Error: 403 Forbidden

2) set right a different wrong behaviour
set unknown-users {
   static-part "https://d3x.ro/";
}
[warn] set unknown-users { } block encountered but security-group unknown-users does not exist. Settings ignored
TagsNo tags attached.
3rd party modules

Activities

BlackBishop

2023-07-02 14:55

reporter   ~0022932

The error in 2) is using single quotes. Misstyped when writing here., using double quotes gives the same error as 1)
Using single quotes in 1st scenario yells: "[error] /home/ircd/unrealircd/conf/unrealircd.conf:617: unknown directive set::unknown-users " as expected...

syzop

2023-07-02 19:33

administrator   ~0022936

Sounds like a bug indeed. Will look at it another day.

BlackBishop

2023-07-03 09:21

reporter   ~0022939

temporary Workaround ...

security-group uknwnu {
        security-group { unknown-users; }
}
set uknwnu {
        static-quit 'myurl';
        static-part 'myurl';
}

syzop

2023-07-16 12:24

administrator   ~0022959

Thanks, fixed in https://github.com/unrealircd/unrealircd/commit/11bd657e8ac01bb0454c90d3e43ca44e19722379

commit 11bd657e8ac01bb0454c90d3e43ca44e19722379 (HEAD -> unreal60_dev, origin/unreal60_dev, origin/HEAD)
Author: Bram Matthys <[email protected]>
Date: Sun Jul 16 12:22:16 2023 +0200

    Fix set unknown-users { } not working
    Repoerted by BlackBishop in https://bugs.unrealircd.org/view.php?id=6292

Issue History

Date Modified Username Field Change
2023-07-02 14:46 BlackBishop New Issue
2023-07-02 14:55 BlackBishop Note Added: 0022932
2023-07-02 19:33 syzop Assigned To => syzop
2023-07-02 19:33 syzop Status new => acknowledged
2023-07-02 19:33 syzop Note Added: 0022936
2023-07-03 09:21 BlackBishop Note Added: 0022939
2023-07-16 12:24 syzop Status acknowledged => resolved
2023-07-16 12:24 syzop Resolution open => fixed
2023-07-16 12:24 syzop Fixed in Version => 6.1.2-rc1
2023-07-16 12:24 syzop Note Added: 0022959