From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_FONT_LOW_CONTRAST, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13411 invoked from network); 11 Mar 2021 18:28:20 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 11 Mar 2021 18:28:20 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 071489BAA4; Fri, 12 Mar 2021 04:28:20 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 87E9C9507E; Fri, 12 Mar 2021 04:28:03 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="j/N+IXQs"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id AE0EB9507E; Fri, 12 Mar 2021 04:28:01 +1000 (AEST) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) by minnie.tuhs.org (Postfix) with ESMTPS id E943B95074; Fri, 12 Mar 2021 04:28:00 +1000 (AEST) Received: by mail-ej1-f47.google.com with SMTP id lr13so48313147ejb.8; Thu, 11 Mar 2021 10:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NQsiGmwFKpgd1H03qmUFgU7MUC8AfI08mxM4vV6XggQ=; b=j/N+IXQs8fXKZuc1gPHINAGwG46KfM+mXPDWhpWyX19mF2vLhFljOMh/ihoWMO7M5B AX48AxIZYkxLlv2QpvFDuYrT4IcsmMLcNBwiCJZ41uX6pbIoJQXeWE5In8yu/b5ZoGev OH1xMHemubhNy2XRSY7aO3PHKlE+UadgWK+aLmMNPpdrviKPTFijp6SSJuC03gIlAzjW gO3Pd7Xvk3BzQPvc5SRGPKU2GbwHjmTR8ItfCJJ4KWQmYE3d/8iX31qDDZF+HqPyK2li jGQLm6TYgYXxVmxKKvE40x5Cgoh8QKGGkIh8ESlZTzb8Ku10Tida/yjRr84m+52NZ4XT UKbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NQsiGmwFKpgd1H03qmUFgU7MUC8AfI08mxM4vV6XggQ=; b=HzH/KXd/dl1v5tfn9VTCC7+vGAfg3RXR/76iUE+InqiJUxfrRUs987lhk8eQoj9RZu 1fIAHHJ7gAn14aSyrtmkRopU8iIh5+hawJyDYtUA8WPGqbOg11vCuaOhYf3zCORAgncd 6xDbiJvgvYj0XYmcB44lldk7M05eDGBDvXo3g95XhpwBkBau1aQETfDCLenzRh67vaKf 9xzn7/zj9ABwHLG2NVH5628Wj0UZd0YA92bf2V+uCuMsfUDaLRCwikOUGZdB1S1Eu62L jWwzWkVjP86kwidBtmirIzbxq0M2+QT98efQEfBSrC//0I5FzehPzx1v9cYCciTYFgWV 0LCw== X-Gm-Message-State: AOAM532tte3GFh/0Z7q006R+x20bqHxIKs8Qc5CFLsEUktIFwVjwVevL Muc8Wm56ki7LYYPngxn58ZiEjetq1pOFmx1xYOOaHhdrBXL61g== X-Google-Smtp-Source: ABdhPJyB8zmIJIiut4qpJ+DTTWkAHoi2agXFLulJG2Wx/5XMC3hK2YU8369o3jPc8YSH4wM8dp18eLGPMG3lKS/rHPE= X-Received: by 2002:a17:906:1f42:: with SMTP id d2mr4375707ejk.297.1615487279543; Thu, 11 Mar 2021 10:27:59 -0800 (PST) MIME-Version: 1.0 References: <02d10a8e-2f39-4f88-f4c9-ecb295e0f01e@spamtrap.tnetconsulting.net> <120EC052-FB1F-438F-985F-64E9CD82A9C1@iitbombay.org> In-Reply-To: From: Henry Bent Date: Thu, 11 Mar 2021 13:27:48 -0500 Message-ID: To: Clem Cole Content-Type: multipart/alternative; boundary="0000000000006fb73a05bd46f1da" Subject: Re: [TUHS] [COFF] Pondering the hosts file X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Unix Heritage Society , Bakul Shah , COFF , Grant Taylor , Internet History Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" --0000000000006fb73a05bd46f1da Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 11 Mar 2021 at 13:14, Clem Cole wrote: > The SRI file was different format. There was a tool that fetched and > converted from the PDP-10 scheme to the UNIX scheme - gethtable(8) or > something like that. > =E1=90=A7 > =E1=90=A7 > gettable(8) and htable(8): GETTABLE(8C) GETTABLE(8C) NAME gettable - get NIC format host tables from a host SYNOPSIS /etc/gettable host DESCRIPTION Gettable is a simple program used to obtain the NIC standard host tables from a ``nicname'' server. The indicated host is queried for the tables. The tables, if retrieved, are placed in the file hosts.txt. Gettable operates by opening a TCP connection to the port indicated in the service specification for ``nicname''. A request is then made for ``ALL'' names and the resultant information is placed in the output file. Gettable is best used in conjunction with the htable(8) program which converts the NIC standard file format to that used by the network library lookup routines. SEE ALSO intro(3N), htable(8) BUGS Should allow requests for only part of the database. 4th Berkeley Distribution 4 March 1983 GETTABLE(8C) HTABLE(8) System Manager's Manual HTABLE(8) NAME htable - convert NIC standard format host tables SYNOPSIS /etc/htable file DESCRIPTION Htable is used to convert host files in the format specified in Inter- net RFC 810 to the format used by the network library routines. Three files are created as a result of running htable: hosts, networks, and gateways. The hosts file is used by the gethostent(3N) routines in mapping host names to addresses. The networks file is used by the get- netent(3N) routines in mapping network names to numbers. The gateways file is used by the routing daemon in identifying ``passive'' Internet gateways; see routed(8C) for an explanation. If any of the files localhosts, localnetworks, or localgateways are present in the current directory, the file's contents is prepended to the output file without interpretation. This allows sites to maintain local aliases and entries which are not normally present in the master database. Htable is best used in conjunction with the gettable(8C) program which retrieves the NIC database from a host. SEE ALSO intro(3N), gettable(8C) BUGS Does not properly calculate the gateways file. 4th Berkeley Distribution 4 March 1983 HTABLE(8) -Henry --0000000000006fb73a05bd46f1da Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Thu, 11 Mar 2021 at 13:14, Clem Co= le <clemc@ccc.com> wrote:
The SRI file was different= format.=C2=A0 =C2=A0There was a tool that fetched and converted from the P= DP-10 scheme to the UNIX scheme - gethtable(8) or something like that.
3D""=E1=90=A7
3D""=E1=90=A7

