Page 1 of 1

ip bans (in channels) bug ??

Posted: Sat Aug 28, 2004 1:20 am
by heper
a person & me from some irc net (runningUnreal3.2.1) might have discovered a bug
maybe this isnt a bug or maybe its been reported allready
or maybe it has a reason
but check this

when a channel op bans a user's ip , then it will only work if the user's host ISNT resolved


if /whois info shows somethin like this:
HePeR :is connecting from *@some.host.isp 192.168.0.1

and a channel op bans *@192.168.0.1 then the user heper WONT get banned


if /whois info shows somethin like this on the other hand:
Clone :is connecting from *@192.168.0.2 192.168.0.2
and a channel op bans *@192.168.0.2
then the user 'clone' WILL get banned


ps: ip's are just examples ;)

so i guess the ircd doesnt bother to resolve the users dns if there is one when dealing with channel bans .... is this normal behavious or is there somethin wrong

Posted: Sat Aug 28, 2004 1:26 am
by heper
just noticed you guys have a seperate page for this

so sorry for posting it here

Posted: Sat Aug 28, 2004 10:17 am
by AngryWolf
I can reproduce the bug you've found. Tested with CVS .119.

378 ChanOP : is connecting from *@localhost ::1
378 TestNick1 : is connecting from *@10.0.0.1 10.0.0.1
378 TestNick2 : is connecting from *@3e44a9b5.adsl.enternet.hu 62.68.169.181

367 #test *!*@62.68.169.181 ChanOP 1093687526
367 #test *!*@10.0.0.1 ChanOP 1093687345
368 Total number of bans on #test - 2

TestNick1 types: /join #test
474 #test :Cannot join channel (+b) (You are banned)
TestNick2 types: /join #test
*** TestNick2 (~[email protected]) has joined channel #test

Report this bug to bugs.unrealircd.org.

Posted: Sat Aug 28, 2004 1:53 pm
by heper
just reported it

it isnt a huge problem ...
but still i think bug reporting by concirned users is the thing that makes open source soo great ;)