The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: reed@reedmedia.net
To: tuhs@minnie.tuhs.org
Subject: [TUHS] looking for HOSTS.TXT parsers and how is /dev/net/HOSTNAME enabled?
Date: Thu, 18 Apr 2019 20:54:11 -0500 (CDT)	[thread overview]
Message-ID: <alpine.NEB.2.21.1904181949240.2488@t1.m.reedmedia.net> (raw)

This email is two parts. I am researching 1970's symbolic name to 
network address mapping routines.

1) I am looking for parsers for ancient (pre mid 1982) HOSTS.TXT. Since 
this is Unix list, for Unix is fine :)

RFC 597 (12 December 1973) says a hostname list will be maintained at 
the NIC with the location to be announced. (Interestingly NIC as in 
FEINLER@NIC is probably a nickname as it is not listed in the host 
status list. I am guessing it is a nickname for SRI-ARC or OFFICE-1.)

RFC 606 (December 1973) says there are different hosts lists, but "now"
there is "the official list of host names". It proposed that it should 
be maintained online in machine-readable form. It proposes a format and 
suggested attributes.

RFC 607 (January 10, 1974) the NIC agrees that NIC maintain a text file 
of hostnames, addresses, and attributes. (It has also been suggested 
separately.) The source is maintained in NLS format with multiple 
attributes. (What is this NLS format?) A program could be written to 
generate a weekly ASCII file. They will write the program and the 
generated file will be at OFFICE-1 (IMP #43?) with pathname of 
<NETINFO>HOSTS.TXT  (It's not Unix. It's TENEX I think. The ">" is the 
directory delimiter, but what is "<"?)

I have found a few copies of a hostname table, like 
https://emaillab.jp/pub/hosts/1974/host_names_1974.pdf and 
https://www.bortzmeyer.org/files/hosts.txt-1982-1.pdf But these don't 
appear to be the machine parseable files as defined in the RFC 608 
format. These are just printed formats. (I have also found many of the 
host status reports.)

Well I cannot find a copy of the HOSTS.TXT file anywhere. I am not 
looking for the RFC 810 (1 March 1982) or later format (which is easily 
found).
http://pdp-10.trailing-edge.com/SRI_NIC_PERM_SRC_3_19910112/01/utility/ps-perm.870103.htm 
may have copies of it (old format is OHOSTS.TXT). But I cannot figure 
out if or where there are individual file downloads there. Any ideas?)

That leads me to my question ... does anyone know where parser code for 
the HOSTS.TXT file is at?

2) I skimmed through some C code (for Unix) for sendmsg, mmdf, srvrftp, 
mailer.c, telnet.c that use /dev/net/ followed by up to 14-character 
hostname. I am trying to find the kernel code or routines that enable 
device driver named with a hostname. Any ideas? (In particular I'd like 
to know how those names map to a remote host's address.)

I am researching 1970's symbolic name to network address mapping 
routines, but the only ones I have found are primitive: Purdue's "modest 
UNIX network" using mx and Berkeley's Berknet (single letter hostnames). 
But both use simple compiled-in name-to-address tables. (The Purdue 
implementation looks interesting as it has some design to connect 
between IMPs too, but I don't see any code for finding IMP numbers via 
names. By the way, their "csh" tool was their "connected shell" to run a 
shell on a remote host. The manual had the list of hostnames in it. See 
the Purdue usenix tape.)

Thanks,

  Jeremy C. Reed

echo 'EhZ[h ^jjf0%%h[[Zc[Z_W$d[j%Xeeai%ZW[ced#]dk#f[d]k_d%' | \
  tr            '#-~'            '\-.-{'


             reply	other threads:[~2019-04-19  2:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-19  1:54 reed [this message]
2019-04-19  2:38 ` Warner Losh
2019-04-19  4:03 ` Lars Brinkhoff
2019-04-19 11:57   ` ron
2019-04-19 18:43 ` Clem Cole
2019-04-19 18:54   ` Clem Cole
2019-04-19 21:52   ` reed
2019-04-19 22:50     ` Clem Cole

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.NEB.2.21.1904181949240.2488@t1.m.reedmedia.net \
    --to=reed@reedmedia.net \
    --cc=tuhs@minnie.tuhs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).