View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006004 | unreal | ircd | public | 2021-11-20 12:44 | 2021-11-29 18:26 |
Reporter | progval | Assigned To | syzop | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 5.2.2 | ||||
Summary | 0006004: The optional <target> parameter of INFO is ignored | ||||
Description | Both RFCs and the Modern spec define an optional parameter to the INFO command * https://datatracker.ietf.org/doc/html/rfc1459#section-4.3.8 * https://datatracker.ietf.org/doc/html/rfc2812#section-3.4.10 * https://modern.ircdocs.horse/#rplendofinfo-374 Some Unreal configs seem to ignore it, and always return the info of the local server. | ||||
Steps To Reproduce | first scenario: 1. link two servers with different versions (let's call them serverA and serverB) 2. connect to serverA 3. send "INFO serverB" 4. version of serverA is returned, instead of serverB's second scenario: 1. connect to any server 2. send "INFO invalid.server" 3. info for serverA is returned, instead of ERR_NOSUCHSERVER | ||||
Additional Information | It's unclear to me when/why it happens, but it currently does on irc1.unrealircd.org. | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
Someone identified why it happens: remote /info is oper-only https://github.com/unrealircd/unrealircd/blob/b3b40e62c52085f40837385b5407b70899960a03/src/serv.c#L344 |
|
Yeah exactly, this is done to prevent major flooding issues. Regardless of that, I also think it is fine not to show this info to users to remote servers (ones that they may not even have direct access to) We could perhaps send ERR_NOPRIVILEGES instead of just converting it to local, that would be less confusing. So leaving this bug open to do that. |