Пятница (08/14/09)

/dev/ttyp3
17:53:19
#egrep -v "^#.*$|^ *$" /etc/squid/squid.conf | cat -n
     1  http_port 3128
     2  hierarchy_stoplist cgi-bin ?
     3  acl QUERY urlpath_regex cgi-bin \?
     4  cache deny QUERY
     5  acl apache rep_header Server ^Apache
     6  broken_vary_encoding allow apache
     7  access_log /var/log/squid/access.log squid
     8  hosts_file /etc/hosts
     9  refresh_pattern ^ftp:           1440    20%     10080
    10  refresh_pattern ^gopher:        1440    0%      1440
    11  refresh_pattern .               0       20%     4320
    12  acl all src 0.0.0.0/0.0.0.0
    13  acl manager proto cache_object
    14  acl localhost src 127.0.0.1/255.255.255.255
    15  acl to_localhost dst 127.0.0.0/8
    16  acl SSL_ports port 443          # https
    17  acl SSL_ports port 563          # snews
    18  acl SSL_ports port 873          # rsync
    19  acl Safe_ports port 80          # http
    20  acl Safe_ports port 21          # ftp
    21  acl Safe_ports port 443         # https
    22  acl Safe_ports port 70          # gopher
    23  acl Safe_ports port 210         # wais
    24  acl Safe_ports port 1025-65535  # unregistered ports
    25  acl Safe_ports port 280         # http-mgmt
    26  acl Safe_ports port 488         # gss-http
    27  acl Safe_ports port 591         # filemaker
    28  acl Safe_ports port 777         # multiling http
    29  acl Safe_ports port 631         # cups
    30  acl Safe_ports port 873         # rsync
    31  acl Safe_ports port 901         # SWAT
    32  acl purge method PURGE
    33  acl CONNECT method CONNECT
    34  http_access allow manager localhost
    35  http_access deny manager
    36  http_access allow purge localhost
    37  http_access deny purge
    38  http_access deny !Safe_ports
    39  http_access deny CONNECT !SSL_ports
    40  http_access allow localhost
    41  http_access deny all
    42  http_reply_access allow all
    43  icp_access allow all
    44  cache_effective_group proxy
    45  coredump_dir /var/spool/squid