summaryrefslogtreecommitdiff
path: root/sys/netinet6
AgeCommit message (Collapse)Author
2006-12-08unifdef -UCOMPAT_RFC1883 (ancient)Jun-ichiro itojun Hagino
2006-12-08leftover from interface-local multicast change.Jun-ichiro itojun Hagino
2006-11-27make use of multiple routing tables.Henning Brauer
hook up looking up routes in alternate tables to the packet forwarding path. alternate routing tables are mintained with route(8), table selection via pf. mostly hacked on a train ride with ryan some time ago, ok mcbride claudio
2006-11-21introduce sysctl net.inet6.ip6.multicast_mtudisc (for multicast routers).Jun-ichiro itojun Hagino
deraadt ok. manpage nit by jmc.
2006-11-17move comment to a line where it makes more senseJun-ichiro itojun Hagino
2006-11-17change semantics of ff01::/16 to interface local multicastJun-ichiro itojun Hagino
(to sync up with more recent IPv6 spec) ok from: deraadt mcbride
2006-11-15unifdef -USCOPEDROUTINGJun-ichiro itojun Hagino
2006-11-14typoJun-ichiro itojun Hagino
2006-10-31Only run address hooks on SIOCAIFADDR_IN6 and SIOCDIFADDR_IN6.Marco Pfatschbacher
Before a normal user running ifconfig(8) could trigger up to three address hook calls per interface. OK mcbride@, henning@
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-08-28Make carp see all IPv6 address additions and remove dead code in carp_ioctl()Ryan Thomas McBride
ok mpf@ henning@
2006-07-06u_quad_t -> u_int64_tBrad Smith
no functional change.
2006-06-18Add support for equal-cost multipath IP.Christopher Pascoe
To minimise path disruptions, this implements recommendations made in RFC2992 - the hash-threshold mechanism to select paths based on source/destination IP address pairs, and inserts multipath routes in the middle of the route table. To enable multipath distribution, use: sysctl net.inet.ip.multipath=1 and/or: sysctl net.inet6.ip6.multipath=1 testing norby@ ok claudio@ henning@ hshoexer@
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-06-16Spelling.Christopher Pascoe
2006-06-16More spelling fixes.Christopher Pascoe
2006-06-16SZpelling.Christopher Pascoe
2006-06-16Spelling.Christopher Pascoe
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-05-27Fix obvious error in code that is currently not compiled.Claudio Jeker
2006-05-24fix 2 !foo & barThordur I. Bjornsson
"why are you not committing? into the tree, into the tree!" and ok tedu@
2006-04-22Routes announced via rt_missmsg() do not have rtm_index set. While in mostClaudio Jeker
cases harmless it is used by the IPv6 code. The result is that bgpd is unable to assigning link local addresses to the correct interface. OK henning@ Fix for PR 5063.
2006-04-16Fix typo in queue.h conversion.Can Erkin Acar
ok miod@ hshoexer@
2006-03-22prevent anything outside rote.c from accessing the routing table headsHenning Brauer
directly. rather provide a rt_lookup function for regular lookups, and a rt_gettable for those that need access to the head for some reason. the latter cases should be revisted later probably so that nothing outside the routing core code accesses the heads at all... tested claudio jolan me, ok claudio markus
2006-03-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2006-03-04With the exception of two other small uncommited diffs this movesBrad Smith
the remainder of the network stack from splimp to splnet. ok miod@
2006-02-21use after free; from itojun@Markus Friedl
2006-02-14Fix pasto: clear correct buffer, from James Juran via NetBSD. ok markus@Otto Moerbeek
2006-02-06typos from alexey dobriyan;Jason McIntyre
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-12-11bitfields must be off an int or such typeTheo de Raadt
2005-12-10in ansi c, bitfields must be done against int, unsigned int, or _Bool.Theo de Raadt
so we must start to use u_int; ok cloder
2005-11-29something in the eurobsdcon route-a-thon broke my simple home networkJolan Luff
router so back out the routing stuff to pre-eurobsdcon where my machine doesn't crash immediately. i am happy to test diffs and report success/failures but i am not happy to have instantaneous crashes when i reboot with a new kernel that was compiled from pristine sources. if you are going to be an elitist asshole then you could at least make sure your code works. ok and "be crass towards them" deraadt@
2005-11-27don't let anything outside route.c access the routing table heads directly,Henning Brauer
but go through a provided wrapper. also provide rt_lookup() instead of doing the lookup manually in many places. ryan ok
2005-11-20splimp -> splvm. mbuf allocation here.Brad Smith
ok henning@
2005-10-22In icmp6_redirect_output(), sip6 is initialised to point to the data area ofBrad Smith
m0. But m0 may be freed later, so trying to use sip6 at the end of this function is wrong. My guess is that we want to reference the data area of m (the mbuf about to be send) instead at this point. Fix a panic on Xen (where a data area of a mbuf may be unmapped when the mbuf is freed), and probably potential data/pool corruption in other cases. From bouyer NetBSD ok deraadt@
2005-10-14avoid silly static variables that even caused nesting issues,Brad Smith
not to mention reentrancy concerns. From christos NetBSD ok deraadt@
2005-10-14bye bye more compile time knobs, use the sysctl to enable v6 forwarding.Brad Smith
ok deraadt@
2005-09-19sin6_scope_id maps to interface indices for link local addresses only!Brad Smith
(unlikely to be used with other scopes for now, but we should be correct anyway) From drochner NetBSD ok deraadt@
2005-09-19remove the unused in6_ifindex2scopeid()Brad Smith
if at all, it works with site-local addresses whose fate is uncertain to say the least From drochner NetBSD ok deraadt@
2005-08-11New counter for not joined IPv4 multicast groups.Marco Pfatschbacher
Don't count link local scope multicast as not forwardable. This stops ips_cantforward growing on carp(4) networks. tested and ok mcbride@, ok markus@.
2005-06-24simplify port allocation in pcb_bind(); based on freebsd; ok claudio henningMarkus Friedl
2005-05-23carp needs a multicast kludge storage.Marco Pfatschbacher
Fixes PR 4211. OK mcbride@
2005-05-09Make sure that prefixes get purged.Brad Smith
Fixes PR 3939. From NetBSD ok itojun@
2005-04-21remove (now obsolete) handling of IFT_PROPVIRTUAL/bridge*. tested by camield@Jun-ichiro itojun Hagino
2005-03-06move pf_test6() call slightly up, so pf gets called for incoming packetsDaniel Hartmeier
on loopback interfaces, and IPv6 behaves like IPv4 in this regard. only affects packets on loopback. ok itojun@
2005-02-10remove #if 0'ed code (which was experimental and should never be used)Jun-ichiro itojun Hagino
2005-01-18Rewriting the lladdr can now be done without using mbuf tags.Marco Pfatschbacher
Advertisements run through the carp interface first. So we just take the address from ifp0. While we're there, also remove carp_macmatch6, which isn't used anymore. Proposed by mcbride@ ok mcbride@, pascoe@
2005-01-17should not check "code" field on icmp6 too big message. from kameJun-ichiro itojun Hagino
2005-01-11correctly deal with unspecified (zero) interface number in IPV6_MULTICAST_IF,Damien Miller
IPV6_{JOIN,LEAVE}_GROUP ioctls; ok itojun@