Commit Graph

93 Commits

Author SHA1 Message Date
kim 568e57b236 Update date 2020-04-17 13:36:48 +00:00
wiz b541d0f520 Sort SEE ALSO. 2020-04-16 07:23:58 +00:00
kim aae8c85b3e Add an "rtsol" keyword to ifconfig.if for enabling IPv6 RS/RA 2020-04-15 20:31:57 +00:00
wiz a29005e232 Remove trailing dot in SEE ALSO. 2020-04-13 20:44:39 +00:00
uwe de1a8e9869 Use .Dl for one line literal display. Add SEE ALSO. 2020-04-13 15:23:18 +00:00
abhinav c59c6bd4a8 Add rtsol to the NAME section as well 2017-10-22 18:09:33 +00:00
christos a310a83020 Give an example how to use dhcpcd instead of rtsol 2014-10-12 19:53:34 +00:00
wiz d762b67d80 Use Nx. 2014-09-11 21:04:34 +00:00
roy c6314d6139 Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8).
Remove rtsol(8) from rc.d/network.
Add -w seconds command to ifconfig to wait for N seconds for until DAD
has finished on all addresses.
Use ifconfig -w in rc.d/network instead of a forced sleep.

As discussed on tech-net@
2014-09-11 13:10:03 +00:00
joerg 778b2846d2 Don't modify format string, use asprintf to format the original msg and
syslog the result.
2014-03-25 21:07:59 +00:00
joerg 005b3ff4b3 Don't cast to time_t just to implicitly cast to uint32_t next. 2014-03-25 17:17:44 +00:00
dsl 0f00e137a7 Change previous to use uint32_t for 'interval'.
The value is a random interval in usec obtained by reducing a uint32_t
  value modulo 1000000 (multiplied by a delay in seconds of 1).
The value is then being split into secs+usec and assigned to a timeval
  (and an interval).
With -Wsign-conversion the type has to be either an unsigned 32bit
  type, or a signed 64bit one.  This is just plain stupid.
Warning about conversions between signed and unsigned types really
  only makes sense if the compiler is dynamically tracking the domain
  of the value.
2014-03-18 20:39:55 +00:00
christos 23b7b4606f use time_t for time 2014-03-18 19:30:09 +00:00
christos 5fe0c59dd8 KNF, bump warns, fix warnings to print the program name. 2014-03-18 00:16:49 +00:00
christos 0a77b69ab6 fix unused variable warnings. 2013-10-19 17:16:37 +00:00
wiz 92b40f3b9f Reword to work around phrasing that caused lots of discussions.
From Robert Elz.
2013-05-26 17:25:53 +00:00
wiz 6797ae4401 Correct a phrase. From jmc@openbsd.
Already fixed once by mbalmer and unfixed by me. Oops.
2013-05-24 16:38:46 +00:00
wiz 0d6fc7f479 Update description for -a:
-a autoprobes multiple ifs, and does not exit with error.

Diff originally from Mark Johnston (markj@freebsd), via jmc@openbsd.

Bump date.
2013-05-24 13:45:46 +00:00
mbalmer 2790b28f0e Fix typo in comment. 2011-10-17 16:31:14 +00:00
joerg dccf569e0e Use __dead. 2011-08-29 20:38:53 +00:00
christos e684a7b22f check if i is in range before using it. 2010-01-18 04:53:10 +00:00
wiz be1708fee6 Anon tells me it should be "on the order of", not "in the order of".
Hi marc!
2010-01-11 14:30:02 +00:00
wiz be7ea74662 New sentence, new line. 2010-01-11 09:49:19 +00:00
mbalmer ec0de7b4ec some wording fixes 2010-01-11 09:21:39 +00:00
lukem d877c4c3c0 Enable WARNS=4 by default, except for:
cpuctl  dumplfs  hprop  ipf  iprop-log  kadmin  kcm  kdc  kdigest
	kimpersonate  kstash  ktutil  makefs  ndbootd  ntp  pppd  quot
	racoon  racoonctl  rtadvd  sntp  sup  tcpdchk  tcpdmatch  tcpdump
	traceroute  traceroute6  user  veriexecgen  wsmoused  zic
(Mostly third-party applications)
2009-04-22 15:23:01 +00:00
lukem ad5ee40a86 fix WARNS=4 issues 2009-04-11 07:51:59 +00:00
dholland ba135a4729 Avoid zooming off the end of a malloced region. Makes rtsol{,d} -a work.
From Dave Huang in PR bin/38282.
2008-06-23 04:55:27 +00:00
jnemeth d9fff48060 PR/36931 - Wouter Schoot -- typo 2007-09-06 09:26:21 +00:00
tls 4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
christos eed7e5b25b c99 initializer 2006-10-16 03:39:42 +00:00
wiz ea31caa73b Remove trailing whitespace. 2006-10-13 21:07:34 +00:00
elad 4967fa3f06 PR/20875: Robert Elz: Incorrect facts in rtsol(8) man page
Patch applied, thanks! (yes, I've read the audit-trail. This is correct.)
2006-10-08 19:36:05 +00:00
elad 1232ea27c4 PR/18906: roskens at elfin dot net: misc. select() to poll() updates.
Adapted to -current by myself, thanks for the patch!
2006-10-07 17:27:57 +00:00
mrg 74e0882190 rs_data is u_char *, so assign it from a u_char *. 2006-05-11 08:38:38 +00:00
mrg c23edde436 inet_ntop() wants char[] not u_char[]. 2006-05-11 08:37:24 +00:00
dan 6ff40a4cfb prevent a potential resource leak, not found by coverity (perhaps masked by previous) 2006-03-18 21:41:23 +00:00
dan 3713fec029 catch another possible error case and exit early; CID 990 2006-03-18 21:35:35 +00:00
wiz a74bb8d083 Begin sentence with upper case letter, and uppercase an acronym. 2005-10-31 15:30:44 +00:00
wiz 25988cacf4 Sync usage with man page. From jmc@openbsd. 2005-10-31 15:22:10 +00:00
wiz 432e7125bf Use .Pp instead of less usual .Lp. From jmc@openbsd. 2005-10-31 15:21:02 +00:00
wiz 129d953b7a Improve description for /var/run/rtsold.dump. From jmc@openbsd. 2005-10-31 15:19:45 +00:00
wiz 710dff7215 Small cleanup. From jmc@openbsd. 2005-10-31 15:17:22 +00:00
wiz e7e684f30a Sort options. From jmc@openbsd. 2005-10-31 15:14:54 +00:00
christos c40b82ea42 constify. 2005-06-27 03:10:32 +00:00
wiz e6d8e1c083 -a cannot be specified with an interface; remove it from that part
of the usage. Closes PR 25917 by Kouichirou Hiratsuka.
2004-06-25 14:52:36 +00:00
itojun c257ec3afe backout previous change (removal of pidfile(3) call). requested by core. 2004-01-08 02:48:43 +00:00
wiz d495306cc1 Bump date for pid file removal. 2004-01-03 13:10:27 +00:00
itojun 592be49540 remove call to pidfile(3), it was just for debugging (and there was no proper
cleanup code).  from kame
2004-01-03 06:16:40 +00:00
itojun 85d26f975b rtsol: factor out dump.c if -DSMALL (for boot floppy)
use __func__ not __FUNCTION__
use timeradd() and timersub() from sys/time.h

from kame
2004-01-03 01:40:31 +00:00
fvdl 5f002aff6f Add missing initializer field. 2003-10-21 02:37:22 +00:00