mIRC Home    About    Download    Register    News    Help

Print Thread
#95956 28/08/04 09:36 PM
Joined: Aug 2004
Posts: 2
J
Bowl of petunias
OP Offline
Bowl of petunias
J
Joined: Aug 2004
Posts: 2
First off, a good hello to all, as I have just joined this community.

I moderate a chat room via mIRC, which has provided great flexibility for administrative functions. Recently we have had a significant problem at our channel with troublesome AOL & Yahoo users having been banned and continuing to slip under the radar. I've been told that, at least in the case of AOL, it's virtually impossible to server ban as it essentially bans anyone using AOL. Does anyone know of a more precise way to zero in on a single such persona non grata? Any feedback would be very appreciated.

#95957 28/08/04 10:04 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
AOL is troublesome indeed. I've never seen yahoo users been a pain, but there is a first time for everything. Since AOL uses that IP masking thing, it gets hard to ban a single user. I've seen many ppl setting a ban on *!*@*.ipt.aol.com because they couldn't figure out another way out. Using userid's is a good way, but that can be easily changed. It usually works for those who don't reconnect.

I don't know if this will help you, but the page Cyber Abuse.org (so as many others) has a Whois server, which narrows the alphanumeric IPs down to numeric ones.
Eg:AC8F6.ipt.aol.com == 66.43.95.255 (IP's are made up)

It this case you can try and set a more efficient ban, although those can also be evaded.

Let's just hope AOL changes management and gets that IP masking off.

Greetings,
Zyzzyx smile


"All we are saying is give peace a chance" -- John Lennon
#95958 28/08/04 10:15 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Welcome to the board smile

In addition to the above full name fields tend also not to be changed as often as nicknames, identds and indeed, hostnames. Most networks do not have a mode char to ban the full name field, although you might ask in your network's #help channel and see if they do.

You can use a fairly simple script to detect the full name field in the /whois, and then kick someone out based on that. Something like the following should work:

on @*:join:#channel:{ whois $nick }

raw 311:*:{
if (*[color:red]whatever
* iswm $6-) {
var %i = $comchan($2,0)
while (%i) { if ($me isop $comchan($2,%i)) { ban -k $v2 $2 Naughty ban evader } |
dec %i }
}
}[/color]

So next time you see this particularly abusive user, /whois them, find out what their full name is, and then change *whatever* to something that matches that full name.

Really, if someone is absolutely intent on getting round a ban, and have a dynamic IP such as that AOL provide their customers, it's impossible to keep someone out (except banning all of AOL).

Regards,


Mentality/Chris
#95959 28/08/04 11:43 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
It's not really a mask, it is the actual IP address converted to a code written in HEX though the format used by my ISP is probably a better one for room hosts where it simply contains CPE-147-10-19-2.nsw.bigpond.net.au - with the full IP (falsified in this case) and a a part of the hostname dedicated to a geographic location (the bit in brown) makes life much easier.

As for AO-Hell, *!*@ACBF09*.ipt.aol.com would assist when banning a ban evader. grin

#95960 28/08/04 11:55 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Thanks for the lesson, Watchdog smile HEX isn't within my small brench of knowledge, but I'm guessing it's some kind of encryption code/format.

One question though: why would *!*@ACBF09*.ipt.aol.com ban the evader?


"All we are saying is give peace a chance" -- John Lennon
#95961 29/08/04 02:24 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
There's 8 characters in that part of the hostname, each pair represents one octet in the IP address. Banning what represents the last octet gives you a c class ban. I've never actually tested this theory but I've used it and it seems to work. One can only try ay. All the best.

#95962 29/08/04 02:30 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Late mail:

I just played around with some DNS lookups on AO Hell hostnames and it seems that the HEX coding does relate directly to each octet in the users IP address so the above banning method should work in many cases. The thing with dynamic IPs is that the third octet as well as the fourth can sometimes change too (ie: when the luser that got banned redialls). The method used by AO Hell to generate hostnames is not really helpful as ultimately you will end up banning more people than who deserve it, but then again not all your users will be on that ISP so it may not necessarily be a concern. grin

#95963 29/08/04 02:32 AM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Oh, I see... llike banning 200.255.255.* smile Just know that you mentioned that I realized that there were 8 chars in AOL's IPs :P

Thanks smile


"All we are saying is give peace a chance" -- John Lennon
#95964 29/08/04 02:35 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
Yeppers. laugh

#95965 29/08/04 02:35 AM
Joined: Dec 2002
Posts: 145
G
Vogon poet
Offline
Vogon poet
G
Joined: Dec 2002
Posts: 145
Aol mask is in fact the same as mIRC $longip( ) in Hexadecimal (base 16).

EX.:
ACCB60EB.ipt.aol.com

ip: 172.203.96.235

Longip: 2899009771

See: /help $base

#95966 29/08/04 02:56 AM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Hmmm.... *thinks hard*

(Taken from the help file)
$base(N,inbase,outbase,zeropad,precision)
Converts number N from inbase to outbase. The last two parameters are optional.

$base(15,10,16) returns F
$base(1.5,10,16) returns 1.8
$base(2,10,16,3) returns 002


I tried over here a few times, changing the 16 from inbase to outbase and back. This is the order I got for converting one into another:

Data: ACCB60EB.ipt.aol.com
- $base(ACCB60EB,16,10) = 2899009771
- $longip(2899009771) = 172.203.96.235


For the reverse operation:
Data: 172.203.96.235
- $longip(172.203.96.235) = 2899009771
- $base(2899009771,10,16) = ACCB60EB


This is quite interesting smile I wonder one thing... what is that 10, necessary in both $base's? I tried using 10 because it was present in all examples of the help file.

Another thing: is the $longip always 10 chars lenght? --> $len(28990097710) = 10

Zyzzyx smile

PS: also I couldn't figure out exaclty what $base is :P

Last edited by Zyzzyx26; 29/08/04 02:57 AM.

"All we are saying is give peace a chance" -- John Lennon
#95967 29/08/04 05:29 AM
Joined: Dec 2002
Posts: 266
Z
Fjord artisan
Offline
Fjord artisan
Z
Joined: Dec 2002
Posts: 266
You could type /dns nickname and get their IP, then ban *!*@X.X.X.* where the X's are the actual numbers within it. This will ban a small percentage of the population of AOL users and should keep your charmer out.

This works on most IRCds though I cannot confirm them all.

Edit: Nevermind, Watchdog's way is better. It's essentially the same anyway.

Last edited by zack; 29/08/04 05:31 AM.

You won't like it when I get angry.
#95968 29/08/04 10:12 AM
Joined: Dec 2002
Posts: 145
G
Vogon poet
Offline
Vogon poet
G
Joined: Dec 2002
Posts: 145
octodecimal => base(8)
decimal => base(10)
hexadecimal => base(16)

$base(number,10,16)
change a decimal number into hexadecimal

$base(number,16,10)
change a hexadecimal number into decimal

longip is calculated as follows:

ip: ddd.ccc.bbb.aaa

a + (b * 2^8) + (c * 2^16) + (d * 2^24)

#95969 29/08/04 01:31 PM
Joined: Apr 2003
Posts: 701
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
it's just octal, octodecimal would be something like base 18 smile

The numbers in base just represent the number of different digits you can have before needing double digits (ie 10)

binary: 0, 1, 10 -> 2
octal: 0, 1, 2, 3, 4, 5, 6, 7, 10 -> 8
decimal: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 -> 10
hexadecimal: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, 10 -> 16 (0x10 hex means 16 in decimal)


#95970 29/08/04 01:31 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
Ohh.. nice.. smile I knew maths would make sence someday :P

Thanks you four for the IP lesson! laugh

Greetings,
Zyzzyx.

Last edited by Zyzzyx26; 29/08/04 01:33 PM.

"All we are saying is give peace a chance" -- John Lennon
#95971 29/08/04 02:22 PM
Joined: Dec 2002
Posts: 145
G
Vogon poet
Offline
Vogon poet
G
Joined: Dec 2002
Posts: 145
Kelder - Of course you're right :-))

Zyzzyx26 - You're welcome

#95972 29/08/04 06:16 PM
Joined: Aug 2004
Posts: 2
J
Bowl of petunias
OP Offline
Bowl of petunias
J
Joined: Aug 2004
Posts: 2
Thanks so much for all the fabulous brainstorming! I'll be sure to put this information to the test. So many things to learn...I'll definitely remember this board next time I find myself at a loss!

Thanks again for your input, everyone... grin


Link Copied to Clipboard