SA-MP Forums Archive
Please Read | Server UDP attack - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Please Read | Server UDP attack (/showthread.php?tid=70574)



Please Read | Server UDP attack - -Davee- - 25.03.2009

Hey!

My server bumps into me on Linux (100/100mbit)
The server is attacked in the latter days UDP flood.
How is it possible to prevent this?
A firewall is switched on on the server.

UDP Flood: http://en.wikipedia.org/wiki/UDP_flood_attack


Re: Please Read | Server UDP attack - boylett - 25.03.2009

Block all port except the ones you need.


Re: Please Read | Server UDP attack - XeoN_13 - 25.03.2009

is it being attacked by alot of pc's or ips?or one.. if one u could ban the ip by using iptables
Код:
iptables -A INPUT -s <IP> -j DROP
then
Код:
service iptables save
Код:
service iptables restart
that most of the times stops udp flood , and i u dont know the IP ADDRES get TCPDUMP installed in ur linux machine

sorry for my bad english..


Re: Please Read | Server UDP attack - -Davee- - 25.03.2009

I don't see the ip.. On iptraf... :S
Boylett on the firewall blocked all ports only enabled the 7780 (use my samp server)


Re: Please Read | Server UDP attack - RoBo - 25.03.2009

sudo iptables -A INPUT -s 190.0.0.0/8 -j DROP
sudo iptables -A INPUT -s 200.0.0.0/8 -j DROP
sudo iptables -A INPUT -s 201.0.0.0/8 -j DROP



Re: Please Read | Server UDP attack - XeoN_13 - 25.03.2009

LOL! ban ranges for south america? :S

and dave.. u might whant to install TCPDUMP on ur linux vps or w/e. its really helpfull then just use #tcpdump -n , and see the ip that floods


Re: Please Read | Server UDP attack - ReV. - 26.03.2009

As RoBo said if you know where the attacks are coming from use IP tables, try blocking all the ports besides the one that hosts you sa-mp server if you already haven't.


Re: Please Read | Server UDP attack - -Davee- - 26.03.2009

Witch is the best Firewall for linux?


Re: Please Read | Server UDP attack - boylett - 26.03.2009

Quote:
Originally Posted by d a v e E.
Witch is the best Firewall for linux?
The default one?