View Issue Details

IDProjectCategoryView StatusLast Update
0002004unrealircdpublic2007-04-27 05:41
ReporterZ3l3zT Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionwont fix 
Product Version3.2.1 
Summary0002004: IRC VERSION is being sent before the banned check?
DescriptionHeya..

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

Activities

aquanight

2004-08-03 21:37

reporter   ~0007297

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...

stskeeps

2007-04-27 05:41

reporter   ~0013832

Please re-submit for 3.3 or 3.2.6/7 instead if this issue still exists.

Issue History

Date Modified Username Field Change
2004-08-03 21:27 Z3l3zT New Issue
2004-08-03 21:37 aquanight Note Added: 0007297
2007-04-27 05:41 stskeeps Status new => closed
2007-04-27 05:41 stskeeps Note Added: 0013832
2007-04-27 05:41 stskeeps Resolution open => wont fix