Changes

From SME Server
Jump to navigationJump to search
Line 931: Line 931:  
{{Note box|type=Note :| ssh, ftp and telnet ne fonctionnent pas via un proxy «upstream» http, cependant, ils peuvent fonctionner en conjonction avec [http://linux.die.net/man/8/tsocks tsocks] (disponible à partir du dépôt dag.)}}
 
{{Note box|type=Note :| ssh, ftp and telnet ne fonctionnent pas via un proxy «upstream» http, cependant, ils peuvent fonctionner en conjonction avec [http://linux.die.net/man/8/tsocks tsocks] (disponible à partir du dépôt dag.)}}
   −
===Testing and Verification===
+
===Essai et vérification===
You can verify that a particular program is being proxied through squid on your local SME server by searching /var/log/squid/access.log for access to the target web address originating from '127.0.0.1'.
     −
That is, after executing these commands:
+
Vous pouvez vérifier qu'un programme particulier est transmis par proxy au travers de squid à votre serveur local SME en recherchant /var/log/squid/access.log pour accéder à l'adresse Web cible provenant de '127.0.0.1'.
 +
 
 +
C'est-à-dire, après l'exécution de ces commandes :
 
  <nowiki>export http_proxy=localhost:3128
 
  <nowiki>export http_proxy=localhost:3128
curl http://www.google.com</nowiki>
+
curl http://www.google.com</nowiki>
 
+
Vous devriez voir une entrée similaire à la suivante <tt>/var/log/squid/access.log:</tt>
you should see an entry similary to the following <tt>/var/log/squid/access.log:</tt>
   
  1329759611.923    64 '''127.0.0.1''' TCP_MISS/301 726 GET '''<nowiki>http://www.google.com</nowiki>''' - DIRECT/74.125.113.94 text/html
 
  1329759611.923    64 '''127.0.0.1''' TCP_MISS/301 726 GET '''<nowiki>http://www.google.com</nowiki>''' - DIRECT/74.125.113.94 text/html
  
3,054

edits

Navigation menu