Search squid archive

Re: Squid Blocking non-listed websites

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have attached 3 files named squid.conf sites.txt (whitelist) and
blacklisted_sites.txt (Blacklist)

okay i will paste my squid.conf here to will be helpful for others

auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
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
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
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
acl BadSites url_regex -i "/etc/blacklisted_sites.txt"
acl GoodSites url_regex -i "/etc/sites.txt"
acl lpo_BadSites url_regex -i "/etc/lpo_blacklisted_sites.txt"
acl home_network src 192.168.10.10-192.168.10.120
acl lpo_network src 192.168.10.60-192.168.10.72
http_access deny lpo_BadSites lpo_network
http_access deny lpo_network
http_access allow GoodSites
http_access deny BadSites
http_access allow home_network
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
http_reply_access allow all
icp_access allow all
http_port 192.168.10.1:3128 transparent
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache_mem 16 MB
access_log /usr/local/squid/var/logs/access.log squid
cache_log /usr/local/squid/var/logs/cache.log
cache_store_log /usr/local/squid/var/logs/store.log
mime_table /usr/local/squid/etc/mime.conf
pid_filename /usr/local/squid/var/logs/squid.pid
refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern .		0	20%	4320
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
cache_effective_user squid
cache_effective_user squid
icon_directory /usr/local/squid/share/icons
error_directory /usr/local/squid/share/errors/English
hosts_file /etc/hosts
dns_testnames google.com
coredump_dir /usr/local/squid/var/cache

If you see my whitelist (sites.txt) I need to add words like
"examination" to access them although examination word is not added to
my blacklist. Let me know the problematic thing plz.
asp.net/learn/sql-videos
windowsupdates.microsoft.com
windowsupdate.microsoft.com
.microsoft.com
update.microsoft.com
USA
united
states
america
attorney
embassy
US
law
school
court
civil
secureserver.net
legaladvantage.net
tiptonservices.com
email.tiptonservices.com
mail.legaladvantage.net
email.secureserver.net
gmail.com
mail.google.com
mail.yahoo.com
yahoomail.com
mail.rediff.com
.wipo.int
wipo.int/classification/ipc/en/
class
examination support document
examination
support
document



auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off







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
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
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
acl BadSites url_regex -i "/etc/blacklisted_sites.txt"
acl GoodSites url_regex -i "/etc/sites.txt"
acl lpo_BadSites url_regex -i "/etc/lpo_blacklisted_sites.txt"
acl home_network src 192.168.10.10-192.168.10.120
acl lpo_network src 192.168.10.60-192.168.10.72
http_access deny lpo_BadSites lpo_network
http_access deny lpo_network
http_access allow GoodSites
http_access deny BadSites
http_access allow home_network

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports


http_access deny all


http_reply_access allow all
icp_access allow all















http_port 192.168.10.1:3128 transparent























hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY



cache_mem 16 MB














access_log /usr/local/squid/var/logs/access.log squid


cache_log /usr/local/squid/var/logs/cache.log
cache_store_log /usr/local/squid/var/logs/store.log




mime_table /usr/local/squid/etc/mime.conf



pid_filename /usr/local/squid/var/logs/squid.pid


































refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern .		0	20%	4320















acl apache rep_header Server ^Apache
broken_vary_encoding allow apache




























cache_effective_user squid
cache_effective_user squid










































































icon_directory /usr/local/squid/share/icons





error_directory /usr/local/squid/share/errors/English





















hosts_file /etc/hosts
dns_testnames google.com

















coredump_dir /usr/local/squid/var/cache








video
movies
movie
music
musik
musicindia.com
musicindiaonline.com
adultos
adultsight
adultsite
adultsonly
adultweb
blow-job
bondage
centerfold
cumshot
cyberlust
cybercore
hardcore
incest
masturbat
obscene
pedophil
pedofil
playmate
pornstar
sexdream
showgirl
softcore
striptease
blowjob
penis
vagina
porn
playboy
naked
nude
pussy
ass
fuck
fucking
sucking
suck
licking
lick
xxx
breast
boobs
threesome
threesomes
shemale
gay
lesbia
lesbo
bangbus
bangbros
orkut.com
raaga.com
bollywood
hollywood
webmessenger
webmessenger.yahoo.com
facebook.com
hi5.com
cameltoe
teen
babe
chick
youtube.com
video.google.com
myspace.com
meebo.com
sexy
busty
amateur
chicks
nipples
nipple
nip
hooker
panty
babysitter
banged
erotica
errotica
erotic
babe
nude
tits
tit
erotica
nudity
metcafe
game
games
gay
cock
boys
phedophile
pedophile
cum
justusboys.com
homo
homosexual
homophile
asexual
bisexual
sexual
outpersonals.com
collinoneal
streamray
jumponmarkslist
thevipsearch.com
ass

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux