Newsgroup: it.comp.reti.locali
Titolo: Squid 2.5 STABLE 4 for Windows NT 4.0 & Windows 2000/XP/2003 provider Fastweb

Dopo aver installato e configurato Squid sul mio PC con Windows XP PRO ecco
il risultato :
ERROR
The requested URL could not be retrieved
----------------------------------------------------------------------------
----
While trying to retrieve the URL: 
http://www.serassio.it/SquidNT.htm
The following error was encountered:
  a.. Access Denied.
  Access control configuration prevents your request from being allowed at
this time. Please contact your service provider if you feel this is
incorrect.
Your cache administrator is webmaster.
----------------------------------------------------------------------------
----
Generated Mon, 20 Oct 2003 12:54:59 GMT by portatile
(squid/2.5.STABLE4-NT-CVS)
Il mio provider e Fastweb ( inutile chiedere a loro rispondono
sistematicamente non si può), forse configurando opportunamente Squid è
possibile superare il problema. Se qualcuno può aiutarmi grazie.
Stefano

 
nei log cosa trovi?
-- 
+-------
| Paolo opg
|
| janickg ( at ) hotmail ( dot ) com
+-------

 ha scritto nel messaggio
news:Xns941AC2B28...@193.43.96.1...

cache.log
2003/10/20 20:09:15| Starting Squid Cache version 2.5.STABLE4-NT-CVS for
i686-pc-winnt...
2003/10/20 20:09:15| Running on Windows XP
2003/10/20 20:09:15| Process ID 2264
2003/10/20 20:09:15| With 2048 file descriptors available
2003/10/20 20:09:15| With 512 CRT stdio descriptors available
2003/10/20 20:09:15| Windows sockets initialized
2003/10/20 20:09:15| Performing DNS Tests...
2003/10/20 20:09:15| Successful DNS name lookup tests...
2003/10/20 20:09:15| DNS Socket created at 0.0.0.0, port 3063, FD 4
2003/10/20 20:09:15| Adding DHCP nameserver 1.253.128.10 from Registry
2003/10/20 20:09:15| Adding DHCP nameserver 1.253.128.11 from Registry
2003/10/20 20:09:15| User-Agent logging is disabled.
2003/10/20 20:09:15| Referer logging is disabled.
2003/10/20 20:09:15| Unlinkd pipe opened on FD 7
2003/10/20 20:09:15| Swap maxSize 102400 KB, estimated 7876 objects
2003/10/20 20:09:15| Target number of buckets: 393
2003/10/20 20:09:15| Using 8192 Store buckets
2003/10/20 20:09:15| Max Mem  size: 8192 KB
2003/10/20 20:09:15| Max Swap size: 102400 KB
2003/10/20 20:09:15| Rebuilding storage in c:/squid/var/cache (DIRTY)
2003/10/20 20:09:15| Using Least Load store dir selection
2003/10/20 20:09:15| Set Current Directory to c:/squid/var/cache
2003/10/20 20:09:15| Loaded Icons.
2003/10/20 20:09:15| Accepting HTTP connections at 0.0.0.0, port 3128, FD
12.
2003/10/20 20:09:15| Accepting ICP messages at 0.0.0.0, port 3130, FD 13.
2003/10/20 20:09:15| Accepting HTCP messages on port 4827, FD 14.
2003/10/20 20:09:15| Accepting SNMP messages on port 3401, FD 15.
2003/10/20 20:09:21| pinger: ICMP socket opened
2003/10/20 20:09:24| pinger: Squid socket opened
2003/10/20 20:09:15| Pinger socket opened on FD 17
2003/10/20 20:09:15| Ready to serve requests.
2003/10/20 20:09:26| Done scanning c:/squid/var/cache swaplog (0 entries)
2003/10/20 20:09:26| Finished rebuilding storage from disk.
2003/10/20 20:09:26|         0 Entries scanned
2003/10/20 20:09:26|         0 Invalid entries.
2003/10/20 20:09:26|         0 With invalid flags.
2003/10/20 20:09:26|         0 Objects loaded.
2003/10/20 20:09:26|         0 Objects expired.
2003/10/20 20:09:26|         0 Objects cancelled.
2003/10/20 20:09:26|         0 Duplicate URLs purged.
2003/10/20 20:09:26|         0 Swapfile clashes avoided.
2003/10/20 20:09:26|   Took 11.1 seconds (   0.0 objects/sec).
2003/10/20 20:09:26| Beginning Validation Procedure
2003/10/20 20:09:26|   Completed Validation Procedure
2003/10/20 20:09:26|   Validated 0 Entries
2003/10/20 20:09:26|   store_swap_size = 0k
2003/10/20 20:09:26| storeLateRelease: released 0 objects
access.log
1066673403.681      0 127.0.0.1 TCP_DENIED/403 1382 GET
http://www.google.it/
 - NONE/- text/html
store.log
1066673403.681 RELEASE -1 FFFFFFFF 93BD1BCC5018B84C418EC0DC7E8561A2  403
1066673403         0 1066673403 text/html 1083/1322 GET
http://www.google.it/

 
e le access list come sono?
hai abilitato il localhost?


 ha scritto nel messaggio
news:Xns941ACFDC2...@193.43.96.1...

penso che ti riferisca a questo :
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

 
manca proprio il pezzo dove dici cosa abiliti...
:-)
di solito è una ventina di righe sotto a quelle che hai riportato.
deve essercene almeno una che dice
http_access allow localhost
altrimenti non navighi nemmeno da localhost


 ha scritto nel messaggio
news:Xns941AE42F0...@193.43.96.1...
