View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0006074 | unreal | ircd | public | 2022-03-04 01:33 | 2022-03-06 16:40 |
| Reporter | Lord255 | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Platform | linux | OS | ubuntu | OS Version | 20.04 |
| Product Version | 6.0.2 | ||||
| Summary | 0006074: /stats I shows port 6667 all the time, even if i don't have it in any listen blocks | ||||
| Description | /stats I shows port 6667 all the time, even if i don't have it in any listen blocks I *.<mask> - 25 26 clients irc.<server> 6667 I 127.0.0.1 - 10 11 clients irc.<server> 6667 I * - 3 4 clients irc.<server> 6667 End of /STATS report see reason: https://github.com/unrealircd/unrealircd/blob/b1e475e0ca851e4ea03ebbe34e0f08d60d12abf1/src/modules/stats.c#L502 so that should be the redirect-port. redirect-server is there, using as the default if none provided (so same server as the user is trying to connect), but the port is hardcoded to 6667 if no redirect-port is given. ( also i would just rename those variables; it was misguiding me a little. allows->server - redirect-server allows->port - redirect-port ) | ||||
| Steps To Reproduce | use /stats I (of course as an oper :)) | ||||
| Additional Information | https://github.com/unrealircd/unrealircd/blob/b1e475e0ca851e4ea03ebbe34e0f08d60d12abf1/src/modules/stats.c#L502 and https://github.com/unrealircd/unrealircd/blob/b1e475e0ca851e4ea03ebbe34e0f08d60d12abf1/src/modules/stats.c#L487-L506 | ||||
| Tags | /stats | ||||
| 3rd party modules | doesnt matter | ||||