gettable(8) and htable(8):

=
GETTABLE(8C) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 GETTABLE(8C)

NAME
=C2=A0 =C2=A0 =C2=A0 = =C2=A0gettable - get NIC format host tables from a host

SYNOPSIS
= =C2=A0 =C2=A0 =C2=A0 =C2=A0/etc/gettable host

DESCRIPTION
=C2=A0 = =C2=A0 =C2=A0 =C2=A0Gettable is a simple program used to obtain the NIC sta= ndard host tables from a ``nicname'' server.=C2=A0 The indicated ho= st is queried for the tables.
=C2=A0 =C2=A0 =C2=A0 =C2=A0The tables, if = retrieved, are placed in the file hosts.txt.

=C2=A0 =C2=A0 =C2=A0 = =C2=A0Gettable operates by opening a TCP connection to the port indicated i= n the service specification for ``nicname''.=C2=A0 A =C2=A0request = =C2=A0is =C2=A0then =C2=A0made =C2=A0for
=C2=A0 =C2=A0 =C2=A0 =C2=A0``AL= L'' names and the resultant information is placed in the output fil= e.

=C2=A0 =C2=A0 =C2=A0 =C2=A0Gettable =C2=A0is =C2=A0best =C2=A0use= d in conjunction with the htable(8) program which converts the NIC standard= file format to that used by the network library
=C2=A0 =C2=A0 =C2=A0 = =C2=A0lookup routines.

SEE ALSO
=C2=A0 =C2=A0 =C2=A0 =C2=A0intro(= 3N), htable(8)

BUGS
=C2=A0 =C2=A0 =C2=A0 =C2=A0Should allow reque= sts for only part of the database.

4th Berkeley Distribution =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A04 March 1983 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0GE= TTABLE(8C)


HTABLE(8) =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 System Manager's M= anual =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0HTABLE(= 8)



NAME
=C2=A0 =C2=A0 =C2=A0 =C2=A0htable - convert NIC s= tandard format host tables

SYNOPSIS
=C2=A0 =C2=A0 =C2=A0 =C2=A0/e= tc/htable file

DESCRIPTION
=C2=A0 =C2=A0 =C2=A0 =C2=A0Htable =C2= =A0is used to convert host files in the format specified in Inter-
=C2= =A0 =C2=A0 =C2=A0 =C2=A0net RFC 810 to the format used by the network libra= ry routines. =C2=A0 Three
=C2=A0 =C2=A0 =C2=A0 =C2=A0files =C2=A0are =C2= =A0created as a result of running htable: hosts, networks, and
=C2=A0 = =C2=A0 =C2=A0 =C2=A0gateways.=C2=A0 The hosts file is used by =C2=A0the =C2= =A0gethostent(3N) =C2=A0routines =C2=A0in
=C2=A0 =C2=A0 =C2=A0 =C2=A0map= ping host names to addresses.=C2=A0 The networks file is used by the get-=C2=A0 =C2=A0 =C2=A0 =C2=A0netent(3N) routines in mapping network names t= o numbers.=C2=A0 The =C2=A0gateways
=C2=A0 =C2=A0 =C2=A0 =C2=A0file =C2= =A0is used by the routing daemon in identifying ``passive'' Interne= t
=C2=A0 =C2=A0 =C2=A0 =C2=A0gateways; see routed(8C) for an explanation= .

=C2=A0 =C2=A0 =C2=A0 =C2=A0If any of the files localhosts, =C2=A0l= ocalnetworks, =C2=A0or =C2=A0localgateways =C2=A0are
=C2=A0 =C2=A0 =C2= =A0 =C2=A0present =C2=A0in =C2=A0the current directory, the file's cont= ents is prepended to
=C2=A0 =C2=A0 =C2=A0 =C2=A0the output file without = interpretation.=C2=A0 This allows sites to =C2=A0maintain
=C2=A0 =C2=A0 = =C2=A0 =C2=A0local =C2=A0aliases and entries which are not normally present= in the master
=C2=A0 =C2=A0 =C2=A0 =C2=A0database.

=C2=A0 =C2=A0= =C2=A0 =C2=A0Htable is best used in conjunction with the gettable(8C) prog= ram =C2=A0which
=C2=A0 =C2=A0 =C2=A0 =C2=A0retrieves the NIC database fr= om a host.

SEE ALSO
=C2=A0 =C2=A0 =C2=A0 =C2=A0intro(3N), gettabl= e(8C)

BUGS
=C2=A0 =C2=A0 =C2=A0 =C2=A0Does not properly calculate= the gateways file.



4th Berkeley Distribution =C2=A0 =C2=A0 = =C2=A0 =C2=A04 March 1983 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0HTABLE(8)

-Henry=

--0000000000006fb73a05bd46f1da--