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

How do i block torrent file on squidguard proxy filter

Scheduled Pinned Locked Moved Cache/Proxy
9 Posts 6 Posters 3.5k 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.
  • R
    rsumook
    last edited by Dec 6, 2016, 8:35 AM

    Blocking executable and other extensions i copy this code (./..(asf|wm|wma|wmv|zip|rar|cab|mp3|avi|mpg|swf|exe|mpeg|mp.|mpv|mp3|wm.|vpu)) and paste under Target categories and regular expression is working fine
    i tried torrent file to block just adding |torrent after vpu but its not working.

    is there a way to block torrent file

    thanks

    1 Reply Last reply Reply Quote 0
    • D
      doktornotor Banned
      last edited by Dec 6, 2016, 11:26 AM

      Not really sure what you are after. Blocking a *.torrent files won't produce much effective result, considering most torrents are just magnet links. Squidguard certainly will NOT block BT protocol traffic.

      1 Reply Last reply Reply Quote 0
      • R
        rsumook
        last edited by Dec 7, 2016, 12:13 AM

        Thanks for your reply doktornotor

        sorry i am really newbie, my objective is to block torrent files using pfsense squid and squidguard i can only block some extensions using this code (./..(asf|wm|wma|wmv|zip|rar|cab|mp3|avi|mpg|swf|exe|mpeg|mp.|mpv|mp3|wm.|vpu)).

        Is there any other way instead blocking the websites.

        Thanks

        1 Reply Last reply Reply Quote 0
        • C
          C0RR0SIVE
          last edited by Dec 7, 2016, 5:15 AM

          Block all outgoing and incoming port ranges, and allow ONLY the ones that users NEED to get out to the internet…?  That will help kill a ton of your torrent traffic issues, even if users can get a torrent file, or magnet link.

          Seriously, there is ZERO point in blocking a torrent file it self, as right beside the link to download them tends to be a magnet URI that users can copy and paste right into a torrent client.  You are best off blocking torrent sites, as well as disabling any potential ports for torrents.

          1 Reply Last reply Reply Quote 0
          • R
            rsumook
            last edited by Dec 7, 2016, 5:24 AM

            Thank you C0RR0SIVE, I will block all torrent sites and ports.

            1 Reply Last reply Reply Quote 0
            • H
              hamed_forum
              last edited by Dec 8, 2016, 2:34 PM

              Where is block it?can explain it

              1 Reply Last reply Reply Quote 0
              • K
                KOM
                last edited by Dec 8, 2016, 2:38 PM

                Not possible.  He intends to block the IP address of every torrent tracker in the world.  Good luck with that.

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by Dec 8, 2016, 2:39 PM

                  Perhaps you could have a look at Snort and the OpenAppID or whatnot… Blocking by IPs, file types etc. is completely ineffective or impossible

                  1 Reply Last reply Reply Quote 0
                  • C
                    carmageddon63
                    last edited by Mar 26, 2018, 4:11 PM

                    http://blogs.fcoos.net/block-p2p-traffics-with-pfsense-using-snort-ips/

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received