PtokaX forum

Archive => Archived 5.0 boards => Request for scripts => Topic started by: witch on 10 September, 2005, 17:43:21

Title: Ban IP Range
Post by: witch on 10 September, 2005, 17:43:21
Hola guys, was lookin search, but can't find it on Lua 5.

Need IP Range ban script with posebility to alow single IP's from baned IP Range.

thx in advince  :))
Title:
Post by: bluebear on 11 September, 2005, 10:50:45
QuoteOriginally posted by witch
Hola guys, was lookin search, but can't find it on Lua 5.

Need IP Range ban script with posebility to alow single IP's from baned IP Range.

thx in advince  :))

Well, cant all script ip range scripts do that.

Lets say you ban 192.168.1.1 to 192.168.1.255

And then you still want 192.169.1.100 to not be banned? Well that does not make any sense.

So i why not make it 2 ranges?
range 1:  192.168.1.1 to 192.168.1.99
range 2:  192.168.1.101 to 192.168.1.255

Anyway it will be a waste of resources to check if a ip in each range is not banned anyway.
Title:
Post by: bastya_elvtars on 11 September, 2005, 11:12:15
QuoteOriginally posted by bluebear
it will be a waste of resources to check if a ip in each range is not banned anyway.

Not if you create a separate hash table for those immuned IPs.
Title:
Post by: Thor on 01 November, 2005, 21:27:20
I've just search a script which is ban that ip ranges which was given by myself (eg from opmenu). Can somebody make this?
Title:
Post by: bastya_elvtars on 01 November, 2005, 21:42:43
If you wait a few days/weeks, there will be builtin support for it in PtokaX. :-)
Title:
Post by: Thor on 01 November, 2005, 21:57:43
It's meaning that the new PtokaX will came out in this month?  8o Great
Title:
Post by: Corayzon on 01 November, 2005, 22:19:43
This there anywhere you can get a list of the latest changes?

* Is there
Title:
Post by: bastya_elvtars on 01 November, 2005, 22:39:19
http://ptxwiki.psycho-chihuahua.net/doku.php/changelogs/ptokax/changes_after_0.330_15.31
Title: hmm
Post by: gander on 02 November, 2005, 15:33:33
the link dont work
Title:
Post by: bastya_elvtars on 02 November, 2005, 17:59:44
QuoteOriginally posted by gander
the link dont work

Works here.