[comp.sys.sun] NNSTAT problems under SUNOS 4.0

gerald@uunet.uu.net (11/29/88)

I tried executing the following on a 3/260 running SUNOS 4.0:

	statspy parm.simple

I got the message "nit socket: Protocol not supported".

The NNSTAT I have is from the os-cisu archives.  Is it supposed to run
under SUNOS 4.0 or is there something I'm missing.  I would greatly
appreciate any help I can get.

Thanks in advance,
Gerald Aden

Quotron Systems Inc.	          | Phone: (213)302-4254
5454 Beethoven Street	          | uucp: uunet!janus!ge1cbx!gerald
Post Office Box 66914	          |       trwrb!scgvaxd!janus!ge1cbx!gerald
Los Angeles, CA 90066 Dept. 36240 |

guy@uunet.uu.net (Guy Harris) (12/12/88)

>The NNSTAT I have is from the os-cisu archives.  Is it supposed to run
>under SUNOS 4.0

No.

The NIT mechanism was redone in 4.0; it's implemented under streams (the
rest of the networking code is still implemented under a 4BSD framework -
4.3BSD in the case of 4.0).  Code that uses it will also have to be
redone, although you do now get to use a "packet filter" that's similar to
the Stanford packet filter (if you're not interested in seeing every
packet, and your criterion can be expressed in the packet filter's
language, you can have uninteresting packets filtered out at a low level,
so your program doesn't have to wake up and read them).

See NIT(4P), NIT_IF(4M), NIT_BUF(4M), and NIT_PF(4M). 

sridhar@hplabs.hp.com (Sridhar Acharya) (12/15/88)

I don't think that the "NNSTAT" program will work directly under 4.0 since
the "nit socket" to the Ethernet interface got changed substancially in
4.0.  A streams interface has been used in 4.0 instead. I am not sure that
a port for 4.0 is available yet from the original contributor
(venera.isi.edu).

I am also interested in the 4.0 port. If anybody has knowledge of the port
I would appreciate it.

-Sridhar Acharya
sun!sytek!syteka!sridhar	or hplabs!sytek!syteka!sridhar