Διαχείριση σχολικού εργαστηρίου/WebProxy: Διαφορά μεταξύ των αναθεωρήσεων

Περιεχόμενο που διαγράφηκε Περιεχόμενο που προστέθηκε
Altbreeze (συζήτηση | συνεισφορές)
μΧωρίς σύνοψη επεξεργασίας
Altbreeze (συζήτηση | συνεισφορές)
μΧωρίς σύνοψη επεξεργασίας
Γραμμή 6:
=== Επαλήθευση αρχείο ρυθμίσεων squid ===
$ sudo  squid3 -k parse
 
=== Παρακολούθηση αρχείων ημερολογίου του squid ===
 
$ sudo tail -f /var/log/squid3/access.log
 
=== Επανεκκίνηση του squid ===
$ sudo service squid3 restart
 
=== Λίστες ελέγχου πρόσβασης Access Control Lists ACL ===
 
Μια βασική περίπτωση ελέγχου πρόσβασης είναι να επιτρέπουμε την πρόσβαση στον
squid μόνο σε ΗΥ που είναι στο τοπικό μας δίκτυο.
 
Access control is done on a per-protocol basis: when Squid accepts an HTTP request, the list of HTTP controls is checked. Similarly, when an ICP request is accepted, the ICP list is checked before a reply is sent.
 
Assume that you have a list of IP addresses that are to have access to your cache. If you want them to be able to access your cache with both HTTP and ICP, you would have to enter the list of IP addresses twice: you would have lines something like this:
 
 
acl localnet src 192.168.1.0/255.255.255.0
..
http_access allow localnet
icp_access allow localnet