Hallo Leute,
ich bekomme hier graue Haare mit squid. Ich bekomme einfach keine funktionierende Regelung gebacken die den Internet für meinen Sohn zeitlich reguliert.
Habe in der original-Konfig folgendes eingetragen:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS # # OWN - Settings # Definitionen der einzelnen Clients acl SOHN src 192.168.178.2/32 # LAN erlauben acl LAN src 192.168.178.0/25 http_access allow LAN # Sperren nach Uhrzeit acl MONTAG_TO_DONNERSTAG time MTWH 08:00-20:30 http_access deny SOHN !MONTAG_TO_DONNERSTAG acl SAMSTAG time A 09:00-13:59 http_access deny SOHN !SAMSTAG |
Ansonsten ist es die original-Konfig.
Hier die Ausgabe von squid -k parse:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | root@squid:/etc/squid# squid -k parse 2018/05/05 14:41:49| Startup: Initializing Authentication Schemes ... 2018/05/05 14:41:49| Startup: Initialized Authentication Scheme 'basic' 2018/05/05 14:41:49| Startup: Initialized Authentication Scheme 'digest' 2018/05/05 14:41:49| Startup: Initialized Authentication Scheme 'negotiate' 2018/05/05 14:41:49| Startup: Initialized Authentication Scheme 'ntlm' 2018/05/05 14:41:49| Startup: Initialized Authentication. 2018/05/05 14:41:49| Processing Configuration File: /etc/squid/squid.conf (depth 0) 2018/05/05 14:41:49| Processing: acl SSL_ports port 443 2018/05/05 14:41:49| Processing: acl Safe_ports port 80 # http 2018/05/05 14:41:49| Processing: acl Safe_ports port 21 # ftp 2018/05/05 14:41:49| Processing: acl Safe_ports port 443 # https 2018/05/05 14:41:49| Processing: acl Safe_ports port 70 # gopher 2018/05/05 14:41:49| Processing: acl Safe_ports port 210 # wais 2018/05/05 14:41:49| Processing: acl Safe_ports port 1025-65535 # unregistered ports 2018/05/05 14:41:49| Processing: acl Safe_ports port 280 # http-mgmt 2018/05/05 14:41:49| Processing: acl Safe_ports port 488 # gss-http 2018/05/05 14:41:49| Processing: acl Safe_ports port 591 # filemaker 2018/05/05 14:41:49| Processing: acl Safe_ports port 777 # multiling http 2018/05/05 14:41:49| Processing: acl CONNECT method CONNECT 2018/05/05 14:41:49| Processing: http_access deny !Safe_ports 2018/05/05 14:41:49| Processing: http_access deny CONNECT !SSL_ports 2018/05/05 14:41:49| Processing: http_access allow localhost manager 2018/05/05 14:41:49| Processing: http_access deny manager 2018/05/05 14:41:49| Processing: acl SOHN src 192.168.178.2/32 2018/05/05 14:41:49| Processing: acl LAN src 192.168.178.0/25 2018/05/05 14:41:49| Processing: http_access allow LAN 2018/05/05 14:41:49| Processing: acl MONTAG_TO_DONNERSTAG time MTWH 08:00-20:30 2018/05/05 14:41:49| Processing: http_access deny SOHN !MONTAG_TO_DONNERSTAG 2018/05/05 14:41:49| Processing: acl SAMSTAG time A 9:00-13:59 2018/05/05 14:41:49| Processing: http_access deny SOHN !SAMSTAG 2018/05/05 14:41:49| Processing: http_access allow localhost 2018/05/05 14:41:49| Processing: http_access deny all 2018/05/05 14:41:49| Processing: http_port 3128 2018/05/05 14:41:49| Processing: coredump_dir /var/spool/squid 2018/05/05 14:41:49| Processing: refresh_pattern ^ftp: 1440 20% 10080 2018/05/05 14:41:49| Processing: refresh_pattern ^gopher: 1440 0% 1440 2018/05/05 14:41:49| Processing: refresh_pattern -i (/cgi-bin/|\?) 0 0% 0 2018/05/05 14:41:49| Processing: refresh_pattern . 0 20% 4320 |
Momentan wird hier nichts geregelt. Im Browser wird zum testen auch nichts gecached.
Was übersehe ich oder mache/denke ich hier falsch? Kann mir jemand helfen?
Gruß Bergspion