uucp via IP ?

Robert Halloran rkh at mtune.ATT.COM
Thu Feb 16 00:10:20 AEST 1989


In article <13136 at steinmetz.ge.com> davidsen at crdos1.UUCP (bill davidsen) writes:
>In article <522 at cvman.UUCP> gdelong at cvman.UUCP (Gary Delong) writes:
>| How does one establish a uucp connection via an existing network
>| connection such as TCP/IP where rlogin is available.
>
>  This is not really an answer, but information on how one solution
>works. Excelan provides a device (T16) which has the following
>characteristic... when you open it the first line sent to it is used as
>a system name and a telnet circuit established. Your script would start
>with something like:
>	"" machine gin:--gin uucpname ord: password

More to it than that; there is a daemon routine, /net/ud, which hangs on that
pty (last logical port).  It catches the machine name passed at the start and
establishes the connection to the other end's rlogind.

If you own both sides of the connection, you could write a simple daemon routine
of your own and bypass the login service altogether.  The daemon opens a socket
for listen at a 'well-known' port number and waits for a connection request.  
On the accept(), it forks; the parent closes its connection and loops back for the
next request, the child dup's the socket onto stdin/out/err then exec's uucico.

						Bob Halloran
						Distributed Programming Tools Group
=========================================================================
UUCP: {att, rutgers}!mtune!rkh			DDD: (201)957-6034
Internet:   rkh at mtune.ATT.COM			       
USPS: AT&T Bell Labs, 200 Laurel Ave Rm 3G-314 Middletown NJ 07748
Quote: If Basic is for backward children, and Pascal for naughty
  schoolboys, then C is the language for consenting adults - Brian Kernighan
=========================================================================



More information about the Comp.unix.questions mailing list