SitePoint Sponsor

User Tag List

Results 1 to 8 of 8
  1. #1
    SitePoint Zealot ronald_poi's Avatar
    Join Date
    Sep 2004
    Location
    Lima, Perú
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Block P2P on network

    Hi everyone. I have a little situation. At home, I share my internet connection with some neighbours. Some of them are on ethernet and some others over wifi. My issue is that at least a couple of them are using extensive use of P2P software, and therefore leaving the rest of us with no bandwidth at all. It is impossible to talk about the situation, since I don't really know who is using it or when... so I'd like to block all P2P access all-together.

    Notice that I need to do this on the router (Huawei EchoLife HG520s) or something that affects the entire network. I'd like to keep things simple, so adding a computer just to monitor and control the network may be not the best idea. However, any suggestion would be really appreciated.

    Please share any ideas you may have.

  2. #2
    ¬.¬ shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    I'll assume your router has a firewall, you can block all incoming and outgoing ports for any P2P applications they maybe using.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Zealot ronald_poi's Avatar
    Join Date
    Sep 2004
    Location
    Lima, Perú
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As far as I have read, blocking ports is not the way to go, since many P2P apps switch between ports in order to avoid blocking. I think I need a more precise solution.

  4. #4
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,625
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Can you upgrade the router to something more robust, like a m0n0wall? Then you can use toys like the magic packet shaper to stomp on the p2p traffic. It will still work, but it will have the lowest priority so it shouldn't disturb normal usage.

  5. #5
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Can you change the password that is required to connect?

  6. #6
    SitePoint Addict ChiefLee's Avatar
    Join Date
    Apr 2009
    Location
    Lawrence KS
    Posts
    264
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know that there is a nice module for iptables if you installed a linux based router. Its called l7modules.

    If you dont want to do that ddwrt and pfsense both have p2p throttling if i remember correctly
    Add your logo to Pocket Folders.

  7. #7
    SitePoint Addict
    Join Date
    Jul 2008
    Location
    sudo rm -rf /
    Posts
    386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    One way is to block all traffic except on port 80 and 443 and redirect it to proxy where it will allow only web traffic.

  8. #8
    SitePoint Wizard masm50's Avatar
    Join Date
    Oct 2001
    Location
    UK
    Posts
    2,508
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Just asking them to stop using P2P might be your best bet.

    If you are using something like DD-WRT or similar on the router then you can do a lot of restricting, but P2P clients do a pretty good job of preventing you from blocking them. Some have options to choose ports and encrypt headers making it very difficult to stop without setting up some more advanced proxy connections etc.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •