Xref: utzoo comp.unix.questions:11711 news.admin:4835 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!eecae!netnews.upenn.edu!rutgers!att!mtune!rkh From: rkh@mtune.ATT.COM (Robert Halloran) Newsgroups: comp.unix.questions,news.admin Subject: Re: uucp via IP ? Message-ID: <7923@mtune.ATT.COM> Date: 15 Feb 89 14:10:20 GMT References: <522@cvman.UUCP> <13136@steinmetz.ge.com> Reply-To: rkh@mtune.UUCP (Robert Halloran) Distribution: na Organization: AT&T ISL Middletown NJ USA Lines: 31 In article <13136@steinmetz.ge.com> davidsen@crdos1.UUCP (bill davidsen) writes: >In article <522@cvman.UUCP> gdelong@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@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 =========================================================================