Clan x86

Technical (Development, Security, etc.) => JavaOp Board => JavaOp Support Archive => Topic started by: DBX_5 on October 18, 2007, 06:55:00 pm

Title: how does Ipban work?
Post by: DBX_5 on October 18, 2007, 06:55:00 pm
I just cant really get around to understanding how this command works, this is how I think it works but I have a feeling its wrong

ex: !ipban <usernme>

bot /ban <username> (message)
bot /squelch <username>

then if some one that is squelched by the bot enters the channel it bans them again, how ever I dont understand how its an ip ban really like, when some one gets squealched I thought what it did is just send a packet to bnet saying you dont want this CD keys owner to beable to talk to you intill you log off then back on again.

but I am not a 100% sure....
Title: Re: how does Ipban work?
Post by: iago on October 18, 2007, 07:47:33 pm
IP-bans with bots are really a hack. For some strange reason, Battle.net applies a "squelch" to every user who connects from an IP address. So when a user is squelched, every user connecting from that address is also squelched. This allows bots to determine who is on the same IP by squelching them, with the side effect of banning any other users who are squelched/ignored.

Make sense?
Title: Re: how does Ipban work?
Post by: DBX_5 on October 18, 2007, 08:46:40 pm
yea thats kinda what I thought happened with it.
Title: Re: how does Ipban work?
Post by: Camel on October 19, 2007, 01:39:24 am
IP-bans with bots are really a hack. For some strange reason, Battle.net applies a "squelch" to every user who connects from an IP address. So when a user is squelched, every user connecting from that address is also squelched. This allows bots to determine who is on the same IP by squelching them, with the side effect of banning any other users who are squelched/ignored.

Make sense?

I believe a reasonable explanation is that battle.net uses buckets by ip address; that would also explain how they limit each ip address to 8 connections (unless, of course, you log in to a bunch of different servers at the same time - also works for using the same cd key repeatedly).
Title: Re: how does Ipban work?
Post by: iago on October 19, 2007, 10:52:18 am
I believe a reasonable explanation is that battle.net uses buckets by ip address; that would also explain how they limit each ip address to 8 connections (unless, of course, you log in to a bunch of different servers at the same time - also works for using the same cd key repeatedly).
That isn't an explanation of anything, it's just a note on its possible implementation. If they were forced to do things by IP, then every ban (and everything else) would be IP-based.
Title: Re: how does Ipban work?
Post by: Camel on October 20, 2007, 03:38:10 am
I thoguht bans were IP based. That is to say, any login following the ban from the same ip will be banned as well. Is this not the case? I'd try it and check, but it's late and I'm tired :)
Title: Re: how does Ipban work?
Post by: Joe on October 20, 2007, 04:34:31 am
I thoguht bans were IP based. That is to say, any login following the ban from the same ip will be banned as well. Is this not the case? I'd try it and check, but it's late and I'm tired :)

Normal bans (channel operator /ban) is CD-Key based.
Title: Re: how does Ipban work?
Post by: iago on October 20, 2007, 10:58:27 am
I thoguht bans were IP based. That is to say, any login following the ban from the same ip will be banned as well. Is this not the case? I'd try it and check, but it's late and I'm tired :)

Normal bans (channel operator /ban) is CD-Key based.

Yep, that's correct.