Hello all,
I have a question in networking
What does the command telnet 0 do? I know it will telnet to itself, but does it go through anything? I mean gateway and anything else? How is it
different from telnet-ing to its nodename? Also What about "telnet 127.0.0.1?" All these telnet do the same thing but are they different? and How?
Regards,
Benny Pei
On Tuesday, October 5, 1999 at 12:00:00 AM UTC-7, Legend wrote:[snip]
Hello all,
I have a question in networking
What does the command telnet 0 do? I know it will telnet to itself, but
does it go through anything? I mean gateway and anything else? How is it
different from telnet-ing to its nodename? Also What about "telnet
127.0.0.1?" All these telnet do the same thing but are they different?
and How?
Regards,
Benny Pei
Hey, I'm not Linux guru either but I remember coming by some instructions
on how to change the address for telnet 0. I believe the difference
between telnet 0 and 127.0.0.1 is that you can define 0 as anything you
want to. The instructions are below.
hambone318@googlemail.com wrote:
On Tuesday, October 5, 1999 at 12:00:00 AM UTC-7, Legend wrote:
What does the command telnet 0 do? I know it will telnet to itself,
but does it go through anything? I mean gateway and anything else?
How is it different from telnet-ing to its nodename? Also What about
"telnet 127.0.0.1?" All these telnet do the same thing but are they
different? and How?
Hey, I'm not Linux guru either
First off, you replied (today, Wednesday 23 August 2017 22:20:16) to a >question posted almost 18 years ago, on Tuesday, October 5, 1999. I
sincerely doubt that the OP cares about the answer any more.
the "hostname" part (including aliases) must begin with an alphabetic >character; 0 is not a hostname or an alias, and breaks the format and >functionality of /etc/hosts
On Unix systems, IPv4 address 0.0.0.0 is a special-case address,
On Thu, 24 Aug 2017, in the Usenet newsgroup comp.unix.admin, in article <onmsb2$qtn$1@dont-email.me>, Lew Pitcher wrote:
hambone318@googlemail.com wrote:
On Tuesday, October 5, 1999 at 12:00:00 AM UTC-7, Legend wrote:
uhuh
What does the command telnet 0 do? I know it will telnet to itself,
but does it go through anything? I mean gateway and anything else?
How is it different from telnet-ing to its nodename? Also What about
"telnet 127.0.0.1?" All these telnet do the same thing but are they
different? and How?
Hey, I'm not Linux guru either
Actually, it's a networking question, rather than *nix
First off, you replied (today, Wednesday 23 August 2017 22:20:16) to a >>question posted almost 18 years ago, on Tuesday, October 5, 1999. I >>sincerely doubt that the OP cares about the answer any more.
PICKY PICKY PICKY!
the "hostname" part (including aliases) must begin with an alphabetic >>character; 0 is not a hostname or an alias, and breaks the format and >>functionality of /etc/hosts
Welll.... we'll ignore IDN for now - technically, RFC0952 was based on
ASCII characters.
On Unix systems, IPv4 address 0.0.0.0 is a special-case address,
IPv4 address 0.0.0.0 is a special-case address - not limited to *nix
See RFC6890 section 2.2.2 (which actually refers back to RFC1122 from
1981). It means "This host on this network", and is a legal (though restricted) source address, but it's not a legal _destination_ address.
"You can't get there from here." But the same token, 127.0.0.0/8 is
also a special address (same reference). The exact behavior of a
system is dependent on what's coded in the networking software ("the
stack") of the operating system, but 0.0.0.0/8 and 127.0.0.0/8 are most
often interpreted as meaning "me". If hambone318@googlemail.com
isn't familiar with this notation, the "/8" means all addresses in the
range "x.0.0.0" to "x.255.255.255". Try telnetting to 127.127.127.127
and see what happens. (Of course few sane systems are running telnet
rather than SSH, but hey!)
Old guy
Moe Trin wrote:
Lew Pitcher wrote:
First off, you replied (today, Wednesday 23 August 2017 22:20:16) to
a question posted almost 18 years ago, on Tuesday, October 5, 1999.
I sincerely doubt that the OP cares about the answer any more.
PICKY PICKY PICKY!
Duh
the "hostname" part (including aliases) must begin with an
alphabetic character
Welll.... we'll ignore IDN for now - technically, RFC0952 was based
on ASCII characters.
No. Here, I'm referring to the actual format of the /etc/hosts file,
Yes, I know about the RFC; I doubt that hambone318 even knows how to
spell RFC.
On Fri, 25 Aug 2017, in the Usenet newsgroup comp.unix.admin, in article <onpcb6$uob$1@dont-email.me>, Lew Pitcher wrote:
Moe Trin wrote:
Lew Pitcher wrote:
First off, you replied (today, Wednesday 23 August 2017 22:20:16) to
a question posted almost 18 years ago, on Tuesday, October 5, 1999.
I sincerely doubt that the OP cares about the answer any more.
PICKY PICKY PICKY!
Duh
It happens when the poster is using google rather than a regular news
server. ;-} None the less, I was tempted to point the poster to the
Linux Documentation Project - specifically the Networking-Overview-HOWTO
and the NET3-4-HOWTO from that era. Hitting a search engine looking for those two strings may help. (Hmmm... sunsite is gone, and ibiblio.org
is refusing a connection - well, tldp.org is still ok.)
The Linux Networking Overview HOWTO
Updated: Jul 2000. Overview of the networking capabilities of the
Linux Operating System; provides pointers for further information
and implementation details.
Linux Networking HOWTO
Updated: Aug 1999. Aims to describe how to install and configure
the Linux networking software and associated tools.
the "hostname" part (including aliases) must begin with an
alphabetic character
as it says in the hosts(5) manual page - hambone318 should try the
command 'man 5 hosts'
Welll.... we'll ignore IDN for now - technically, RFC0952 was based
on ASCII characters.
No. Here, I'm referring to the actual format of the /etc/hosts file,
I've noticed that there isn't much material on i18n relating to host
names and domains. You and I were used to top-level domains being
limited to a half-dozen generics (.com, .edu, .gov, .org, and so-on)
and ISO-3166 country codes. IANA in their "wisdom" has dramatically increased the name-space, as seen in http://www.iana.org/domains/root/db which now lists
[juno ~]$ sed -n '/.aaa /,/Zimbabwe/p' < db | awk '{ print $2 }' |
sort | uniq -c | column
311 country-code 1 infrastructure
1232 generic 15 sponsored
3 generic-restricted 11 test
[juno ~]$
a few more than that. If you look near the end of that web-page, there
are over 150 top-level-domains that don't render in ASCII, much less
follow the hosts(5) man-page. i18n hostnames _usually_ use character
sets other than ASCII - see RFC3290 and RFC4290.
I also know that Linux
does support non-ASCII hostnames (which wouldn't follow hosts(5)).
Yes, I know about the RFC; I doubt that hambone318 even knows how to
spell RFC.
He appears to have found a search-engine/data-miner, which is a start
Old guy
Moe Trin wrote:
i18n hostnames _usually_ use character sets other than ASCII - see
RFC3290 and RFC4290.
ITYM RFC3492 (not RFC3290).
RFC3492 references PunyCode, which is a standardized algorithm to encode
UTF8 "international" strings in 7-bit ASCII, and decode them again.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 236:54:51 |
Calls: | 6,624 |
Files: | 12,172 |
Messages: | 5,319,839 |