PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: belea on 18 October, 2004, 22:25:46

Title: ipranger with subnet
Post by: belea on 18 October, 2004, 22:25:46
Hi there


My problem is:  I want to limited my hub only for one country.. mine :D  

And i tried ipranger and its good but after  1050 lines,  i guess he start to lose the control..

So i tried the GeoIP for Ptokax but its in the early age.. :(  and  i hope very soon to be a GeoIP like the GeoIP  for VerilHUb...  to allow only one country ! with no exceptions

Anyway .. my need its to have an script that can deal with subnet like 22.22.22.22/23 or 22.22.22.22/18 and so on..  because i can find my country IPs but in that  forms..

and if its possible to deal with 2 forms of ips like:
22.22.22.22 - 22.22.22.112
22.22.22.22/19
all that in iprange.dat or something  


Thank you very much..  

 
Title:
Post by: bastya_elvtars on 18 October, 2004, 23:03:46
i am not a tcp/ip protocol expert, so i need to know the formula, then i will upd8 range f***er...
Title:
Post by: belea on 19 October, 2004, 00:57:50
There was a script somewhere here.. i dont remeber where  and was something with MOTD for ISPs..   i  searched for that script but i could not find it again  :(
Title:
Post by: belea on 19 October, 2004, 01:22:15
http://board.univ-angers.fr/thread.php?threadid=751&boardid=15&sid=731b0ed14a1c9f51e9868bbc329f5025
Title:
Post by: belea on 20 October, 2004, 20:07:42
bastya_elvtars plz forget my required.. i resolved :)  


GeoIP written by Vit..  its do that thing.. let only my country.. and the beauty is.. i dont care about IPs..  just +Allow CountryCode .. and that was all.. no ip.. no ip range.. no nothing :)

GeoIP rulez :D

P.S. someone should delete this thread..
Title:
Post by: bastya_elvtars on 20 October, 2004, 22:24:51
okay, but will do this netmas thing anyway, just other tasks i have now.... :(

this was a useful idea, and i wanted to do it for a while... no need 2 delete  8)