summaryrefslogtreecommitdiff
path: root/sys/netinet6/nd6.c
AgeCommit message (Collapse)Author
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-10-09supress too noisy log - can be re-enabled by sysctl. sync w/kameJun-ichiro itojun Hagino
2002-09-23better "ifconfig ipv6addr deprecated" flag handling. sync w/kameJun-ichiro itojun Hagino
2002-09-11KNF - return is not a function. sync w/kameJun-ichiro itojun Hagino
2002-09-04allow deprecated bit to be set from userland by ifconfig. NetBSD PR 18163Jun-ichiro itojun Hagino
2002-09-04handle error from copyoutJun-ichiro itojun Hagino
2002-08-19correct copyout logic. better fix to be made in kame treeJun-ichiro itojun Hagino
2002-08-19copyout only if oldp is non-nullJun-ichiro itojun Hagino
2002-08-19need explicit copyout().Jun-ichiro itojun Hagino
2002-06-14spelling; from Brian Poole <raj@cerias.purdue.edu>Todd T. Fries
2002-06-08splnet -> splsoftnet where appropriateJun-ichiro itojun Hagino
2002-06-08remove #ifdef __NetBSD__Jun-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-07If there has been no NS for the neighbor after entering theJun-ichiro itojun Hagino
INCOMPLETE state, send the first solicitation in nd6_output(), regardless of the timer value. revised comments about rate-limiting accordingly. sync w/kame
2002-06-03remove hardcoded assumptions on if_mtu. leave it to sys/net.Jun-ichiro itojun Hagino
makes it possible to take advantage of 9K ethernet.
2002-05-30improve nd6_setmtu(), to warn too-small MTU on SIOCSIFMTU. sync w/kameJun-ichiro itojun Hagino
2002-05-29bzero before settingJun-ichiro itojun Hagino
2002-05-29receivedra field is goneJun-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-20remove obsolete commentJun-ichiro itojun Hagino
2002-03-14First round of __P removal in sysTodd C. Miller
2001-12-07whitespace/comment sync with kameJun-ichiro itojun Hagino
2001-11-30unifdef OLDIP6OUTPUTJun-ichiro itojun Hagino
2001-06-29call defrouter_select() only if i am autoconfigured hostJun-ichiro itojun Hagino
2001-06-27do not try to update ipv6 default route if i'm not an autoconfigured host,Jun-ichiro itojun Hagino
on nd6_detach (= interface removal).
2001-06-22re-select default router on linklayer addrss changes. sync with kame.Jun-ichiro itojun Hagino
2001-06-09No need for net/net_osdep.hAngelos D. Keromytis
2001-05-29Verify that packets that haven't had crypto applied to them don't makeAngelos D. Keromytis
it out.
2001-03-30enable FAKE_LOOPBACK_IF case by default.Jun-ichiro itojun Hagino
now traffic on loopback interface will be presented to bpf as normal wire format packet (without KAME scopeid in s6_addr16[1]). fix KAME PR 250 (host mistakenly accepts packets to fe80::x%lo0). sync with kame.
2001-03-21in nd6_cache_lladdr(), set nd6_gctimer to ln_expire just after the stateJun-ichiro itojun Hagino
transition to STALE. fixes tahi test breakage. sync with kame.
2001-03-08make nd6_storelladdr()'s behavior consistent about mbuf freeing on errors.Jun-ichiro itojun Hagino
do not touch static ND entry on ND cache entry updates. couple of costmetic sync. sync with kame
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-21make validation code more strict for ND6/dest6 variable length headers.Jun-ichiro itojun Hagino
check duplicated nd6_ifinfo table initialization in a better way. sync with kame
2001-02-16cosmetic sync with kameJun-ichiro itojun Hagino
2001-02-16sync whitespace/comment with kame. to help merge tasksJun-ichiro itojun Hagino
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-02-06allow changing number of loopbacks in ukc.Michael Shalayeff
change rest of the code to use lo0ifp pointing to the corresponding struct ifnet. itojun@ and niklas@ ok
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-10-15suppress warning on routing table overflow. sync with kameJun-ichiro itojun Hagino
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-06-16take MIN/MAX from param.h, okay theo@Niels Provos
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-05-15use IFAFREE, not ifa_refcnt--.Jun-ichiro itojun Hagino
2000-04-27disable NUD for point-to-point devices. KAME PR 245 (temporary workaround)Jun-ichiro itojun Hagino
2000-04-19add boundary check for nd_ifinfo[]. (sync with kame)Jun-ichiro itojun Hagino
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)