[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: whois doesn't work
From:       Vito_Mulè <mule.vito () gmail ! com>
Date:       2016-07-04 16:10:22
Message-ID: CAFy+01OjZZ2mvvGB3p=y1iZE2rFBR=BZacm-QC18TgTf+ZE-Uw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


the problem is with the server used by the applet:

vmule@agent4:~/busybox$ nslookup whois-servers.net 43
socket.c:1915: internal_send: 0.0.0.43#53: Invalid argument
^C
vmule@agent4:~/busybox$ nslookup whois-servers.net
Server: 192.168.1.254
Address: 192.168.1.254#53

Non-authoritative answer:
Name: whois-servers.net
Address: 204.74.78.75

vmule@agent4:~/busybox$ telnet 204.74.78.75 43
Trying 204.74.78.75...
^C

whois-servers.net

linus whois uses this:

vmule@agent4:~/busybox$ telnet 204.74.78.75 43
Trying 204.74.78.75...
^C
vmule@agent4:~/busybox$ nslookup 192.12.192.242
Server: 192.168.1.254
Address: 192.168.1.254#53

Non-authoritative answer:
242.192.12.192.in-addr.arpa name = whois.nic.it.


using this solves the issue:

vmule@agent4:~/busybox$ ./busybox_unstripped whois www.google.it
Domain:             www.google.it
Status:             UNASSIGNABLE

Patch incoming.



On 4 July 2016 at 16:52, walter harms <wharms@bfs.de> wrote:

>
>
> Am 04.07.2016 17:34, schrieb walter harms:
> >
> >
> > Am 04.07.2016 17:22, schrieb Jody Bruchon:
> >> On 2016-07-04 11:18, Vito Mulè wrote:
> >>> Can you strace it and post the output?
> >>
> >> I can confirm this problem has been going on for a while; one day it
> >> just stopped working. Here's an strace:
> >>
> >>
> >> recvfrom(3, "\254g\201\200\0\1\0\1\0\0\0\0\rwhois-servers\3net\0\0"...,
> >> 1024, 0, {sa_family=AF_INET, sin_port=htons(53),
> >> sin_addr=inet_addr("8.8.8.8")}, [16]) = 51
> >> close(3)                                = 0
> >> socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
> >> setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> >> connect(3, {sa_family=AF_INET, sin_port=htons(43),
> >> sin_addr=inet_addr("204.74.78.75")}, 16
> >>
> >
> > just to be sure ..
> > you can ping 204.74.78.75 ?
> >
> >
> > re,
> >  wh
> > _______________________________________________
>
>
> When i ask for  www.google.com i get 172.217.18.36
> that is something i can ping. Strange, does this google
> configure the servers differently ?
>
> re,
>  wh
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>

[Attachment #5 (text/html)]

<div dir="ltr">the problem is with the server used by the \
applet:<div><br></div><div><div>vmule@agent4:~/busybox$ nslookup <a \
href="http://whois-servers.net">whois-servers.net</a> 43</div><div>socket.c:1915: \
internal_send: 0.0.0.43#53: Invalid \
argument</div><div>^C</div><div>vmule@agent4:~/busybox$ nslookup <a \
href="http://whois-servers.net">whois-servers.net</a></div><div>Server:<span class="" \
style="white-space:pre">		</span>192.168.1.254</div><div>Address:<span class="" \
style="white-space:pre">	</span>192.168.1.254#53</div><div><br></div><div>Non-authoritative \
answer:</div><div>Name:<span class="" style="white-space:pre">	</span><a \
href="http://whois-servers.net">whois-servers.net</a></div><div>Address: \
204.74.78.75</div><div><br></div><div>vmule@agent4:~/busybox$ telnet 204.74.78.75 \
43</div><div>Trying 204.74.78.75...</div><div>^C</div></div><div><br></div><div><a \
href="http://whois-servers.net">whois-servers.net</a><br></div><div><br></div><div>linus \
whois uses this:</div><div><br></div><div><div>vmule@agent4:~/busybox$ telnet \
204.74.78.75 43</div><div>Trying \
204.74.78.75...</div><div>^C</div><div>vmule@agent4:~/busybox$ nslookup \
192.12.192.242</div><div>Server:<span class="" \
style="white-space:pre">		</span>192.168.1.254</div><div>Address:<span class="" \
style="white-space:pre">	</span>192.168.1.254#53</div><div><br></div><div>Non-authoritative \
answer:</div><div>242.192.12.192.in-addr.arpa<span class="" \
style="white-space:pre">	</span>name = <a \
href="http://whois.nic.it">whois.nic.it</a>.</div></div><div><br></div><div><br></div><div>using \
this solves the issue:</div><div><br></div><div><div>vmule@agent4:~/busybox$ \
./busybox_unstripped whois <a \
href="http://www.google.it">www.google.it</a></div><div>Domain:                   <a \
href="http://www.google.it">www.google.it</a></div><div>Status:                   \
UNASSIGNABLE</div></div><div><br></div><div>Patch \
incoming.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div \
class="gmail_quote">On 4 July 2016 at 16:52, walter harms <span dir="ltr">&lt;<a \
href="mailto:wharms@bfs.de" target="_blank">wharms@bfs.de</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><span class=""><br> <br>
Am <a href="tel:04.07.2016%2017" value="+390407201617">04.07.2016 17</a>:34, schrieb \
walter harms:<br> &gt;<br>
&gt;<br>
&gt; Am <a href="tel:04.07.2016%2017" value="+390407201617">04.07.2016 17</a>:22, \
schrieb Jody Bruchon:<br> &gt;&gt; On 2016-07-04 11:18, Vito Mulè wrote:<br>
&gt;&gt;&gt; Can you strace it and post the output?<br>
&gt;&gt;<br>
&gt;&gt; I can confirm this problem has been going on for a while; one day it<br>
&gt;&gt; just stopped working. Here&#39;s an strace:<br>
&gt;&gt;<br>
&gt;&gt;<br>
</span><span class="">&gt;&gt; recvfrom(3, \
&quot;\254g\201\200\0\1\0\1\0\0\0\0\rwhois-servers\3net\0\0&quot;...,<br> &gt;&gt; \
1024, 0, {sa_family=AF_INET, sin_port=htons(53),<br> &gt;&gt; \
sin_addr=inet_addr(&quot;8.8.8.8&quot;)}, [16]) = 51<br> &gt;&gt; close(3)            \
= 0<br> &gt;&gt; socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3<br>
&gt;&gt; setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0<br>
&gt;&gt; connect(3, {sa_family=AF_INET, sin_port=htons(43),<br>
&gt;&gt; sin_addr=inet_addr(&quot;204.74.78.75&quot;)}, 16<br>
&gt;&gt;<br>
&gt;<br>
&gt; just to be sure ..<br>
&gt; you can ping 204.74.78.75 ?<br>
&gt;<br>
&gt;<br>
&gt; re,<br>
&gt;   wh<br>
&gt; _______________________________________________<br>
<br>
<br>
</span>When i ask for   <a href="http://www.google.com" rel="noreferrer" \
target="_blank">www.google.com</a> i get 172.217.18.36<br> that is something i can \
ping. Strange, does this google<br> configure the servers differently ?<br>
<div class="HOEnZb"><div class="h5"><br>
re,<br>
  wh<br>
_______________________________________________<br>
busybox mailing list<br>
<a href="mailto:busybox@busybox.net">busybox@busybox.net</a><br>
<a href="http://lists.busybox.net/mailman/listinfo/busybox" rel="noreferrer" \
target="_blank">http://lists.busybox.net/mailman/listinfo/busybox</a><br> \
</div></div></blockquote></div><br></div>



_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic