Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, Im have recently run into a problem with squidGuard on our network, the first problem since I set it up last year, we have added a new range ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    8

    SquidGuard problems :(


    Hi all,

    Im have recently run into a problem with squidGuard on our network, the first problem since I set it up last year, we have added a new range on our network for admin machines but for some reason it is still blocking it from certain sites which they should be able to look at (for example facebook is unblocked on admin machines but not on student machines).

    Config:

    Code:
          
          6 dbhome /var/lib/squidGuard 
          7 logdir /var/log/squid
          8
          9 #
         10 # TIME RULES:
         11 # abbrev for weekdays:
         12 # s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat
         13
         14 time workhours {
         15     weekly mtwhf 08:00 - 16:30
         16     date *-*-01  08:00 - 16:30
         17 }
         18
         19 #
         20 # SOURCE ADDRESSES:
         21 #
         22
         23 src admin {
         24     ip      1.2.3.4 1.2.3.5
         25     user        root foo bar squid support
         26 }
         27
         28 #src rm1819 {
         29 #    ip      10.10.18.0-10.10.18.255
         30 #    ip      10.10.19.0-10.10.19.255
         31 #}
         32
         33 src foo-clients {
         34     ip      172.16.2.32-172.16.2.100 172.16.2.100 172.16.2.200
         35 }
         36
         37 src bar-clients {
         38     ip      172.16.4.0/26
         39 }
         40
         41 src support {
         42     ip      10.10.100.0/16
         43     ip      10.10.127.0/16
         44     ip      10.10.103.0/16
         45     ip      10.10.200.0/16
         46 }
         47
         48 #
         49 # DESTINATION CLASSES:
         50 #
         51
         52 dest adult {
         53     domainlist  dest/adult/domains
         54     urllist     dest/adult/urls
         55     redirect //deimos/content-block.html?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u}
       347 acl {
        348     admin {
        349         pass     any
        350     }
        351
        352     default {
        353         pass     !virusinfected !phishing inhouse-white !proxy whitelist !inhouse !aggressive !dialers !hacking !porn !warez !socialnetworking all
        354         redirect //deimos/content-block.html?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u
        355     }
       362     support {
        363         pass     !virusinfected !phishing inhouse-white !proxy whitelist !inhouse !aggressive !dialers !hacking !porn !warez all
        364         redirect   //deimos/content-block.html?clientaddr=%a&clientname=%n&clientident=%i&srcclass=%s&targetclass=%t&url=%u
        365     }
        392 }
    anything on 10.10.100.0/16 can access facebook, anything else is blocked which it shouldnt be. Does anyone have any ideas about this?

  2. #2
    Just Joined!
    Join Date
    Sep 2008
    Posts
    8
    Please ignore this - I found the problem, after typing ps aux | grep squid I noticed that there are 3 copies of squid on the system and 3 different squidGuards, fixed the correct one now

Posting Permissions

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