Results 1 to 7 of 7

Thread: squidGuard not blocking sites

  1. #1
    Join Date
    Dec 2007
    Beans
    485
    Distro
    Ubuntu 11.04 Natty Narwhal

    squidGuard not blocking sites

    not blocking sites

    Code:
    
    dbhome /var/lib/squidguard/db
    logdir /var/log/squid
    
    
    
    dest block {
           domainlist      block/domains
           urllist         block/urls
           redirect        http://localhost/blocked.html
    }
    
    
    acl {
            default {
                    pass !block all
                    rewrite  dmz
                    redirect http://localhost/blocked.html
            }
    }
    under db I created a directory block where I created a domain file and a urls file dosen't seem to be working

    any help greatly appreciated

  2. #2
    Join Date
    Mar 2009
    Beans
    554
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: squidGuard not blocking sites

    you probably have read this already, but here
    https://help.ubuntu.com/community/SquidGuard
    Someday we'll hit the human carrying capacity. And the band will just play on. -Me

    I'm trying PHP, so my code can probably be labelled "bad and insecure"

  3. #3
    Join Date
    Dec 2007
    Beans
    485
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: squidGuard not blocking sites

    Quote Originally Posted by Dayofswords View Post
    you probably have read this already, but here
    https://help.ubuntu.com/community/SquidGuard

    well I didn't see this it was kinda helpfull but I still get this


    Code:
    denadmin@DEN-D107816:/etc/squid$ sudo squid -k reconfigure
    squid: ERROR: Could not send signal 1 to process 16089: (3) No such process
    before I could at least browse with the proxy now it won't browse at all

  4. #4
    Join Date
    Dec 2007
    Beans
    485
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: squidGuard not blocking sites

    when I have the lines for squidGuard in the squid.conf then squid quits working so it''s something with the squidguard permissions I think

  5. #5
    Join Date
    Dec 2007
    Beans
    485
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: squidGuard not blocking sites

    Can't figure out how to get past this

    Code:
    denadmin@DEN-D107816:/etc/squid$ sudo squid -k reconfigure
    squid: ERROR: Could not send signal 1 to process 3100: (3) No such process

  6. #6
    Join Date
    Dec 2007
    Beans
    485
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: squidGuard not blocking sites

    when I do


    Code:
    sudo tail /var/log/squid/squidGuard.log
    I get


    Code:
    2010-03-17 09:41:00 [3605] (squidGuard): Rewrite dmz is not defined in configfile /etc/squid/squidGuard.conf

  7. #7
    Join Date
    Dec 2007
    Beans
    485
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: squidGuard not blocking sites

    Sweet got it


    I had this "rewrite dmz" in the file I had to remove
    Code:
    dbhome /var/lib/squidguard/db
    logdir /var/log/squid
    
    
    
    dest block {
           domainlist      block/domains
           urllist         block/urls
           redirect        http://localhost/blocked.html
    }
    
    
    acl {
            default {
                    pass !block all
                   ## rewrite  dmz
                    redirect http://localhost/blocked.html
            }
    }

Bookmarks

Posting Permissions

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