Article Figure 1 Figure 2 Listing 1 Listing 2
Listing 3 Listing 4 Listing 5 Listing 6 Listing 7
Sidebar feb2004.tar

Listing 2 The default squid.conf may contain the acl lines shown here

acl all src 0.0.0.0/0.0.0.0
    #--> define aclname'all' which says source of HTTP request may be
         any IP address.
acl localhost src 127.0.0.1/255.255.255.255
    #--> define localhost acl variable.
acl SSL_ports port 443 563
    #--> Define aclname SSL_ports which refers to TCP ports 443 and 563
acl Safe_ports port 80          # http
    #--> Define aclname Safe_ports wihich includes TCP port 80
acl Safe_ports port 21          # ftp
    #--> Append more ports in Safe_port list.
    # acl definition may span to more than 1 line
acl CONNECT method CONNECT
    #--> define aclname variable 'CONNECT' for method 'CONNECT'
    # which means direct TCP/IP connection.