View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006422 | unreal | ircd | public | 2024-06-07 16:57 | 2025-10-31 13:35 |
| Reporter | hnj | Assigned To | |||
| Priority | low | Severity | feature | Reproducibility | always |
| Status | acknowledged | Resolution | open | ||
| Product Version | 6.1.5 | ||||
| Summary | 0006422: query security-groups | ||||
| Description | I would like to be able to query * which security-groups there are * members of a given security-group. The former could possibly best be done with /STATS? The latter would possibly best be done with a /WHO flag? | ||||
| Tags | /stats, security | ||||
| 3rd party modules | |||||
|
|
https://github.com/revrsedev/UnrealIRCD-6-mods-contrib/blob/main/m_listsg/README.md |
|
|
Cool, but that code does not seem to handle the case when there is both a security-group 'tls-users' and a user 'tls-users'. AFAICT if the user exists it won’t list the members of the group. Can you just do both if both exist? Or provide separate commands. |
|
|
Done. Thanks for the feedback. |
|
|
Two small things: 1) MODE #channel +b ~security-group:zzzz would list security groups that exist. I know, not ideal, and needs chanops, just some workaround. 2) In UnrealIRCd 6.1.8 and up, the list of security groups is no longer visible to normal users by default. Nee to set security-group somename { public yes; }. The following default groups have public yes because, well, you can guess them anyway :D: known-users, unknown-users, tls-users, webirc-users, websocket-users. Also, I presume your questions are for IRCOps, right? That would be fine to add. I'm not planning this for users (if I wanted that I would have listed them in WHOIS to regular users). And indeed, a WHO(X) flag would make sense, why not. Relatively easy to add. |
|
|
> Also, I presume your questions are for IRCOps, right? Yes. > Relatively easy to add. Sounds good! Can you give an estimation which version it might appear in? Also: will this make reverse’s module superfluous? |
|
|
Hi, So after reading this i will update "list_security_groups_for_user" function to handle cases where the security group list is empty or not accessible and add checks for the "public yes" setting in the security-group block. See ya. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-06-07 16:57 | hnj | New Issue | |
| 2024-06-07 16:57 | hnj | Tag Attached: /stats | |
| 2024-06-07 16:57 | hnj | Tag Attached: security | |
| 2024-06-19 09:40 | reverse | Note Added: 0023227 | |
| 2024-06-19 22:33 | hnj | Note Added: 0023228 | |
| 2024-06-19 23:42 | reverse | Note Added: 0023229 | |
| 2025-07-31 16:00 | syzop | Note Added: 0023462 | |
| 2025-07-31 16:00 | syzop | Status | new => acknowledged |
| 2025-10-28 23:51 | hnj | Note Added: 0023532 | |
| 2025-10-31 13:35 | reverse | Note Added: 0023535 |