From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,edbc058945235318,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,edbc058945235318,start X-Google-Attributes: gidfee84,public From: dev_dp@mfa.com (Dave Plonka) Subject: Q: dedicated pty for telnet session Date: 1995/05/30 Message-ID: <3qfcva$q42@homer.alpha.net>#1/1 X-Deja-AN: 103490848 organization: McHugh Freeman newsgroups: comp.unix.osf.osf1,comp.unix.programmer I have the requirement to be able to determine the physical location (within a facility) of a user that has telnetted in to a Unix, specifically DEC OSF/1, host from a terminal server. Basically we need to know what port their using on the terminal server. (Note that this is not simply the "random" pty that the tty command or ttyname function report.) Another reason you might want such a facility is to access a serial device that is connected to a terminal server, as if it where physically connected to a serial port on the machine. I've seen these referred to as an "ocd" (Outbound Connection Daemon) or "rtelnet" (for Reverse TELNET.) Is there anything that's somewhat to portable that provides this kind of functionality, any 3rd part vendor products? DEC OSF/1 solution: ??? ------------------ Is LAT a possibility here? HP-UX solution: -------------- Using HP's DDFA software, and a terminal server, you start and "ocd" (Outbound Connection Daemon) that negotiates the connection from the Unix host to a specified port on a terminal server. We have done this with HP's own DTC terminal servers and Xyplex terminal servers. DESCRIPTION The Outbound Connection Daemon (ocd) is part of the HP Data Communications and Terminal Controller (DTC) Device File Access (DDFA) software. It manages the connection and data transfer to the remote DTC port. Solaris solution: ---------------- Using Sun's rtelnet daemon for their Annex terminal servers, you can, likewise, associate a pty with a given physical port on the terminal server. DESCRIPTION Rtelnet is a modified version of the Berkeley telnetd program. It will create a pseudo-tty (pty) device on the host that is connected via TELNET or raw TCP to an Annex serial port. This allows UNIX programs such as tip(1C) and uucp(1C) to access serial devices attached to Annex ports. Rtelnet works like a telnet daemon program (telnetd) except in a reverse fashion; instead of accepting connections from other network machines, rtelnet makes connections to Annexes. Rtelnet creates a new file-like device (usually in /dev) that programs can open and use like a normal /dev/tty terminal. Please email any info. Thanks! Dave -- ------------------------------------------------------///-------------------- Dave Plonka ARS:N9HZF Amiga - 68040 - /// 486DLC-33 running mailto:plonka@mfa.com "Motorollin'!" \\\/// Linux - Lead Systems Programmer, McHugh Freeman ------- \\X/- Waukesha, Wisconsin -