carson@tron.UUCP (Dana Carson) (06/16/90)
Does anybody have a program that will monitor what connections are being
made by the LAT/telnet gateway. Or a program that will log all outgoing
telent connections. We want to make sure that the gateways are in the
right buildings.
We just need the connection info similar to wtmp only
outgoing. Seems silly to have traffic to a machine in building A go to
a gateway in building B and back.
Dana Carson
Westinghouse Electronic Systems Group Mail Stop 1615
UUCP:carson@tron.UUCP
carson@tron.bwi.wec.com
...!uunet!tron!carson
AT&T: (301) 765-3513
WIN: 285-3513grr@cbmvax.commodore.com (George Robbins) (06/17/90)
In article <598@tron.UUCP> carson@tron.bwi.wec.com (Dana Carson) writes: > Does anybody have a program that will monitor what connections are being > made by the LAT/telnet gateway. Or a program that will log all outgoing > telent connections. We want to make sure that the gateways are in the > right buildings. I don't have a program, but the "lcp -p {/dev/tty..}" command does return the server and port associated with an open lat connection. You could write a little shell script that does this for each lat device which is activated from crontab periodically, then sort/sumarize the results. The same information can apparently be obtained using the LIOCTTY ioctl() call, but documentation seems sparse beyond for the corresponding data structure in the /usr/include/sys/lta.h header file. -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing: domain: grr@cbmvax.commodore.com Commodore, Engineering Department phone: 215-431-9349 (only by moonlite)