Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Basically

I am receiving a lot of packets/data with random info on UDP protocol. Packet has header and then a lot of XXXXXXX in it's content.

I assume it is UDP flood but it comes from different web/dedi hosting companies. Also this basically uses up all of download speed. Upload speed stays 0-1kb/s

Is there a way to fight this?

Thanks

share|improve this question
1  
Without a snippet from a packet capture or more information, there's really not much we can help you with. If it's consuming your downlink bandwidth, even blocking the traffic at the host firewall won't help. You'll most likely need to work with your hosting company or their upstream ISP to get the traffic blocked at that level. –  EEAA Jun 28 '10 at 2:22
    
ISP doesn't wanna work with me at all. They say they can change IP only. ISP: Verizon; Serice: Fios 25/25 –  DanSPd Jun 28 '10 at 2:26
    
Is this a residential or business account with Verizon? –  EEAA Jun 28 '10 at 2:28
    
Residential... I beleive business one doesnt offer 25/25 I need the highes upload speed for under 100$ a month –  DanSPd Jun 28 '10 at 2:41
3  
@ErikA: this puts any ISP into a very bad light, because if they refuse to deal with DDoS attacks against residential clients this makes them accessories. This is a situation that can't be dealt by the user itself and it needs to be brought upstream. Refusing to help due to lack of business-class service is plain blackmail. –  halp Aug 9 '10 at 9:32

2 Answers 2

Doesn't matter if you have any UDP services running, even if you drop every UDP-packet in example iptables your RX buffer (that is, your incoming network link) will be saturated.

Try it yourself with a simple udp flood script and monitor the RX/TX buffer with iftop.

You simply have to contact your ISP to block them higher up in the chain. Either that or get a fatter line which has more capacity than the attacks.

share|improve this answer

Not much that can be done to identify the traffic without some packet traces. Note that you can't trust the source of UDP packets in any way, so they might come from a single host even if the source address is random.

If you don't have a fixed IP the easy solution is to change your mac address, then take a new DHCP lease. That way you will get a new IP address and the traffic will be dropped in a router somewhere until an unlucky guy gets your old IP. Hopefully the one creating the traffic will have stopped by then.

You should also make sure that 1: The UDP traffic is not legit and part of some protocol your system is speaking, such as DHT 2: That it really eats up all your bandwidth. A few hundreds of pps is not enough to fill your line. Without the right tools (Wireshark is a good start) estimating how much bandwidth is being used is hard.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.