Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Den on Mar 15, 2015, 11:11 AM

Title: blocked
Post by: Den on Mar 15, 2015, 11:11 AM
how to block udp flood or ddos attack on server
Title: Re: blocked
Post by: Gudio on Mar 15, 2015, 11:41 AM
Learn about iptables' PREROUTING table and make sure you have disabled chargen service. :)
Title: Re: blocked
Post by: Den on Mar 15, 2015, 11:52 AM
(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
Title: Re: blocked
Post by: Finch on Mar 15, 2015, 12:18 PM
what is his name?
Title: Re: blocked
Post by: Den on Mar 15, 2015, 12:24 PM
ADC2> 02--- Alias for IP:[ 181.109.143.168 ] ---
<ADC2> 02- Ne1tgo0r_
Title: Re: blocked
Post by: Finch on Mar 15, 2015, 12:33 PM
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
Title: Re: blocked
Post by: Den on Mar 15, 2015, 12:35 PM
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
Title: Re: blocked
Post by: Finch on Mar 15, 2015, 12:43 PM
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 );
}
}
Title: Re: blocked
Post by: Thijn on Mar 15, 2015, 12:52 PM
If you use a VPS block the IP using iptables, use google for the exact syntax.
Title: Re: blocked
Post by: Den on Mar 15, 2015, 12:55 PM
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
Title: Re: blocked
Post by: Finch on Mar 15, 2015, 12:56 PM
if u wanna kick him on his full ip then the given format is right it will crash his game
Title: Re: blocked
Post by: hotdogcat on Mar 15, 2015, 07:22 PM
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
Title: Re: blocked
Post by: MacTavish on Mar 15, 2015, 09:27 PM
Quote from: hotdogcat on Mar 15, 2015, 07:22 PM
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

Ignore that guys he is a Blood Sucker ;D
Title: Re: blocked
Post by: gta5 on Mar 16, 2015, 05:37 AM
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
Title: Re: blocked
Post by: EK.IceFlake on Mar 16, 2015, 10:00 AM
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.
Title: Re: blocked
Post by: Finch on Mar 16, 2015, 10:51 AM


I know that it will just kick that player who comes with that ip






What u trying to say i am Sucker? Beztone?
Title: Re: blocked
Post by: MacTavish on Mar 16, 2015, 10:56 AM
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
Title: Re: blocked
Post by: Finch on Mar 16, 2015, 10:58 AM
i know that he is talking about stop ddos attack but i just give him example of banning ip for which usefull for him
Title: Re: blocked
Post by: MacTavish on Mar 16, 2015, 11:04 AM
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
Title: Re: blocked
Post by: Finch on Mar 16, 2015, 01:35 PM
i know that but if he will use one ip then he cant join server
Title: Re: blocked
Post by: . on Mar 16, 2015, 01:53 PM
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? :-\
Title: Re: blocked
Post by: Stormeus on Mar 16, 2015, 05:54 PM
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.