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

    How to block keywords in squid

    Scheduled Pinned Locked Moved pfSense Packages
    4 Posts 3 Posters 3.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.
    • T
      tmt
      last edited by

      How to restrict any websites based on keywords in squid proxy server not domain it add so many
      Blocking keywords in squid proxy server is very helpful for the system administrators in colleges and schools networks.

      1 Reply Last reply Reply Quote 0
      • A
        Abhishek
        last edited by

        squidguard > Target categories >Create  : scroll down to  Regular Expression

        
        Enter word fragments of the destination URL. To separate them use | . Example: mail|casino|game|\.rsdf$
        

        2.3-RC (amd64)
        built on Mon Apr 04 17:09:32 CDT 2016
        FreeBSD 10.3-RELEASE
        Intel(R) Core(TM)2 Duo CPU E4500 @ 2.20GHz

        darkstat 3.1.2_1
        Lightsquid 3.0.3_1
        mailreport 3.0_1
        pfBlockerNG 2.0.9_1  
        RRD_Summary 1.3.1_2
        snort 3.2.9.1_9  
        squid 0.4.16_1  
        squidGuard 1.14_1
        syslog-ng 1.1.2_2

        1 Reply Last reply Reply Quote 0
        • T
          tmt
          last edited by

          @Merchant:

          squidguard > Target categories >Create  : scroll down to  Regular Expression

          
          Enter word fragments of the destination URL. To separate them use | . Example: mail|casino|game|\.rsdf$
          

          thanks it good for me

          1 Reply Last reply Reply Quote 0
          • H
            Harvy66
            last edited by

            I can see blocking being useful for schools, but not colleges. When I went to a state University, as long as the content was legal, I could view it. This included adult content on lab computers. The lab assistants would kindly ask you to move to another computer if your offensive content was easily viewable by others. Labs were also open to the public for local residents. Students doing homework always got priority.

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