273188 |
16-Oct-2014 |
hrs |
MFS r272855, 266846:
- Do not override sin6_scope_id in LLA when it is already set to non-zero. This fixes destination list in output of netstat -r. - Plug a memory leak. - Add RTM_VERSION check. - Fix a bug which can make sysctl() fail when -F is specified. - Increase WID_IF_DEFAULT() from 6 to 8 (the default for AF_INET6) because we have interfaces with longer names than 6 chars like epairN{a,b}. - Style fixes.
MFS r272847:
- Add rwlock to struct dadq. A panic could occur when a large number of addresses performed DAD at the same time.
MFS r272850:
- Replace Sun RPC license in TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009.
- Replace Sun Industry Standards Source License for Sun RPC code with a 3-clause BSD license as specified by Oracle America, Inc. in 2010. This license change was approved by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation.
- Replace Sun RPC license with a 3-clause BSD license. This license change was approved in 2010 by Wim Coekaerts, Senior Vice President, Linux and Virtualization at Oracle Corporation.
- Replace Sun RPC license for TI-RPC library with a 3-clause BSD license, with the explicit permission of Sun Microsystems in 2009. The code in question in this file was copied from lib/libc/rpc/pmap_getport.c.
MFS r272852,r272853:
- Add relative specification in expiration time. - Add proto3 option for RTF_PROTO3. - Use %lu for members of struct rt_metrics. - Use long explicitly for the time difference.
MFS r272854:
- Return 0 if:
1. "-u N" specified, no -f, and mdN found, 2. no -u, "-f /pathname" specified, and mdN associated with /pathname found, 3. "-u N" specified, "-f /pathname" specified, and both of them found, 4. "-l" specified and no -f, 5. "-l" specified, "-f /pathname" specified, and /pathname found.
otherwise return -1.
MFS r272856:
- Move configuration of IPv6 NDP flags to a point before handling ifconfig_IF. This fixes a race that a non-IPv4 interface can get an EUI64 LLA even if it has IFDISABLED nd6 flag at boot time.
MFS r272857:
- Cancel DAD for an ifa when the ifp has ND6_IFF_IFDISABLED as early as possible and do not clear IN6_IFF_TENTATIVE. If IFDISABLED was accidentally set after a DAD started, TENTATIVE could be cleared because no NA was received due to IFDISABLED, and as a result it could prevent DAD when manually clearing IFDISABLED after that.
MFS r272858:
- Fix an issue in range specification handling when a "-foo" is specified in ifconfig_IF_aliasN.
MFS r272859:
- Fix EtherIP. TOS field must be initialized when the inner protocol is PF_LINK, and multicast/broadcast flag should always be dropped because the outer protocol uses unicast even when the inner address is not for unicast. It had been broken since r236951 when gif_output() started to use IFQ_HANDOFF().
MFS r272860:
- Recover sin6_scope_id of gateway addresses in riprecv() by using the if_index where a RIP packet was received. This fixes a bug which prevented gateway addresses in fe80::/64 from being added.
MFS r272861:
- Fix rc.d/gssd script to define the default values in a standard way. - Use a parameter argument in jls(8) instead of doing grep.
MFS r272862, r272870:
- Restructure rc.d scripts for kerberos5 daemons.
MFS r272863:
- Return false status only when adding a route is failed. It could erroneously return false due to an afexists() check loop in routing_start().
MFS r272864:
- Use ipv6_prefer when at least one ifconfig_IF_ipv6 is configured.
MFS r272865:
- Fix a bug which prevented mount.fstab parameter from being converted when jail_JID_devfs_enable=NO.
MFS r272866:
- Fix header output when -P is specified and (ncpus - 1) != maxid.
MFS r272867:
- Fix a bug which could break extended attributes in a dump output. This occurred when a file was >892kB long and had a large data (>1kB) in the extended attributes.
MFS r272868, r272869:
- Make net.inet.ip.sourceroute, net.inet.ip.accept_sourceroute, and net.inet.ip.process_options vnet-aware.
MFS r272871:
- Revert changes in r269180. It could cause -c N option to enter an infinite loop if no reply packet is received.
MFS r272874:
- Resurrect set_rcvar() as a function to define a rc.conf variable. It defines a variable and its default value in load_rc_config() just after rc.conf is loaded. "rcvar" command shows the current and the default values.
MFS r272960:
- Do not add late flag when file= is specified because it has a bad side-effect. The specified file should exist before the fstab line.
Approved by: re (gjb) |
272461 |
03-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
269800 |
11-Aug-2014 |
delphij |
MFC r269180:
When interval is set to very small value with limited amount of packets, ping6(8) would quit before the remote side gets a chance to respond.
Solve this by resetting the itimer when we have reached the maximum packet number have reached, but let the other handling to continue.
PR: bin/151023 Submitted by: tjmao at tjmao.net
|
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
|
250388 |
08-May-2013 |
joel |
Remove EOL whitespace.
|
250251 |
04-May-2013 |
hrs |
Use FF02:0:0:0:0:2:FF00::/104 prefix for IPv6 Node Information Group Address. Although KAME implementation used FF02:0:0:0:0:2::/96 based on older versions of draft-ietf-ipngwg-icmp-name-lookup, it has been changed in RFC 4620.
The kernel always joins the /104-prefixed address, and additionally does /96-prefixed one only when net.inet6.icmp6.nodeinfo_oldmcprefix=1. The default value of the sysctl is 1.
ping6(8) -N flag now uses /104-prefixed one. When this flag is specified twice, it uses /96-prefixed one instead.
Reviewed by: ume Based on work by: Thomas Scheffler PR: conf/174957 MFC after: 2 weeks
|
241852 |
22-Oct-2012 |
eadler |
Check the return error of set[ug]id. While this can never fail in the current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail.
PR: bin/172289 PR: bin/172290 PR: bin/172291 Submittud by: Erik Cederstrand <erik@cederstrand.dk> Discussed by: freebsd-security Approved by: cperciva MFC after: 1 week
|
233648 |
29-Mar-2012 |
eadler |
Remove trailing whitespace per mdoc lint warning
Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
|
229912 |
10-Jan-2012 |
eadler |
Fix warning when compiling with gcc46: error: variable 'origextlen' set but not used
Approved by: dim MFC after: 3 days
|
229778 |
07-Jan-2012 |
uqs |
Spelling fixes for sbin/
|
216561 |
19-Dec-2010 |
charnier |
Add __unused. Ansi prototypes.
|
216399 |
12-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in sbin. This is in accordance with the information at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
|
210933 |
06-Aug-2010 |
joel |
Fix typos and spelling mistakes.
|
209236 |
16-Jun-2010 |
brucec |
Call free and freeaddrinfo before exiting.
PR: bin/144730 PR: bin/144974 Submitted by: Earl R. Lapus <earl.lapus at gmail.com> Approved by: rrs (mentor) MFC after: 1 month
|
206889 |
20-Apr-2010 |
maxim |
o Add do-not-fragment option support to ping6(8).
PR: bin/145759 Submitted by: pluknet MFC after: 1 month
|
182276 |
27-Aug-2008 |
matteo |
Implement -R support, similar to ping(8)'s -A. ping(8)'s -a was mapped to -e, but -E was already taken in ping6 (old option) so rename -e to -r. Now: ping -a => ping6 -r ping -A => ping6 -R
MFC after: 2 days
|
182269 |
27-Aug-2008 |
matteo |
Add -e to usage()
MFC after: 2 days
|
182195 |
26-Aug-2008 |
matteo |
Implement audible support similar to ping(8) -a option. Since -a was already taken, I chose -e (no real argument for this) but I'm willing to change to a different character if needed/desired.
PR: bin/123752 (inspired by) MFC after: 2 days
|
179356 |
27-May-2008 |
bz |
Change the exit status for 0 and 2 to be the same as with ping(1) and be usable in scripts, etc.
This also changes the semantics in case when we lose one of n packets. In that case, before we exited by SIG, now we exit with return(0).
Submitted by: Gert Doering (gert space.net) MFC after: 10 days
|
176549 |
25-Feb-2008 |
silby |
Decrease ping6's minimum allowed interval from .01 to .000001.
Note that due to the architecture of ping6, you are still limited to kern.hz pings per second.
MFC after: 2 weeks
|
173765 |
20-Nov-2007 |
dd |
Add -o option to match ping(8)
Reviewed by: dwmalone, maxim MFC after: 2 weeks
|
171246 |
05-Jul-2007 |
bz |
Remove the -DFAST_IPSEC from Makefiles again.
This was needed during the IPSEC->FAST_IPSEC->IPSEC transition period to not break the build after picking up netipsec header files. Now that the FAST_IPSEC kernel option is gone and the default is IPSEC again those defines are superfluous.
Approved by: re (rwatson)
|
171135 |
01-Jul-2007 |
gnn |
Commit IPv6 support for FAST_IPSEC to the tree. This commit includes all remaining changes for the time being including user space updates.
Submitted by: bz Approved by: re
|
168866 |
19-Apr-2007 |
mtm |
Correct two issues in ping6: 1. The static buffer that ping6(8) uses to hold the control data it gets from recvmsg(2) is too small in some cases. 2. When it prints the extra header information it doesn't do any checking to make sure the data it's printing is within the bounds of the supplied buffer.
Fix this by: o Increasing the buffer to hold extra headers to 10240 bytes (the minimum according to RFC3542 sec. 20.1) and allocate it dynamically. o In verbose mode, specify a warning if any control data from recvmsg(2) was truncated because the buffer was too small. o When printing the extra headers make sure not to overrun the buffer boundaries.
Reviewed By: mlaier PR: kern/99425 MFC After: 1 month
|
160755 |
27-Jul-2006 |
yar |
These IPv6-only tools have no explicit dependency on the INET6 macro.
Tested with: cmp(1)
|
141611 |
10-Feb-2005 |
ru |
Sync program's usage() with manpage's SYNOPSIS.
|
141580 |
09-Feb-2005 |
ru |
Fixed the misplaced $FreeBSD$.
|
140368 |
17-Jan-2005 |
ru |
Added the EXIT STATUS section where appropriate.
|
139936 |
09-Jan-2005 |
trhodes |
Fix build on all (hopefully) 64 bit architectures.
Noticed by: tinderbox Tested on: panther
|
139920 |
08-Jan-2005 |
trhodes |
Use static const char and bump WARNS.
|
132656 |
26-Jul-2004 |
suz |
re-enabled Rev 1.15 (lost during KAME merge at Rev 1.25, due to a KAME bug...)
Obtained from: KAME
|
129326 |
17-May-2004 |
ru |
Reapply local changes that got simply axed by the latest KAME merge. Fixed some more markup.
|
126178 |
23-Feb-2004 |
johan |
style.Makefile(5): Use WARNS?= instead of WARNS=.
|
121472 |
24-Oct-2003 |
ume |
Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542 (aka RFC2292bis). Though I believe this commit doesn't break backward compatibility againt existing binaries, it breaks backward compatibility of API. Now, the applications which use Advanced Sockets API such as telnet, ping6, mld6query and traceroute6 use RFC3542 API.
Obtained from: KAME
|
121316 |
21-Oct-2003 |
ume |
stop use of NI_WITHSCOPEID. it was deprecated.
Obtained from: KAME
|
117824 |
21-Jul-2003 |
maxim |
Quote from a Problem Report:
The output format specifier for the round-trip time in ping6 should be changed to %.3f instead of %g since %g doesn't accurately represent the precision of the number being output. In particular, %g truncates trailing zeroes. 0.01 ms does not mean the same thing as 0.010 ms. Although they are numerically identical, they do not have the same precision.
PR: bin/52324, bin/52750 Submitted by: dg MFC after: 1 week
|
107652 |
06-Dec-2002 |
suz |
corrected buffer lengths for memset()
obtained from: KAME MFC after: 3 days
|
103133 |
09-Sep-2002 |
nectar |
Back out previous commit. I was a bit overzealous: the fd_set size is calculated dynamically here.
|
103130 |
09-Sep-2002 |
nectar |
Check for FD_SET overrun.
|
99540 |
07-Jul-2002 |
ume |
Don't explicit kill of the process' own pid.
PR: bin/38862 Submitted by: Martin Faxer <gmh003532@brfmasthugget.se> with some modification MFC after: 1 week
|
99501 |
06-Jul-2002 |
charnier |
The .Nm utility
|
92883 |
21-Mar-2002 |
imp |
o remove __P o remove main prototype
|
92806 |
20-Mar-2002 |
obrien |
Remove 'register' keyword. It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?)
|
91523 |
01-Mar-2002 |
ume |
Show standard deviation.
PR: bin/35433 Submitted by: Morten Rodal <morten@rodal.no>, Maxim Konovalov <maxim@macomnet.ru> MFC after: 1 week
|
90352 |
07-Feb-2002 |
maxim |
Document ping6(8) reaction to SIGINFO.
PR: doc/33639 Reviewed by: ru Approved by: ru MFC after: 1 week
|
89394 |
15-Jan-2002 |
ru |
First ping after a preload (-l) was sent undelayed.
PR: bin/32354 Obtained from: ping.c,v 1.61
|
87668 |
11-Dec-2001 |
charnier |
spelling move some err() calls to errx() when message explains the pb enough do not set errno just before exiting the program lowercase errx() strings
|
87325 |
04-Dec-2001 |
obrien |
Default to WARNS=2. Binary builds that cannot handle this must explicitly set WARNS=0.
Reviewed by: mike
|
83391 |
13-Sep-2001 |
ru |
Set BINOWN=root explicitly for setuid root binaries.
This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
|
81980 |
20-Aug-2001 |
brian |
Handle snprintf() returning < 0 (not just -1)
MFC after: 2 weeks
|
81976 |
20-Aug-2001 |
brian |
Handle snprintf() returning -1.
MFC after: 2 weeks
|
81525 |
11-Aug-2001 |
kris |
Don't hard-code BINOWN and BINGRP (BINGRP was hard-coded to 'bin', which is the wrong value on FreeBSD).
MFC after: 1 week
|
81251 |
07-Aug-2001 |
ru |
mdoc(7) police:
Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block.
|
79214 |
04-Jul-2001 |
ru |
mdoc(7) police: don't xref to itself.
|
78995 |
29-Jun-2001 |
ume |
- fixed typo - a wording improvement in BUGS (ping vs ping6 issue)
Obtained from: KAME MFC after: 1 week
|
78990 |
29-Jun-2001 |
ume |
sync usage/description with reality.
Obtained from: KAME MFC after: 1 week
|
78984 |
29-Jun-2001 |
ume |
stop sending echo packets whenever the upper limit is specified by the -c option, regardless of the -f option. based on a comment from Tomohide Nagashima <tomohide@japan-telecom.co.jp>.
Obtained from: KAME MFC after: 1 week
|
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
|
74815 |
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
74531 |
20-Mar-2001 |
ru |
Set the default manual section for sbin/ to 8.
|
72914 |
22-Feb-2001 |
ume |
some reasoning why we separated ping(8) and ping6(8) comments/additions/corrections are welcome.
Obtained from: KAME
|
70152 |
18-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
69571 |
04-Dec-2000 |
ume |
test strdup() failures. from: Chris Faulhaber <jedgar@fxp.org>
Obtained from: KAME
|
68960 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
66811 |
08-Oct-2000 |
kris |
Don't overflow our fd_set. This is not a full sync with KAME because there are a whole lot of other changes which may not be suitable for us.
Obtained from: KAME
|
64277 |
05-Aug-2000 |
kris |
Don't call errx() without a format string, to protect against possible % characters in localized error messages from ipsec_strerror().
Obtained from: OpenBSD
|
62666 |
06-Jul-2000 |
kris |
Correct style bugs in previous commit
|
62628 |
05-Jul-2000 |
kris |
Sync with KAME
Obtained from: KAME
|
62627 |
05-Jul-2000 |
kris |
Sync with latest KAME code.
Obtained from: KAME
|
60096 |
06-May-2000 |
phantom |
Fix typo
Noticed by: hoek
|
59964 |
04-May-2000 |
phantom |
. clean `.Os' macro value since this tool is not KAME-only tools anymore . sort Xr's in SEE ALSO section . add integration note
|
57851 |
09-Mar-2000 |
shin |
Update icmp node info query message bit order of query types, according to draft-ietf-ipngwg-icmp-name-lookups-04 to 05 change. This is necessary before 4.0, because, -This change is non backword compatible -Other KAME derived platforms applied 05 -Author of the draft said he never do backword imcompatible changes again.
Approved by: jkh
Obtained from: KAME project
|
57695 |
02-Mar-2000 |
sheldonh |
Remove more single-space hard sentence breaks.
|
57668 |
01-Mar-2000 |
sheldonh |
Remove single-space hard sentence breaks. These degrade the quality of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
|
57439 |
24-Feb-2000 |
shin |
Security fixes. (Just same as sbin/ping and usr.sbin/traceroute) -Open socket() at first and then setuid() to actual user. -Allow ping6 preload option only for root.
Approved by: jkh
Submitted by: Neil Blakey-Milner <nbm@mithrandr.moria.org>
|
55167 |
28-Dec-1999 |
shin |
Small bug fix and improvements (1)added error check of if_nameindex() return value at getaddrinfo(). (2)print out more detailed information when getaddrinfo() error value is EAI_SYSTEM.(in this case system error num is kept in errno)
(1) is Discovered by: jinmei@kame.net in KAME environment.
|
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
|