Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 06/03/2015, à 18:20

alex666

SQUID que des TCP_MISS/503

Bonjour

J'ai squid installé sur un ubuntu 14.04 qui tourne sur une VM en pont.
Je débute completement sur squid...

Quand une machine du réseau veut se connecter à Internet via ce proxy, j'obtiens l'erreur :

Firefox can't establish a connection to the server at www.mozilla.org.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer's network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web.

Mon fichier de config est :

http_port 3128

acl SSL_ports port 443
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
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_ports port 443
acl CONNECT method CONNECT
acl lanhome src 10.0.0.0/16
#acl goodsite url_regex "/etc/squid3/squid-allow.acl"

#http_access allow localnet
http_access allow localhost
http_access allow lanhome
#http_access  allow goodsite

# And finally deny all other access to this proxy
#http_access deny all
http_access allow all



# Deny requests to certain unsafe ports
http_access deny !Safe_ports
http_access deny CONNECT !CONNECT_ports

/var/log/squid3/access.log :

1425652095.669  59766 10.0.5.3 TCP_MISS/503 3864 GET http://www.mozilla.org/en-US/about/ - HIER_DIRECT/63.245.215.20 text/html
1425652450.051  49150 10.0.5.3 TCP_MISS_ABORTED/000 0 GET http://www.mozilla.org/en-US/about/ - HIER_DIRECT/63.245.215.20 -
1425652469.253      1 10.0.5.3 TCP_MISS/200 3656 GET http://10.0.5.3/ - HIER_DIRECT/10.0.5.3 text/html
1425652469.283     13 10.0.5.3 TCP_MISS/304 242 GET http://10.0.5.3/icons/ubuntu-logo.png - HIER_DIRECT/10.0.5.3 -
1425652529.342  60072 10.0.5.3 TCP_MISS/503 4045 GET http://www.w3.org/Icons/valid-xhtml10 - HIER_DIRECT/128.30.52.37 text/html
1425652588.106      1 10.0.5.3 TCP_REFRESH_MODIFIED/200 3655 GET http://10.0.5.3/ - HIER_DIRECT/10.0.5.3 text/html
1425652588.125      0 10.0.5.3 TCP_MISS/304 242 GET http://10.0.5.3/icons/ubuntu-logo.png - HIER_DIRECT/10.0.5.3 -
1425652590.391   2269 10.0.5.3 TCP_MISS_ABORTED/000 0 GET http://www.w3.org/Icons/valid-xhtml10 - HIER_DIRECT/128.30.52.37 -
1425652648.388  47095 10.0.5.3 TCP_MISS_ABORTED/000 0 GET http://www.w3.org/Icons/valid-xhtml10 - HIER_DIRECT/128.30.52.37 -
1425652650.361  59991 10.0.5.3 TCP_MISS/503 0 CONNECT www.google.com:443 - HIER_NONE/- -
1425652791.380  59994 10.0.5.3 TCP_MISS/503 0 CONNECT safebrowsing.google.com:443 - HIER_NONE/- -
1425652911.396  60000 10.0.5.3 TCP_MISS/503 0 CONNECT safebrowsing.google.com:443 - HIER_NONE/- -
1425652958.151 231617 10.0.5.3 TCP_MISS_ABORTED/000 0 GET http://start.ubuntu.com/14.04/Google/? - HIER_DIRECT/91.189.90.41 -
1425653018.408  60250 10.0.5.3 TCP_MISS/503 0 CONNECT www.mozilla.org:443 - HIER_NONE/- -
1425653685.698  60416 10.0.5.3 TCP_MISS/503 0 CONNECT www.mozilla.org:443 - HIER_NONE/- -
1425654470.390  59439 10.0.5.3 TCP_MISS/503 0 CONNECT www.mozilla.org:443 - HIER_NONE/- -

/var/log/squid3/cache.log :

2015/03/06 16:54:05| Rebuilding storage in /var/spool/squid3 (dirty log)
2015/03/06 16:54:05| Using Least Load store dir selection
2015/03/06 16:54:05| Set Current Directory to /var/spool/squid3
2015/03/06 16:54:05| Loaded Icons.
2015/03/06 16:54:05| HTCP Disabled.
2015/03/06 16:54:05| Pinger socket opened on FD 17
2015/03/06 16:54:05| Squid plugin modules loaded: 0
2015/03/06 16:54:05| Adaptation support is off.
2015/03/06 16:54:05| Accepting HTTP Socket connections at local=[::]:3128 remote=[::] FD 15 flags=9
2015/03/06 16:54:05| Done reading /var/spool/squid3 swaplog (0 entries)
2015/03/06 16:54:05| Store rebuilding is 0.00% complete
2015/03/06 16:54:05| Finished rebuilding storage from disk.
2015/03/06 16:54:05|         0 Entries scanned
2015/03/06 16:54:05|         0 Invalid entries.
2015/03/06 16:54:05|         0 With invalid flags.
2015/03/06 16:54:05|         0 Objects loaded.
2015/03/06 16:54:05|         0 Objects expired.
2015/03/06 16:54:05|         0 Objects cancelled.
2015/03/06 16:54:05|         0 Duplicate URLs purged.
2015/03/06 16:54:05|         0 Swapfile clashes avoided.
2015/03/06 16:54:05|   Took 0.06 seconds (  0.00 objects/sec).
2015/03/06 16:54:05| Beginning Validation Procedure
2015/03/06 16:54:05|   Completed Validation Procedure
2015/03/06 16:54:05|   Validated 0 Entries
2015/03/06 16:54:05|   store_swap_size = 0.00 KB
2015/03/06 16:54:05| pinger: Initialising ICMP pinger ...
2015/03/06 16:54:05| pinger: ICMP socket opened.
2015/03/06 16:54:05| pinger: ICMPv6 socket opened
2015/03/06 16:54:05| Pinger exiting.
2015/03/06 16:54:06| storeLateRelease: released 0 objects

J'ai regardé les tuto sur Internet mais là je ne vois vraiment ce qui bloque !
Help wink

Hors ligne

#2 Le 10/03/2015, à 10:25

alex666

Re : SQUID que des TCP_MISS/503

De l'aide s'il vous plait !
Je ne comprends vraiment pas ce qui cloche dans la conf...

Hors ligne