Commit Graph

24 Commits

Author SHA1 Message Date
itojun
0a7bed1113 bring in latest kame code.
- correct RTA_NETMASK processing
- correct -A filter behavior (do not advert aggregated route to other if)
- better signal handling
- mandate getifaddrs
- do not advert connected routes on !IFF_UP routes.  experimental
sync with kame
2001-02-07 13:46:04 +00:00
pk
39ca30e495 setindex2ifc(): after a realloc(), zero the newly acquired entries. 2001-02-07 13:24:42 +00:00
itojun
606c47534d make signo a volatile variable. sync with kame 2001-01-12 17:48:37 +00:00
itojun
5e43f4d020 make signal handler very short, to avoid possibility of race conditions.
commented by deraadt.  sync with kame
2001-01-12 14:55:13 +00:00
itojun
980886f151 do not advertise dynamic/cloned routes 2000-11-10 18:15:57 +00:00
itojun
ecb9f85737 cast size_t to u_long on printing. sync with kame 2000-10-10 13:03:27 +00:00
itojun
74b478c63c printf-format audit. from sommrfeld@netbsd.org. sync with kame. 2000-10-06 00:13:01 +00:00
itojun
a1d74a730b fix LP64 issue in routing message parsing. from thorpej 2000-08-13 00:41:30 +00:00
itojun
8e95963981 fix behavior or -A. routing table check does not seem to working right. 2000-07-30 17:26:14 +00:00
itojun
06ee23e6b3 sync with latest kame.
- remove obsolete non-advanced-api support.
- if a routing entry exists for aggregate prefix (-A), do not overwrite
  the routing entry (exit with error).
2000-07-15 04:55:40 +00:00
itojun
f85b415274 sync with more recent kame.
- fix memory leak with realloc()
- warn if we see packets with junk outside of IPv6 prefix length
- cosmetic
2000-07-09 03:06:18 +00:00
itojun
c3b1168f43 more correct advert for global address on p2p.
avoid reusing upper bits of rtm_flags.  (sync with kame)
2000-05-18 13:23:43 +00:00
itojun
019d9b540c correct p2p interface address handling.
avoid memory leak.
bzero() after malloc().
(sync from kame)
2000-05-16 14:04:32 +00:00
itojun
2c97d607dd ignore routing socket messages for unexpected (or not interesting) interfaces.
do not advertise reject/blackhole static routes.
2000-04-11 11:57:15 +00:00
itojun
a5ad88b8e0 use getifaddrs. avoid "extern int errno".
(sync with latest kame code)
2000-02-25 06:22:05 +00:00
itojun
e31c5df7d2 sync with recent KAME code.
- bark if extra argument is specified.
1999-09-13 11:07:52 +00:00
itojun
672bcec232 sync with recent KAME.
- fix 64bit alignment issue in routing socket.
- avoid s6_addr8 (nonstandard), use s6_addr instead.
1999-09-03 04:04:22 +00:00
itohy
5558ca668c Eliminate illegal cast from function pointer (sig_t) to object pointer (void *).
Remove #include of unused headers.
Fix varargs usage.
KNF.
Const poisoning.
1999-07-26 01:31:47 +00:00
itojun
e5244472c9 style fix (to sync with KAME/NetBSD14) 1999-07-08 16:11:40 +00:00
sommerfeld
eb61e82da9 Fix a bit-count vs. byte-count problem .. /16 routes were added as
host routes rather than network routes.
1999-07-08 16:04:56 +00:00
itojun
7e91967d7e fix for 64bit arch (sizeof(void *) != sizeof(int)) 1999-07-06 13:08:12 +00:00
itojun
72367d27c8 s/char/int/ for variable that eat return value of getopt(). 1999-07-04 21:59:19 +00:00
itojun
daa8445160 add NetBSD RCS ID. 1999-07-04 14:45:54 +00:00
itojun
bfa86f1cc9 route6d: RIPng daemon (similar to route6d)
rip6query: RIPng query (similar to ripquery)

NOTE: we usually do not run route6d on end nodes at startup (rtsol should do
the trick).  So I figured that route6d can be in /usr/sbin, not in /sbin
(routed is in /sbin).  Correct me if I'm wrong.
1999-07-02 11:47:12 +00:00