summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6.h
AgeCommit message (Collapse)Author
2003-07-08unifdef -U__otherBSD__Jun-ichiro itojun Hagino
2003-06-27split ND6 cache timer management to per-entry. increased accuracy,Jun-ichiro itojun Hagino
no O(N) loop. sync w/ kame. marc tested, daniel ok
2002-06-08gcJun-ichiro itojun Hagino
2002-06-08sync with latest KAME in6_ifaddr/prefix/default router manipulation.Jun-ichiro itojun Hagino
behavior changes: - two iocts used by ndp(8) are now obsolete (backward compat provided). use sysctl path instead. - lo0 does not get ::1 automatically. it will get ::1 when lo0 comes up.
2002-06-07cope with cases where maxmtu == 0 (shouldn't happen)Jun-ichiro itojun Hagino
2002-06-05be sure to use L3 MTU, not L2 MTU, when specified in spec (affects FDDI/ARCnet)Jun-ichiro itojun Hagino
2002-05-30improve nd6_setmtu(), to warn too-small MTU on SIOCSIFMTU. sync w/kameJun-ichiro itojun Hagino
2002-05-29no need to supply obsolete field name "receivedra"Jun-ichiro itojun Hagino
2002-05-29attach nd_ifinfo structure to if_afdata.Jun-ichiro itojun Hagino
split IPv6 MTU (advertised by RA) from real link MTU. sync with kame
2002-03-14First round of __P removal in sysTodd C. Miller
2002-01-23compatability -> compatibility.Federico G. Schwindt
2001-02-23garbage-collect stale ND entries (default: 1 day).Jun-ichiro itojun Hagino
RFC 2461 5.3. sync with kame.
2001-02-23remove unnecessary state, ND6_LLINFO_WAITDELETE, from neighbor cacheJun-ichiro itojun Hagino
state machine. no need for RTF_REJECT on neighbor cache entires, they are leftover from ARP code. sync with kame.
2001-02-08when chasing nd6_llinfo chain, make sure we do not touch danglingJun-ichiro itojun Hagino
pointer (due to RTM_DELETE during default router list management). from kame
2001-02-08use timeout_xx() throughout sys/netinet6. sync with kame.Jun-ichiro itojun Hagino
2001-02-07by default, don't bark on inbound ND messages, as outsider may be able toJun-ichiro itojun Hagino
fill up /var with bogus packets. setting net.inet6.icmp6.nd6_debug will re-enable kernel messages on invalid ND packet and other occasions. improve icmp6 stats.
2001-01-19pull post-4.4BSD change to sys/net/route.c from BSD/OS 4.2 (UCB copyrighted).Jun-ichiro itojun Hagino
have sys/net/route.c:rtrequest1(), which takes rt_addrinfo * as the argument. pass rt_addrinfo all the way down to rtrequest, and ifa->ifa_rtrequest. 3rd arg of ifa->ifa_rtrequest is now rt_addrinfo * instead of sockaddr * (almost noone is using it anyways). benefit: the follwoing command now works. previously we need two route(8) invocations, "add" then "change". # route add -inet6 default ::1 -ifp gif0 remove unsafe typecast in rtrequest(), from rtentry * to sockaddr *. it was introduced by 4.3BSD-reno and never corrected. XXX is eon_rtrequest() change correct regarding to 3rd arg? eon_rtrequest() and rtrequest() were incorrect since 4.3BSD-reno, so i do not have correct answer in the source code. someone with more clue about netiso-over-ip, please help.
2000-07-06- more icmp6/ip6 stats.Jun-ichiro itojun Hagino
- protect IPv6 ND from being hosed (due to neighbor unreachability detection hint) by wrong tcp traffic. still not sure if there's real attack, but it is good to be cautious. - avoid bitfield for router renumbering header decl. - implement packet-per-sec limitation for icmp6 errors, turn interval limit off (it is not very useful due to unix timer resolution).
2000-05-19never forward packet with link-local address.Jun-ichiro itojun Hagino
experimental support for new loopback packet handling (with FAKE_LOOPBACK_IF, rcvif will be set to real outgoing interface, not the loopback, to honor scope) sync with kame.
2000-05-15perform NUD on p2p link, only if the destination/gateway is real neighbor.Jun-ichiro itojun Hagino
this removes temporary workaround (no NUD on p2p link). KAME PR 245.
2000-04-17revisit in6_ifattach(). (1) make it more persistent about initializaing anJun-ichiro itojun Hagino
interface (2) cleanup interface id selection. run NUD on p2p interface (required by spec for bidir p2p interface). add "ndp -i interface" (can tweak per-interface ND flag). (sync with more recent kame)
2000-02-28bring in recent KAME changes (only important and stable ones, as usual).Jun-ichiro itojun Hagino
- remove net.inet6.ip6.nd6_proxyall. introduce proxy NDP code works just like "arp -s". - revise source address selection. be more careful about use of yet-to-be-valid addresses as source. - as router, transmit ICMP6_DST_UNREACH_BEYONDSCOPE against out-of-scope packet forwarding attempt. - path MTU discovery takes care of routing header properly. - be more strict about mbuf chain parsing. - nuke xxCTL_VARS #define, they are for BSDI. - disable SIOCSIFDSTADDR_IN6/SIOCSIFNETMASK_IN6 ioctl, they do not fit IPv6 model where multiple address on interface is normal. (kernel side supports them for a while for backward compat, the support will be nuked shortly) - introduce "default outgoing interface" (for spec conformance in very rare case)
2000-02-04more coverage of in6_ifdetach()'s cleanup process.Jun-ichiro itojun Hagino
bug fix in SIOCGIFADDR_IN6 (point to point case).
2000-01-08use arc4random() instead of random for two reasons.Theo de Raadt
1) on some architectures, random() should only be used by the scheduler (ie. statintr() because it is uniformly distributed 2) arc4random() is actually strong, random() is not at all
1999-12-08bring in KAME IPv6 code, dated 19991208.Jun-ichiro itojun Hagino
replaces NRL IPv6 layer. reuses NRL pcb layer. no IPsec-on-v6 support. see sys/netinet6/{TODO,IMPLEMENTATION} for more details. GENERIC configuration should work fine as before. GENERIC.v6 works fine as well, but you'll need KAME userland tools to play with IPv6 (will be bringed into soon).