#
259065 |
|
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
254459 |
|
17-Aug-2013 |
hrs |
- Use getnameinfo(3) instead of gethostbyaddr(3) or inet_ntop(3).
- Fill sin6_scope_id from in6p.sin6_addr.s6_addr[2]. struct inpcb has struct in6_addr for the endpoint addresses, so sin6_scope_id must be filled.
|
#
253085 |
|
09-Jul-2013 |
ae |
Migrate structs ip6stat, icmp6stat and rip6stat to PCPU counters.
|
#
249545 |
|
16-Apr-2013 |
ae |
Replace hardcoded numbers. Also use interface-local scope name instead of node-local.
|
#
246988 |
|
19-Feb-2013 |
charnier |
WARNS=6 compliance
|
#
229403 |
|
03-Jan-2012 |
ed |
Replace index() and rindex() calls with strchr() and strrchr().
The index() and rindex() functions were marked LEGACY in the 2001 revision of POSIX and were subsequently removed from the 2008 revision. The strchr() and strrchr() functions are part of the C standard.
This makes the source code a lot more consistent, as most of these C files also call into other str*() routines. In fact, about a dozen already perform strchr() calls.
|
#
228700 |
|
19-Dec-2011 |
maxim |
o Convert IPv6 read-only stats sysctls to the read-write ones. o Teach netstat(1) -z to reset these stats sysctls.
PR: bin/153206 Reviewed by: glebuis Sponsored by: NGINX, Inc. MFC after: 1 month
|
#
216370 |
|
11-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
#
215955 |
|
27-Nov-2010 |
brucec |
Fix typo.
|
#
191652 |
|
29-Apr-2009 |
bms |
Add MLDv2 statistic IDs to netstat for IPv6 stack.
|
#
187989 |
|
01-Feb-2009 |
bz |
Remove the single global unlocked route cache ip6_forward_rt from the inet6 stack along with statistics and make sure we properly free the rt in all cases.
While the current situation is not better performance wise it prevents panics seen more often these days. After more inet6 and ipsec cleanup we should be able to improve the situation again passing the rt to ip6_forward directly.
Leave the ip6_forward_rt entry in struct vinet6 but mark it for removal.
PR: kern/128247, kern/131038 MFC after: 25 days Committed from: Bugathon #6 Tested by: Denis Ahrens <denis@h3q.com> (different initial version)
|
#
187134 |
|
13-Jan-2009 |
maxim |
o Respect -ss flags (suppress zero counters) for icmp6 "histogram of error messages" section.
Submitted by: naddy MFC after: 1 week
|
#
186498 |
|
26-Dec-2008 |
maxim |
o Fix grammar.
PR: bin/129938 Submitted by: Bruce Cran
|
#
177352 |
|
18-Mar-2008 |
ume |
Change .8s port name restriction to .15s. This change corresponds to inet.c 1.13.
MFC after: 1 week
|
#
175061 |
|
02-Jan-2008 |
obrien |
style(9) + kread is not a boolean, so check it as such + fix $FreeBSD$ Ids + denote copyrights with /*- + misc whitespace changes.
|
#
171465 |
|
16-Jul-2007 |
jhb |
Restore netstat -M functionality for most statistics on core dumps. In general, when support was added to netstat for fetching data using sysctl, no provision was left for fetching equivalent data from a core dump, and in fact, netstat would _always_ fetch data from the live kernel using sysctl even when -M was specified resulting in the user believing they were getting data from coredumps when they actually weren't. Some specific changes: - Add a global 'live' variable that is true if netstat is running against the live kernel and false if -M has been specified. - Stop abusing the sysctl flag in the protocol tables to hold the protocol number. Instead, the protocol is now its own field in the tables, and it is passed as a separate parameter to the PCB and stat routines rather than overloading the KVM offset parameter. - Don't run PCB or stats functions who don't have a namelist offset if we are being run against a crash dump (!live). - For the inet and unix PCB routines, we generate the same buffer from KVM that the sysctl usually generates complete with the header and trailer. - Don't run bpf stats for !live (before it would just silently always run live). - kread() no longer trashes memory when opening the buffer if there is an error on open and the passed in buffer is smaller than _POSIX2_LINE_MAX. - The multicast routing code doesn't fallback to kvm on live kernels if the sysctl fails. Keeping this made the code rather hairy, and netstat is already tied to the kernel ABI anyway (even when using sysctl's since things like xinpcb contain an inpcb) so any kernels this is run against that have the multicast routing stuff should have the sysctls. - Don't try to dig around in the kernel linker in the netgraph PCB routine for core dumps.
Other notes: - sctp's PCB routine only works on live kernels, it looked rather complicated to generate all the same stuff via KVM. Someone can always add it later if desired though. - Fix the ipsec removal bug where N_xxx for IPSEC stats weren't renumbered. - Use sysctlbyname() everywhere rather than hardcoded mib values.
MFC after: 1 week Approved by: re (rwatson)
|
#
166952 |
|
24-Feb-2007 |
bms |
Use sysctl(2), not kvm(3), to read IPv6 multicast information from the running system. Use the name 'IPv6 Forwarding Table', not 'IPv6 Routing Table', to be consistent with what the code actually does and is.
|
#
160787 |
|
28-Jul-2006 |
yar |
Achieve WARNS=2 by using uintmax_t to pass around 64-bit quantities, including to printf(). Using uintmax_t is also robust to further extensions in both the C language and the bitwidth of kernel counters.
Tested on: i386 amd64 ia64
|
#
160373 |
|
14-Jul-2006 |
julian |
Not having ipv6 in your kernel is not an error and should not be reported. MFC after: 1 week
|
#
132799 |
|
28-Jul-2004 |
stefanf |
Use the length modifier 'll' instead of 'q' to print long longs.
|
#
132671 |
|
26-Jul-2004 |
charnier |
Add __FBSDID. Replace local variable sin by sockin to not conflict with sin(3). Use warnx() instead of warn() when error message is not of any interest. Add prototypes.
|
#
125483 |
|
05-Feb-2004 |
ume |
printed statistics about source address selection rules.
Obtained from: KAME
|
#
125482 |
|
05-Feb-2004 |
ume |
stops program if kvm_read fails.
Obtained from: KAME
|
#
109234 |
|
14-Jan-2003 |
mtm |
o Typo/Grammar fixes o Added mini-function to correctly handle singular/plural of words ending in 'ly'
Approved by: markm (mentor) Not objected to by: -audit
|
#
102975 |
|
05-Sep-2002 |
dwmalone |
Warns cleanups for netstat: 1) Include arpa/inet.h for ntohs. 2) Constness fixes. 3) Fix shadowing except for "sin" which shouldn't be in scope. 4) Remove register keyword. 5) Add missing initialsers to user defined structs. 5) Make prototype of netname6 globally visable. 6) Use right macros for printing syncache stats (even though entrie isn't a word).
|
#
95637 |
|
28-Apr-2002 |
markm |
Cast to kill warnings. De-register.
|
#
83200 |
|
07-Sep-2001 |
ru |
Deprecate the -l option in favour of more natural -W. The compatibility glue is still provided.
(This change is not yet reflected in the manpage, nor in usage(). This will be fixed at a later time today, with the general manpage cleanup commit.)
|
#
78931 |
|
28-Jun-2001 |
ume |
- create an entry of IPV6CTL_STATS sysctl. - fix the problem that netstat doesn't show raw6 and icmp6 pcblist. - make netstat use sysctl to retreive stats of ipv6 and icmpv6 instead of kread.
Obtained from: KAME MFC after: 1 week
|
#
78540 |
|
21-Jun-2001 |
sumikawa |
- Avoid hardcoded constant on icmp6 in/out histogram printing - Icmp6 histogram update for inverse neighbor solicit/advert.
Obtained from: KAME MFC after: 2 weeks
|
#
78316 |
|
15-Jun-2001 |
assar |
remove warnings remove superfluous declarations make things more consistent
|
#
78314 |
|
15-Jun-2001 |
assar |
remove K&R support
|
#
78309 |
|
15-Jun-2001 |
assar |
revert removal of warning and K&R support
Requested by: bde
|
#
78245 |
|
14-Jun-2001 |
assar |
remove most of the warnings
|
#
78238 |
|
14-Jun-2001 |
assar |
add the option -S for printing port numbers symbolically but addresses numerically. clean up the CFLAGS in Makefile.
|
#
78064 |
|
11-Jun-2001 |
ume |
Sync with recent KAME. This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge.
TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT.
Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks
|
#
77565 |
|
01-Jun-2001 |
dd |
Correct some typos.
PR: 27251 Submitted by: Pekka Savola <pekkas@netcore.fi>
|
#
74453 |
|
19-Mar-2001 |
phk |
Add an example of a novel technique to the IPv6 code. This technique seems 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.
|
#
74262 |
|
14-Mar-2001 |
brian |
MAXHOSTNAMELEN includes space for a NUL. Don't roll our own version of trimdomain(), use the one in libutil.
Not objected to by: freebsd-audit
|
#
64342 |
|
07-Aug-2000 |
ume |
To make compilable without -DINET6.
PR: bin/20407 Submitted by: Patrick Bihan-Faou <patrick@mindstep.com>
|
#
63022 |
|
12-Jul-2000 |
itojun |
remove m_pulldown related statistics, it is not for production system (it belongs to kame experiment).
|
#
62584 |
|
04-Jul-2000 |
itojun |
sync with latest kame netstat. basically, more statistics
|
#
55533 |
|
07-Jan-2000 |
shin |
-permit protocol specific statistics at iflag, 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>
|
#
55163 |
|
28-Dec-1999 |
shin |
Getaddrinfo(), getnameinfo(), and etc support in libc/net. Several udp and raw apps IPv6 support.
Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
|
#
54263 |
|
07-Dec-1999 |
shin |
udp IPv6 support, IPv6/IPv4 tunneling support in kernel, 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
|