Stargate
31.05.03, 17:56
Hi leute,
wir haben bei uns in der Schule jetzt einen Linux Proxy hingestellt. Den Proxy haben wir mit squid realisiert. Es funzt auch bei uns an allen Rechnern (komplett Win2k)außer dem im Sekretariat (alter Win95 Rechner).
Erstmal meine squid.conf
http_port 8080
cache_mem 8 MB
cache_dir ufs /var/cache/squid 100 16 256
cache_access_log /var/squid/logs/access.log
cache_log /var/squid/logs/cache.log
cache_store_log /var/squid/logs/store.log
emulate_httpd_log off
client_netmask 255.255.255.255
ftp_user Squid@do.main
cache_mgr Admin
logfile_rotate 0
append_domain .192.168.0.6
forwarded_for on
negative_ttl 5 minutes; negative_dns_ttl 5 minutes
acl all src 0.0.0.0/0.0.0.0
acl inforaum src 192.168.0.200-192.168.0.249/255.255.255.0
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl inforaum2 src 192.168.0.90-192.168.0.149/255.255.255.0
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl sekretariat scr 192.168.3.60/255.255.255.0
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
http_access allow inforaum
http_access allow inforaum2
http_access allow sekretariat
http_access deny all
Bei squid kommt, allerdings nur beim beenden, folgende Fehlermeldung:
Shutting down WWW-proxy squid 2003/05/31 17:54:36| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.0.200-192.168.0.249/255.255.255.0'
2003/05/31 17:54:36| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.0.90-192.168.0.149/255.255.255.0'
2003/05/31 17:54:36| squid.conf line 28: acl sekretariat scr 192.168.3.60/255.255.255.0
2003/05/31 17:54:36| aclParseAclLine: Invalid ACL type 'scr'
2003/05/31 17:54:36| squid.conf line 44: http_access allow sekretariat
2003/05/31 17:54:36| aclParseAccessLine: ACL name 'sekretariat' not found.
2003/05/31 17:54:36| squid.conf line 44: http_access allow sekretariat
2003/05/31 17:54:36| aclParseAccessLine: Access line contains no ACL's, skipping
Hat jemand ne Idee was ich machen könnte ?
Danke schonmal !
mfG
Stargate
wir haben bei uns in der Schule jetzt einen Linux Proxy hingestellt. Den Proxy haben wir mit squid realisiert. Es funzt auch bei uns an allen Rechnern (komplett Win2k)außer dem im Sekretariat (alter Win95 Rechner).
Erstmal meine squid.conf
http_port 8080
cache_mem 8 MB
cache_dir ufs /var/cache/squid 100 16 256
cache_access_log /var/squid/logs/access.log
cache_log /var/squid/logs/cache.log
cache_store_log /var/squid/logs/store.log
emulate_httpd_log off
client_netmask 255.255.255.255
ftp_user Squid@do.main
cache_mgr Admin
logfile_rotate 0
append_domain .192.168.0.6
forwarded_for on
negative_ttl 5 minutes; negative_dns_ttl 5 minutes
acl all src 0.0.0.0/0.0.0.0
acl inforaum src 192.168.0.200-192.168.0.249/255.255.255.0
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl inforaum2 src 192.168.0.90-192.168.0.149/255.255.255.0
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl sekretariat scr 192.168.3.60/255.255.255.0
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
http_access allow inforaum
http_access allow inforaum2
http_access allow sekretariat
http_access deny all
Bei squid kommt, allerdings nur beim beenden, folgende Fehlermeldung:
Shutting down WWW-proxy squid 2003/05/31 17:54:36| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.0.200-192.168.0.249/255.255.255.0'
2003/05/31 17:54:36| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.0.90-192.168.0.149/255.255.255.0'
2003/05/31 17:54:36| squid.conf line 28: acl sekretariat scr 192.168.3.60/255.255.255.0
2003/05/31 17:54:36| aclParseAclLine: Invalid ACL type 'scr'
2003/05/31 17:54:36| squid.conf line 44: http_access allow sekretariat
2003/05/31 17:54:36| aclParseAccessLine: ACL name 'sekretariat' not found.
2003/05/31 17:54:36| squid.conf line 44: http_access allow sekretariat
2003/05/31 17:54:36| aclParseAccessLine: Access line contains no ACL's, skipping
Hat jemand ne Idee was ich machen könnte ?
Danke schonmal !
mfG
Stargate