Find the answer to your Linux question:
Results 1 to 4 of 4
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 { ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  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.

  3. #3
    Just Joined!
    Join Date
    May 2013
    Posts
    1
    Quote Originally Posted by cnekmp View Post
    The solution was to build squidGuardian from sources instead of "yum install ..."
    Problem Solved.
    Hi, could you post what version you are running? I'm running into the same issue with squidGuard not detecting the source IP. I have also compiled from source. My version:

    Code:
    SquidGuard: 1.4 Berkeley DB 5.1.25: (January 28, 2011)

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,439
    This is a very old thread, closing.
    Please open your own.
    You must always face the curtain with a bow.

Posting Permissions

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