Poul-Henning Kamp
8d612dd2fc
Try to make netstat more smart about port numbers.
...
Feedback most welcome.
1996-08-23 19:05:34 +00:00
Julian Elischer
e56dd1bb4f
Submitted by: archie@whistle.com
...
slight cleanups on yesterday's patches
1996-07-23 22:00:14 +00:00
Julian Elischer
3a67d2bc37
Submitted by: archie@whistle.com
...
appletalk cleanups
1996-07-23 01:18:47 +00:00
Julian Elischer
93e0e11657
Adding changes to ipfw and the kernel to support ip packet diversion..
...
This stuff should not be too destructive if the IPDIVERT is not compiled in..
be aware that this changes the size of the ip_fw struct
so ipfw needs to be recompiled to use it.. more changes coming to clean this up.
1996-07-10 19:44:30 +00:00
Julian Elischer
6ffcfd6c9e
appletalk cleanups
...
e.g.
Active ATALK connections
Proto Recv-Q Send-Q Local Address Foreign Address (state)
ddp 0 0 [69.230]130 [*.*]*
ddp 0 0 [69.230]128 [*.*]*
ddp 0 0 [69.230]1 [*.*]*
etc..
1996-07-09 02:55:47 +00:00
Peter Wemm
1336da0dea
make netstat distinguish broadcast and blackhole routes where they appear.
...
(RTF_BLACKHOLE was already documented as being shown, but the code ignored
it)
Sumbitted by: Greg Lehey <grog@lemis.de>
1996-06-15 17:08:40 +00:00
Julian Elischer
cae2a25e65
better appletalk support.
1996-06-10 21:03:38 +00:00
Julian Elischer
ce1355d54c
I guess the docs should mention the new protocol at least once.
1996-06-08 00:54:18 +00:00
Julian Elischer
63bf4575db
patches to allow netstat to monitor appletalk sockets openned using the
...
/sys/netatalk protocol stack
more cleanups and fixes are likely
1996-06-08 00:20:42 +00:00
Garrett Wollman
759b7d75fb
Print PCB hash miss statistic.
1996-06-05 17:24:33 +00:00
Alexander Langer
7d56c0ee6b
Code cleanup: remove unused variables, use correct *printf format
...
specifiers (some unsigned values were printed as signed, some longs
were printed as ints), and place parentheses around assignments in
if statements.
1996-06-02 23:19:12 +00:00
John Hay
33b6236de7
Document that ipx is a valid protocol for the -f option.
...
Comment out ns and iso. They are not supported anymore.
1996-04-13 21:23:57 +00:00
David Greenman
d8d891521e
Move #include of queue.h before #include of socketvar.h in preparation for
...
struct socket changes.
1996-03-11 13:01:12 +00:00
David Greenman
0b87c9157d
Make the -w option actually useful to people. Instead of it creating a
...
messy 130 column collage, output the system totals -or- info for a
specific interface if -I is given. Also wait for <interval> before
outputting the first sample so that it represents meaningful data (as
opposed to the total since the system was booted - most busy systems
wrap around many times during their operation, so these numbers are
only misleading).
1996-02-29 07:44:37 +00:00
Guido van Rooij
1347f5b8e5
Add a counter for the number of times the listen queue was overflowed to
...
the tcpstat structure. (netstat -s)
Reviewed by: wollman
Obtained from: Steves, TCP/IP Ill. vol.3, page 189
1996-02-26 21:47:13 +00:00
Garrett Wollman
37b197b9ec
For some reason, the changes to make route.c compile didn't make it over.
...
Fixed.
Pointed-out-by: joerg
1996-02-16 15:42:14 +00:00
Garrett Wollman
cbc17e711e
XNS sort-of-support is no more.
1996-02-13 17:30:37 +00:00
Garrett Wollman
0761cb293e
Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
...
in preparation for its removal from the kernel source tree. NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
1996-02-06 20:36:15 +00:00
Mike Pritchard
270d3d754a
Fix a variety of minor typos and cross references in a bunch of
...
man pages.
Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
Giles Lean <giles@nemeton.com.au>
<soda@sra.co.jp>
1996-01-20 07:29:11 +00:00
Peter Wemm
9c437f50ee
tidy up the domain name trimming code, and move it to a single place
...
rather than having the same bit of code duplicated in three places,
each with their own static copy of the host's local name.
1996-01-15 02:18:35 +00:00
Peter Wemm
cc63cd5663
A couple of changes of mine that I've been using for a while:
...
route.c: look up the netname as-is first before the shifted name. this
makes a big speed difference, as the lookups are generally local
DNS. The shifted names can be very wrong (there is still guessing
and fudging involved) and usually go remote, taking a long time
to fail. If you have the RFC reccomended netnames in your reverse
lookups, this is even faster still.
main.c: dont do a sethostent(1) - this is causing the resolver to use a
VC (tcp) connection to the resolver, which has more overheads and
is slower than the default UDP case. This once made sense when
everything was based on text host tables.
1996-01-14 23:42:19 +00:00
Peter Wemm
05ddff6e30
Merge in Lite-2 changes.
1996-01-14 23:33:13 +00:00
Andrey A. Chernov
1ef69972ad
Change .8s port name restriction to .15s, modern tcp port
...
have longer names, check /etc/services.
kerberos_master triggers this bug: it is undistiguishable from
simple kerberos for .8s
1995-12-23 18:19:01 +00:00
Julian Elischer
140dbd4767
Submitted by: John Hay
...
more IPX related fixes
1995-12-05 07:29:15 +00:00
Stefan Eßer
09a67ffa0e
Increase width of Network column from 11 to 13 for the AF_INET case.
...
This seems to have been missed, when the recent IPX changes went in ...
1995-11-22 22:21:04 +00:00
Peter Wemm
f3117d66d3
Fix the bug that caused the AF_UNIX domain sockets to not be shown..
...
(it was nlist()ing a wrong symbol name). Only problem is that I'd grown
quite partial to the inet-only version.. :-)
1995-11-15 14:56:34 +00:00
Julian Elischer
661e19c924
Submitted by: Mike Mitchell
...
oops.
forgot this file then went to bed..
sorry
1995-10-27 20:18:22 +00:00
Adam David
513822dddc
- #if defined(TF_NEEDSYN) && defined(TF_NEEDSYN)
...
+ #if defined(TF_NEEDSYN) && defined(TF_NEEDFIN)
1995-10-27 12:32:07 +00:00
Julian Elischer
09fa32d305
Submitted by: john hay
...
patches to merge the two IPX packages to work with each other and to
not break make-world :)
IPXrouted should be working now, (or at least compiling) :)
1995-10-27 10:48:31 +00:00
Julian Elischer
cc6a66f20e
Reviewed by: julian and jhay@mikom.csir.co.za
...
Submitted by: Mike Mitchell, supervisor@alb.asctmd.com
This is a bulk mport of Mike's IPX/SPX protocol stacks and all the
related gunf that goes with it..
it is not guaranteed to work 100% correctly at this time
but as we had several people trying to work on it
I figured it would be better to get it checked in so
they could all get teh same thing to work on..
Mikes been using it for a year or so
but on 2.0
more changes and stuff will be merged in from other developers now that this is in.
Mike Mitchell, Network Engineer
AMTECH Systems Corporation, Technology and Manufacturing
8600 Jefferson Street, Albuquerque, New Mexico 87113 (505) 856-8000
supervisor@alb.asctmd.com
1995-10-26 20:31:59 +00:00
Garrett Wollman
231bfb095d
In TCP statistics, display new statistic about how many resends were
...
initiated as a result of the Path MTU discovery process.
1995-10-13 20:01:48 +00:00
David Greenman
1b72e71cc2
Fixed netstat to not bogusly mangle the argv[] command args by rewriting
...
the way it stores and handles "interface". The previous behavior resulted
in strange output from 'w' and 'ps' when an interface specification was
given to netstat.
1995-09-23 15:04:28 +00:00
David Greenman
3aa80b1d81
Output statistics as unsigned in the -w section.
...
Look at error return of kread() and stop on error.
Fix warning in kread() to not output "kvm_read:" twice.
Killed PCB cache misses stat as we no longer have it.
1995-07-29 22:34:15 +00:00
David Greenman
89d7f49a31
Add "connections dropped by persist timeout" statistic.
1995-07-29 18:49:16 +00:00
Bruce Evans
7e4a866916
Instantiate our own variables instead of depending on bogus common
...
declarations in system headers that will be fixed soon.
1995-07-12 19:21:36 +00:00
Garrett Wollman
7b4315a73a
Correct spelling mistake: upcated -> updated.
1995-06-19 16:55:16 +00:00
Garrett Wollman
861b18288b
Print out the statistics for cache updates of rtt, rttvar, and ssthresh.
1995-06-19 16:46:21 +00:00
Garrett Wollman
ef105c25f6
Re-write `netstat -g' code to match the 3.5 data structures.
1995-06-13 19:18:40 +00:00
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
David Greenman
a9d6f1a78d
That's what I get for doing things in a hurry...applied up-to-date patch
...
to this file rather than old one (before I renamed the structure element).
1995-04-09 15:12:21 +00:00
David Greenman
fe9cff485b
Oops, remove some chaff from previous commit.
1995-04-09 05:34:54 +00:00
David Greenman
7452c2a5ef
Updated netstat to grok 4.4 QUEUE macros now being used to like the PCBs
...
together.
1995-04-09 05:33:17 +00:00
Jordan K. Hubbard
d31b19afb1
The negative expire times shown by netstat are confusing and ugly.
...
Destination Gateway Flags Refs Use Netif Expire
199.182.75.128 link#1 UC 0 0 ed0 -842660
Submitted by: John Capo <jc@irbs.com>
1995-04-06 06:09:44 +00:00
David Greenman
c585f97c65
Changed "mapped pages in use" to "mbuf clusters in use".
1995-02-23 19:08:11 +00:00
Garrett Wollman
9a94a59774
Make netstat report the correct state for T/TCP.
...
Submitted by: Andras Olah <olah@cs.utwente.nl>
1995-02-14 03:09:51 +00:00
Garrett Wollman
51e7d42c56
Don't print protocol-cloned routes by default (enabled by -a flag).
...
Print non-zero expiration timers.
Use err(3) for error reporting.
1995-01-23 20:19:16 +00:00
Garrett Wollman
c70b84bd3c
Document new route flags.
1994-12-14 18:55:01 +00:00
Garrett Wollman
a7c7761f65
Make it possible to correctly print out new route flags, and do so.
1994-12-13 22:34:34 +00:00
David Greenman
e1e293a5dc
Added '-b' option to display the number of in and out bytes on a given
...
interface (used with -i and -I flag).
1994-10-12 02:37:35 +00:00
Garrett Wollman
7b46dd001d
Document router advertisement and solicitation messages in ICMP input
...
histogram.
1994-10-02 18:45:32 +00:00
Garrett Wollman
19bd7f946a
Tell netstat about the new multicast forwarding statistics. For the moment,
...
don't try to do any multicast forwarding cache printouts; it's not clear
that netstat can do anything particularly useful or meaningful.
1994-09-08 00:07:12 +00:00
David Greenman
541f256275
Changed output formatting to 0 pad hex bytes if necessary. This makes
...
the output consistent with traditional representations of ethernet
addresses. I still don't like the spacing in netstat -i, however.
1994-08-05 12:38:06 +00:00
David Greenman
b3bfc7199e
Converted 'vmunix' to 'kernel'.
1994-08-05 09:14:37 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00