[opensuse] ping failure to find sitenames; inetutils being maintained?
ping -v "президент.рф"
I had my curiosity piqued when someone said they had problems retrieving a webpage from site 'президент.рф'. I tried wget & curl but they both recoded it into punycode. So tried ping... ping couldn't find the site at all: ping: unknown host президент.рф So I tried 'dig':
dig "президент.рф"
; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> президент.рф ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 61303 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1 (NXDOMAIN = no such domain), But if I type the address into my browser, it goes to the russian site (kremlin.ru). I poked around a bit and found suse ping comes from the old 'iputils' package (superceded by iputils2, though iputils2 doesn't have ping). Looked a bit more and found it in the gnu inetutils package. Built it w/default config options and it resolved "right out of the box": Ishtar:tools/inetutils/inetutils-1.9.4/ping> ./ping "президент.рф" PING президент.рф (95.173.136.80): 56 data bytes. ^C--- президент.рф ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss Are inetutils being maintained anymore (looks like my version is dated 2012-12-21? -l -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
19.03.2017 06:58, L A Walsh пишет:
I had my curiosity piqued when someone said they had problems retrieving a webpage from site 'президент.рф'.
I tried wget & curl but they both recoded it into punycode.
So tried ping... ping couldn't find the site at all:
ping -v "президент.рф" ping: unknown host президент.рф
So I tried 'dig':
dig "президент.рф"
; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> президент.рф ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 61303 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
(NXDOMAIN = no such domain),
But if I type the address into my browser, it goes to the russian site (kremlin.ru).
I poked around a bit and found suse ping comes from the old 'iputils' package (superceded by iputils2, though iputils2 doesn't have ping). Looked a bit more and found it in the gnu inetutils package. Built it w/default config options and it resolved "right out of the box":
Well, it does not really help with dig unfortunately. Poor man's workaround is something like ping $(idn президент.рф) which will work for every domain name, traditional or IDNA. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
Well, it does not really help with dig unfortunately. Poor man's workaround is something like
ping $(idn президент.рф)
--- Hmmm... I must be poorer than you ;-) :
idn президент.рф -bash: idn: command not found
What package is that in? tnx... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
20.03.2017 23:19, L A Walsh пишет:
Andrei Borzenkov wrote:
Well, it does not really help with dig unfortunately. Poor man's workaround is something like
ping $(idn президент.рф)
--- Hmmm... I must be poorer than you ;-) :
idn президент.рф -bash: idn: command not found
What package is that in? tnx...
cnf idn And if you do not have "cnf" either ... libidn-tools. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
20.03.2017 23:19, L A Walsh пишет:
Andrei Borzenkov wrote:
Well, it does not really help with dig unfortunately. Poor man's workaround is something like
ping $(idn президент.рф)
--- Hmmm... I must be poorer than you ;-) :
idn президент.рф -bash: idn: command not found
What package is that in? tnx...
cnf idn
And if you do not have "cnf" either ... libidn-tools.
zypper in command-not-found ? :-) -- Per Jessen, Zürich (10.4°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
cnf idn
And if you do not have "cnf" either ... libidn-tools.
Apparently cnf doesn't work unless you configure it. I have it. It just doesn't work:
cnf idn whence cnf /usr/bin/cnf rpm -qf /usr/bin/cnf file /usr/bin/cnf is not owned by any package
What package is cnf suppose to be in? FWIW, I installed idn:
idn президент.рф xn--d1abbgf6aiiy.xn--p1ai
That really doesn't tell me any more than the original russian, but eng.kremlin.ru (where I was directed to when I typed it in a web-browser) was much more informative. I really preferred the UTF-8 form instead of the idn form -- at least with UTF-8 I could tell it was likely Russian, but no way with the idn form. Is there a way to be able to use the UTF-8 form directly? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-03-21 22:15, L A Walsh wrote:
rpm -qf /usr/bin/cnf file /usr/bin/cnf is not owned by any package
What package is cnf suppose to be in?
minas-tirith:~ # rpm -qf /usr/bin/cnf command-not-found-0.1.0+20151023-2.1.noarch -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))
On Tue, 21 Mar 2017 23:08:21 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
On 2017-03-21 22:15, L A Walsh wrote:
rpm -qf /usr/bin/cnf file /usr/bin/cnf is not owned by any package
What package is cnf suppose to be in?
minas-tirith:~ # rpm -qf /usr/bin/cnf command-not-found-0.1.0+20151023-2.1.noarch
From man cnf: SYNOPSIS command-not-found {binary_name} {repository} Thus: bob@blackbox:~> cnf cnf zypp Program 'cnf' is present in package 'command-not-found', which is installed on your system. Absolute path to 'cnf' is '/usr/bin/cnf'. Please check your $PATH variable to see whether it contains the mentioned path. HTH Bob -- Bob Williams System: Linux 4.4.49-16-default Distro: openSUSE 42.2 (x86_64) Desktop: KDE Frameworks: 5.26.0, Qt: 5.6.1 and Plasma: 5.8.2
* L A Walsh <suse@tlinx.org> [01-01-70 12:34]:
Andrei Borzenkov wrote:
cnf idn
And if you do not have "cnf" either ... libidn-tools.
Apparently cnf doesn't work unless you configure it. I have it. It just doesn't work:
cnf idn whence cnf /usr/bin/cnf rpm -qf /usr/bin/cnf file /usr/bin/cnf is not owned by any package
What package is cnf suppose to be in?
http://software.opensuse.org/search -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 Photos: http://wahoo.no-ip.org/piwigo @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2017-03-21 23:19, Patrick Shanahan wrote:
* L A Walsh <> [01-01-70 12:34]:
Andrei Borzenkov wrote:
What package is cnf suppose to be in?
Does not find it. You have to search by package name, whereas cnf is the application name. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))
* L A Walsh <suse@tlinx.org> [03-18-17 23:58]:
I had my curiosity piqued when someone said they had problems retrieving a webpage from site 'президент.рф'.
I tried wget & curl but they both recoded it into punycode.
So tried ping... ping couldn't find the site at all:
ping -v "президент.рф" ping: unknown host президент.рф
So I tried 'dig':
dig "президент.рф"
; <<>> DiG 9.9.5-rpz2+rl.14038.05-P1 <<>> президент.рф ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 61303 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 1
(NXDOMAIN = no such domain),
But if I type the address into my browser, it goes to the russian site (kremlin.ru).
I poked around a bit and found suse ping comes from the old 'iputils' package (superceded by iputils2, though iputils2 doesn't have ping).
Looked a bit more and found it in the gnu inetutils package. Built it w/default config options and it resolved "right out of the box":
Ishtar:tools/inetutils/inetutils-1.9.4/ping> ./ping "президент.рф" PING президент.рф (95.173.136.80): 56 data bytes. ^C--- президент.рф ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss
Are inetutils being maintained anymore (looks like my version is dated 2012-12-21?
works fine on Tw:
ping президент.рф PING президент.рф (95.173.136.80) 56(84) bytes of data. --- президент.рф ping statistics --- 30 packets transmitted, 0 received, 100% packet loss, time 29674ms
rpm -qf /usr/bin/ping iputils-s20160308-2.1.x86_64
note: inetutils is not found is software.opensuse.org/search. but: iputils is iputils IPv4 and IPv6 Networking Utilities This package contains some small network tools for IPv4 and IPv6 like rdisc, ping6, traceroute6, tracepath, and tracepath6. and "rpm -q --changelog iputils" earliest entry is 2009-1222 -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 Photos: http://wahoo.no-ip.org/piwigo @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 19 Mar 2017 06:50:43 -0400 Patrick Shanahan <paka@opensuse.org> wrote:
* L A Walsh <suse@tlinx.org> [03-18-17 23:58]:
ping -v "президент.рф" ping: unknown host президент.рф
works fine on Tw:
ping президент.рф PING президент.рф (95.173.136.80) 56(84) bytes of data. --- президент.рф ping statistics --- 30 packets transmitted, 0 received, 100% packet loss, time 29674ms
rpm -qf /usr/bin/ping iputils-s20160308-2.1.x86_64
Your Tw has a different version than my 42.1: :~> rpm -qf /usr/bin/ping iputils-s20121221-3.3.x86_64 The mentioned ping doesn't work with this version. Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
* listreader <suselist@cableone.net> [03-19-17 08:59]:
On Sun, 19 Mar 2017 06:50:43 -0400 Patrick Shanahan <paka@opensuse.org> wrote:
* L A Walsh <suse@tlinx.org> [03-18-17 23:58]:
ping -v "президент.рф" ping: unknown host президент.рф
works fine on Tw:
ping президент.рф PING президент.рф (95.173.136.80) 56(84) bytes of data. --- президент.рф ping statistics --- 30 packets transmitted, 0 received, 100% packet loss, time 29674ms
rpm -qf /usr/bin/ping iputils-s20160308-2.1.x86_64
Your Tw has a different version than my 42.1:
:~> rpm -qf /usr/bin/ping iputils-s20121221-3.3.x86_64
The mentioned ping doesn't work with this version.
guess you should file a bug report..... -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri Photos: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 Photos: http://wahoo.no-ip.org/piwigo @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sun, 19 Mar 2017 11:21:44 -0400 Patrick Shanahan <paka@opensuse.org> wrote:
* listreader <suselist@cableone.net> [03-19-17 08:59]:
On Sun, 19 Mar 2017 06:50:43 -0400 Patrick Shanahan <paka@opensuse.org> wrote:
* L A Walsh <suse@tlinx.org> [03-18-17 23:58]:
ping -v "президент.рф" ping: unknown host президент.рф
works fine on Tw:
ping президент.рф PING президент.рф (95.173.136.80) 56(84) bytes of data. --- президент.рф ping statistics --- 30 packets transmitted, 0 received, 100% packet loss, time 29674ms rpm -qf /usr/bin/ping iputils-s20160308-2.1.x86_64
Your Tw has a different version than my 42.1:
:~> rpm -qf /usr/bin/ping iputils-s20121221-3.3.x86_64
The mentioned ping doesn't work with this version.
guess you should file a bug report.....
I'll leave that to the OP whose problem I am confirming. I, personally, would consider an inability to ping the kremlin as a feature, not a bug :) Ralph -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Patrick Shanahan wrote:
works fine on Tw:
ping президент.рф PING президент.рф (95.173.136.80) 56(84) bytes of data. --- президент.рф ping statistics --- 30 packets transmitted, 0 received, 100% packet loss, time 29674ms
rpm -qf /usr/bin/ping iputils-s20160308-2.1.x86_64
note: inetutils is not found is software.opensuse.org/search.
--- I found it on google, where I also found this about iputils: (https://wiki.linuxfoundation.org/networking/iputils) overview: This package appeared as a desperate attempt to bring some life to state of basic networking applets: ping, traceroute etc. ... which led to a source website, (http://www.skbuff.net/iputils/), which shows a last version from 2015 (same as this (https://sourceforge.net/p/iputils/code/ci/HEAD/tree/) website). Where did the v2016 came from...? The inetutils is a gnu package with utils: dnsdomainname ftp ftpd hostname ifconfig inetd logger ping ping6 rcp rexec rexecd rlogin rlogind rsh rshd syslogd talk talkd telnet telnetd tftp tftpd traceroute uucpd whois Looks like several useful utils, especially for the classic internet protocols. iputils shows: arping clockdiff ifenslave in.rdisc ping ping6 tracepath tracepath6 Which has a few utils inetutils does not, though a few that I'm less familiar with and also undocumented. :-( Any idea what in.rdisc does by what RFC, or a bit more on ifenslave? A bit more on the utility of the 'pg3' command (ipg, pgset, pg3) which seem to have something to do with packet injection, though I'm not willing to just try it, since it looks like it might mess up "eth0"... in.rdisc -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (7)
-
Andrei Borzenkov
-
Bob Williams
-
Carlos E. R.
-
L A Walsh
-
listreader
-
Patrick Shanahan
-
Per Jessen