Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

25mbps traffic on UDP port 80: How do I block this?

Discussion in 'General Discussion' started by AbeFroman, Aug 19, 2004.

  1. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    I am getting 25mbps traffic on UDP port 80. What is the best way to block this?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Sydney
    The best way would be to have your upstream provider block it - and best at the router closest to the source. You can block it locally, but that wont stop the data actually hitting your box, so it will count against any data allowances your provider may give.

    To block it locally, iptables -I INPUT -p udp --dport 80 -j DROP
    would block all UDP traffic on port 80. If you know where it is coming from add -s xxx.xxx.xxx.xxx to the rule.

    Remember though, the data will still hit your box, unless you have your provider block the traffic.
     
  3. AbeFroman

    AbeFroman BANNED

    Joined:
    Feb 16, 2002
    Messages:
    654
    Likes Received:
    1
    Trophy Points:
    318
    Can this be blocked with the APF firewall?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. bking

    bking Well-Known Member

    Joined:
    Mar 1, 2004
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Sydney
    I would think so. I am not sure how APF works.. at the end of the ruleset I am sure you could add that line that I gave earlier and then restart the firewall...
    Again, I am not sure how APF works, but if it is just a normal shell script, just adding the extra rules should work. Maybe someone who has used APF can provide further comment?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice