tag:blogger.com,1999:blog-6006114617625504970.post1049997876147933711..comments2024-02-07T23:38:24.874-05:00Comments on Linux Blog: Squid Error : Name error: the domain name does not existDevOpshttp://www.blogger.com/profile/02331067901785181627noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6006114617625504970.post-57379743340611438552011-11-16T05:41:48.878-05:002011-11-16T05:41:48.878-05:00#
# Recommended minimum configuration:
#
acl manag...#<br /># Recommended minimum configuration:<br />#<br />acl manager proto cache_object<br />acl localhost src 127.0.0.1/32 ::1<br />acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1<br /><br /># Example rule allowing access from your local networks.<br /># Adapt to list your (internal) IP networks from where browsing<br /># should be allowed<br />acl localnet src 10.0.0.0/8 # RFC1918 possible internal network<br />acl localnet src 172.16.0.0/12 # RFC1918 possible internal network<br />acl localnet src 192.168.0.0/16 # RFC1918 possible internal network<br />acl localnet src fc00::/7 # RFC 4193 local private network range<br />acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines<br /><br />acl SSL_ports port 443<br />acl Safe_ports port 80 # http<br />acl Safe_ports port 21 # ftp<br />acl Safe_ports port 443 # https<br />acl Safe_ports port 70 # gopher<br />acl Safe_ports port 210 # wais<br />acl Safe_ports port 1025-65535 # unregistered ports<br />acl Safe_ports port 280 # http-mgmt<br />acl Safe_ports port 488 # gss-http<br />acl Safe_ports port 591 # filemaker<br />acl Safe_ports port 777 # multiling http<br />acl CONNECT method CONNECT<br /><br />#<br /># Recommended minimum Access Permission configuration:<br />#<br /># Only allow cachemgr access from localhost<br />http_access allow manager localhost<br />http_access deny manager<br /><br /># Deny requests to certain unsafe ports<br />http_access deny !Safe_ports<br /><br /># Deny CONNECT to other than secure SSL ports<br />http_access deny CONNECT !SSL_ports<br /><br /># We strongly recommend the following be uncommented to protect innocent<br /># web applications running on the proxy server who think the only<br /># one who can access services on "localhost" is a local user<br />#http_access deny to_localhost<br /><br />#<br /># INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS<br />#<br /><br /># Example rule allowing access from your local networks.<br /># Adapt localnet in the ACL section to list your (internal) IP networks<br /># from where browsing should be allowed<br />http_access allow localnet<br />http_access allow localhost<br /><br /># And finally deny all other access to this proxy<br />http_access deny all<br /><br /># Squid normally listens to port 3128<br />http_port 3128<br /><br /># We recommend you to use at least the following line.<br />hierarchy_stoplist cgi-bin ?<br /><br /># Uncomment and adjust the following to add a disk cache directory.<br />#cache_dir ufs /var/spool/squid 100 16 256<br /><br /># Leave coredumps in the first cache dir<br />coredump_dir /var/spool/squid<br /><br /># Add any of your own refresh_pattern entries above these.<br />refresh_pattern ^ftp: 1440 20% 10080<br />refresh_pattern ^gopher: 1440 0% 1440<br />refresh_pattern -i (/cgi-bin/|\?) 0 0% 0<br />refresh_pattern . 0 20% 4320shahabuddin THE SCORPIAN KINGhttps://www.blogger.com/profile/14162665044678178316noreply@blogger.comtag:blogger.com,1999:blog-6006114617625504970.post-7490156770546247642011-11-16T05:41:14.466-05:002011-11-16T05:41:14.466-05:00my squid is not working properly everything i have...my squid is not working properly everything i have checked hosts file and squid.conf file and there is no log in messeges and in dmesg<br />my file is <br /><br />#<br /># Recommended minimum configuration:<br />#<br />acl manager proto cache_object<br />acl localhost src 127.0.0.1/32 ::1<br />acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1<br /><br /># Example rule allowing access from your local networks.<br /># Adapt to list your (internal) IP networks from where browsing<br /># should be allowed<br />acl localnet src 10.0.0.0/8 # RFC1918 possible internal network<br />acl localnet src 172.16.0.0/12 # RFC1918 possible internal network<br />acl localnet src 192.168.0.0/16 # RFC1918 possible internal network<br />acl localnet src fc00::/7 # RFC 4193 local private network range<br />acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines<br /><br />acl SSL_ports port 443<br />acl Safe_ports port 80 # http<br />acl Safe_ports port 21 # ftp<br />acl Safe_ports port 443 # https<br />acl Safe_ports port 70 # gopher<br />acl Safe_ports port 210 # wais<br />acl Safe_ports port 1025-65535 # unregistered ports<br />acl Safe_ports port 280 # http-mgmt<br />acl Safe_ports port 488 # gss-http<br />acl Safe_ports port 591 # filemaker<br />acl Safe_ports port 777 # multiling http<br />acl CONNECT method CONNECT<br /><br />#<br /># Recommended minimum Access Permission configuration:<br />#<br /># Only allow cachemgr access from localhost<br />http_access allow manager localhost<br />http_access deny manager<br /><br /># Deny requests to certain unsafe ports<br />http_access deny !Safe_ports<br /><br /># Deny CONNECT to other than secure SSL ports<br />http_access deny CONNECT !SSL_ports<br /><br /># We strongly recommend the following be uncommented to protect innocent<br /># web applications running on the proxy server who think the only<br /># one who can access services on "localhost" is a local user<br />#http_access deny to_localhost<br /><br />#<br /># INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS<br />#<br /><br /># Example rule allowing access from your local networks.<br /># Adapt localnet in the ACL section to list your (internal) IP networks<br /># from where browsing should be allowed<br />http_access allow localnet<br />http_access allow localhost<br /><br /># And finally deny all other access to this proxy<br />http_access deny all<br /><br /># Squid normally listens to port 3128<br />http_port 3128<br /><br /># We recommend you to use at least the following line.<br />hierarchy_stoplist cgi-bin ?<br /><br /># Uncomment and adjust the following to add a disk cache directory.<br />#cache_dir ufs /var/spool/squid 100 16 256<br /><br /># Leave coredumps in the first cache dir<br />coredump_dir /var/spool/squid<br /><br /># Add any of your own refresh_pattern entries above these.<br />refresh_pattern ^ftp: 1440 20% 10080<br />refresh_pattern ^gopher: 1440 0% 1440<br />refresh_pattern -i (/cgi-bin/|\?) 0 0% 0<br />refresh_pattern . 0 20% 4320shahabuddin THE SCORPIAN KINGhttps://www.blogger.com/profile/14162665044678178316noreply@blogger.com