Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    How to stop torrents at work?

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 6 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sudo
      last edited by

      I'm sure this question will not make me the most popular student at the dance, but is there a way to identify (via IP) machines running BitTorrent clients within an internal network (ie. work)? My company has around 70 employees, and the old, "Please don't torrent at work" doesn't seem to be doing much good anymore. It brings our email and web browsing to a near standstill, and dropping by the "usual suspects" is not only tiresome, but doesn't seem to find all the sources of traffic any longer. Any help would be appreciated, thanks.

      1 Reply Last reply Reply Quote 0
      • M
        morph0
        last edited by

        If you can get to the machines when there not around, access the advanced options of the torrent client and force it to use specific ports under net.outgoing_port & net.outgoing_max_port. Then all you need to do is create a rule for the port range you specify to block/shape into oblivion. Generally they won't be aware of the advanced options let alone what a port is.

        If this is not an option simply shape them/block there PC and send them to HR to explain why they need to steal all the network bandwidth instead of working.

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          You can do this with Layer7 filtering. Ether just block torrents completely or setup a rule to allow torrents and log it.

          Steve

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            @sudo:

            is there a way to identify (via IP) machines running BitTorrent clients within an internal network

            easy way to identify them is just do a sniff at your lan interface, let it run for a while and then load it up into wireshark and look at since your saying its killing your bandwidth the top talkers, but sorting by protocol will show you the IPs that are talking p2p.

            I have to assume you don't have any ports forwarded, are you running UPnP?  Are you boxes on public IPs?  Normally p2p is pretty slow unless ports are open to them.

            Why you would try and run p2p at work in the first place??  Users, what you going to do ;)

            Simple sniff will clearly show you who is downloading from p2p!  Even without knowing how to use wireshark, I am quite sure you will be able to spot the p2p traffic right away.

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • N
              Nachtfalke
              last edited by

              @stephenw10:

              You can do this with Layer7 filtering. Ether just block torrents completely or setup a rule to allow torrents and log it.

              Steve

              The Layer7 filtering for torrent isn't working on my actual pfsense 2.0
              So I don't think that this is a good solution at the moment. :(

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                @Nachtfalke:

                The Layer7 filtering for torrent isn't working on my actual pfsense 2.0
                So I don't think that this is a good solution at the moment. :(

                Good to know. I won't be relying on that then.  :)

                Steve

                1 Reply Last reply Reply Quote 0
                • S
                  sudo
                  last edited by

                  Thanks all,

                  Now I can do with layer7 filtering It works well, and after that I've monitoring with Ntop without torrents package.

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmb
                    last edited by

                    @Nachtfalke:

                    The Layer7 filtering for torrent isn't working on my actual pfsense 2.0
                    So I don't think that this is a good solution at the moment. :(

                    It's as good as the l7filter project's signatures, which is hit and miss. It'll miss all encrypted BT traffic as you can't detect that in such a fashion. It's also extremely high overhead so it's not something I would put a ton of traffic through unless you have a significantly oversized CPU (by our normal hardware sizing standards).

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.