PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Squid Problem



doctorrabbit
02.01.03, 12:40
Hi Leute!

Ich habe versucht Squid einzurichten.

Habe Redhat 8.0

Das ist meine /etc/squid/squid.conf

acl testdomain.de src 192.169.9.0/255.255.255.0
acl time1 time SA
acl time2 time 18:00-23:59
acl time3 time 0:00-7:00
acl url_regex1 url_regex http://testdomain/index.htm

#localhost darf immer surfen
http_access allow localhost

# Rechner in testdomain.de duerfen surfen von 18:00 bis 7:00
# und Samstags immer
http_access allow testdomain.de time1
http_access allow testdomain.de time2
http_access allow testdomain.de time3
http_access deny testdomain.de url_regex1


# alle anderen User duerfen nicht surfen
http_access deny all

#Dies soll mich vor (*.eml-Dateien) schützen
acl worm urlpath_regex -i \.eml$
http_access deny worm
-------------------------------------------------------------------------------------------------------------------
Leider funzt es nicht :(

Die html-Seite die lokal gespeichert ist (http://testdomain/index.htm) lässt sich trotz Verbot anzeigen :(

Immer wenn ich den Proxy neu starte, kommt diese Fehlermeldung:

squid beenden: 2003/01/02 13:39:28| squid.conf line 8: http_access allow localhost
2003/01/02 13:39:28| aclParseAccessLine: ACL name 'localhost' not found.
2003/01/02 13:39:28| squid.conf line 8: http_access allow localhost
2003/01/02 13:39:28| aclParseAccessLine: Access line contains no ACL's, skipping
2003/01/02 13:39:28| squid.conf line 19: http_access deny all
2003/01/02 13:39:28| aclParseAccessLine: ACL name 'all' not found.
2003/01/02 13:39:28| squid.conf line 19: http_access deny all
2003/01/02 13:39:28| aclParseAccessLine: Access line contains no ACL's, skipping
. [ OK ]
squid starten: . [ OK ]

Was mache ich falsch? :confused:

Kann mir jemand helfen?

Bin für jede Hilfe dankbar!

mfg

doctorrabbit
03.01.03, 08:20
Weiss keiner Rat?

Gelöst :)

Squid funzt jetzt soweit, habe vergessen den squid port 3128 per iptables freizuschalten

mfg