[IRCServices] bug in UNBAN?

Andrew Church achurch at achurch.org
Mon Nov 18 10:49:37 PST 2002


     I was under the impression usernames were matched case-sensitively,
like in Unix; it appears that's not the case, so I've corrected the code
to match case-insensitively.  Thanks for the report.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>[13:27:51] -> Server: mode #help +b *!*Alex*@*
>[13:27:51] * _-Alex-_ sets mode: +b *!*Alex*@*
>[13:28:07] -> Server: chanserv unban #help
>[13:28:07] * ChanServ sets mode: -b *!*Alex*@*
>[13:28:07] [CS] You have been unbanned from #help.
>
>Here it seems to work correctly
>
>[13:28:20] -> Server: mode #help +b *!*alex*@*
>[13:28:20] * _-Alex-_ sets mode: +b *!*alex*@*
>[13:28:22] -> Server: chanserv unban #help
>[13:28:22] [CS] You have been unbanned from #help.
>
>Here it claims to remove the ban, but it didn't do so.  I checked with /mode
>#help +b  and the ban was still there, trying to rejoin didn't work, I was
>banned.
>
>_-Alex-_ is Alex at crew.something
>_-Alex-_ @#help
>_-Alex-_ has identified for this nick
>_-Alex-_ is an IRC Operator - Server Administrator
>_-Alex-_ End of /WHOIS list.
>
>as my /whois indicates, my ident starts with an uppercase 'a', so it seems
>services dont take alex equal to Alex, which it should for hostmasks in the
>banlist.  If I try to unban manually, it works no matter if I use *!*Alex*@*
>or *!*alex*@*.
>
>Conclusion: as far as I can see, the ircd does not make a difference between
>the upper or lowercase letter, services seem to do so.  I doubt this is
>correct as that would make banevading really easy.
>
>We're runnig ircservices 5.0.2 on bahamut 1.4.34
>
>--
>Alexander Janssens a.k.a. _-Alex-_
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices