Commit Graph

50 Commits

Author SHA1 Message Date
itojun
bdbbb53d75 signal handler must take "int" arg. from deraadt, sync w/kame 2002-09-08 01:42:55 +00:00
itojun
9e876c9803 test malloc failure. From: Chad Loder <cloder@acm.org>. sync w/kame 2002-07-10 21:13:35 +00:00
itojun
5e4b1fc3b1 byebye __FUNCTIION__. sync w/kame 2002-07-10 21:11:43 +00:00
matt
b8282a1148 Remove extra/redundant argument to syslog. 2002-06-15 01:28:39 +00:00
itojun
db47036241 use strchr 2002-06-09 02:47:03 +00:00
itojun
b7330b38e8 do not use deprecated ioctls 2002-06-08 18:11:46 +00:00
itojun
d6bd155256 use arc4random 2002-06-07 00:45:46 +00:00
itojun
6cebe67965 avoid fd_set overrun. sync w/kame 2002-06-07 00:45:15 +00:00
wiz
0e143d0a98 Grammar improvements. 2002-05-29 14:48:49 +00:00
itojun
cde8ec7d66 KNF, strlcpy, memory leak fix, random other cleanups. sync w/kame 2002-05-29 14:40:31 +00:00
itojun
861f132ad1 use pidfile(3). sync w/kame 2002-05-21 23:35:18 +00:00
itojun
1b614e8939 minor sync w/kame (prototype location) 2002-05-21 23:16:39 +00:00
itojun
313e584cb8 correct bitmask computation. more KNF. sync w/kame 2002-05-21 14:29:52 +00:00
itojun
33413b2866 KNF. a memory leak fix. sync w/kame 2002-05-21 14:22:05 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz
9a047ef78b Drop a .Pp. 2002-02-02 01:44:59 +00:00
wiz
2218541f7f Use standard headers. 2002-02-02 01:44:58 +00:00
itojun
4a1ad619af daemon(3) has to be called before opening file descriptors.
noticed by markus@openbsd, sync with kame
2002-01-11 04:20:55 +00:00
itojun
dc1b085d64 prevent overflow of lifetime value. sync with kame 2001-06-03 09:26:04 +00:00
kleink
80fd97ca8d Need <bsd.own.mk> now. 2001-05-15 17:07:49 +00:00
kleink
dccee15238 Don't install the example config if MKSHARE=no. 2001-05-15 17:05:54 +00:00
itojun
56f2ea71f0 typo. ntohl -> htonl. 2001-02-05 06:04:41 +00:00
itojun
0393c88566 avoid infinite loop when -s is specified (select loop mistake).
make agetent() 32bit clean.  KAME PR 127.
disable -R (router renumbering receiver).  sync with kame.
2001-02-04 06:19:40 +00:00
itojun
2355131777 make sure to initialize prefix information struct before use. sync with kame 2001-01-23 15:35:54 +00:00
itojun
69622e75ab sync with latest kame.
- make icmp6.h spec conformant to 2292bis-02, regarding to router reumbering
  flag bit.
- latest rtadvd.
2001-01-21 15:39:32 +00:00
itojun
14296ba1e6 make it clearer that /etc/rtadvd.conf is optional (normally,
configurations were derived from kernel interface settings).

install rtadvd.conf into /usr/share/exapmles/rtadvd, instead of /etc.

sync with kame.
2001-01-21 15:01:36 +00:00
cgd
d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
itojun
a88307ab86 sync with latest kame tree.
- reduce chances for signal handler rae condition
- decrease chances for misconfiguration
- feedbacks from router renumbering protocol bakeoff
2001-01-15 06:14:05 +00:00
bjh21
2530603bd5 Grammatical and formatting cleanups. 2000-10-15 12:37:16 +00:00
kleink
4918722a89 For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
2000-09-04 07:35:15 +00:00
itojun
5914867b00 repair interface MTU grabbing. real cause of PR 10923.
from koji@jp.above.net.  sync with kame.
2000-08-31 16:40:04 +00:00
itojun
19a4d0910c sync with sys/netinet/icmp6.h change (no bitfield for router renumber).
more logging.  improve error handling/garbage collection.  sync with kame.
2000-07-06 12:37:56 +00:00
itojun
e459e7617b sync with latest kame.
- decrease warning level on missing rtadvd.conf (actually, the file
  can be omitted)
- strict prototype
- gather stats better, emit stats on SIGUSR1 to /var/run
2000-05-23 11:37:58 +00:00
kleink
a3c6c197a2 Cast timeval members to types we know the printf conversions of. 2000-03-27 17:03:25 +00:00
itojun
6f7d4a0536 bring in latest kame tree. this fixes unclosed file descdriptor
in router renumbering case.
2000-03-13 06:16:46 +00:00
itojun
8dc6ef70e7 don't assume CMSG_xx are constant. (sync with latest kame) 2000-02-28 09:55:45 +00:00
itojun
387cae5e16 fix include file path (IPv6 related). 2000-02-06 11:21:45 +00:00
itojun
faa17682df add -R (accept router renumbering packet). now router renumbering is disabled
by default for ipsec config twists.
dies gracefully on SIGTERM.
2000-02-02 04:07:50 +00:00
itojun
3f638e0b65 fix pathname for rtadvd.conf. (/etc/rtadvd.conf for netbsd-current) 2000-01-24 12:59:30 +00:00
itojun
293291b23d grammar fix. sync with latest KAME. 2000-01-06 07:58:04 +00:00
itojun
7201a8f4cd sync with recent KAME. give a better debugging information. 1999-12-10 05:47:51 +00:00
itojun
6ac6bbb103 sync with more recent KAME. 1999-12-08 04:54:15 +00:00
itojun
92732ebc68 netbsd rcsid fix. 1999-12-08 04:51:04 +00:00
itojun
9f2f48b6ef fix pathname to /etc/rtadvd.conf.
NetBSD PR: 8966
1999-12-08 02:31:26 +00:00
itojun
9c536f2966 sync with KAME/NetBSD14.
add warning about upstream/downstream advertisement.
1999-07-08 00:41:21 +00:00
itojun
6a12600abf fix for 64bit arch, where sizeof(size_t) != sizeof(int).
add NetBSD RCS ID.
1999-07-06 13:02:09 +00:00
itojun
6d19cc56e3 more careful signed-ness handling in parsing config file. 1999-07-04 22:14:53 +00:00
itojun
202f63e8f8 fix typo (no comma).
use NetBSD RCS ID, retain original.
1999-07-03 18:12:18 +00:00
itojun
9a6abc8c5d s/CFLAGS/CPPFLAGS/ for -D and -I. 1999-07-03 06:26:25 +00:00
itojun
134b5f49f2 rtadvd: advertise IPv6 prefix info via router advertisement.
(to be run on routers)
1999-07-02 09:28:16 +00:00