| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
dereference of a kernel-pointer in userland.
PR: 26168
Submitted by: Peter Pentchev <roam@orbitel.bg>
|
|
|
|
|
|
|
| |
to have been developed after the IPv6 code was written, it's called "checking
for error returns".
Now netstat at least doesnt't go beserk in jails.
|
| |
|
|
|
|
|
|
|
|
| |
too long for the column they're printed in.
Move variable definitions out of netstat.h and into main.c.
Clean up some warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A route generated from an RTF_CLONING route had the RTF_WASCLONED flag
set but did not have a reference to the parent route, as documented in
the rtentry(9) manpage. This prevented such routes from being deleted
when their parent route is deleted.
Now, for example, if you delete an IP address from a network interface,
all ARP entries that were cloned from this interface route are flushed.
This also has an impact on netstat(1) output. Previously, dynamically
created ARP cache entries (RTF_STATIC flag is unset) were displayed as
part of the routing table display (-r). Now, they are only printed if
the -a option is given.
netinet/in.c, netinet/in_rmx.c:
When address is removed from an interface, also delete all routes that
point to this interface and address. Previously, for example, if you
changed the address on an interface, outgoing IP datagrams might still
use the old address. The only solution was to delete and re-add some
routes. (The problem is easily observed with the route(8) command.)
Note, that if the socket was already bound to the local address before
this address is removed, new datagrams generated from this socket will
still be sent from the old address.
PR: kern/20785, kern/21914
Reviewed by: wollman (the idea)
|
|
|
|
|
|
| |
Don't roll our own version of trimdomain(), use the one in libutil.
Not objected to by: freebsd-audit
|
| |
|
|
|
|
| |
values that aren't updated for a particular network-layer address.
|
|
|
|
|
|
| |
backwards in the three drivers which want to do that.
Reviewed by: mikeh
|
| |
|
|
|
|
|
| |
Submitted by: "Jason" <jsmethers@pdq.net>
Reviewed by: phk
|
| |
|
|
|
|
| |
get rid of stupid upperbound on the amount of interfaces (was 8).
|
|
|
|
|
|
|
|
|
|
|
| |
statistics on a per network address basis.
Teach the IPv4 and IPv6 input/output routines to log packets/bytes
against the network address connected to the flow.
Teach netstat to display the per-address stats for IP protocols
when 'netstat -i' is evoked, instead of displaying the per-interface
stats.
|
|
|
|
| |
"in use" percentage. In other words, show how much of mb_map is in use.
|
|
|
|
| |
Broken in rev 1.44.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
that should be better.
The old code counted references to mbuf clusters by using the offset
of the cluster from the start of memory allocated for mbufs and
clusters as an index into an array of chars, which did the reference
counting. If the external storage was not a cluster then reference
counting had to be done by the code using that external storage.
NetBSD's system of linked lists of mbufs was cosidered, but Alfred
felt it would have locking issues when the kernel was made more
SMP friendly.
The system implimented uses a pool of unions to track external
storage. The union contains an int for counting the references and
a pointer for forming a free list. The reference counts are
incremented and decremented atomically and so should be SMP friendly.
This system can track reference counts for any sort of external
storage.
Access to the reference counting stuff is now through macros defined
in mbuf.h, so it should be easier to make changes to the system in
the future.
The possibility of storing the reference count in one of the
referencing mbufs was considered, but was rejected 'cos it would
often leave extra mbufs allocated. Storing the reference count in
the cluster was also considered, but because the external storage
may not be a cluster this isn't an option.
The size of the pool of reference counters is available in the
stats provided by "netstat -m".
PR: 19866
Submitted by: Bosko Milekic <bmilekic@dsuper.net>
Reviewed by: alfred (glanced at by others on -net)
|
|
|
|
|
| |
PR: bin/20407
Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
|
| |
|
|
|
|
|
|
|
| |
line is missing. This apparently was broken in revision 1.31 of
"if.c".
Submitted by: Maxime Henrion <mhenrion@cybercable.fr>
|
|
|
|
|
|
|
| |
expand the size from short to ulong
Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
PR: kern/19809
|
|
|
|
| |
(it belongs to kame experiment).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
(They need to be suppressed by default for IPv6 entries to keep the column
size of each entries in 80.)
|
|
|
|
|
|
|
|
|
| |
There was a missing description for a new flags to netstat.
I already added the fix to netstat man, but usage() change is
also necessary.
Specified by: Ben Smithurst <ben@scientia.demon.co.uk>
Approved by: jkh
|
|
|
|
|
| |
Noticed the necessity by Ben Smithurst <ben@scientia.demon.co.uk> message
on freebsd-current.
|
|
|
|
|
| |
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
kernel IPv6 multicast routing support.
pim6 dense mode daemon
pim6 sparse mode daemon
netstat support of IPv6 multicast routing statistics
Merging to the current and testing with other existing multicast routers
is done by Tatsuya Jinmei <jinmei@kame.net>, who writes and maintainances
the base code in KAME distribution.
Make world check and kernel build check was also successful.
|
|
|
|
|
|
| |
a true default of 0.0.0.0/0 as default.
Reviewed by: wollman
|
|
|
|
|
|
|
|
|
| |
only when either of sflag and "-f inet6" is specified.
-fix the indentation of default output
Specified by: Stephen McKay <syssgm@detir.qld.gov.au>
Reviewed and Confirmed by: Stephen McKay <syssgm@detir.qld.gov.au>
|
|
|
|
|
| |
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
|
|
|
|
|
|
|
| |
byte.byte. This makes it consistent with our other utilities
like arp(8) and ifconfig(8).
Submitted by: Paul Vixie <paul@vix.com>
|
|
|
|
| |
Submitted by: Bosko Milekic <bmilekic@dsuper.net>
|
|
|
|
|
|
|
| |
Several udp and raw apps IPv6 support.
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
|
|
|
|
| |
for netstat/route.c
|
|
|
|
|
|
| |
caused by my previous patch, sorry.
Also, changed its var name from 'af' to 'wid_af', to avoid confusion with
global var 'af'.
|
|
|
|
|
|
|
|
|
|
|
|
| |
information in 80 columns.
TODO: IPv6 related information is not likely to be kept in 80 columns, anyway.
Some more print modes could be added,
but what is the priority between those modes?
-print out all information even if they don't fit into 80 columns
-strip off some information to fit them into 80 columns
Reviewed by: markm
|
|
|
|
| |
This should be OK on non INET6 enabled kernel.
|
|
|
|
|
| |
Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>,
Clive Lin <clive@GnatS.CirX.ORG>
|
|
|
|
|
|
|
|
|
|
| |
packet divert at kernel for IPv6/IPv4 translater daemon
This includes queue related patch submitted by jburkhol@home.com.
Submitted by: queue related patch from jburkhol@home.com
Reviewed by: freebsd-arch, cvs-committers
Obtained from: KAME project
|
|
|
|
| |
warnings while I'm here.
|
|
|
|
| |
mdoc(7)'fy
|
|
|
|
|
| |
freefall. There may also be a real problem w/ buildworld but the fix
would go somewhere else, not here.
|
|
|
|
| |
inconsistancies.
|
|
|
|
|
|
|
|
|
|
| |
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.
Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from: Whistle CVS tree
|
| |
|
|
|
|
|
|
| |
for an IPX address family.
PR: 14168
|