PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: liq?i?sw?rdz on 28 November, 2003, 15:42:44

Title: IP RANGE BLOCKER FOR RIAA,Peer Guardian, etc.?
Post by: liq?i?sw?rdz on 28 November, 2003, 15:42:44
Could someone make a script that kicks IP's from all known government agencies and advertise it in the mainchat?
Title:
Post by: [NL]trucker on 28 November, 2003, 16:26:50
I WOULD LIKE SUCH A BOT BUT NOT WITH ADVERT IN MAIN SO PERHAPS THERE IS A POSIBILLITY TO ADD A SWITCH FOR MAIN/PM

i also have a small list with ip,s  :-))

oepss it was to long if someone wants the list pm me and i will mail it to you.  ((:-



so i hink a bot that reads from a file will be the best answer to this

i also found a website with more ip,s some of them are listed above

http://thrasherforum.free.fr/phpBB2/viewtopic.php?p=270&sid=8dd0d0694cf00b4578059785f08de47a


then follow the link to :
http://www.unixhub.com/block.html

there you will foind more of this stuff.
Title:
Post by: liq?i?sw?rdz on 28 November, 2003, 18:00:13
Yo [NL] trucker those were some good sites
now all i need is a ip blocker that advertise in the main chat........where are the codersssssssssss...lol
Title:
Post by: dvxjunkie on 28 November, 2003, 21:24:21
try this click here (http://homepage.ntlworld.com/tim.leonard1/methlabs.htm)
Title:
Post by: plop on 29 November, 2003, 02:11:32
QuoteOriginally posted by liq?i?sw?rdz
Yo [NL] trucker those were some good sites
now all i need is a ip blocker that advertise in the main chat........where are the codersssssssssss...lol
use a adver bot 2 inform your users and let your firewall block those ip ranges.
blocking long lists like that with a bot takes 2 much resources and a firewall can do it better as it's made for blocking bad things.

plop
Title:
Post by: c h i l l a on 29 November, 2003, 09:01:57
I have no clue how the block works in my firewall, but in the logger its quite simple...
the IP's you have are sorted...  by the Compute function.
and then it searches them by findind weather the current IP is in the Range or above or below the range..
that way.. the logger can run through like 1024  ranges in 10 while runs...  okey the ranges still must be computed but that is only one little calcultion.
To optimise it, I could precompute them. Works quite good. BUt I also think the firewall is better since it doesn't only block. the IP's comming to the hub but also if they log on through a different port.