ip bans (in channels) bug ??

These are old archives. They are kept for historic purposes only.
Post Reply
heper
Posts: 10
Joined: Wed Aug 25, 2004 10:25 pm

ip bans (in channels) bug ??

Post 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
heper
Posts: 10
Joined: Wed Aug 25, 2004 10:25 pm

Post by heper »

just noticed you guys have a seperate page for this

so sorry for posting it here
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post 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.
heper
Posts: 10
Joined: Wed Aug 25, 2004 10:25 pm

Post 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 ;)
Post Reply