How to stop udp attack

Discussion in 'Security' started by gkhub, Mar 27, 2014.

  1. #1
    how to stop udp attack?
     
    gkhub, Mar 27, 2014 IP
  2. HassanKhalid

    HassanKhalid Active Member

    Messages:
    158
    Likes Received:
    6
    Best Answers:
    4
    Trophy Points:
    90
    #2
    Use firewall.
     
    HassanKhalid, Mar 27, 2014 IP
  3. Tier_net

    Tier_net Active Member

    Messages:
    35
    Likes Received:
    5
    Best Answers:
    3
    Trophy Points:
    58
    #3
    We need many more specifics here obviously. What type of UDP attack? DOS or DDOS? Which port? What type of system are you running? etc, etc, etc..
     
    Tier_net, May 20, 2014 IP
  4. hostechsupport

    hostechsupport Well-Known Member

    Messages:
    413
    Likes Received:
    23
    Best Answers:
    7
    Trophy Points:
    138
    #4
    You can block All UDP traffic except dns by configuring rules in Firewall.

    iptables -A INPUT -p udp --sport 53 -j ACCEPT
    iptables -A INPUT -p udp --dport 53 -j ACCEPT
    iptables -A OUTPUT -p udp --sport 53 -j ACCEPT
    iptables -A OUTPUT -p udp --dport 53 -j ACCEPT

    iptables -A INPUT -p udp -j DROP
    iptables -A OUTPUT -p udp -j DROP
     
    hostechsupport, May 23, 2014 IP
  5. markjcc

    markjcc Greenhorn

    Messages:
    8
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    8
    #5
    A DoS Attack Iptables will be able to thwart however a DDos attack with more packets per second IP tables won't be able to help unless your port is big enough to absorb attacks, the only 100% Full proof solution is to get a DDoS Protected VPS or Dedicated Server.
     
    markjcc, May 27, 2014 IP
    digitalpoint likes this.