Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-10-30 | Print socket structure internals when netstat -P pcbaddr is called | Alexander Bluhm | |
with -v. Also netstat -P supports more than TCP now. ok markus@ jmc@ | |||
2010-10-11 | Do similar changes to netstat as done to route(8). Try to show the | Claudio Jeker | |
most expected rtable when doing a netstat -rn. OK henning@ | |||
2010-06-29 | Allow selecting both address family and protocol by passing the address family | Bret Lambert | |
directly to the appropriate print functions. Found by jdixon@, tested jdixon@ and weerd@, ok krw@ deraadt@ | |||
2010-05-23 | remove unused function | Charles Longeau | |
from tobias@ (loooooong time ago) ok henning@ claudio@ tobias@ | |||
2010-03-23 | Sync with show.c of route(8). OK michele@ | Claudio Jeker | |
2009-11-22 | don't repeat the banner if not a tty. | Ted Unangst | |
add a -c count option to netstat. tweak spacing to not smear fields in vmstat. ok deraadt sthen | |||
2009-11-05 | IPv6 support for divert sockets. | Michele Marchetto | |
tested by phessler@ pyr@ ok claudio@ "go ahead" deraadt@ | |||
2009-10-04 | Add (again) support for divert sockets. They allow you to: | Michele Marchetto | |
- queue packets from pf(4) to a userspace application - reinject packets from the application into the kernel stack. The divert socket can be bound to a special "divert port" and will receive every packet diverted to that port by pf(4). The pf syntax is pretty simple, e.g.: pass on em0 inet proto tcp from any to any port 80 divert-packet port 1 A lot of discussion have happened since my last commit that resulted in many changes and improvements. I would *really* like to thank everyone who took part in the discussion especially canacar@ who spotted out which are the limitations of this approach. OpenBSD divert(4) is meant to be compatible with software running on top of FreeBSD's divert sockets even though they are pretty different and will become even more with time. discusses with many, but mainly reyk@ canacar@ deraadt@ dlg@ claudio@ beck@ tested by reyk@ and myself ok reyk@ claudio@ beck@ manpage help and ok by jmc@ | |||
2009-05-07 | Make the kvm routing table code grok multiple routing tables and do not | Claudio Jeker | |
default to table 0 by default. Makes debugging alternate tables possible. OK jsg@ | |||
2009-01-27 | Fix some interger overflows when accounting the used mbuf memory percentage | Claudio Jeker | |
and while there use a better type for the plural{,es}() functions. OK henning@ | |||
2008-09-16 | netstat statistics for pflow(4) via pseudo family | Joerg Goltermann | |
ok cluadio@ henning@ | |||
2008-01-03 | Make if.c kvm free by fetching the interface stats via sysctl like in systat | Claudio Jeker | |
and ospfd. What is not yet covered is the -d and -t flags to show interface queue drops and the if_timer. OK deraadt@ | |||
2007-12-19 | Remove the kvm code in rt_stats() and use the sysctl code all the time. | Claudio Jeker | |
While there remove the ugly rflag checks and make it more consistent with the rest of the code. Another step in making netstat setgid free. OK deraadt@ | |||
2007-12-14 | remove 21 nlist variables, and instead use sysctl to query the kernel | Theo de Raadt | |
turn on INET6 the default (remove the #ifdef's) ok claudio reyk | |||
2007-12-11 | mbuf stats are always gotten via sysctl(), so remove old nlist stuff | Theo de Raadt | |
ok claudio pyr | |||
2007-07-25 | Make it possible to show alternate routing tables in netstat. This mostly | Claudio Jeker | |
comes from route(8) which already had the -T option. OK henning@ | |||
2007-06-19 | net80211_ifstats() is called in main.c but there was no prototype. | Ray Lai | |
OK markus and itojun | |||
2007-06-04 | remove IPX support, agreed by many | Henning Brauer | |
2007-03-23 | Add a new flag -F to netstat restricting route display in conjuction | Pierre-Yves Ritschard | |
with -r to routes in the same address family as the destination. ok henning@, claudio@ | |||
2006-08-29 | Fix KVM snooping code of netstat that got broken by the multiple table | Claudio Jeker | |
"support". This makes netstat -A work again. OK markus@ henning@ | |||
2006-07-05 | remove duplicate prototype for the intpr function. | Brad Smith | |
2006-05-27 | Kill upHex and use %X instead. Crazy old code found by deraadt. | Claudio Jeker | |
2006-05-27 | Moving netstat from kvm snooping to retrieving the routing tables via | Claudio Jeker | |
sysctl. Most code is stolen from route -- which was stolen from netstat. kvm snooping code is still in and useable. Put it in deraadt@ henning@ | |||
2005-06-15 | add -P for dumping PCB infos, similar to netbsd; ok deraadt@ | Markus Friedl | |
2005-04-12 | add '-W interface' for 802.11 wireless statistics of the net80211 stack. | Reyk Floeter | |
ok dlg@ deraadt@ jmc@ | |||
2005-03-30 | kill -S; ok henning | Jared Yanovich | |
2005-03-25 | kill unneeded (char *) casts. ok millert, otto | Jared Yanovich | |
2005-02-10 | backout previous; i committed to wrong repository (i meant to commit kame) | Jun-ichiro itojun Hagino | |
2005-02-10 | dccp support | Jun-ichiro itojun Hagino | |
2005-01-14 | Allow netstat to print PIM statistics. | Ryan Thomas McBride | |
From Pavlin Radoslavov <pavlin@icir.org> ok deraadt@ brad@ | |||
2004-06-06 | Add new '-S' flag to display the source selector part of the routing table | Cedric Berger | |
entry. "netstat -nrSf inet". ok deraadt@ mcbride@ | |||
2003-12-15 | Add initial support for pf state synchronization over the network. | Ryan Thomas McBride | |
Implemented as an in-kernel multicast IP protocol. Turn it on like this: # ifconfig pfsync0 up syncif fxp0 There is not yet any authentication on this protocol, so the syncif must be on a trusted network. ie, a crossover cable between the two firewalls. NOTABLE CHANGES: - A new index based on a unique (creatorid, stateid) tuple has been added to the state tree. - Updates now appear on the pfsync(4) interface; multiple updates may be compressed into a single update. - Applications which use bpf on pfsync(4) will need modification; packets on pfsync no longer contains regular pf_state structs, but pfsync_state structs which contain no pointers. Much more to come. ok deraadt@ | |||
2003-10-17 | Common Address Redundancy Protocol | Ryan Thomas McBride | |
Allows multiple hosts to share an IP address, providing high availability and load balancing. Based on code by mickey@, with additional help from markus@ and Marco_Pfatschbacher@genua.de ok deraadt@ | |||
2003-06-26 | more proto fixes | Theo de Raadt | |
2003-06-25 | add proto | Theo de Raadt | |
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2002-06-07 | print rip6stat | Jun-ichiro itojun Hagino | |
2002-02-17 | Manual cleanup of remaining userland __P use (excluding packages maintained ↵ | Todd C. Miller | |
outside the tree) | |||
2002-02-16 | Part one of userland __P removal. Done with a simple regexp with some minor ↵ | Todd C. Miller | |
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | |||
2001-08-26 | Add a -q to silence zero-output lines and fix some whitespace and text nits. | brian | |
Submitted by: Sam Smith <S@mSmith.net> Ok: theo | |||
2001-07-05 | IPComp support. angelos@ ok. | Jean-Jacques Bernard-Gundol | |
2001-05-18 | adapt to use pool | Niels Provos | |
2000-12-13 | Bytecounter stats. (-b switch) | Camiel Dobbelaar | |
From NetBSD. ok itojun@ | |||
2000-06-30 | split netstat -an -f inet and netstat -an -f inet6, for consistency. | Jun-ichiro itojun Hagino | |
Suggested by: fgs | |||
2000-01-21 | ip4 -> ipip | Angelos D. Keromytis | |
1999-12-08 | add IPv6 support from KAME. cleanup type matches with printf() format. | Jun-ichiro itojun Hagino | |
KAME_SCOPEID should be enabled after KAME get{addr,name}info(3) merge. | |||
1999-10-29 | etherip statistics | Angelos D. Keromytis | |
1998-02-26 | * netstat -r [-n] now prints netmasks for network routes (in XXX/24 format). | Peter Galbavy | |
* beginnings of a -v (verbose) option. | |||
1997-07-23 | Add AppleTalk support. TODO: route.c does not handle netranges. | denny | |
1997-07-04 | Base PLEN on the value of LONG_BIT instead of assuming based | Todd C. Miller | |
on MAX size of long and int. |