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

    Can I block downloads of .txt files that are over a certain size

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 255 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.
    • E
      erushforth
      last edited by

      I have been trawling the internet for an answer and as yet I cannot find a way to specifically block .txt files that are over a certain size.
      Does anybody know if this is possible?

      I have found that a regular expression can block file types but I cannot find a way to incorporate the file size part into this rule.

      Any help would be appreciated.

      Thanks

      1 Reply Last reply Reply Quote 0
      • GrimsonG
        Grimson Banned
        last edited by

        https://forum.pfsense.org/index.php?board=60.0

        1 Reply Last reply Reply Quote 0
        • KOMK
          KOM
          last edited by

          Squid has a traffic management page that allows you to specify a maximum download size, and have it apply only to specific file extensions such as txt.

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