whois v jailu

Marián Černý majo-users-l at cerny.sk
Tue Apr 4 09:33:41 CEST 2017


Nefunguje mi whois v jailu pro COM domenu. Pro CZ nebo SK ano.

Nejdriv to vypise informace z "IANA WHOIS server”:

    % IANA WHOIS server
    ...
    
    nserver:      A.GTLD-SERVERS.NET 192.5.6.30 2001:503:a83e:0:0:0:2:30
    ...
    
    whois:        whois.verisign-grs.com
    …

A nakonec:

    whois: connect(): Protocol not supported

U host systemu whois na COM domenu funguje. Kdyz porovnavam vystup z `truss`, tak tam vidim, ze rozdil je v tom, ze v jailu pokusy o otevreni IPv6 spojeni konci chybou “Protocol not supported” a u host systemu “No route to host”:

Jail:

    socket(PF_INET6,SOCK_DGRAM|SOCK_CLOEXEC,17)      ERR#43 'Protocol not supported' 
    socket(PF_INET,SOCK_DGRAM|SOCK_CLOEXEC,17)       = 3 (0x3) 
    connect(3,{ AF_INET 199.7.60.74:1 },16)          = 0 (0x0) 
    getsockname(3,{ AF_INET 80.79.31.16:38810 },0x7fffffffe26c) = 0 (0x0) 
    close(3)                                         = 0 (0x0) 
    socket(PF_INET,SOCK_STREAM|SOCK_NONBLOCK,6)      = 3 (0x3) 
    connect(3,{ AF_INET 199.7.60.74:43 },16)         ERR#36 'Operation now in progress' 
    poll({ 3/POLLIN|POLLOUT|POLLERR|POLLHUP },1,180) = 0 (0x0)
    socket(PF_INET6,SOCK_STREAM|SOCK_NONBLOCK,6)     ERR#43 'Protocol not supported'
    close(3)                                         = 0 (0x0)
    whois: connect(): Protocol not supported

Host:

    socket(PF_INET6,SOCK_DGRAM|SOCK_CLOEXEC,17)      = 3 (0x3)
    connect(3,{ AF_INET6 [2001:503:5419:1000::74]:1 },28) ERR#65 'No route to host'
    close(3)                                         = 0 (0x0)
    socket(PF_INET,SOCK_DGRAM|SOCK_CLOEXEC,17)       = 3 (0x3)
    connect(3,{ AF_INET 199.7.61.74:1 },16)          = 0 (0x0)
    getsockname(3,{ AF_INET 80.79.31.16:30969 },0x7fffffffe26c) = 0 (0x0)
    close(3)                                         = 0 (0x0)
    socket(PF_INET,SOCK_STREAM|SOCK_NONBLOCK,6)      = 3 (0x3)
    connect(3,{ AF_INET 199.7.61.74:43 },16)         ERR#36 'Operation now in progress'
    poll({ 3/POLLIN|POLLOUT|POLLERR|POLLHUP },1,180) = 0 (0x0)
    socket(PF_INET6,SOCK_STREAM|SOCK_NONBLOCK,6)     = 4 (0x4)
    connect(4,{ AF_INET6 [2001:503:5419:1000::74]:43 },28) ERR#65 'No route to host'
    close(4)                                         = 0 (0x0)
    poll({ 3/POLLIN|POLLOUT|POLLERR|POLLHUP },1,-1)  = 1 (0x1)

Pripada mi to jako chyba whois aplikace, ktera predcasne ukonci zpracovani v pripade, ze dostane odpoved Protocol not supported na pokus o otevreni IPv6 spojeni, pritom kdyby pokracovala s IPv4, tak by to proslo.

Poradi nekdo jak to co nejjednoduseji rozchodit?

Marian




More information about the Users-l mailing list