|
You last visited: Today at 04:16
Advertisement
[FreeBSD]Little Flooder & DDOS Etc. Blocker
Discussion on [FreeBSD]Little Flooder & DDOS Etc. Blocker within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.
07/13/2010, 00:54
|
#1
|
elite*gold: 0
Join Date: Dec 2009
Posts: 279
Received Thanks: 572
|
[FreeBSD]Little Flooder & DDOS Etc. Blocker
hi i give freebsd little flooder % ddos etc blocker script
First Open Putty
Write ;
And
And Paste This Script
Code:
#!/bin/sh
FR_MIN_CONN=200
TMP_PREFIX='/tmp/frrr'
TMP_FILE=`mktemp $TMP_PREFIX.XXXXXXXX`
/usr/bin/netstat -ntu -f inet| awk '{if(NR>2 && NF=6) print $5}' | cut -d. -f1-4 | grep '^[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}$' | sort | uniq -c | sort -nr > $TMP_FILE
while read line; do
CURR_LINE_CONN=$(echo $line | cut -d" " -f1)
CURR_LINE_IP=$(echo $line | cut -d" " -f2)
if [ $CURR_LINE_CONN -lt $FR_MIN_CONN ]; then
break
fi
/sbin/route -q add $CURR_LINE_IP 127.0.0.1
/bin/echo $CURR_LINE_IP >> /root/[COLOR="Red"][B]banlist.txt[/B][/COLOR]
/bin/echo "Subject: $CURR_LINE_IP ipden $CURR_LINE_CONN Connect Refused." | /usr/sbin/sendmail -F [COLOR="Red"][/COLOR] -t [COLOR="Red"][/COLOR]
done < $TMP_FILE
/bin/rm -f $TMP_PREFIX.*
And Save This Script
Write
And
Write ;
Code:
######BANLIST#######
OK Finish .. But You Need Run This Script All Sec All Min All Days All Week All Month etc. xD
Not Use Your Hand ! Use A Webmin Crontabs
How To Install Webmin ?
[B]
You Need Help Write On Thread
+ Click Thanks ;D
|
|
|
07/13/2010, 01:07
|
#2
|
elite*gold: 0
Join Date: Oct 2008
Posts: 737
Received Thanks: 311
|
Thank you for the Script! I think it help a lot! #thanks button press
|
|
|
07/13/2010, 01:20
|
#3
|
elite*gold: 60
Join Date: Dec 2008
Posts: 1,489
Received Thanks: 1,255
|
I have to try it first but should work
Thanks
|
|
|
07/13/2010, 02:18
|
#4
|
elite*gold: 5
Join Date: Nov 2009
Posts: 1,863
Received Thanks: 2,778
|
It´s very good
Thanks
.Kay331
|
|
|
07/13/2010, 07:46
|
#5
|
elite*gold: 0
Join Date: May 2010
Posts: 68
Received Thanks: 12
|
funktoniert das wirklich? wenn ja danke.
|
|
|
07/13/2010, 12:14
|
#6
|
elite*gold: 0
Join Date: Jun 2010
Posts: 1,567
Received Thanks: 974
|
don't need to run it all times.. just screen it, if it dont work all times ;O
|
|
|
07/13/2010, 12:20
|
#7
|
elite*gold: 41
Join Date: Jan 2009
Posts: 373
Received Thanks: 260
|
tsk kardes
|
|
|
07/13/2010, 12:43
|
#8
|
elite*gold: 0
Join Date: Aug 2008
Posts: 154
Received Thanks: 33
|
route: writing to routing socket: Can't assign requested address
|
|
|
07/13/2010, 14:52
|
#9
|
elite*gold: 5
Join Date: Nov 2009
Posts: 1,863
Received Thanks: 2,778
|
Und wie startet man das nun ???
MfG .Kay331
|
|
|
10/09/2010, 13:51
|
#10
|
elite*gold: 0
Join Date: Dec 2009
Posts: 279
Received Thanks: 572
|
script update
|
|
|
10/09/2010, 13:52
|
#11
|
elite*gold: 1
Join Date: Jun 2010
Posts: 1,624
Received Thanks: 563
|
rly nice script thanks
|
|
|
10/09/2010, 15:21
|
#12
|
elite*gold: 252
Join Date: Mar 2008
Posts: 3,111
Received Thanks: 3,911
|
ddos.sh: 15: syntax error: "done" unexpected (expecting "then")
Error in the script?
|
|
|
12/25/2010, 13:58
|
#13
|
elite*gold: 0
Join Date: Apr 2010
Posts: 92
Received Thanks: 1
|
route: writing to routing socket: File exists
i have this error
|
|
|
01/01/2011, 12:19
|
#14
|
elite*gold: 0
Join Date: Dec 2009
Posts: 279
Received Thanks: 572
|
Quote:
Originally Posted by sowanted
route: writing to routing socket: File exists
i have this error
|
you have a root server or homemade ?.
|
|
|
01/01/2011, 16:46
|
#15
|
elite*gold: 0
Join Date: Jan 2010
Posts: 1,916
Received Thanks: 538
|
|
|
|
|
|
Similar Threads
|
cmd blocker?
07/28/2015 - Kal Online - 17 Replies
pyramid server now has new anti cmd hack. how do i get past this?
|
Usb Blocker
06/03/2010 - AutoIt - 0 Replies
Hey
I finished my new tool. You need a Usb stick for it.
This tool will block keyboard + mouse input when there is not the right usb stick.
Just type your usb stick path in the input like in the example. When the usb stick is plugged everything work but when you unplugge the usb stick keyboard + mouse input is blocked (taskmanager also) Use this tool only when you understand this tutorial!!!
Download
|
Pop up Blocker
04/20/2010 - Main - 3 Replies
Hey com,
gibts nen pop up blocker der funkt?
also kann au einer sein wo ich erst die seite eingeben muss um zu blocken.
weil der von firefox nützt ja nicht wirklich was ^^
mfg Harfu
|
Ich suche Ts Flooder/I screach a Ts Flooder
06/01/2009 - General Coding - 4 Replies
Ich suche eine Ts Flooder mit download link oder MSN Skype addi
|
icq flooder
10/14/2008 - Off Topic - 15 Replies
moin,
ich such nen icq flooder um so nen kleinen wanna be zu bombem.
aber bitte nicht so nen viren verseuchten scheiss ;).
danke
|
All times are GMT +2. The time now is 04:16.
|
|