summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rtsold
Commit message (Collapse)AuthorAgeFilesLines
* Fix rtsold's usage messagengie2015-10-301-5/+5
| | | | | | | | | | | | - Remove -a from the usage message example dealing with specific interfaces. -a only makes sense when not specifying an interface, such that it's to be run on all interfaces - Fix the pidfile option (it's -p, not -P) - Change `interfaces` to `interface` to match the manpage MFC after: 3 days PR: 173744 Sponsored by: EMC / Isilon Storage Division
* Fix a ton of speelling errorseadler2015-10-211-1/+1
| | | | | | | arc lint is helpful Reviewed By: allanjude, wblock, #manpages, chris@bsdjunk.com Differential Revision: https://reviews.freebsd.org/D3337
* Now that we own the code, use arc4random(3) unconditionallydelphij2015-10-062-9/+0
| | | | | | and remove the corresponding HAVE_ARC4RANDOM conditions. MFC after: 2 weeks
* - Remove #ifdef HAVE_POLL_H.hrs2015-09-103-60/+6
| | | | | | - Use nitems(). MFC after: 3 days
* Remove bad call to shutdown().ed2015-08-101-6/+0
| | | | | | | The socket created by rtsol/rtsold is not a connection-based socket, meaning that we should not attempt to call shutdown() on it. Reported by: kan
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-275-10/+0
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-191-1/+2
| |\
| * | Updated dependenciessjg2014-05-161-1/+0
| | |
| * | Updated dependenciessjg2014-05-101-0/+2
| | |
| * | Merge from headsjg2013-09-058-104/+133
| |\ \
| * | | Updated dependenciessjg2013-03-111-0/+1
| | | |
| * | | Updated dependenciessjg2013-02-161-2/+0
| | | |
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+21
| | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | Remove #ifdef IFT_FOO.glebius2015-05-021-4/+0
| | | | | | | | | | | | | | | | Submitted by: Guy Yur <guyyur gmail.com>
* | | | rtsold does not need to link to libkvmbapt2015-04-091-1/+0
| | | |
* | | | Stop including if_var.h from userland.glebius2015-04-063-3/+0
| | | | | | | | | | | | | | | | Sponsored by: Nginx, Inc.
* | | | Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| |_|/ |/| | | | | | | | Reduce overlinking
* | | Fix buffer overrun.hrs2014-10-111-1/+2
| |/ |/| | | | | MFC after: 1 day
* | Use sysctl(ICMPV6CTL_ND6_DRLIST) instead of SIOCGDRLST_IN6 ioctl.hrs2013-08-171-28/+39
| |
* | - Remove struct ifinfo *iflist. It is no longer used.hrs2013-08-177-17/+14
| | | | | | | | - Suppress warnings about increase of alignment requirement.
* | Fix build on arm and mips.hrs2013-08-061-4/+2
| |
* | - Use time_uptime instead of time_second in data structures forhrs2013-08-054-48/+76
| | | | | | | | | | | | | | | | | | 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
* | Silent warnings.kevlo2013-07-161-1/+1
| |
* | - Fix wording. [1]markj2013-05-281-4/+4
| | | | | | | | | | | | | | | | - Improve the descriptions in the FILES section. [2] Reported by: Jason McIntyre [1] Obtained from: NetBSD [2] MFC after: 3 days
* | Correct the description of the -a option: rtsol(d) -a will in fact send outmarkj2013-05-231-7/+2
|/ | | | | | | router solicitations on multiple interfaces. Reviewed by: hrs MFC after: 1 week
* Fix warning when compiling with gcc46:eadler2012-01-201-2/+1
| | | | | | | error: variable 'target' set but not used Approved by: dim, cperciva (mentor, blanket for pre-mentorship already-approved commits) MFC after: 3 days
* Spelling fixes for usr.sbin/uqs2011-12-301-1/+1
|
* - Add ":origin" label to the interface id for resolvconf(8). (r223149)hrs2011-09-124-52/+164
| | | | | | | | | | | | - Add -u option to enable adding :[RA-source-address] to the interface id. (r223149) - s/INET6_ADDRSTRLEN/sizeof(ntopbuf)/ (r223149) - Fix a bug that can prevent -D from being overridden by -d. (r223149) - /-P pidfile/-p pidfile/ for consistency with rtadvd(8). (r223149) - Fix -F flag handling to support receiving RAs even when ip6.forwarding=1. (r225150) Approved by: re (kib)
* - Accumulate RA options instead of replacing old ones when a new RA arrived.hrs2011-06-084-142/+285
| | | | | | | | | | | | | | | | RFC 4861 6.3.4 clearly defines handling multiple RAs in this way. - RDNSS/DNSSL options from multiple RAs on a single link will be gathered and sent to resolvconf(8). - Call "resolvconf -d" only after at least one RDNSS or DNSSL option is received and then all of them are expired. - The rtsold.dump output now supports displaying a list of the RA options. - Use more human-readable expression for logging values of struct timeval. Discussed with: ume
* - Disable "resolvconf -d" temporarily to avoid extra invocations of the scripthrs2011-06-082-2/+7
| | | | | | | under a certain condition. - Fix argv handling. Spotted by: ume
* Lower WARNS level to 3 to eliminate alignment warnings related tomarcel2011-06-071-0/+1
| | | | casting inherent in CMSG_DATA().
* Remove redundant assignments to WARNS.ed2011-06-061-1/+0
| | | | For these directories, WARNS is already implied to be 6.
* - Implement RDNSS and DNSSL options (RFC 6106, IPv6 Router Advertisementhrs2011-06-069-319/+777
| | | | | | | | | | | | | | | | | | | | | 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]
* mdoc: move remaining sections into consistent orderuqs2010-05-131-3/+3
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* rtsol(8)/rtsold(8): make WARNS=3 cleanuqs2010-02-277-24/+25
| | | | | | It is actually WARNS=6 clean for non-strict alignment archs. Approved by: ed (co-mentor)
* Exclude the interfaces which IPv6 and/or accepting RA is disabledume2010-02-021-1/+31
| | | | | | from the auto probed interface list. MFC after: 1 week
* Make -a option actually work.ume2010-02-021-1/+0
| | | | MFC after: 1 week
* Test index value is within the range before using it to referencedelphij2010-01-041-1/+1
| | | | | | | | array member. PR: bin/141838 Submitted by: Henning Petersen <henning.petersen@t-online.de> MFC after: 2 weeks
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-0/+2
|
* Add support for ND6_IFF_IFDISABLED and ND6_IFF_ACCEPT_RTADV tohrs2009-09-124-7/+60
| | | | | | the -F flag. MFC after: 3 days
* - rename the RETURN VALUES section to EXIT STATUS [1]danger2009-01-071-4/+2
| | | | | | | | - convert to .Ex macro - not bumping a date as this is not a real content change Approved by: ru MFC after: 3 days
* Change arc4random to arc4random_uniform since modulo is not power of 2,ache2008-07-261-1/+1
| | | | | | as OpenBSD does. Obtained from: OpenBSD
* Cleanup of userland __P usekevlo2007-11-077-37/+37
|
* Improve wording for -f and -F.dd2006-08-141-12/+11
|
* These IPv6-only tools have no explicit dependency on the INET6 macro.yar2006-07-271-1/+1
| | | | Tested with: cmp(1)
* fixed a potential memory leaksuz2006-03-241-1/+3
| | | | | Obtained from: KAME MFC after: 1 day
* an English grammar fixsuz2005-06-091-1/+1
| | | | | Reported by: ru MFC after: 1 day
* fixed typosuz2005-06-081-3/+3
| | | | | Obtained from: KAME MFC after: 1 day
OpenPOWER on IntegriCloud