summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_ifattach.c
AgeCommit message (Collapse)Author
2006-11-15unifdef -USCOPEDROUTINGJun-ichiro itojun Hagino
2006-08-31Automatically add a IPv6 link-local address to carp interfaces when theRyan Thomas McBride
virtual MAC address is set. Among other things, this makes route6d work correctly on systems with carp interfaces. In order to ensure backwards compatibility, we do not include IPv6 link-local addresses in generating the HMAC, but we accept HMACs with AND without the link-local addresses. They will be added to the HMAC in a future release. In short: this change should only affect backwards compatibility for IPv6 users who are manually adding link-local addresses on carp interfaces. testing mtu@ todd@ ok mpf@ henning@ deraadt@
2006-06-16adjust functions dealing with the routing table to take a table ID asHenning Brauer
parameter so they can work on alternate tables. table 0 hardcoded for many callers yet, that will be adapted step by step. input + ok claudio norby hshoexer
2006-05-27Do the same thing as for IPv4. Use a sysctl to enable/disable mfrowardingClaudio Jeker
and additionaly make the code part of the MROUTING option. Put it in deraadt@
2006-03-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2005-05-23carp needs a multicast kludge storage.Marco Pfatschbacher
Fixes PR 4211. OK mcbride@
2005-04-21remove (now obsolete) handling of IFT_PROPVIRTUAL/bridge*. tested by camield@Jun-ichiro itojun Hagino
2004-12-07Convert carp(4) to behave more like a regular interface, much in the sameRyan Thomas McBride
style as vlan(4). carp interfaces no longer require the physical interface to be on the same subnet as the carp interface, or even that the physical interface has an adress at all, so CARP can now be used on /30 networks. ok deraadt@ henning@
2004-05-07Replace RSA-derived md5 code with code derived from Colin Plumb's PD version.Todd C. Miller
This moves md5.c out of libkern and into sys/crypto where it belongs (as requested by markus@). Note that md5.c is still mandatory (dev/rnd.c uses it). Verified with IPsec + hmac-md5 and tcp md5sig. OK henning@ and hshoexer@
2003-07-08on interface removal, clear multicast forwarding stuff. from kameJun-ichiro itojun Hagino
2003-06-28i don't think pfsync needs a link-local addr.Jun-ichiro itojun Hagino
2003-05-14it is unlikely that we introduce 6to4 interface (IFT_STF) to openbsd.Jun-ichiro itojun Hagino
2002-09-12configure "next" pointer correctly. from j@pureftpd.orgJun-ichiro itojun Hagino
2002-09-11fix pointer signedness mixup. sync w/kameJun-ichiro itojun Hagino
2002-09-11KNF - return is not a function. sync w/kameJun-ichiro itojun Hagino
2002-06-11silence some of log(), as the codepath will be visited for IPv6-non-capableJun-ichiro itojun Hagino
interfaces too and can be annoying. net.inet6.icmp6.nd6_debug will re-enable them.
2002-06-11whitespaceJun-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-07whitespace sync w/kameJun-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-05-29move per-interface ip6/icmp6 stat to ifnet->if_afdata. sync w/kameJun-ichiro itojun Hagino
2002-05-23simplify condition to perform DAD. sync w/kameJun-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-08-23suppress printf() on non-multicast interface.Jun-ichiro itojun Hagino
suppress ipv6 initialization for IFT_PFLOG.
2001-08-23don't try to enable IPv6 on IFT_PFLOG.Jun-ichiro itojun Hagino
2001-07-18avoid using malloc() during interupt context for multicast kludge entry.Jun-ichiro itojun Hagino
allocate it on interface initialization.
2001-06-09No need for net/net_osdep.hAngelos D. Keromytis
2001-02-16cosmetic sync with kameJun-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-18do not remove default route by mistake, on interface removal.Jun-ichiro itojun Hagino
2000-10-25silence the "no multicast" warning for IFT_ENC, tooJason Wright
deraadt ok
2000-10-18don't try to configure IPv6 on bridge*. comment from deraadtJun-ichiro itojun Hagino
2000-10-02fix missing \n. from doug@freebsd (sync with kame)Jun-ichiro itojun Hagino
2000-05-05cope with interface detach (like pcmcia card removal). remove anyJun-ichiro itojun Hagino
IPv6 addresses assigned to the interface. reported by ho, bunch of help from niklas. KAME PR 231.
2000-04-27correct in6_ifdetach(). free oia, not ia.Jun-ichiro itojun Hagino
Lennart says there are more problems to go (I don't own openbsd-current laptop). From: Lennart Augustsson <augustss@augustsson.net>
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-03-02do not add ifa_dstaddr for non-pointopoint interface. IPv6 has noJun-ichiro itojun Hagino
concept for "broadcast".
2000-02-07fix include file path related to ip6.Jun-ichiro itojun Hagino
2000-02-04more coverage of in6_ifdetach()'s cleanup process.Jun-ichiro itojun Hagino
bug fix in SIOCGIFADDR_IN6 (point to point case).
2000-02-02- improve in6_ifdetach to remove (1) multicast kludge list (2) route toJun-ichiro itojun Hagino
link-local allnode multicast (ff02:x::/32) - fix ifnet refcnt'ing in multicast kludge list management. - avoid dangling pointer in multicast kludge management. (angelos, try this version of in6_ifdetach() - it should be better)
1999-12-10use proper type for in6_first_ifid (char -> u_int8_t)Jun-ichiro itojun Hagino
suggested by: deraadt
1999-12-10Remove remaining unnecessary ifdefs (itojun will hate me for this :-)Angelos D. Keromytis
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).