• Welcome to Valhalla Legends Archive.
 

IP Banned by BNCS 0x0c?

Started by rabbit, February 22, 2007, 08:39 PM

Previous topic - Next topic

Ante

Quote from: rabbit on February 23, 2007, 05:12 PM
The bottom bit is an Ethereal dump.  There's BNCS 0x0b and 0x0c in there, as well as the TCP headers.  Packet 0x0c starts at 003e, and is *identical* to the one I send from my bot.
it isn't identical. notice the char difference in the first few chars of 0x0c for both cases.
however, the hex seem to be identical...
Efficiency is the Key to Productivity, and
Productivity is the Key to Success.

brew

Ante: They are indeed indentical in data. Apparently, however he used two different packetloggers for those.
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

Ringo

Quote from: rabbit on February 23, 2007, 04:45 PM
My bot:
0000:  FF 0C 12 00 01 00 00 00 42 72 6F 6F 64 20 57 61   ÿ ....Brood Wa
0010:  72 00                                             r...............


Brood War:
0000   00 0d 3a 25 13 a8 00 15 c5 1f 66 95 08 00 45 00  ..:%......f...E.
0010   00 42 07 0d 40 00 80 06 26 6c c0 a8 02 22 3f f0  .B..@...&l..."?.
0020   ca 82 0c e9 17 e0 5e 05 b4 f8 e1 3b 1e 88 50 18  ......^....;..P.
0030   fe b4 cd 71 00 00 ff 0b 08 00 50 58 45 53 ff 0c  ...q......PXES..
0040   12 00 01 00 00 00 42 72 6f 6f 64 20 57 61 72 00  ......Brood War.
0050 


Now IP bans are intermittent, it's quite annoying.

Anyway, I told you my bot was made properly.
Hm I think this has happened to me before, but I cant remember 100% what it was.
If you dont send 0x0B, 0x0C do you still get disconnected?
I think the problem I had, was somthing to do with client or server token in or around 0x3A

Barabajagal

I forget the numbers, but the Channel List packet must be sent (and for most games, the Friend List packet as well) before joining channels.

rabbit

BNCS SEND 0x3A
0000:  FF 3A 2A 00 8C 12 0C 80 93 1C F8 4D AC 82 7F 40   ÿ:*.Œ €"øM¬,@
0010:  2B CA CB 39 4C E5 93 63 2D 93 A8 33 F6 ED F4 82   +ÊË9Lå"c-"¨3öíô,
0020:  4D 65 42 6F 74 50 6C 75 73 00                     MeBotPlus.......

BNCS RECV 0x3A
0000:  FF 3A 08 00 00 00 00 00                           ÿ:.............

BNCS SEND 0x14
0000:  FF 14 08 00 74 65 6E 62                           ÿ.tenb........

BNCS SEND 0x0A
0000:  FF 0A 0F 00 4D 65 42 6F 74 50 6C 75 73 00 00      ÿ..MeBotPlus...

BNCS SEND 0x0C
0000:  FF 0C 12 00 01 00 00 00 42 72 6F 6F 64 20 57 61   ÿ ....Brood Wa
0010:  72 00                                             r...............
It seems to not be IP banning me now, though I haven't changed anything.  I'm trying my bot on every realm, which is a little disconcerting.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Ringo

Quote from: rabbit on February 24, 2007, 06:28 AM
It seems to not be IP banning me now, though I haven't changed anything.  I'm trying my bot on every realm, which is a little disconcerting.
Hm, do you use gettickcount api for the clienttoken when you create the password hash?
If so, do you hold it in a variable and use that in the hash and packet, or use a call to gettickcount for each?
I think the problem I had was useing gettickcount api for the function/packet was somtimes there was a slight delay in the hash being made, causeing the gettickcount used in the packet, to be 15ms ahead of the one used in the passhash.

rabbit

I call GetTickCount and store it in a variable when my connection control class is instantiated.  It seems Battle.net hates me, because now I'm getting IP banned from 0x51 too :\
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

brew

wow...
rabbit from what i saw in your other packetlogs it seems as if you're sending the packets perfectly, maybe there might be somthing wrong with your winsock error event sub or disconnect sub.. that's all I can say.
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

rabbit

Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Sorc.Polgara

Obviously nothing is wrong with your code and Blizzard just hates you.

brew

Does rabbit have a static ip? Blizzard just might be screwing with him.. never know.
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

rabbit

Quote from: Sorc.Polgara on February 25, 2007, 02:04 PM
Obviously nothing is wrong with your code and Blizzard just hates you.
It's happened before.  But I haven't changed the way I've been sending 0x51 and I'm starting to get IP banned when I send it.
Grif: Yeah, and the people in the red states are mad because the people in the blue states are mean to them and want them to pay money for roads and schools instead of cool things like NASCAR and shotguns.  Also, there's something about ketchup in there.

Ringo

Hm, if you knock up a packet dump function, it might be worth creating a new txt when connecting, and dump every incoming/outgoing bit of data to it, so when you get ip'ed you can check over it.

brew

Uh.... an hour ago I experienced the same behavior on east server .126. The ipbans were much longer then the norm for invalid packets.
<3 Zorm
Quote[01:08:05 AM] <@Zorm> haha, me get pussy? don't kid yourself quik
Scio te esse, sed quid sumne? :P

Mystical

you know whats odd, even though this might not be on-topic but somtimes loggin in client, i get IPed on connect thats on client!! but only for short sessions say 5 min ipban. :| this has only been happening for the past 2-3 days.