Article View: pl.comp.os.bsd
Article #9106Squid- TCP_DENIED
From: Mikołaj
Date: Mon, 20 Jun 2005 22:22
Date: Mon, 20 Jun 2005 22:22
89 lines
4081 bytes
4081 bytes
Witam Mecze się juz trzeci dzien:( z wydawalo by sie banalnym problemem autoryzacji w squidzie. Wyprobowalem juz dziesiatki acl'i z http_access. Aktualnie mam configa tak jak na listingu, czyli do orginalnego sqiud.conf dodalem swoja podsiec. Mimo to w logach ciagle to samo: "1119304838.640 0 10.0.0.1 TCP_DENIED/403 1446 GET http://www.google.com/firefox? - NONE/- text/html" Prosze o pomoc, co jeszcze moglem przeoczyć co moze byc powodem tego bledu?? Przejrzalem squid.conf i nie ma w nim zadnych innych http_access. Może FreeBSD 4.11 jest winien?? #Recommended minimum configuration: acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports port 443 563 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 563 # https, snews acl Safe_ports port 70 # gopher acl Safe_ports port 210 # wais acl Safe_ports port 1025-65535 # unregistered ports acl Safe_ports port 280 # http-mgmt acl Safe_ports port 488 # gss-http acl Safe_ports port 591 # filemaker acl Safe_ports port 777 # multiling http acl CONNECT method CONNECT # TAG: http_access # Allowing or Denying access based on defined access lists # # Access to the HTTP port: # http_access allow|deny [!]aclname ... # # NOTE on default values: # # If there are no "access" lines present, the default is to deny # the request. # # If none of the "access" lines cause a match, the default is the # opposite of the last line in the list. If the last line was # deny, the default is allow. Conversely, if the last line # is allow, the default will be deny. For these reasons, it is a # good idea to have an "deny all" or "allow all" entry at the end # of your access lists to avoid potential confusion. # #Default: # http_access deny all # #Recommended minimum configuration: # # Only allow cachemgr access from localhost http_access allow manager localhost http_access deny manager # Deny requests to unknown ports http_access deny !Safe_ports # Deny CONNECT to other than SSL ports http_access deny CONNECT !SSL_ports # # # Only allow cachemgr access from localhost http_access allow manager localhost http_access deny manager # Deny requests to unknown ports http_access deny !Safe_ports # Deny CONNECT to other than SSL ports http_access deny CONNECT !SSL_ports # # We strongly recommend the following be uncommented to protect innocent # web applications running on the proxy server who think the only # one who can access services on "localhost" is a local user #http_access deny to_localhost # # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS # Example rule allowing access from your local networks. Adapt # to list your (internal) IP networks from where browsing should # be allowed acl our_networks src 10.0.0.0/24 192.168.2.0/24 http_access allow our_networks # And finally deny all other access to this proxy http_access allow all
Technical Details
Message-ID:
<d97ft5$pin$2@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!news.tpi.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!news.tpi.pl!not-for-mail From: Mikołaj <mikos@trans-net.one.pl> Newsgroups: pl.comp.os.bsd Subject: Squid- TCP_DENIED Date: Tue, 21 Jun 2005 00:22:42 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 90 Message-ID: <d97ft5$pin$2@nemesis.news.tpi.pl> NNTP-Posting-Host: dyg128.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1119306470 26199 83.22.118.128 (20 Jun 2005 22:27:50 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Mon, 20 Jun 2005 22:27:50 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: pl, en-us, en X-Antivirus: avast! (VPS 0524-6, 2005-06-18), Outbound message X-Antivirus-Status: Clean Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit