OpenBSD CVS

CVS log for src/usr.bin/netstat/netstat.1


[BACK] Up to [local] / src / usr.bin / netstat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.98 / (download) - annotate - [select for diffs], Wed Jan 4 19:12:34 2023 UTC (16 months, 2 weeks ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.97: +6 -6 lines
Diff to previous 1.97 (colored)

minor text shuffle, for clarity; ok millert

Revision 1.97 / (download) - annotate - [select for diffs], Fri Dec 23 07:18:46 2022 UTC (16 months, 3 weeks ago) by jmc
Branch: MAIN
Changes since 1.96: +2 -3 lines
Diff to previous 1.96 (colored)

remove "-p protocol" from the -r synopsis: it no longer makes sense

pointed out by pguemther
ok pguenther kn claudio

Revision 1.96 / (download) - annotate - [select for diffs], Thu Dec 22 07:23:29 2022 UTC (16 months, 3 weeks ago) by jmc
Branch: MAIN
Changes since 1.95: +2 -27 lines
Diff to previous 1.95 (colored)

move the flag mappings displayed by "route show" from netstat(1) to route(8):
diff from paul tagliamonte, who was surprised to find them not documented
in route(8);

claudio agreed placement was not ideal;
deraadt confirmed users better served by route(8) than netstat(1);

i've tweaked some of the spacing and text so it displays better,
and removed some macros incorrectly associated with the "nameserver"
list item, which was messing up the formatting. should display better
now

Revision 1.95 / (download) - annotate - [select for diffs], Thu Sep 8 13:18:47 2022 UTC (20 months, 1 week ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2
Changes since 1.94: +4 -8 lines
Diff to previous 1.94 (colored)

Remove useless -t

"Make if.c kvm free by fetching the interface stats via sysctl ..."
if.c r1.56 in 2008 neutered the -d and -t flags.

-d functionality was eventually restored with if.c r1.76 in 2015.

-t has been printing zeroes for over fourteen now; this cannot have been
useful to anyone and noone complained about a wrong watchdog timer values.

Remove -t entirely without printing a warning;  `netstat -t ...' now fails.

Feedback jsg
OK jsg bluhm

Revision 1.94 / (download) - annotate - [select for diffs], Sun Jun 19 13:59:22 2022 UTC (23 months ago) by claudio
Branch: MAIN
Changes since 1.93: +2 -3 lines
Diff to previous 1.93 (colored)

There is no reason to print the RTF_DONE bit in the routing table output.
It is now set on all routes (and before it was never set).
OK tb@ anton@

Revision 1.93 / (download) - annotate - [select for diffs], Thu Mar 31 17:27:26 2022 UTC (2 years, 1 month ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored)

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@

Revision 1.92 / (download) - annotate - [select for diffs], Sat Jan 2 16:50:33 2021 UTC (3 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.91: +9 -9 lines
Diff to previous 1.91 (colored)

Add missing .Cm macros to the Address Family table.
While here, trim pointless quoting and one excessive column width.

Revision 1.91 / (download) - annotate - [select for diffs], Sat Jan 2 16:10:30 2021 UTC (3 years, 4 months ago) by kn
Branch: MAIN
Changes since 1.90: +23 -23 lines
Diff to previous 1.90 (colored)

Markup route flags such that apropos(1) finds them

netstat(1) is where the mapping between letters and flags is documented,
but searching for them ("man -k any=RTF_" or "man -k -i any=blackhole")
would only list route(4) and route(8).

Markup preprocessor defines as such.

OK schwarze

Revision 1.90 / (download) - annotate - [select for diffs], Sat Jul 18 21:44:17 2020 UTC (3 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.89: +2 -10 lines
Diff to previous 1.89 (colored)

oops - the description of -i had a similarly incorrect text as -I concerning
use of -f; remove that too;

pointed out by guenther

Revision 1.89 / (download) - annotate - [select for diffs], Sat Jul 18 19:12:52 2020 UTC (3 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.88: +2 -10 lines
Diff to previous 1.88 (colored)

the text describing the effect of -f on -I is apparently wrong - no such code
was ever added;

the text was added 21 years ago when ip6 support was added;
marfabastewart noticed it, and guenther tracked down the commit responsible;

this commit removes that text;

Revision 1.88 / (download) - annotate - [select for diffs], Tue Jun 16 14:03:42 2020 UTC (3 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.87: +50 -47 lines
Diff to previous 1.87 (colored)

rework SYNOPSIS/usage() to show better the various use formats,
and rework the man text to reflect this;

guenther supplied the details on the various modes;
deraadt suggested __progname be banished from usage();

Revision 1.87 / (download) - annotate - [select for diffs], Fri Jun 12 06:22:32 2020 UTC (3 years, 11 months ago) by remi
Branch: MAIN
Changes since 1.86: +5 -1 lines
Diff to previous 1.86 (colored)

Add -R to show a summary of rdomains with associated interfaces and tables.

My first version also displayed the number of routes per table. But
duming all routing tables to count the entries in userland is expensive.
Once the kernel can export these counters the numbers can be added to the
output of -R.

OK benno@ previous version
OK sthen@

Revision 1.86 / (download) - annotate - [select for diffs], Wed Apr 17 20:34:21 2019 UTC (5 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.85: +3 -2 lines
Diff to previous 1.85 (colored)

signpost the location of the text explaining routing table output a little better...

Revision 1.85 / (download) - annotate - [select for diffs], Wed Apr 17 20:17:00 2019 UTC (5 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.84: +9 -11 lines
Diff to previous 1.84 (colored)

remove some unneccessary baggage: Nm does not require an argument,
and the Bk/Ek invocation here is no longer neccessary;

Revision 1.84 / (download) - annotate - [select for diffs], Mon Mar 4 21:32:26 2019 UTC (5 years, 2 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.83: +13 -5 lines
Diff to previous 1.83 (colored)

when showing interface stats, combine the queue drops with errors as fails

if you want to see errors or queue drops on their own, use -e or
-d respectively.

ok claudio@ deraadt@

Revision 1.83 / (download) - annotate - [select for diffs], Fri Jul 13 09:06:58 2018 UTC (5 years, 10 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

Use "rtable" not "tableid" as argument name for rtable

Make rtable(4) usage documentation consistent with other programs.
This is to have `man -k ar~rtable' show the full list without having to
look for other variations of the same argument type.

OK bluhm

Revision 1.82 / (download) - annotate - [select for diffs], Thu Apr 26 12:11:51 2018 UTC (6 years ago) by guenther
Branch: MAIN
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored)

AF_LOCAL is #define-non-grata; 'local' is 'unix'

ok jmc@ schwarze@

Revision 1.81 / (download) - annotate - [select for diffs], Sat Aug 12 03:21:02 2017 UTC (6 years, 9 months ago) by benno
Branch: MAIN
CVS Tags: OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.80: +5 -3 lines
Diff to previous 1.80 (colored)

add option -l to show only listening sockets (for tcp)
feedback and ok awhile ago bluhm@ job@

Revision 1.80 / (download) - annotate - [select for diffs], Wed Oct 12 13:04:03 2016 UTC (7 years, 7 months ago) by jca
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.79: +10 -2 lines
Diff to previous 1.79 (colored)

Mention that netstat -P needs kmem access.

From David Hill, ok bluhm@

Revision 1.79 / (download) - annotate - [select for diffs], Thu Sep 1 14:20:13 2016 UTC (7 years, 8 months ago) by bluhm
Branch: MAIN
Changes since 1.78: +5 -2 lines
Diff to previous 1.78 (colored)

Document all letters used for route flags in "netstat -r".
OK jmc@ mpi@ sthen@

Revision 1.78 / (download) - annotate - [select for diffs], Wed Jul 13 08:40:46 2016 UTC (7 years, 10 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.77: +3 -2 lines
Diff to previous 1.77 (colored)

Introduce RTF_MULTICAST and flag corresponding IPv6 routes as such
instead of abusing RTF_CLONING.

Fix a leak reporeted by Aaron Riekenberg on misc@, ok sthen@

Revision 1.77 / (download) - annotate - [select for diffs], Fri Sep 11 20:10:26 2015 UTC (8 years, 8 months ago) by mpi
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.76: +1 -2 lines
Diff to previous 1.76 (colored)

Remove XRESOLVE support.

dlg@ is sad because we won't be able to implement arpd(8) the way
people intended it in the 80s.

Revision 1.76 / (download) - annotate - [select for diffs], Thu Feb 12 13:14:54 2015 UTC (9 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.75: +11 -9 lines
Diff to previous 1.75 (colored)

be more explicit about how -A and -P work, and fix a booboo in previous;
help/ok claudio

Revision 1.75 / (download) - annotate - [select for diffs], Thu Feb 12 01:49:02 2015 UTC (9 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.74: +8 -4 lines
Diff to previous 1.74 (colored)

Switch the printing of open sockets from ugly KVM internals to use
kvm_getfiles. This allows to run netstat without any extra privileges
and removes another setgid program from base..
There is still kvm reader code in there which is used for debugging
purposes (crashdump). netstat should still behave mostly the same.
deraadt@ and sthen@ agree that it is time to get this puppy in.

Revision 1.74 / (download) - annotate - [select for diffs], Sun Feb 8 04:29:53 2015 UTC (9 years, 3 months ago) by claudio
Branch: MAIN
Changes since 1.73: +2 -21 lines
Diff to previous 1.73 (colored)

-a for -I or -i is gone for good. So adjust manpage.

Revision 1.73 / (download) - annotate - [select for diffs], Fri Feb 6 03:22:00 2015 UTC (9 years, 3 months ago) by reyk
Branch: MAIN
Changes since 1.72: +2 -3 lines
Diff to previous 1.72 (colored)

Remove route/netstat -f encap in favor of ipsecctl -s flow.

OK deraadt@

Revision 1.72 / (download) - annotate - [select for diffs], Thu Oct 23 16:45:57 2014 UTC (9 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.71: +6 -9 lines
Diff to previous 1.71 (colored)

Remove networks(5) support.
In particular, do not call getnetbyaddr(3), use gethostbyaddr(3) only.
Do not call setnetent(3) and the dummy sethostent(3).
OK henning@; and deraadt@ agrees with the general direction.

Revision 1.71 / (download) - annotate - [select for diffs], Sat May 10 23:31:40 2014 UTC (10 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.70: +4 -4 lines
Diff to previous 1.70 (colored)

catch up with the inet(3) rename; this commit missed in previous
ok guenther

Revision 1.70 / (download) - annotate - [select for diffs], Thu May 8 09:28:08 2014 UTC (10 years ago) by mpi
Branch: MAIN
Changes since 1.69: +3 -1 lines
Diff to previous 1.69 (colored)

Introduce two new route flags: RTF_LOCAL and RTF_BROADCAST.

Nothing use them for the moment, but here is the plan:

Since a route lookup is always necessary to output a packet it makes
sense to store all the information regarding how the packet should be
sent in the routing entry.  This will save us some expensive lookups
on address lists.

But once we have all the information about our addresses in the routing
table, we can even use it in the input path with the hope that the number
of lookups in the forwarding case can be reduce to one.

ok henning@, chris@

Revision 1.69 / (download) - annotate - [select for diffs], Wed Aug 22 06:45:44 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.68: +2 -3 lines
Diff to previous 1.68 (colored)

remove unneccessary .Pp;

Revision 1.68 / (download) - annotate - [select for diffs], Wed Aug 22 06:08:07 2012 UTC (11 years, 8 months ago) by tedu
Branch: MAIN
Changes since 1.67: +9 -3 lines
Diff to previous 1.67 (colored)

i missed usage and the manpage.  prod by jmc

Revision 1.67 / (download) - annotate - [select for diffs], Tue Nov 1 17:30:04 2011 UTC (12 years, 6 months ago) by mikeb
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)

Do some cleanup and improve the manpage. From Andreas Bartelt; ok henning, jmc

Revision 1.66 / (download) - annotate - [select for diffs], Sat Sep 3 22:59:07 2011 UTC (12 years, 8 months ago) by jmc
Branch: MAIN
Changes since 1.65: +20 -20 lines
Diff to previous 1.65 (colored)

make -column lists pretty again;

specifically, rewrite them to permit some markup in the column headers,
and use "Ta" instead of literal tabs; mandoc does not currently match groff
100%, but a mandoc fix may be some time off, and we've gone enough releases
with poorly formatting column lists.

in some cases i have rewritten the lists as -tag, where -column made
little sense.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Aug 19 19:59:51 2011 UTC (12 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.64: +3 -4 lines
Diff to previous 1.64 (colored)

as with other list types, column lists generally do not need a Pp/-compact
construct;

this also sidesteps what seems to be a problem with mandoc, in that
"-column -compact" seems to mess up the formatting. thus these pages should
now have their lists formatted nicely (i.e. correctly aligned and with indent
applied);

as a side note, the fact that headers are not properly marked up is another
issue which will be addressed separately (a mandoc fix is needed, i think).
i have fudged a few of these to mark up properly, since the workaround does
make sense for some pages.

as another side note, i haven;t fixed man7, as i need to prepare a separate
diff for kristaps and ingo.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Jul 9 04:01:30 2011 UTC (12 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored)

remove more atalk bits

Revision 1.63 / (download) - annotate - [select for diffs], Tue Mar 15 13:10:31 2011 UTC (13 years, 2 months ago) by jsing
Branch: MAIN
Changes since 1.62: +6 -1 lines
Diff to previous 1.62 (colored)

Add a -B flag to netstat which displays buffer sizes for TCP sockets.

With feedback from bluhm@

ok bluhm@ sthen@

Revision 1.62 / (download) - annotate - [select for diffs], Sat Mar 5 18:34:12 2011 UTC (13 years, 2 months ago) by schwarze
Branch: MAIN
Changes since 1.61: +3 -4 lines
Diff to previous 1.61 (colored)

remove a stray character (editing accident) i introduced a year ago;
while here, improve the grammar of the preceding sentence;
ok jmc@

Revision 1.61 / (download) - annotate - [select for diffs], Sat Oct 30 23:06:05 2010 UTC (13 years, 6 months ago) by bluhm
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.60: +13 -6 lines
Diff to previous 1.60 (colored)

Print socket structure internals when netstat -P pcbaddr is called
with -v.  Also netstat -P supports more than TCP now.
ok markus@ jmc@

Revision 1.60 / (download) - annotate - [select for diffs], Sat Jul 31 14:25:37 2010 UTC (13 years, 9 months ago) by sobrado
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.59: +8 -4 lines
Diff to previous 1.59 (colored)

adds a remark about how printing routing labels to -r, it is the
more logical place to find this information; improve description
for the -v option (stolen from NetBSD).

written with excellent advice from bluhm@ and jmc@.

ok jmc@

Revision 1.59 / (download) - annotate - [select for diffs], Tue Jun 29 03:09:29 2010 UTC (13 years, 10 months ago) by blambert
Branch: MAIN
Changes since 1.58: +5 -2 lines
Diff to previous 1.58 (colored)

Allow selecting both address family and protocol by passing the address family
directly to the appropriate print functions.

Found by jdixon@, tested jdixon@ and weerd@, ok krw@ deraadt@

Revision 1.58 / (download) - annotate - [select for diffs], Sun Jan 3 14:31:01 2010 UTC (14 years, 4 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.57: +20 -19 lines
Diff to previous 1.57 (colored)

.Bl always requires .It, even in .Bl -column;
syntax errors found by mandoc(1), also required to fix the mandoc build;
feedback and ok jmc@ and sobrado@

Revision 1.57 / (download) - annotate - [select for diffs], Sun Nov 22 22:22:14 2009 UTC (14 years, 5 months ago) by tedu
Branch: MAIN
Changes since 1.56: +10 -2 lines
Diff to previous 1.56 (colored)

don't repeat the banner if not a tty.
add a -c count option to netstat.
tweak spacing to not smear fields in vmstat.
ok deraadt sthen

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jun 27 11:35:57 2009 UTC (14 years, 10 months ago) by michele
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.55: +3 -2 lines
Diff to previous 1.55 (colored)

Mark MPLS routes with T (tagged) in route output.

suggested by dlg@, ok claudio@, laurent@, blambert@

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jun 4 18:59:34 2009 UTC (14 years, 11 months ago) by mk
Branch: MAIN
Changes since 1.54: +6 -4 lines
Diff to previous 1.54 (colored)

Add mpls and pflow to the list of supported address families, and sort
it.

`sure' deraadt, `sure why not' claudio, minor complains about the
sorting from phessler.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Jan 26 17:28:09 2009 UTC (15 years, 3 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.53: +3 -2 lines
Diff to previous 1.53 (colored)

Again use P to mark multipath routes in route output. OK henning@

Revision 1.53 / (download) - annotate - [select for diffs], Fri May 9 09:08:47 2008 UTC (16 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored)

some Xr for tcpbench(1) and tcpdrop(8);

Revision 1.52 / (download) - annotate - [select for diffs], Wed Jul 25 18:49:09 2007 UTC (16 years, 9 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.51: +5 -2 lines
Diff to previous 1.51 (colored)

Update synopsis. with help by jmc@

Revision 1.51 / (download) - annotate - [select for diffs], Wed Jul 25 11:50:47 2007 UTC (16 years, 9 months ago) by claudio
Branch: MAIN
Changes since 1.50: +5 -2 lines
Diff to previous 1.50 (colored)

Make it possible to show alternate routing tables in netstat. This mostly
comes from route(8) which already had the -T option.  OK henning@

Revision 1.50 / (download) - annotate - [select for diffs], Mon Jun 4 12:20:24 2007 UTC (16 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored)

remove IPX support, agreed by many

Revision 1.49 / (download) - annotate - [select for diffs], Thu May 31 19:20:13 2007 UTC (16 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored)

convert to new .Dd format;

Revision 1.48 / (download) - annotate - [select for diffs], Fri Mar 23 10:59:38 2007 UTC (17 years, 2 months ago) by pyr
Branch: MAIN
Changes since 1.47: +5 -2 lines
Diff to previous 1.47 (colored)

Add a new flag -F to netstat restricting route display in conjuction
with -r to routes in the same address family as the destination.
ok henning@, claudio@

Revision 1.47 / (download) - annotate - [select for diffs], Tue Sep 6 23:28:23 2005 UTC (18 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.46: +5 -1 lines
Diff to previous 1.46 (colored)

make some of the stat utility pages reference each other;
idea from a mail to misc@ from simon dassow;

Revision 1.46 / (download) - annotate - [select for diffs], Mon Jul 25 20:32:12 2005 UTC (18 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.45: +4 -3 lines
Diff to previous 1.45 (colored)

update DESCRIPTION to reflect the fact that another synopsis form was
added;

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jun 16 16:03:32 2005 UTC (18 years, 11 months ago) by jaredy
Branch: MAIN
Changes since 1.44: +16 -2 lines
Diff to previous 1.44 (colored)

add -P to docs and usage/synopsis; ok markus jmc

Revision 1.44 / (download) - annotate - [select for diffs], Wed Jun 8 04:47:04 2005 UTC (18 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.43: +1 -2 lines
Diff to previous 1.43 (colored)

bye bye, Xerox NS protocols

Revision 1.43 / (download) - annotate - [select for diffs], Mon May 2 10:07:19 2005 UTC (19 years ago) by jmc
Branch: MAIN
Changes since 1.42: +3 -1 lines
Diff to previous 1.42 (colored)

- add a small description of final synopsis form
- tweak a spacing issue in usage()

Revision 1.42 / (download) - annotate - [select for diffs], Tue Apr 12 14:11:49 2005 UTC (19 years, 1 month ago) by reyk
Branch: MAIN
Changes since 1.41: +6 -1 lines
Diff to previous 1.41 (colored)

add '-W interface' for 802.11 wireless statistics of the net80211 stack.

ok dlg@ deraadt@ jmc@

Revision 1.41 / (download) - annotate - [select for diffs], Wed Mar 30 08:23:47 2005 UTC (19 years, 1 month ago) by jaredy
Branch: MAIN
Changes since 1.40: +2 -6 lines
Diff to previous 1.40 (colored)

kill -S; ok henning

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jul 13 23:33:29 2004 UTC (19 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored)

.Xr tcpdrop 8 ,

Revision 1.39 / (download) - annotate - [select for diffs], Fri Jun 25 20:05:40 2004 UTC (19 years, 10 months ago) by henning
Branch: MAIN
Changes since 1.38: +1 -2 lines
Diff to previous 1.38 (colored)

remove netiso

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jun 6 22:03:35 2004 UTC (19 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored)

make -S description match the rest of the page (in terms of tense);

Revision 1.37 / (download) - annotate - [select for diffs], Sun Jun 6 22:00:20 2004 UTC (19 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored)

double `the';

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jun 6 16:55:31 2004 UTC (19 years, 11 months ago) by cedric
Branch: MAIN
Changes since 1.35: +6 -2 lines
Diff to previous 1.35 (colored)

Add new '-S' flag to display the source selector part of the routing table
entry. "netstat -nrSf inet". ok deraadt@ mcbride@

Revision 1.35 / (download) - annotate - [select for diffs], Thu Apr 1 07:55:17 2004 UTC (20 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.34: +8 -5 lines
Diff to previous 1.34 (colored)

change -p to restrict output to protocol (not just for -s);
ok deraadt@, hshoexer@, tdeval@, jmc@

Revision 1.34 / (download) - annotate - [select for diffs], Fri Nov 28 10:05:43 2003 UTC (20 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.33: +37 -15 lines
Diff to previous 1.33 (colored)

netstat.1:
- In SYNOPSIS, -a goes with interface display, not -s
- In SYNOPSIS, -i and -I are mutually exclusive
- expand -a description (shows multicast with interface display)
- expand -b and -d descriptions and fix parenthesis typo
- consistently refer to multicast (not Multicast) and MTU (not mtu)
- expand -I description (interaction with -a)
- two missing full stops
- update SEE ALSO

main.c:
- sync with SYNOPSIS

Revision 1.33 / (download) - annotate - [select for diffs], Tue Aug 26 08:33:12 2003 UTC (20 years, 8 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

mark cloned route with RTF_CLONED.  remove RTF_CLONED route when clone parent
disappers.  deraadt ok

Revision 1.32 / (download) - annotate - [select for diffs], Mon Jul 14 12:38:30 2003 UTC (20 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.31: +10 -11 lines
Diff to previous 1.31 (colored)

- Dv Ta -> Ta Dv
- kill a .br

Revision 1.31 / (download) - annotate - [select for diffs], Thu Jun 12 07:39:16 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.30: +19 -3 lines
Diff to previous 1.30 (colored)

- document -ltu options;
from PR 3307 (Zoltan Glozik)
- sync SYNOPSIS and usage();

ok henning@ deraadt@

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jun 5 20:01:35 2003 UTC (20 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.29: +9 -22 lines
Diff to previous 1.29 (colored)

remove some incorrect documentation;
from Aldo Cortesi (PR 3277);

ok deraadt@

Revision 1.29 / (download) - annotate - [select for diffs], Tue Jun 3 02:56:13 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
Changes since 1.28: +2 -6 lines
Diff to previous 1.28 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Sep 18 07:33:47 2002 UTC (21 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.27: +1 -2 lines
Diff to previous 1.27 (colored)

fix Xr refs; frisco@blackant.net

Revision 1.27 / (download) - annotate - [select for diffs], Fri Nov 9 00:56:24 2001 UTC (22 years, 6 months ago) by miod
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.26: +3 -12 lines
Diff to previous 1.26 (colored)

Since all our arches have /dev/ksyms, replace rigid mentions of the kernel
being /bsd with more correct terms, and remove /bsd and /dev/kmem from the
FILES section if they were there.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 26 09:42:04 2001 UTC (22 years, 8 months ago) by brian
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.25: +9 -5 lines
Diff to previous 1.25 (colored)

Add a -q to silence zero-output lines and fix some whitespace and text nits.

Submitted by:	Sam Smith <S@mSmith.net>
Ok:		theo

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jun 25 00:41:39 2001 UTC (22 years, 10 months ago) by niklas
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

Show a "3" in -r output if RTF_PROTO3 is set; ok itojun@ and millert@

Revision 1.24 / (download) - annotate - [select for diffs], Wed Dec 13 15:52:58 2000 UTC (23 years, 5 months ago) by camield
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.23: +7 -3 lines
Diff to previous 1.23 (colored)

Bytecounter stats. (-b switch)
From NetBSD. ok itojun@

Revision 1.23 / (download) - annotate - [select for diffs], Mon Dec 11 17:33:07 2000 UTC (23 years, 5 months ago) by provos
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22 (colored)

show when pmtu is disabled on routes, more information when verbose,
from NetBSD

Revision 1.22 / (download) - annotate - [select for diffs], Thu Nov 9 17:52:27 2000 UTC (23 years, 6 months ago) by aaron
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

Change all option list specifications to ".Bl -tag -width Ds". Most man
pages just needed their -width parameter tweaked to "Ds", which provides
a nice width of 6 constant characters. For consistency more than anything.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Apr 16 16:24:32 2000 UTC (24 years, 1 month ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.20: +80 -81 lines
Diff to previous 1.20 (colored)

- Insert some .Pp here and there to make the man page easier to read.
- Put address family options into a columnated list with descriptions.
- `` '' -> .Dq and such.
- Xr netintro(4).
- Remove hard sentence breaks.
- Typo: specfied -> specified.
- Correct .Nm usage.
- Comma splice fixes.

Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 15 02:15:12 2000 UTC (24 years, 1 month ago) by aaron
Branch: MAIN
Changes since 1.19: +3 -3 lines
Diff to previous 1.19 (colored)

Mostly punctuation fixes.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Dec 8 12:30:17 1999 UTC (24 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.18: +43 -2 lines
Diff to previous 1.18 (colored)

add IPv6 support from KAME.  cleanup type matches with printf() format.
KAME_SCOPEID should be enabled after KAME get{addr,name}info(3) merge.

Revision 1.18 / (download) - annotate - [select for diffs], Wed Sep 1 17:22:03 1999 UTC (24 years, 8 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Correct SYNOPSYS; no -h option exists.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 21 01:25:47 1999 UTC (24 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

use .Ar on later .It Fl lines

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 5 01:21:34 1999 UTC (24 years, 11 months ago) by aaron
Branch: MAIN
Changes since 1.15: +6 -6 lines
Diff to previous 1.15 (colored)

- remove trailing white space
- remove arguments from .Os macros
- remove arguments from .Nm macros, where appropriate
- some more Dq/Sq/Ql insanity
- still lots to do in the usr.bin tree... :/

Revision 1.15 / (download) - annotate - [select for diffs], Sun May 16 19:57:59 1999 UTC (25 years ago) by alex
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Cleanup xrefs under SEE ALSO.  Specifically:

  - Sort xrefs by section, and then alphabetically.
  - Add missing commas between xref items.
  - Remove commas from the last xref entry.
  - Remove duplicate entries.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Mar 1 01:28:12 1999 UTC (25 years, 2 months ago) by d
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5
Changes since 1.13: +1 -5 lines
Diff to previous 1.13 (colored)

There is no -h flag

Revision 1.13 / (download) - annotate - [select for diffs], Wed Feb 24 22:57:34 1999 UTC (25 years, 2 months ago) by angelos
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Grok protocol/address family PF_KEY.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 27 16:57:48 1998 UTC (25 years, 7 months ago) by aaron
Branch: MAIN
CVS Tags: OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.11: +34 -34 lines
Diff to previous 1.11 (colored)

usr.bin/ man page cleanups, n-s

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 7 16:44:33 1998 UTC (25 years, 8 months ago) by aaron
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

More man page fixes. Particularly fix uses of it's/its, affect/effect,
then/than and such. Other miscellaneous problems fixed across these source
files.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 26 10:06:09 1998 UTC (26 years, 2 months ago) by peter
Branch: MAIN
CVS Tags: OPENBSD_2_3_BASE, OPENBSD_2_3
Changes since 1.9: +10 -7 lines
Diff to previous 1.9 (colored)

* netstat -r [-n] now prints netmasks for network routes (in XXX/24 format).

* beginnings of a -v (verbose) option.

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 19 09:24:22 1997 UTC (26 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_2_BASE, OPENBSD_2_2
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

typo; sjr@home.net

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 28 08:29:48 1997 UTC (26 years, 9 months ago) by denny
Branch: MAIN
Changes since 1.7: +4 -1 lines
Diff to previous 1.7 (colored)

Note atalk family for AppleTalk

Revision 1.7 / (download) - annotate - [select for diffs], Wed Jun 18 04:07:05 1997 UTC (26 years, 11 months ago) by angelos
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)

Document -f encap.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Feb 16 10:26:39 1997 UTC (27 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.5: +5 -1 lines
Diff to previous 1.5 (colored)

change from <> to [] and document

Revision 1.5 / (download) - annotate - [select for diffs], Sat Feb 1 17:31:20 1997 UTC (27 years, 3 months ago) by kstailey
Branch: MAIN
Changes since 1.4: +3 -0 lines
Diff to previous 1.4 (colored)

accept "-f local" for AF_LOCAL"

Revision 1.4 / (download) - annotate - [select for diffs], Fri Aug 16 09:29:33 1996 UTC (27 years, 9 months ago) by mickey
Branch: MAIN
CVS Tags: OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.3: +4 -1 lines
Diff to previous 1.3 (colored)

ipx.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 8 22:09:42 1996 UTC (27 years, 10 months ago) by ccappuc
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

kernel is /bsd, os is OpenBSD

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 26 05:37:24 1996 UTC (27 years, 10 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

rcsid

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:45:51 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:45:51 1995 UTC (28 years, 7 months ago) by deraadt
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.