Linux 14.981 Themen, 106.343 Beiträge

Filter mit Squid

RainerBa / 2 Antworten / Flachansicht Nickles

Hallo Leute, habe das problem das nicht alle seiten gefiltert werden.


Es gibt eine liste für erlaubte und nicht erlaubte seiten.


wenn ich jedoch z.B.: www.yahoo.de eingebe erscheint mir diese seite obwohl diese gesperrt.


Es werden alle seiten gesperrt die ich angeben habe bloß siese nicht.


Wo ist der trick an dieser sache.


 

bei Antwort benachrichtigen
RainerBa Nachtrag zu: „Filter mit Squid“
Optionen

Bin kein Großer Linux-Guru.
GHD1 und GHD2 sind verschiedene Netzwerke

acl ghd1 src 192.168.X.0/255.255.255.0
acl ghd2 src 192.168.X.0/255.255.255.0
acl manager proto cache_object

acl localhost src 127.0.0.1/255.255.255.255
acl free url_regex -i "/etc/squid/domains.exclude"
acl stop url_regex -i "/etc/squid/domains.regexp"

Ausschnitt aus domains.regexp
.yahoo.de
de.yahoo.com
# yahoo ip-adresse
217.12.6.7
#


acl Safe-avi url_regex -i \.avi$
acl Safe-mp3 url_regex -i \.mp3$
acl Safe-eml url_regex -i \.eml$
acl Safe-nws url_regex -i \.nws$
acl Safe-vbx url_regex -i \.vb?$
acl Safe-mpg url_regex -i \.mpg$
acl Safe-wml url_regex -i \.wml$

http_access allow free ghd1
http_access deny stop ghd1

http_access allow free ghd2
http_access deny stop ghd2

http_access deny Safe-avi
http_access deny Safe-mp3
http_access deny Safe-eml
http_access deny Safe-nws
http_access deny Safe-vbx
http_access deny Safe-mpg
http_access deny Safe-wml

http_access allow ghd1
http_access allow ghd2

Brauchst du noch etwas?

gruß rainer

bei Antwort benachrichtigen