Path: utzoo!attcan!uunet!husc6!rutgers!ucsd!ucbvax!M5.SDSC.EDU!gkn From: gkn@M5.SDSC.EDU (Gerard K. Newman) Newsgroups: comp.protocols.tcp-ip Subject: Re: TCP/IP and VMS Message-ID: <880723194329.25000102@M5.Sdsc.Edu> Date: 23 Jul 88 19:43:29 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 38 From: TENCATI@gpvax.JPL.NASA.GOV Subject: TCP/IP and VMS Date: Fri, 22 Jul 88 09:51:06 PDT Is there a product, or a way under VMS to get the source address of a TCP/IP connection entered into the accounting files? Ron: What I did here was to run a program in SYS$SYLOGIN which pops into kernel mode and plugs CTL$T_NODEADDR with the remote IP address of the connection. Handily, CTL$T_NODEADDR is a counted string (believe it or not), and can accomodate a 4 byte IP address instead of the usual 3 byte DECnet address. While I'm in kernel mode I also create the job-wide logical names SYS$REM_NODE and SYS$REM_ID. A small patch to ACC.EXE allows it to display IP addresses in hex (but it has the side effect of displaying DECnet addresses the same way). I run the SRI Multinet software here. I notice from your message header that you have the Excelan software; I can send you the code I use, but you'll have to change it somewhat to do whatever magic is necessary to fetch the IP address from an inbound terminal connection, as it is doubtless stored in a different place. Regards, gkn ---------------------------------------- Internet: GKN@SDS.SDSC.EDU Bitnet: GKN@SDSC Span: SDSC::GKN (27.1) MFEnet: GKN@SDS USPS: Gerard K. Newman San Diego Supercomputer Center P.O. Box 85608 San Diego, CA 92138-5608 Phone: 619.534.5076