View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002004 | unreal | ircd | public | 2004-08-03 21:27 | 2007-04-27 05:41 |
| Reporter | Z3l3zT | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | wont fix | ||
| Product Version | 3.2.1 | ||||
| Summary | 0002004: IRC VERSION is being sent before the banned check? | ||||
| Description | Heya.. I tried my bottler server and found this little "bug" by mistake. When reconnecting after being g-lined, the CTCP version check, is sent before the IRCd check if I'm banned. Why should it send a CTCP version request if it bans me the second after? Wouldn't it be better if it check if I was banned, if not, THEN send the CTCP version (if in use) .. or? --snip-- [23:18:32] -test.foobar.tld- *** Looking up your hostname... [23:18:32] -test.foobar.tld- *** Checking ident... [23:18:33] -test.foobar.tld- *** Couldn't resolve your hostname; using your IP address instead [23:18:33] -test.foobar.tld- *** Received identd response [23:18:34] [IRC VERSION] [23:18:34] -test.foobar.tld- *** You are banned from test ([proxy] An open/insecure proxy server has been found on your host. Please visit www.foobar.tld/proxy.php for further information.) --snip-- Same goes for the connect info, sure, I can disable the option to show connect info, but wouldn't it be better here as well as the CTCP version request, if I'm glined, send the reason and disconnect me, nothing more, nothing less? Regards, Jesper 'Z3l3zT' Wallin RunCom Zero IRC Network | ||||
| 3rd party modules | |||||
|
|
About the connection info thing: K- and G-Lines require full user@host information, thus they can't be applied until this information is available. When the connection is opened, the IRCd only has your IP, which it sends off to get the DNS result. Once it sees the PASS/USER/NICK combination, it now has A username, but it may not be the username the IRCd will use, because of the identd check. The identd check determines if the IRCd will use the USER supplied ident with ~ attached, or a different (or the same :) ) ident. Once the DNS result is in, it has all the hostname info it needs, and when identd is done, it has the final username for your session, and it can then go and do k/g-line checks. Thus, the connection info still get sent. IF you want just a message saying "get the <insert colorful word/phrase here> off my server", either disable the connect info or use [g]z-line (but you can't use usernames or hostnames, only IPs). As to version... I have to agree. Why is that sent before G/K-Line checks, especially since the result won't be received before the disconnect... |
|
|
Please re-submit for 3.3 or 3.2.6/7 instead if this issue still exists. |