Commit Graph

77 Commits

Author SHA1 Message Date
itojun d9a428ea1c avoid heap overrun. thanks goes to Susan Lan of zyxel. 2006-03-22 09:22:28 +00:00
dan bcff75cc37 actually toggle the value of dquote when seeing a '"', as I intuit the
author must have intended.  Found via coverity CID 579.
2006-03-18 22:07:15 +00:00
rpaulo 8c2379fd97 NDP-related improvements:
RFC4191
	- supports host-side router-preference

	RFC3542
	- if DAD fails on a interface, disables IPv6 operation on the
          interface
	- don't advertise MLD report before DAD finishes

	Others
	- fixes integer overflow for valid and preferred lifetimes
	- improves timer granularity for MLD, using callout-timer.
	- reflects rtadvd's IPv6 host variable information into kernel
	  (router only)
	- adds a sysctl option to enable/disable pMTUd for multicast
          packets
	- performs NUD on PPP/GRE interface by default
	- Redirect works regardless of ip6_accept_rtadv
	- removes RFC1885-related code

From the KAME project via SUZUKI Shinsuke.
Reviewed by core.
2006-03-05 23:47:08 +00:00
simonb bee087d4cc libcompat isn't needed any more here. 2006-02-25 12:00:24 +00:00
wiz 8ab58d4943 Sync usage with man page. 2005-10-31 15:29:23 +00:00
wiz 14a2986cc2 Small improvements. Sort options. From jmc@openbsd. 2005-10-31 15:28:53 +00:00
dsl c4670c4ec7 Add (unsigned char) cast to ctype functions 2004-10-30 15:28:45 +00:00
fvdl 0526a13bc6 Don't compare an int to NULL. 2003-10-21 03:01:44 +00:00
itojun 8c185a2af9 no need for "sdl = NULL" initialization on decl. cedric@openbsd 2003-09-23 18:15:50 +00:00
itojun ed45a3ba48 simplify by using getifaddrs 2003-09-23 17:57:21 +00:00
itojun 1ce85c4e12 plug memory leak. from kame 2003-09-20 13:04:07 +00:00
wiz 47190e80b8 Consistently use 'RFC 1234' instead of 'RFC1234' or 'RFC-1234'.
From jmc@openbsd.
2003-09-07 16:22:20 +00:00
agc 326b2259b7 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
2003-08-07 11:25:11 +00:00
wiz f9cc3a858b Bump date for recent changes. 2003-07-04 12:33:11 +00:00
itojun daf8a4ad8e "addrs" is not needed any more 2003-06-25 03:45:02 +00:00
itojun c0ee9a3789 need "a". from jmc@openbsd 2003-06-18 05:06:15 +00:00
itojun 81e3f9cb3f sync manpage with previous change (addrs# deprecdated) 2003-06-18 02:08:10 +00:00
itojun 8412a300dc relax addrs#x config parameter. should address PR 21872 2003-06-17 08:08:48 +00:00
itojun f35cce81c8 strncpy -> strlcpy 2003-05-17 18:51:13 +00:00
perry e1b82b39a9 ipng->IPng, from Igor Sobrado in PR misc/20755 (though its a nit, ipng is fine. 2003-03-30 23:53:22 +00:00
itojun 626b1896ed correct use of sizeof 2003-03-14 18:43:52 +00:00
itojun b34ce1c186 add missing ND option length validation. from kame 2003-03-14 18:32:42 +00:00
wiz 8ea866f1ab between with three es, and positive with two is. 2002-10-02 15:30:11 +00:00
mycroft aae6c28cf9 null commit 2002-09-23 12:44:34 +00:00
itojun f46e921837 poll.h, not sys/poll.h 2002-09-23 03:36:03 +00:00
mycroft a5f0bfc173 Set fd of unused pollfd entries to -1. 2002-09-20 19:51:33 +00:00
mycroft 648377324d select() -> poll() 2002-09-20 13:08:21 +00:00
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