Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 04:16

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Closed Thread
 
Old   #1
 
мзтіи2's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 279
Received Thanks: 572
Cool [FreeBSD]Little Flooder & DDOS Etc. Blocker

hi i give freebsd little flooder % ddos etc blocker script

First Open Putty

Write ;

Code:
cd /root
And

Code:
ee ddos.sh

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

Code:
chmod 777 ddos.sh
And

Code:
ee banlist.txt
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
мзтіи2 is offline  
Thanks
64 Users
Old 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
Turundeth is offline  
Old 07/13/2010, 01:20   #3
 
Sprotzel's Avatar
 
elite*gold: 60
Join Date: Dec 2008
Posts: 1,489
Received Thanks: 1,255
I have to try it first but should work
Thanks
Sprotzel is offline  
Old 07/13/2010, 02:18   #4
 
.Kay331's Avatar
 
elite*gold: 5
Join Date: Nov 2009
Posts: 1,863
Received Thanks: 2,778
It´s very good

Thanks


.Kay331
.Kay331 is offline  
Old 07/13/2010, 07:46   #5
 
elite*gold: 0
Join Date: May 2010
Posts: 68
Received Thanks: 12
funktoniert das wirklich? wenn ja danke.
xKasiimx is offline  
Old 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
αίίR7 :3 is offline  
Old 07/13/2010, 12:20   #7
 
iYMCMB's Avatar
 
elite*gold: 41
Join Date: Jan 2009
Posts: 373
Received Thanks: 260
tsk kardes
iYMCMB is offline  
Old 07/13/2010, 12:43   #8
 
tr0j3n18's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 154
Received Thanks: 33
route: writing to routing socket: Can't assign requested address
tr0j3n18 is offline  
Old 07/13/2010, 14:52   #9
 
.Kay331's Avatar
 
elite*gold: 5
Join Date: Nov 2009
Posts: 1,863
Received Thanks: 2,778
Und wie startet man das nun ???


MfG .Kay331
.Kay331 is offline  
Old 10/09/2010, 13:51   #10
 
мзтіи2's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 279
Received Thanks: 572
script update
мзтіи2 is offline  
Thanks
1 User
Old 10/09/2010, 13:52   #11
 
.тяµε.'s Avatar
 
elite*gold: 1
Join Date: Jun 2010
Posts: 1,624
Received Thanks: 563
rly nice script thanks
.тяµε. is offline  
Thanks
1 User
Old 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?
.Alessa is offline  
Old 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
sowanted is offline  
Old 01/01/2011, 12:19   #14
 
мзтіи2's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 279
Received Thanks: 572
Quote:
Originally Posted by sowanted View Post
route: writing to routing socket: File exists


i have this error
you have a root server or homemade ?.
мзтіи2 is offline  
Old 01/01/2011, 16:46   #15
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,916
Received Thanks: 538
hmm at webmin part:
After I click make instal clean then only error...

Quote:
===> Vulnerability check disabled, database not found
===> License check disabled, port has not defined LICENSE
=> webmin-1.520.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from .
fetch: No address record
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/po...-1.520.tar.gz: No address record
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/sysutils/webmin.
'oShet is offline  
Closed Thread

Tags
blocker, ddos, flooder, freebsd


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.