Find the answer to your Linux question:
Results 1 to 2 of 2
My ip address is: 172.0.0.83 I've configured on my local machine (os: Fedora Core 9) SquidGuard v1.2, and here is my squidGuard.conf: Code: dbhome /var/squidGuard/blacklists/blacklists logdir /var/log/squid time workhours { ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    2

    Exclamation SquidGuard won't see my ip source (problem, need help)

    My ip address is: 172.0.0.83

    I've configured on my local machine (os: Fedora Core 9) SquidGuard v1.2, and here is my squidGuard.conf:

    Code:
    dbhome /var/squidGuard/blacklists/blacklists
    logdir /var/log/squid
    time workhours {
    weekly mtwhfas 16:00 - 18:00
    }
    src myip {
    ip 172.0.0.83/24
    within workhours
    }
    
    dest porn {
    domainlist porn/domains
    urllist porn/urls
    expressionlist porn/expressions
    redirect http://172.0.0.83/block.html
    }
    
    acl {
    myip within workhours {
    pass !porn
    redirect http://172.0.0.83/block.html
    }
    
    default {
    pass any
    redirect http://172.0.0.83/block.html
    }
    
    }
    And this is a part from my squid.conf:

    Code:
    visible_hostname mycomp.test.com
    http_port 172.0.0.83:3128
    
    redirect_program /usr/bin/squidGuard
    redirect_children 3
    redirector_bypass on
    But i get such errors in /var/log/squid/squidGuard.log:

    Code:
    2008-09-27 10:51:44 [24483] squidGuard 1.2.0 started (1222494704.781)
    2008-09-27 10:51:44 [24483] recalculating alarm in 18496 seconds
    2008-09-27 10:51:44 [24483] squidGuard ready for requests (1222494704.803)
    2008-09-27 10:51:56 [24480] source not found
    2008-09-27 10:51:56 [24480] no ACL matching source, using default
    2008-09-27 10:51:56 [24480] source not found
    2008-09-27 10:51:56 [24480] no ACL matching source, using default
    2008-09-27 10:51:56 [24482] source not found
    2008-09-27 10:51:56 [24482] no ACL matching source, using default
    2008-09-27 10:51:56 [24483] source not found
    2008-09-27 10:51:56 [24483] no ACL matching source, using default
    2008-09-27 10:51:56 [24480] source not found
    It seems that squidGuard can't retreive my IP address in squidGuard.conf. What is the problem? Can you tell me why squidGuard making such problems?

  2. #2
    Just Joined!
    Join Date
    Sep 2008
    Posts
    2
    The solution was to build squidGuardian from sources instead of "yum install ..."
    Problem Solved.

Posting Permissions

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