PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Psycho_Chihuahua on 20 June, 2004, 22:27:25

Title: Standalone IP Search
Post by: Psycho_Chihuahua on 20 June, 2004, 22:27:25
Could someone make a Standalone script to check if a certain IP is in the Hub?

What i would need the Script to do are:

1. check if IP is in the Hub via !chkip xxx.xxx.xxx.xxxx or so
2. ping an IP Adress thru internet 1/day and keep that specific IP blocked.


Is this possible?
Title:
Post by: nErBoS on 21 June, 2004, 01:58:08
Hi,

The first one you have a command inbuild !ipinfo about the second point , didn?t understand right ?? Why do you want to ping that ip ??

Best regards, nErBoS
Title:
Post by: Psycho_Chihuahua on 21 June, 2004, 03:27:05
yeah, well i found the first to.

I need the ability to block 1 address (for example xxx.homeip.net) that has a dynamic IP (changes every 24h), so i guess the easiest would be a ping to the address to get the IP and then block it.

To explain exactly why i need to be able to block that ip would a) take far to long and b) be quit complicated to explain.
Title:
Post by: Corayzon on 21 June, 2004, 04:10:01
a dynamic ip doesnt change every 24 hours, it CAN change when you reconnect to ur net.

Also your talking bout banning hostnames, ... and doing so can stop an entire net providers customers from connecting.

Aswell as this, then each connecting user's ip will need to have a dns lookup, which takes time, and can still be faked with ip guards!

Users shouldnt pass a hostname as i ip to the server, and if they do, its most likly a fake one. and your server scripts should kick them!
You will also find that net providers that have clients on dynamic ips:- only the last number changes on the ipaddress, and banning it would ban the entire client network for that net provider.

noza
Title:
Post by: Psycho_Chihuahua on 21 June, 2004, 06:49:17
QuoteOriginally posted by Corayzon
a dynamic ip doesnt change every 24 hours, it CAN change when you reconnect to ur net......


Yeah sure, but i would like a bot to do what im doing daily at the moment. (btw in Germany they have a 24h Timelimit on the dynamic IP's)

I check the adress for his IP and set it with a 24h timeban to entering the Hub so that axactly that guy can't come in searching for New Users to his Hub, which he has done on a number of occasions, getting past the anti Advert Script running.
Thats all i would like a simple little bot to do.