Re: whois <IP> ne répond plus
Le lundi 25 avril 2011, Stephane Bortzmeyer a écrit :
> On Mon, Apr 25, 2011 at 12:12:03PM +0200,
> corbie@free.fr <corbie@free.fr> wrote
> a message of 17 lines which said:
> > la commande "whois <IP>" ne fonctionne plus sur ma Debian Lenny 32
> > bits (quelquesoit le n° IP)
> % cat /etc/debian_version
> 5.0.8
> % whois 87.88.6.218
> inetnum: 87.88.6.0 - 87.88.6.255
> netname: POOL-DEF92-1-1
> descr: Pool for broadband customers on DSLAM def92-1
>
> Bref, c'est un problème chez vous. Je suggère de tester avec strace et
> tcpdump.
>
> "strace whois 87.88.6.218" se bloque sur quoi ? Pendant le whois, que
> donne un "tcpdump port 43" dans une autre fenêtre ?
--------------------------------------
# strace whois 87.88.6.218
------------------------
execve("/usr/bin/whois", ["whois", "87.88.6.218"], [/* 42 vars */]) = 0
brk(0) = 0x83fe000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
socket(PF_INET6, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET6, sin6_port=htons(43),
inet_pton(AF_INET6, "2001:67c:2e8:22::c100:687", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28
(blocage ...)
# tcpdump port 43
------------------------
tcpdump: WARNING: wmaster0: no IPv4 address assigned
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wmaster0, link-type IEEE802_11 (802.11), capture size 96 bytes
(blocage ...)
Reply to: