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
|
259073 |
07-Dec-2013 |
peter |
Hoist all the mergeinfo up to the root in preparation for enforcing merges to the root only. All MFC's were rerecorded to the root.
Going forward, if an MFC includes mergeinfo, it will need to be made to the root and committed from the root. Merges with --ignore-ancestry or diff | patch can go anywhere.
The mergeinfo in HEAD is in a bad state from years of neglect and manual tampering and this was branched into 10.x. This confuses the coalescing code and prevents it from doing its job.
Approved by: re (gjb, implicit)
|
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
|
255156 |
02-Sep-2013 |
hrs |
Ignore if the interface is not IPv6-capable.
Spotted by: rpaulo
|
254955 |
27-Aug-2013 |
hrs |
Fix a crash when reloading the configuration file.
Spotted by: des
|
254684 |
23-Aug-2013 |
des |
Set the back pointer from the prefix to the interface before adding the prefix to the interface's prefix list. This shouldn't make a difference, since rtadvd(8) is single-threaded, but I've seen it crash in delete_prefix() with pfx_rainfo == NULL, and this is the only place where a prefix can be added to the list with a NULL pfx_rainfo.
MFC after: 3 days
|
253995 |
06-Aug-2013 |
hrs |
Fix build on arm and mips.
|
253970 |
05-Aug-2013 |
hrs |
- Use time_uptime instead of time_second in data structures for PF_INET6 in kernel. This fixes various malfunction when the wall time clock is changed. Bump __FreeBSD_version to 1000041.
- Use clock_gettime(CLOCK_MONOTONIC_FAST) in userland utilities.
MFC after: 1 month
|
253058 |
09-Jul-2013 |
hrs |
- Add missing "static" keywords. - Add a check for ifindex to if_indextoifinfo(). It returns NULL when if_indextoname() fails.
MFC after: 3 days
|
253057 |
09-Jul-2013 |
hrs |
Add a missing white space.
|
250302 |
06-May-2013 |
eadler |
Fix a typo in an error message.
Obtained From: DragonFlyBSD (commit 66e72101cc32272ae370b895ca3d9e3e99c5c3a8)
|
247863 |
06-Mar-2013 |
hrs |
Fix SIGSEGV when set_short_delay() is called when ifi->ifi_ra_timer is NULL. This can happen in a short period when a prefix is changed by a rtmsg and a new interface arrives.
|
247270 |
25-Feb-2013 |
des |
- Implement and use usage(). - Document the -C option. - Allow rtadvd to be invoked without any interfaces on the command line, and document that possibility.
MFC after: 1 week
|
235873 |
24-May-2012 |
wblock |
Fixes to man8 groff mandoc style, usage mistakes, or typos.
PR: 168016 Submitted by: Nobuyuki Koganemaru Approved by: gjb MFC after: 3 days
|
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
|
233522 |
26-Mar-2012 |
joel |
mdoc: correct .Bd/.Bl arguments.
Reviewed by: brueffer
|
228990 |
30-Dec-2011 |
uqs |
Spelling fixes for usr.sbin/
|
225683 |
20-Sep-2011 |
hrs |
Remove RA timer on an interface with !IFF_UP actively after starting to send clean-up RA messages for shutting down. The RA timers could prevent the rtadvd daemon from shutting down because ra_output() just ignored !IFF_UP interfaces and TRANSITIVE->UNCONFIGURED state transition never happened due to it.
Spotted by: kib Approved by: re (bz)
|
225519 |
13-Sep-2011 |
hrs |
- Fix a bug that can lead to displaying an incorrect value. (r224210) - Fix an abnormal termination caused by twice of "rtadvctl disable". (r224303) - Use poll() to wait for the control message socket instead of a spin loop. (r224304) - s/cmsg_/cm_/ to avoid conflict with CMSG_* symbols for struct cmsghdr. (r224619) - Ignore an interface that never sent RAs for graceful shut-down. (r224620) - Refine log messages. (r225148) - Fix SIGSEGV when receiving RAs that contain RDNSS and/or DNSSL options. (r225149)
Approved by: re (kib)
|
224144 |
17-Jul-2011 |
hrs |
- Improve interface list handling. The rtadvd(8) now supports dynamically- added/removed interfaces in a more consistent manner and reloading the configuration file.
- Implement burst unsolicited RA sending into the internal RA timer framework when AdvSendAdvertisements and/or configuration entries are changed as described in RFC 4861 6.2.4. This fixes issues that make termination of the rtadvd(8) daemon take very long time.
An interface now has three internal states, UNCONFIGURED, TRANSITIVE, or CONFIGURED, and the burst unsolicited sending happens in TRANSITIVE. See rtadvd.h for the details.
- rtadvd(8) now accepts non-existent interfaces as well in the command line.
- Add control socket support and rtadvctl(8) utility to show the RA information in rtadvd(8). Dumping by SIGUSR1 has been removed in favor of it.
|
223752 |
04-Jul-2011 |
hrs |
Add sanity check for ifm_version in struct if_msghdr.
|
222972 |
11-Jun-2011 |
hrs |
Support SIGHUP for reloading /etc/rtadvd.conf.
|
222824 |
07-Jun-2011 |
hrs |
Fix a bug that prevents tc=xxx from working.
|
222820 |
07-Jun-2011 |
hrs |
- Use ELM_MALLOC() for struct rainfo.
- Fix a missing back pointer assignment in struct prefix to struct rainfo when addr="" is specified. This caused SIGSEGV.
- Insert a prefix element to a tail queue after setting parameters.
|
222771 |
06-Jun-2011 |
hrs |
Set WARNS=1 temporarily to unbreak universe.
|
222743 |
06-Jun-2011 |
hrs |
Fix build on 64-bit arch.
Submitted by: dim Pointy hat to: hrs
|
222732 |
06-Jun-2011 |
hrs |
- Implement RDNSS and DNSSL options (RFC 6106, IPv6 Router Advertisement Options for DNS Configuration) into rtadvd(8) and rtsold(8). DNS information received by rtsold(8) will go to resolv.conf(5) by resolvconf(8) script. This is based on work by J.R. Oldroyd (kern/156259) but revised extensively[1].
- rtadvd(8) now supports "noifprefix" to disable gathering on-link prefixes from interfaces when no "addr" is specified[2]. An entry in rtadvd.conf with "noifprefix" + no "addr" generates an RA message with no prefix information option.
- rtadvd(8) now supports RTM_IFANNOUNCE message to fix crashes when an interface is added or removed.
- Correct bogus ND_OPT_ROUTE_INFO value to one in RFC 4191.
Reviewed by: bz[1] PR: kern/156259 [1] PR: bin/152458 [2]
|
219184 |
02-Mar-2011 |
bz |
Prevent crashes from a race when (cloned) interfaces go away.
PR: bin/152143 Submitted by: Przemyslaw Frasunek (przemyslaw frasunek.com) Tested by: Przemyslaw Frasunek (przemyslaw frasunek.com) MFC after: 1 week
|
216677 |
23-Dec-2010 |
delphij |
style.Makefile says tab between var= and value.
|
216675 |
23-Dec-2010 |
delphij |
Allow overriding pidfile and dumpfile.
PR: bin/153362 Submitted by: Joe Holden <joe rewt org uk> MFC after: 1 month
|
214491 |
28-Oct-2010 |
uqs |
Fix another "string" typo.
MFC after: 3 days
|
214447 |
28-Oct-2010 |
bz |
Correct a typo.
MFC after: 3 days
|
208028 |
13-May-2010 |
uqs |
mdoc: move remaining sections into consistent order
This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections.
Found by: mdocml lint run Reviewed by: ru
|
201390 |
02-Jan-2010 |
ed |
The last big commit: let usr.sbin/ use WARNS=6 by default.
|
188820 |
19-Feb-2009 |
imp |
Properly convert bit value to a bit field. Before we were storing values like 0x80 or 0x40 into a uint8_t foo:1 bitfield. This would result in the bit always being 0. One of these caused a warning for overflow (one that was 0x80), but the other didn't. They were both wrong.
This is why I hate code that mixes c struct bitfields and #defines. The rest of the fields accessed by the program should be audited.
|
186848 |
07-Jan-2009 |
danger |
- rename the RETURN VALUES section to EXIT STATUS [1] - convert to .Ex macro - not bumping a date as this is not a real content change
Approved by: ru [1] MFC after: 3 days
|
180823 |
26-Jul-2008 |
ache |
Change 2 arc4random modulo operations to arc4random_uniform() as OpenBSD does, since modulo is not power of 2.
Obtained from: OpenBSD
|
173412 |
07-Nov-2007 |
kevlo |
Cleanup of userland __P use
|
166134 |
20-Jan-2007 |
maxim |
o Remove duplicate includes.
Obtained from: Slava Semushin via NetBSD
|
160755 |
27-Jul-2006 |
yar |
These IPv6-only tools have no explicit dependency on the INET6 macro.
Tested with: cmp(1)
|
157047 |
23-Mar-2006 |
suz |
avoid heap overrun
Obtained from: KAME MFC after: 1 day
|
152538 |
17-Nov-2005 |
suz |
fixed a typo in comment
|
151470 |
19-Oct-2005 |
suz |
changed syslog level to more appropriate ones
Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks
|
151469 |
19-Oct-2005 |
suz |
source link-layer address option should be marked to be checked later, because rs_input() need this option.
Obtained from: KAME Reviewed by: ume, gnn MFC after: 2 weeks
|
151468 |
19-Oct-2005 |
suz |
added an ioctl option in kernel so that ndp/rtadvd can change some NDP-related kernel variables based on their configurations (RFC2461 p.43 6.2.1 mandates this for IPv6 routers)
Obtained from: KAME Reviewd by: ume, gnn MFC after: 2 weeks
|
148938 |
10-Aug-2005 |
ume |
fix typo.
Submitted by: suz Obtained from: KAME
|
141580 |
09-Feb-2005 |
ru |
Fixed the misplaced $FreeBSD$.
|
136764 |
22-Oct-2004 |
suz |
removed compilation warning
PR: bin/71624
|
133249 |
07-Aug-2004 |
imp |
Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software (with permission of addtional copyright holders where appropriate)
|
131498 |
02-Jul-2004 |
ru |
Fixed SEE ALSO references.
|
130852 |
21-Jun-2004 |
phk |
libcompat doesn't seem to be necessary any more.
|
126797 |
10-Mar-2004 |
bde |
Fixed a misspelling of 0 as NULL.
|
120280 |
20-Sep-2003 |
suz |
fixed memory leak.
Obtained From: KAME
|
120054 |
14-Sep-2003 |
ru |
Get rid of duplicates.
|
118968 |
15-Aug-2003 |
ume |
- supported a string notation for xxflags. - deprecate routes#N, as it is hard to keep consistency with rtprefixN. accept any number of "rtprefix", "rtrefix0", ..., "rtprefix99". - deprecate "addrs#N", as it is difficult for users to keep consistency with "addrN". accept 100 prefix info in maximum - like "addr", "addr0" ... "addr99". WARNS=2 clean on netbsd. old configuration file should work just fine. behavior change: previously, we rejected "addrN" if there's "addr", and we rejected "addr" if there is "addrN". now we accept both without problem. - when an advertised prefix configured from the kernel has been added or invalidated, notice the change in a short delay. - when invalidating a prefix, do not bark even if there is inconsistency about prefix lifetimes. - wrap more specific route info code into ROUTEINFO.
Obtained from: KAME MFC after: 1 week
|
118962 |
15-Aug-2003 |
ume |
use arc4random.
Obtained from: KAME MFC after: 1 week
|
118961 |
15-Aug-2003 |
ume |
variable shared with signal handler needs to be "volatile sig_atomic_t".
Obtained from: KAME MFC after: 1 week
|
118959 |
15-Aug-2003 |
ume |
set LOG_PERROR for openlog() when running foreground.
Obtained from: KAME MFC after: 1 week
|
118958 |
15-Aug-2003 |
ume |
dump the content of route information options
Obtained from: KAME MFC after: 1 week
|
118957 |
15-Aug-2003 |
ume |
logged the fact to dump the status.
Obtained from: KAME MFC after: 1 week
|
118920 |
14-Aug-2003 |
ume |
daemon() has to be called prior to file descriptor setups (otherwise file descriptors could be closed mistakenly)
Obtained from: KAME MFC after: 1 week
|
118916 |
14-Aug-2003 |
ume |
support poll(2).
Obtained from: KAME MFC after: 1 week
|
118913 |
14-Aug-2003 |
ume |
- rename some variables. - remove unused block.
Obtained from: KAME MFC after: 1 week
|
118912 |
14-Aug-2003 |
ume |
signal handler must take "int" arg.
Obtained from: KAME MFC after: 1 week
|
118911 |
14-Aug-2003 |
ume |
avoid fd_set overrun.
Obtained from: KAME MFC after: 1 week
|
118831 |
12-Aug-2003 |
ume |
malloc() may return NULL.
Obtained from: KAME MFC after: 1 week
|
118787 |
11-Aug-2003 |
ume |
reduce #ifdef.
MFC after: 1 week
|
118786 |
11-Aug-2003 |
ume |
use strlcpy() and snprintf().
Obtained from: KAME MFC after: 1 week
|
118784 |
11-Aug-2003 |
ume |
use int64_t instead of long long.
Obtained from: KAME MFC after: 1 week
|
118672 |
08-Aug-2003 |
ume |
Drop MIP6 code. We don't support MIP6 yet.
MFC after: 1 week
|
118664 |
08-Aug-2003 |
ume |
KNF, correct typos and cleanup spaces.
Obtained from: KAME MFC after: 1 week
|
118662 |
08-Aug-2003 |
ume |
stop use of register.
Obtained from: KAME MFC after: 1 week
|
118660 |
08-Aug-2003 |
ume |
__FUNCTION__ --> __func__
Obtained from: KAME MFC after: 1 week
|
118199 |
30-Jul-2003 |
suz |
fixed wrong parameter descriptions
Obtained from: KAME MFC after: 1 day
|
113325 |
10-Apr-2003 |
suz |
- fixed byte order of route lifetimes in route info opptions. - corrected wording in a log message.
Obtained from: KAME MFC after: 1 week
|
113137 |
05-Apr-2003 |
njl |
Use assignment, not equivalence test.
No response from: suz
|
113091 |
04-Apr-2003 |
obrien |
style.Makefile(5)
|
112976 |
02-Apr-2003 |
suz |
fixed invalid pointer reference
Obtained from: KAME
|
112676 |
26-Mar-2003 |
ume |
tightened check for the length of ND options.
Submitted by: jinmei@kame.net (JINMEI Tatuya) Obtained from: KAME
|
110668 |
11-Feb-2003 |
ache |
Use srandomdev() for FreeBSD
|
108470 |
30-Dec-2002 |
schweikh |
Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/ Add FreeBSD Id tag where missing.
|
108317 |
27-Dec-2002 |
schweikh |
english(4) police.
|
99968 |
14-Jul-2002 |
charnier |
The .Nm utility
|
98262 |
15-Jun-2002 |
ume |
Do not issue deprecated ioctl.
Obtained from: KAME MFC after: 2 weeks
|
98172 |
13-Jun-2002 |
ume |
Changed the behavior when an interface-direct prefix being advertised was removed from the kernel; Advertise the prefix with zero lifetimes rather than to remove the prefix from the prefix list to be advertised. This will help renumber a receiving host by deprecating the address derived from the old prefix.
Obtained from: KAME MFC after: 2 weeks
|
97719 |
01-Jun-2002 |
ume |
Skip duplicated prefixes in get_prefix().
Obtained from: KAME
|
97712 |
01-Jun-2002 |
ume |
KNF
Obtained from: KAME
|
97709 |
01-Jun-2002 |
ume |
sprintf -> snprintf
Obtained from: KAME
|
81687 |
15-Aug-2001 |
ru |
mdoc(7) police: utilize the new .Ex macro.
|
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.
|
80381 |
26-Jul-2001 |
sheldonh |
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The definitions are more readable, and it's possible that they're more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
|
80029 |
20-Jul-2001 |
obrien |
Perform a major cleanup of the usr.sbin Makefiles. These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
79454 |
09-Jul-2001 |
dd |
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
|
79366 |
06-Jul-2001 |
ru |
mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).
|
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
|
74816 |
26-Mar-2001 |
ru |
- Backout botched attempt to introduce MANSECT feature. - MAN[1-9] -> MAN.
|
71437 |
23-Jan-2001 |
ume |
zero-cleared allocated prefix information when configured.
Obtained from: KAME
|
71333 |
21-Jan-2001 |
itojun |
make it easier to handle $FreeBSD$ tags (amount of diff matters).
|
71332 |
21-Jan-2001 |
itojun |
make it clearer that rtadvd.conf is optional (configs are grabbed from kernel).
|
68965 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
68854 |
17-Nov-2000 |
ru |
mdoc(7) police: use certified section headers wherever possible.
|
67898 |
29-Oct-2000 |
ume |
- Sync with latest manpage of rtadvd. - Ripped MIP6 related description out. MIP6 is not merged, yet.
Obtained from: KAME Project
|
67801 |
28-Oct-2000 |
ume |
some clarification on if_getmtu() - avoid to use freed (by freeifaddrs) data - 1st try getifaddrs, then try SIOCGIFMTU as the last resort
Submitted by: JINMEI Tatuya <jinmei@isl.rdc.toshiba.co.jp> Obtained from: KAME Project
|
62669 |
06-Jul-2000 |
kris |
Add two files missing from the KAME sync
Submitted by: Eric Sabban <esabban@pacbell.net>
|
62656 |
05-Jul-2000 |
kris |
Sync with latest KAME
Obtained from: KAME
|
57852 |
09-Mar-2000 |
shin |
Added several socket close() which were mistakenly forgotten.
Reported by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
|
57673 |
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.
|
57435 |
24-Feb-2000 |
shin |
Print ifname when sendmsg failed.
Approved by: jkh
|
57238 |
15-Feb-2000 |
shin |
-P option was not enabled, so enable it (The option specify IPsec policy for rtadvd to receive Router Renumbering messages.)
Approved by: jkh
|
57237 |
15-Feb-2000 |
shin |
Correct pathname of rtadvd.conf from /usr/local/v6/etc to /etc.
Approved by: jkh
|
57120 |
10-Feb-2000 |
shin |
Forbid include of soem inet6 header files from wrong place
KAME put INET6 related stuff into sys/netinet6 dir, but IPv6 standard API(RFC2553) require following files to be under sys/netinet. netinet/ip6.h netinet/icmp6.h Now those header files just include each following files. netinet6/ip6.h netinet6/icmp6.h
Also KAME has netinet6/in6.h for easy INET6 common defs sharing between different BSDs, but RFC2553 requires only netinet/in.h should be included from userland. So netinet/in.h also includes netinet6/in6.h inside.
To keep apps portability, apps should not directly include above files from netinet6 dir. Ideally, all contents of, netinet6/ip6.h netinet6/icmp6.h netinet6/in6.h should be moved into netinet/ip6.h netinet/icmp6.h netinet/in.h but to avoid big changes in this stage, add some hack, that -Put some special macro define into those files under neitnet -Let files under netinet6 cause error if it is included from some apps, and, if the specifal macro define is not defined. (which should have been defined if files under netinet is included) -And let them print an error message which tells the correct name of the include file to be included.
Also fix apps which includes invalid header files.
Approved by: jkh
Obtained from: KAME project
|
55505 |
06-Jan-2000 |
shin |
libipsec and IPsec related apps. (and some KAME related man pages)
Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
|