how to block udp flood or ddos attack on server
Learn about iptables' PREROUTING table and make sure you have disabled chargen service. :)
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi59.tinypic.com%2Fflg0af.jpg&hash=b9e901d3497bf06b0ef5928fe5aa8e657a194468)
all timeout :( idk wht is this guy problem
what is his name?
ADC2> 02--- Alias for IP:[ 181.109.143.168 ] ---
<ADC2> 02- Ne1tgo0r_
well i have full list of players ip and name and i found two players with 181.109 ip they have
No1. pableys
No2. joel
ANd they both are one because of there aliases
203.170.75.2 this ip also so we dont know how many they are ?? or hr use vpn but i wanna know how to blocked this idiot
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi60.tinypic.com%2F24v5nd3.jpg&hash=a7282ee1ef7d942017ea764b68332ea12c0e766d)
idk why he target us
it is vpn ip and it has no result on list well i give u one function
function onPlayerJoin( player )
{
local IP = player.IP;
if(player.IP=="203.170.75.2")
{
KickPlayer( player );
}
}
If you use a VPS block the IP using iptables, use google for the exact syntax.
idk why he do with us we are just hard work for it an he did shit with us without any reason :( hope he leave btw i will try your cmd hope work it Finch
Thijn first thanks you add our server for monitoring. im use no1host.us hosting service
if u wanna kick him on his full ip then the given format is right it will crash his game
Quote from: Finch on Mar 15, 2015, 12:43 PMit is vpn ip and it has no result on list well i give u one function
function onPlayerJoin( player )
{
local IP = player.IP;
if(player.IP=="203.170.75.2")
{
KickPlayer( player );
}
}
This will not block dos attacks
Quote from: hotdogcat on Mar 15, 2015, 07:22 PMQuote from: Finch on Mar 15, 2015, 12:43 PMit is vpn ip and it has no result on list well i give u one function
function onPlayerJoin( player )
{
local IP = player.IP;
if(player.IP=="203.170.75.2")
{
KickPlayer( player );
}
}
This will not block dos attacks
Ignore that guys he is a Blood Sucker ;D
If I could just rate limit UDP packets from ip address's wouldn't that solve the problem? What is a good rate limit to set for a vcmp server so it won't crash if anyone knows?
http://www.askbjoernhansen.com/2004/09/22/mini_tutorial_f.html
Quote from: gta5 on Mar 16, 2015, 05:37 AMIf I could just rate limit UDP packets from ip address's wouldn't that solve the problem? What is a good rate limit to set for a vcmp server so it won't crash if anyone knows?
http://www.askbjoernhansen.com/2004/09/22/mini_tutorial_f.html
256kbps for a server with low player count or 128kbps for a server with 70+ players.
I know that it will just kick that player who comes with that ip
What u trying to say i am Sucker? Beztone?
Quote from: Finch on Mar 16, 2015, 10:51 AMI know that it will just kick that player who comes with that ip
He is talking about Ddos attacks not baning ips, if you dont know what is Ddos then dont post
i know that he is talking about stop ddos attack but i just give him example of banning ip for which usefull for him
Quote from: Finch on Mar 16, 2015, 10:58 AMi know that he is talking about stop ddos attack but i just give him example of banning ip for which usefull for him
Banning IP's In Server Wont stop Ddos attacks
i know that but if he will use one ip then he cant join server
People, just stop replying to this topic. These morons (and many others) barely know the difference between DoS and DDoS (http://lmgtfy.com/?q=ddos+vs+dos). And you expect them to understand something when you explain them how to stop an incoming attack? In that case you must be dumber then they are.
You reply: Do that....
They reply: But I need to block him.
You reply: Yes, do that...
They reply: Yes, but how do I block him...
You reply: Just do that...
They reply: But how do I block him.
.... See where I'm getting? Then don't know sh!t. You'll just end up like Beztone's avatar. They barely know their name and you want them to use a VPS and enhance it's security? :-\
Quote from: Gudio on Mar 15, 2015, 11:41 AMLearn about iptables' PREROUTING table and make sure you have disabled chargen service. :)
Quote from: Thijn on Mar 15, 2015, 12:52 PMIf you use a VPS block the IP using iptables, use google for the exact syntax.
These are the only proper answers. Topic locked.