Un
telnet IP-de-ta-becanne 80
ou
telnet nom-de-becanne 80
initié depuis différentes machines des réseaux à tester devrait fournir la solution.
(si connecté un
"HEAD / HTTP/1.0\n\n"
devrait confirmer la présence d'un serveur http
exemple:
[johand@horus]~ $telnet www.cdrom.com 80
Trying 209.87.181.103...
Connected to simtel.wip.digitalriver.com.
Escape character is '^]'.
ici, on sait que le port est ouvert, on peut vérifier la présence d'une réponse à une requête HTTP HEAD
HEAD / HTTP/1.0
HTTP/1.1 200 OK
Set-Cookie: simtel_cookie=235880458.260.0000; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html
Set-Cookie: PHPSESSID=22b76680cecc37602ec6a356f7a9e166; path=/
Connection: Close
Server: Oracle Application Server/10g (10.1.2) Digital River/2.14 (Unix) PHP/4.4.2 OracleAS-Web-Cache-10g/10.1.2.0.0 (N;ecid=273911444381,0)
Date: Sun, 15 Oct 2006 02:13:16 GMT
X-Server-Name: dc1fbs05
X-Powered-By: PHP/4.4.2
P3P: policyref="/w3c/p3p.xml", CP="NOI DSP COR NOR"
Connection closed by foreign host.
Johan
Gates gave you the windows.
GNU gave us the whole house.(Alexandrin)