Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276751 - net-misc/jwhois answers .tel querries with inapropriate message
Summary: net-misc/jwhois answers .tel querries with inapropriate message
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://savannah.gnu.org/bugs/index.p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-06 11:56 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2012-08-18 18:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DEMAINE Benoît-Pierre, aka DoubleHP 2009-07-06 11:56:46 UTC
dhp@moon-gen-3:~$ /usr/bin/jwhois emma.tel
[Querying whois.internic.net]
[whois.internic.net]

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

No match for domain "EMMA.TEL".
>>> Last update of whois database: Mon, 06 Jul 2009 11:49:20 UTC <<<


... what is wrong; see whois emma.tel, and how it have been updated. Thanks.
Comment 1 DEMAINE Benoît-Pierre, aka DoubleHP 2012-08-08 00:18:41 UTC
worksforme.
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2012-08-08 00:21:04 UTC
sorry, tagged worksforme for the wrong bug.

Just installed 4.0, and it heavily bugs:

uranus ~ # jwhois emma.tel
[Querying whois.internic.net]
[Unable to connect to remote host]
uranus ~ #
Comment 3 Bill Kenworthy 2012-08-10 10:10:55 UTC
This is due to a (long standing) bug. Fix is here "http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=542148"

or add a single character ...

--- src/utils.c	2007-06-26 02:00:20.000000000 -0500
+++ src/utils.c	2009-08-17 23:35:09.000000000 -0500
@@ -288,7 +288,7 @@
 
       retlen = sizeof(retval);
       error = getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &retval, &retlen);
-      if (error < 0 || retval)
+      if (error < 0 || !retval)
 	{
 	  break;
 	}
Comment 4 SpanKY gentoo-dev 2012-08-18 05:24:20 UTC
should be all set now in the tree; thanks for the report!

Commit message: Fix network connect bug (as seen with .tel domains)
http://sources.gentoo.org/net-misc/jwhois/files/jwhois-4.0-connect-logic.patch?rev=1.1
http://sources.gentoo.org/net-misc/jwhois/jwhois-4.0-r1.ebuild?rev=1.1
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2012-08-18 11:13:04 UTC
The 2012 misc bug is fixed, but not the original 2009 one !!!

[ebuild   R   ~] net-misc/jwhois-4.0-r1  USE="idn nls" 0 kB



uranus ~ # /usr/bin/jwhois emma.tel
[Querying whois.internic.net]
[whois.internic.net]

Whois Server Version 2.0

Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to http://www.internic.net
for detailed information.

No match for domain "EMMA.TEL".
>>> Last update of whois database: Sat, 18 Aug 2012 11:09:16 UTC <<<






dhp@uranus ~ $ whois emma.tel
Domain Name:                                 EMMA.TEL
Domain ID:                                   D1344415-TEL
Sponsoring Registrar:                        TELNIC LTD.
Sponsoring Registrar IANA ID:                19999
Registrar URL (registration services):       www.telnic.org
Domain Status:                               ok
Registrant Name:                             Telnic-Master-Contact
Name Server:                                 A0.CTH.DNS.NIC.TEL
Name Server:                                 D0.CTH.DNS.NIC.TEL
Name Server:                                 N0.CTH.DNS.NIC.TEL
Name Server:                                 S0.CTH.DNS.NIC.TEL
Name Server:                                 T0.CTH.DNS.NIC.TEL
Created by Registrar:                        INJECTCSR
Last Updated by Registrar:                   BATCHCSR
Domain Registration Date:                    Mon May 18 01:28:14 GMT 2009
Domain Expiration Date:                      Fri May 17 23:59:59 GMT 2013
Domain Last Updated Date:                    Mon Jul 02 02:21:34 GMT 2012

>>>> Whois database was last updated on: Sat Aug 18 11:09:27 GMT 2012 <<<<