LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 11-11-2005, 06:30 AM   #1
vivekthemind
LQ Newbie
 
Registered: Sep 2005
Location: Bangalore, India
Posts: 12

Rep: Reputation: 0
SquidGuard is not blocking anything


Hi all
i was using squid with squidGuard from three months
it was working fine but after my linux machine has resatard it is
not blocking anything . i haven't changed anything in my squid but
still is not working .....
i m puting my squid.conf
plz help me out


http_port 8081
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 64 MB
maximum_object_size 64 MB
maximum_object_size_in_memory 16 KB
memory_replacement_policy heap LFUDA
cache_dir ufs /var/spool/squid 1024 64 512
cache_log none
cache_store_log none
redirect_program /usr/bin/squidGuard -c /etc/squid/squidGuard.conf
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
acl snip src 192.99.10.0/24
http_access allow snip
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /var/spool/squid
 
Old 12-05-2005, 03:15 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Real Washington
Distribution: Ubuntu, Debian, SuSE, UnSlung, Android
Posts: 1,819

Rep: Reputation: 46
Post your squidguard.conf file. I know when I break a loop and such in the squidguard.conf it will pass all traffic.
 
Old 12-05-2005, 11:45 PM   #3
vivekthemind
LQ Newbie
 
Registered: Sep 2005
Location: Bangalore, India
Posts: 12

Original Poster
Rep: Reputation: 0
Hi here i m sending my squidGuard.conf let me know if u can help me out..



#----------------------------------------------------------------
# DO NOT MODIFY THIS FILE AS IT IS MODIFIED BY THE TEMPLATE
#----------------------------------------------------------------
# SquidGuard CONFIGURATION FILE
#----------------------------------------------------------------

# CONFIGURATION DIRECTORIES
dbhome /usr/share/squidGuard-1.2.0/db
logdir /var/log/squidGuard

# TIME RULES:
# abbrev for weekdays:
# s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat
#time_leisure {
#weekly * 09:00-13:00
#weekly * 14:00-19:00
#}

# SOURCE ADDRESSES:
src privilegedsource {
iplist privilegedsource/ips
}

src bannedsource {
iplist bannedsource/ips
}

src lansource {
iplist lansource/lan
}

# DESTINATION CLASSES:
dest porn {
domainlist porn/domains
urllist porn/urls
expressionlist porn/expressions
redirect http://google.com
log /var/log/squidGuard/porn.log
}

dest adult {
domainlist adult/domains
urllist adult/urls
expressionlist adult/expressions
}

dest audio-video {
domainlist audio-video/domains
urllist audio-video/urls
}

dest forums {
domainlist forums/domains
urllist forums/urls
expressionlist forums/expressions
}

dest hacking {
domainlist hacking/domains
urllist hacking/urls
}

dest redirector {
domainlist redirector/domains
urllist redirector/urls
expressionlist redirector/expressions
}

dest warez {
domainlist warez/domains
urllist warez/urls
}

dest ads {
domainlist ads/domains
urllist ads/urls
log /var/log/squidGuard/ads.log
}

dest aggressive {
domainlist aggressive/domains
urllist aggressive/urls
}

dest drugs {
domainlist drugs/domains
urllist drugs/urls
}

dest gambling {
domainlist gambling/domains
urllist gambling/urls
}

dest publicite {
domainlist publicite/domains
urllist publicite/urls
expressionlist publicite/expressions
}

dest violence {
domainlist violence/domains
urllist violence/urls
expressionlist violence/expressions
}


dest banneddestination {
domainlist banneddestination/domains
urllist banneddestination/urls
expressionlist banneddestination/expressions
}

dest advertising {
domainlist advertising/domains
urllist advertising/urls
redirect http://127.0.0.1:8444/nulbanner.png
log /var/log/squidGuard/advertising.log


}

# ACLs
acl {
privilegedsource {
pass !porn all
redirect http://google.com
}
bannedsource {
pass !porn !advertising !ads !audio-video !forums !hacking !redirector !warez !public !jobs all
redirect http://google.com

}

lansource {
pass !porn !adult !audio-video !forums !hacking !redirector !warez !ads !aggressive !drugs !gambling !publicite !violence !banneddestination !advertising all
redirect http://127.0.0.1:8444/cgi-bin/squidG...lass=%t&url=%u
}

default {
pass none
redirect http://127.0.0.1:8444/cgi-bin/squidG...lass=%t&url=%u

}
}
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error: mail command failed for /var/log/squidguard/squidGuard.log.6 Niceman2005 Linux - Networking 1 01-22-2009 02:24 PM
Squidguard sanjibgupta Linux - Security 1 09-26-2005 02:47 AM
squidguard metallica1973 Linux - Security 5 05-24-2005 10:24 AM
squidGuard hariiyer Linux - Networking 4 12-21-2004 03:29 AM
SquidGuard not blocking sights 80s Linux - Newbie 2 02-28-2004 10:15 PM


All times are GMT -5. The time now is 10:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration