Le Mon, Oct 03, 2022 at 02:27:40PM +0200, Stephane Bortzmeyer 
[bortzme...@nic.fr] a écrit:
(...)
> 
> - un autre client whois (<troll>ça prend quatre lignes de
> Python</troll)>
> 

(mon) telnet fonctionne, mais pas netcat :


$ telnet whois.nic.fr whois
Trying 192.134.5.73...
Connected to whois-3t.nic.fr.
Escape character is '^]'.
bortzmeyer.fr
%%
(...)
domain:                        bortzmeyer.fr
status:                        ACTIVE
(...)
Connection closed by foreign host.


$ nc whois.nic.fr whois
bortzmeyer.fr


Enfin, si :

$ nc -C whois.nic.fr whois
bortzmeyer.fr
%%
(...)


C'est à peu près le seul truc présent dans la RFC :

« All requests are terminated with ASCII CR and then ASCII LF. »




-- 
Dominique Rousseau 
Neuronnexion, Prestataire Internet & Intranet
6 rue des Hautes cornes - 80000 Amiens
tel: 03 22 71 61 90 - fax: 03 22 71 61 99 - http://www.neuronnexion.coop


---------------------------
Liste de diffusion du FRnOG
http://www.frnog.org/

Répondre à