summaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold/rtsold.c
AgeCommit message (Collapse)Author
2004-01-05add -F to usage()Jun-ichiro itojun Hagino
2004-01-05add -F option, which sets sysctl(8) variables rather than warn(3) about theJun-ichiro itojun Hagino
current setting. basically for boot floppy. req'ed by fries@. deraadt@ ok.
2004-01-03do not create pid file. it was just for debugging and there was no properJun-ichiro itojun Hagino
cleanup code. from kame
2004-01-02factor out dump.c from rtsol by -DSMALLJun-ichiro itojun Hagino
2004-01-02unifdef for readability. req'ed by deraadtJun-ichiro itojun Hagino
2003-07-07protosTheo de Raadt
2003-06-25protosTheo de Raadt
2003-05-15make getifaddrs(3) a default, as all BSD has it by nowJun-ichiro itojun Hagino
2003-03-13Use strdup() instead of doing it by hand; deraadt@ OKTodd C. Miller
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-10-26use poll(2). sync w/kameJun-ichiro itojun Hagino
2002-09-08signal handler must take "int" arg. from deraadt. sync w/kameJun-ichiro itojun Hagino
2002-06-10Kill __FUNCTION__.Marc Espie
ok itojun@
2002-05-31remove unused portion of code (pidfile(3) alternative)Jun-ichiro itojun Hagino
2002-05-31plug fd_set overrunJun-ichiro itojun Hagino
2002-05-31sync w/ latest kame. link id handling.Jun-ichiro itojun Hagino
2002-05-31function prototypes shoulnd't carry variable nameJun-ichiro itojun Hagino
2002-05-31KNF; itojun okTheo de Raadt
2002-03-25spellingTheo de Raadt
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-02-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2002-01-11call daemon(3) prior to socket setups to avoid file descriptor close mistakes.Jun-ichiro itojun Hagino
noted by markus, sync with kame
2001-12-01Use pidfile() instead of doing the equivalent thing by hand, and sometimesMiod Vallat
forgetting to unlink the pid file at exit. ok millert@ deraadt@
2001-12-01fd_set, not struct fd_setTheo de Raadt
2001-11-17use volatile sig_atomic_t where possible; simply volatile i other placesTheo de Raadt
2001-07-09sync with latest kame.Jun-ichiro itojun Hagino
- a memory leak - correct timer value - wording fixes in manpage rtsock.c is omitted for simplicity, as it is not meaningful on openbsd.
2000-10-06printf string format audit. from: sommerfeld@netbsd.orgJun-ichiro itojun Hagino
2000-08-13add "rtsol -a" (automatically lookup outgoign interface).Jun-ichiro itojun Hagino
warn if net.inet6.ip6.forwarding == 1. improve manpage. use $KAME$ for KAME tags. sync with kame.
2000-02-25use getifaddrs, not SIOCGIFCONF for LP64 align issue. (sync with kame).Jun-ichiro itojun Hagino
2000-02-01no need to extern int errno if errno.h is includedTheo de Raadt
2000-01-17sync with latest kame. previous version leaves an udp socket openedJun-ichiro itojun Hagino
(for use with ioctls) and it was not a pleasant thing.
1999-12-16deposit dump file in /var/run; markusTheo de Raadt
1999-12-16use arc4random()Theo de Raadt
1999-12-09rtsold(8); router solicitation daemon.Jun-ichiro itojun Hagino
rtsol(8); router solicitation program, for use in bootstrap process (statically linked) rcsid police. add missing prototypes. (sync with KAME)
1999-12-09initial import from KAME treeJun-ichiro itojun Hagino