Hallo,
ich habe Debian (etch) mit squid 2.6 / Stable5 laufen. Folgendes Problem:
Ich sitze mit meinem Squid noch hinter zwei anderen Proxys und bekomme zwar eine Antwort durch die Proxys aber scheinbar kann Squid die Antwort nicht an den Browser des Clientenb weiterleiten.
Das sagt mir zumindest folgende Fehlermeldung im Internet Explorer würde ich sagen:
Hier mal meine Squid.conf und die wichtigen Logs:
cache.log
Hab mal die stellen markiert wo ich denke dass die Fehler liegen aber ich kann die Fehler eben net deuten....
Vielen Dank für jede Hilfe....
ich habe Debian (etch) mit squid 2.6 / Stable5 laufen. Folgendes Problem:
Ich sitze mit meinem Squid noch hinter zwei anderen Proxys und bekomme zwar eine Antwort durch die Proxys aber scheinbar kann Squid die Antwort nicht an den Browser des Clientenb weiterleiten.
Das sagt mir zumindest folgende Fehlermeldung im Internet Explorer würde ich sagen:
Code:
ERROR
The requested URL could not be retrieved
The system returned: (113) no route to host
Hier mal meine Squid.conf und die wichtigen Logs:
Code:
Squid.conf(auf das nötigste gekürzt)
# ------------------------------NETZWERKEINSTELLUNGEN-------------------------------------
http_port 8081
icp_port 8081
visible_hostname smb-serv-pdc
# -----------------------------Nachbarproxyeinstellungen-----------------------------------
cache_peer 192.168.0.1 parent 80 80
# -----------------------------Caching-Optionen----------------------------------------------
cache_mem 8 MB
#------------------------------Verzeichnisse und Pfadnamen---------------------------------
cache_dir ufs /home/smbadmin/squid/cache 1000 1 1
cache_access_log /home/smbadmin/squid/logs/access.log
cache_log /home/smbadmin/squid/logs/cache.log
cache_store_log /home/smbadmin/squid/logs/store.log
useragent_log /home/smbadmin/squid/logs/useragent.log
pid_filename /home/smbadmin/squid/squid.pid
debug_options ALL,2
# -------------------------------Squid allgemein-------------------------------------------
cache_effective_user proxy
cache_effective_group proxy
# ---------------------------Zugriffsberechtigungen---------------------------------
acl all src 0.0.0.0/0.0.0.0
http_access allow all
Code:
2007/10/25 13:00:14| Starting Squid Cache version 2.6.STABLE5 for i386-debian-linux-gnu...
2007/10/25 13:00:14| Process ID 4092
2007/10/25 13:00:14| With 1024 file descriptors available
2007/10/25 13:00:14| Using epoll for the IO loop
2007/10/25 13:00:14| DNS Socket created at 0.0.0.0, port 1030, FD 8
2007/10/25 13:00:14| Adding nameserver 192.168.0.2 from /etc/resolv.conf
2007/10/25 13:00:14| Referer logging is disabled.
2007/10/25 13:00:14| Unlinkd pipe opened on FD 14
2007/10/25 13:00:14| Swap maxSize 1024000 KB, estimated 78769 objects
2007/10/25 13:00:14| Target number of buckets: 3938
2007/10/25 13:00:14| Using 8192 Store buckets
2007/10/25 13:00:14| Max Mem size: 8192 KB
2007/10/25 13:00:14| Max Swap size: 1024000 KB
2007/10/25 13:00:14| storeDigestCalcCap: have: 0, want 78769 entries; limits: [1, 78769]
2007/10/25 13:00:14| cacheDigestInit: capacity: 78769 entries, bpe: 5; size: 49231 bytes
2007/10/25 13:00:14| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2007/10/25 13:00:14| Rebuilding storage in /home/smbadmin/squid/cache (CLEAN)
2007/10/25 13:00:14| Using Least Load store dir selection
2007/10/25 13:00:14| Current Directory is /
2007/10/25 13:00:14| Loaded Icons.
2007/10/25 13:00:14| Accepting proxy HTTP connections at 0.0.0.0, port 8081, FD 16.
2007/10/25 13:00:14| Accepting ICP messages at 0.0.0.0, port 8081, FD 17.
2007/10/25 13:00:14| HTCP Disabled.
2007/10/25 13:00:14| WCCP Disabled.
2007/10/25 13:00:14| WCCPv2 Disabled.
2007/10/25 13:00:14| Configuring Parent 192.168.0.1/80/80
2007/10/25 13:00:14| --> IP address #0: 192.168.0.1
2007/10/25 13:00:14| Ready to serve requests.
2007/10/25 13:00:14| Done reading /home/smbadmin/squid/cache swaplog (0 entries)
2007/10/25 13:00:14| xrename: renaming /home/smbadmin/squid/cache/swap.state.new to /home/smbadmin/squid/cache/swap.state
2007/10/25 13:00:14| Finished rebuilding storage from disk.
2007/10/25 13:00:14| 0 Entries scanned
2007/10/25 13:00:14| 0 Invalid entries.
2007/10/25 13:00:14| 0 With invalid flags.
2007/10/25 13:00:14| 0 Objects loaded.
2007/10/25 13:00:14| 0 Objects expired.
2007/10/25 13:00:14| 0 Objects cancelled.
2007/10/25 13:00:14| 0 Duplicate URLs purged.
2007/10/25 13:00:14| 0 Swapfile clashes avoided.
2007/10/25 13:00:14| Took 0.3 seconds ( 0.0 objects/sec).
2007/10/25 13:00:14| Beginning Validation Procedure
2007/10/25 13:00:14| Completed Validation Procedure
2007/10/25 13:00:14| Validated 0 Entries
2007/10/25 13:00:14| store_swap_size = 0k
2007/10/25 13:00:14| storeDigestRebuildStart: rebuild #1
2007/10/25 13:00:14| storeDigestCalcCap: have: 25, want 25 entries; limits: [1, 78769]
2007/10/25 13:00:14| storeDigestResize: 78769 -> 25; change: 78744 (100%)
2007/10/25 13:00:14| storeDigestResize: big change, resizing.
2007/10/25 13:00:14| cacheDigestInit: capacity: 25 entries, bpe: 5; size: 16 bytes
2007/10/25 13:00:14| storeDigestRewrite: start rewrite #1
2007/10/25 13:00:14| storeDigestRewriteStart: waiting for rebuild to finish.
2007/10/25 13:00:14| storeDigestRebuildFinish: done.
2007/10/25 13:00:14| storeDigestRewriteFinish: digest expires at 1193313614 (+3600)
2007/10/25 13:00:15| storeLateRelease: released 0 objects
2007/10/25 13:00:39| The request GET http://www.google.de/ is ALLOWED, because it matched 'all'
2007/10/25 13:00:39| peerDigestRequest: http://192.168.0.1/squid-internal-periodic/store_digest key: 0ACDBB89168421858BE486C67C3A6755
2007/10/25 13:00:39| peerSourceHashSelectParent: Calculating hash for 192.168.0.3
2007/10/25 13:00:39| peerDigestFetchAbort: peer 192.168.0.1, reason: Not Found
2007/10/25 13:00:39| temporary disabling (Not Found) digest from 192.168.0.1
2007/10/25 13:00:39| fwdServerClosed: FD 18 http://192.168.0.1/squid-internal-periodic/store_digest
2007/10/25 13:00:39| The reply for GET http://www.google.de/ is ALLOWED, because it matched 'all'
2007/10/25 13:00:39| fwdServerClosed: FD 19 http://www.google.de/
2007/10/25 13:00:39| The request GET http://www.google.de/ is ALLOWED, because it matched 'all'
2007/10/25 13:00:39| peerSourceHashSelectParent: Calculating hash for 192.168.0.3
2007/10/25 13:00:39| The reply for GET http://www.google.de/ is ALLOWED, because it matched 'all'
2007/10/25 13:00:39| fwdServerClosed: FD 18 http://www.google.de/
2007/10/25 13:00:47| The request GET http://www.google.de/ is ALLOWED, because it matched 'all'
2007/10/25 13:00:47| peerSourceHashSelectParent: Calculating hash for 192.168.0.3
2007/10/25 13:00:47| The reply for GET http://www.google.de/ is ALLOWED, because it matched 'all'
2007/10/25 13:00:47| fwdServerClosed: FD 18 http://www.google.de/
2007/10/25 13:00:53| The request GET http://www.google.de/ is ALLOWED, because it matched 'all'
2007/10/25 13:00:53| peerSourceHashSelectParent: Calculating hash for 192.168.0.3
2007/10/25 13:00:55| ipcacheMarkBadAddr: www.google.de [64.233.183.104]
2007/10/25 13:01:14| fwdServerClosed: FD 18 http://www.google.de/
2007/10/25 13:01:16| ipcacheMarkBadAddr: www.google.de [64.233.183.147]
2007/10/25 13:01:29| fwdServerClosed: FD 18 http://www.google.de/
2007/10/25 13:01:31| ipcacheMarkBadAddr: www.google.de [64.233.183.103]
2007/10/25 13:01:44| fwdServerClosed: FD 18 http://www.google.de/
2007/10/25 13:01:44| The reply for GET http://www.google.de/ is ALLOWED, because it matched 'all'
2007/10/25 13:04:09| The request GET http://www.squid-handbuch.de/hb/squid_web_mn.html is ALLOWED, because it matched 'all'
2007/10/25 13:04:09| ======Detected DEAD Parent: 192.168.0.1========
2007/10/25 13:04:09| peerSourceHashSelectParent: Calculating hash for 127.0.0.1
2007/10/25 13:04:11| ipcacheMarkBadAddr: www.squid-handbuch.de [81.169.179.117]
2007/10/25 13:04:11| fwdServerClosed: FD 18 http://www.squid-handbuch.de/hb/squid_web_mn.html
2007/10/25 13:04:13| ipcacheMarkBadAddr: www.squid-handbuch.de [81.169.179.117]
2007/10/25 13:04:13| fwdServerClosed: FD 18 http://www.squid-handbuch.de/hb/squid_web_mn.html
2007/10/25 13:04:22| ipcacheMarkBadAddr: www.squid-handbuch.de [81.169.179.117]
2007/10/25 13:04:22| fwdServerClosed: FD 18 http://www.squid-handbuch.de/hb/squid_web_mn.html
2007/10/25 13:04:22| The reply for GET http://www.squid-handbuch.de/hb/squid_web_mn.html is ALLOWED, because it matched 'all'
2007/10/25 13:04:41| The request GET http://en-us.fxfeeds.mozilla.com/en-US/firefox/headlines.xml is ALLOWED, because it matched 'all'
2007/10/25 13:04:41| peerSourceHashSelectParent: Calculating hash for 127.0.0.1
2007/10/25 13:04:45| ipcacheMarkBadAddr: en-us.fxfeeds.mozilla.com [63.245.213.21]
2007/10/25 13:04:45| fwdServerClosed: FD 18 http://en-us.fxfeeds.mozilla.com/en-US/firefox/headlines.xml
2007/10/25 13:04:48| ipcacheMarkBadAddr: en-us.fxfeeds.mozilla.com [63.245.213.21]
2007/10/25 13:04:48| fwdServerClosed: FD 18 http://en-us.fxfeeds.mozilla.com/en-US/firefox/headlines.xml
2007/10/25 13:04:51| ipcacheMarkBadAddr: en-us.fxfeeds.mozilla.com [63.245.213.21]
2007/10/25 13:04:51| fwdServerClosed: FD 18 http://en-us.fxfeeds.mozilla.com/en-US/firefox/headlines.xml
2007/10/25 13:04:51| The reply for GET http://en-us.fxfeeds.mozilla.com/en-US/firefox/headlines.xml is ALLOWED, because it matched 'all'
2007/10/25 13:05:39| peerDigestRequest: http://192.168.0.1/squid-internal-periodic/store_digest key: 0ACDBB89168421858BE486C67C3A6755
2007/10/25 13:05:39| =======peerDigestFetchAbort: peer 192.168.0.1, reason: Not Found
2007/10/25 13:05:39| temporary disabling (Not Found) digest from 192.168.0.1=======
2007/10/25 13:05:39| peerDigestFetchFinish: deleting old entry
2007/10/25 13:05:39| storeCheckCachable: NO: release requested
2007/10/25 13:05:39| fwdServerClosed: FD 15 http://192.168.0.1/squid-internal-periodic/store_digest
2007/10/25 13:06:38| The request GET http://www.squid-handbuch.de/hb/node43_mn.html is ALLOWED, because it matched 'all'
2007/10/25 13:06:38| peerSourceHashSelectParent: Calculating hash for 127.0.0.1
2007/10/25 13:06:38| ipcacheMarkBadAddr: www.squid-handbuch.de [81.169.179.117]
2007/10/25 13:06:38| fwdServerClosed: FD 18 http://www.squid-handbuch.de/hb/node43_mn.html
2007/10/25 13:06:40| ipcacheMarkBadAddr: www.squid-handbuch.de [81.169.179.117]
2007/10/25 13:06:40| fwdServerClosed: FD 18 http://www.squid-handbuch.de/hb/node43_mn.html
2007/10/25 13:06:43| ipcacheMarkBadAddr: www.squid-handbuch.de [81.169.179.117]
2007/10/25 13:06:43| fwdServerClosed: FD 18 http://www.squid-handbuch.de/hb/node43_mn.html
2007/10/25 13:06:43| The reply for GET http://www.squid-handbuch.de/hb/node43_mn.html is ALLOWED, because it matched 'all'
Hab mal die stellen markiert wo ich denke dass die Fehler liegen aber ich kann die Fehler eben net deuten....
Vielen Dank für jede Hilfe....