ftp.nice.ch/pub/next/unix/network/system/netcons.2.0.README

This is the README for netcons.2.0.NIHS.tar.gz [Download] [Browse] [Up]

TjL
Timothy J. Luoma
luomat@nerc.com
15 August 1996

netcons v 2.0

This is the second version of 'netcons' a script I wrote to give simple listings of current
Internet connections. 

The first version was released only to the PPP under NeXTStep listserv earlier this week.  The
only change in this version is that I have tested it for 5 days, found it to work quite well,
and added a check for NNTP connections. 

'netcons' basically does 1 of 3 things:
	1) gives you the IP address of the machine you are on (netcons -I)
	2) gives you a 'yes' if there are connections and 'no' if
		there are not (netcons)
	3) gives you a brief summary (in human readable format) of current local
		and remote internet connections.

All of this work is done by parsing the feedback from the command 'netstat'.

These are currently the only types of connections which 'netcons' is smart enough
to recognize (both incoming and outgoing):
	POP3
	ftp
	login (which is actually 'rlogin' or 'login -r')
	nntp
	telnet

If anyone wants to send me the output of 'netstat' when they are performing some other
operation (uucp, fax?  I dunno, this is all I do, so this is all it does so far).

Eventually I'll use this in my 'pppdown', to check and make sure there are no active
connections before brining down PPP. 

I imagine that this will be most useful to people using dynamic PPP, but it may also be useful
to those who want an easy way to monitor internet activity.

PLANNED:
	As soon as I figure out how, I want to add checks for Web activity (ie are you loading
a page right now, etc) but I don't know exactly how to do that yet.

	Send me comments/suggestions/whatever

TjL

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.