summaryrefslogtreecommitdiff
path: root/sys/netinet6/icmp6.c
AgeCommit message (Collapse)Author
2001-06-26modify m_pkthdr.len computation to work with both 4.4BSD M_COPY_PKTHDRJun-ichiro itojun Hagino
and openbsd 2.9+ M_COPY_PKTHDR. discussed with angelos. sync with kame. XXX it is bad to change behavior of existing macro without name change... new behavior will be renamed M_MOVE_PKTHDR soon.
2001-06-25Don't double-clear M_PKTHDR/tags.Angelos D. Keromytis
2001-06-22cleanup COMPAT_RFC1885 case, for icmp6 echoback packet size considerationJun-ichiro itojun Hagino
(obsolete). sync with kame
2001-06-09No need for net/net_osdep.hAngelos D. Keromytis
2001-06-01use default hoplimit when incoming interface is not known to icmp6_error.Jun-ichiro itojun Hagino
sync with kame
2001-05-26Use m_tag_init() to initialize new mbuf m_pkthdr fields, rather thanAngelos D. Keromytis
having to change it every time.
2001-05-20Convert from tdbi to packet tags.Angelos D. Keromytis
2001-04-04make sure rcvif is not bogus, on call to icmp6_reflect.Jun-ichiro itojun Hagino
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-28Allow tdbi's to appear in mbufs throughout the stack; this allowsAngelos D. Keromytis
security properties of the packets to be pushed up to the application (not done yet). Eventually, this will be turned into a packet attributes framework. Make sure tdbi's are free'd/cleared properly whenever drivers (or NFS) does weird things with mbufs.
2001-03-21set rmx_mtu to L2 interface mtu, instead of 0, on mtudisc timeout.Jun-ichiro itojun Hagino
ip6_output() change is for safety. sync with kame
2001-03-20change interpretation of net.inet6.icmp6.nodeinfo from true/fale to bitmap.Jun-ichiro itojun Hagino
2001-03-08remove bogus rtfree. inspired by fix to PR 1706. sync with kameJun-ichiro itojun Hagino
2001-02-16pull in new pcb notification code from kame. better handling of scope address.Jun-ichiro itojun Hagino
2001-02-08witch raw ip6 socket code from NRL to kame.Jun-ichiro itojun Hagino
makes upgrades/code sharing much easier.
2001-02-08implement upper limit to icmp6 redirects (experimental, turned off)Jun-ichiro itojun Hagino
negative value to {mtudisc,redirect}_{hi,lo}wat will turn off the limitation. sync with kame.
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-16s/ND6DEBUG/ND6_DEBUG/ to synchronize with other placesJun-ichiro itojun Hagino
2001-01-08wrap "icmp6 checksum error" message into #ifdef ND6DEBUG. NetBSD PR 11911.Jun-ichiro itojun Hagino
sync with kame aVS: ----------------------------------------------------------------------
2000-12-11no need to rtalloc1() twice in pmtud. from kameJun-ichiro itojun Hagino
2000-12-11nuke #ifdef TCP6 (no longer supported).Jun-ichiro itojun Hagino
validate ICMPv6 too big messages (pmtud) based on pcb. we accept certain amount of non-validated ones, as IPv6 mandates ICMPv6 (so even for traffic from unconnected pcb, we need pmtud). sync with kame
2000-11-11improve spec conformance of node information query (07).Jun-ichiro itojun Hagino
make sure to check scoped address right on PMTUD. sync with kame.
2000-10-10little bit of sync with kame ($KAME, s/u_char/u_int8_t/)Jun-ichiro itojun Hagino
2000-10-10bring in icmp rate limitation code.Jun-ichiro itojun Hagino
make icmp6 rate limitation to latest (uses ppsratecheck only). (sync with netbsd) TODO: tcp SYN rate limit?
2000-09-16kame sys/netinet6/icmp6.c 1.140 -> 1.144.Jun-ichiro itojun Hagino
> in the check for the incoming redirect message, examine the gateway > (from the routing table) only when the address family of the gateway is > AF_INET6.
2000-08-19- upgrade icmp6 node information query support to 06 draft.Jun-ichiro itojun Hagino
- pedant: possible alignment issue in ALIGN > 8 arch (should be okay for now) (sync with kame)
2000-08-03typo in #define. ICMP6_NI_SUCESS -> SUCCESS.Jun-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-13the last commit was not enough. s/(int)/(signed char)/.Jun-ichiro itojun Hagino
2000-06-13workaround for arch with char == unsigned char (suppress warning).Jun-ichiro itojun Hagino
2000-06-12update icmp6 name lookup code to conform to 05 draft. previous codeJun-ichiro itojun Hagino
was 03/05 chimera. ping6: -n by default due to too many false error report due to too long reverse query delay.
2000-05-22disallow negative number for rate limit period.Jun-ichiro itojun Hagino
2000-05-22use ratecheck(9) for ICMPv6 rate limitation. sync with netbsd-current.Jun-ichiro itojun Hagino
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-15remove whitespace at EOLJun-ichiro itojun Hagino
2000-04-13do not return icmp6 error against icmp6 error.Jun-ichiro itojun Hagino
(this is due to a bug in header chain chasing)
2000-03-22aintroduce ip6_{next,last}hdr which lets us parse IPv6 header chain correctly.Jun-ichiro itojun Hagino
use it from icmp6 code.
2000-02-28fix ICMPv6 redirect input. the bug can result in invalid ND entry.Jun-ichiro itojun Hagino
2000-02-28upgrade node information query protocol support from 04 draft toJun-ichiro itojun Hagino
draft-ietf-ipngwg-icmp-name-lookups-05.txt. NOTE: 04 and 05 has no interoperability, in terms of "ping6 -a".
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-07fix include file path related to ip6.Jun-ichiro itojun Hagino
2000-01-08remove never-visited function icmp6_ctloutput().Jun-ichiro itojun Hagino
for openbsd, this is integrated into rip6_ctloutput().
2000-01-02implement net.inet6.icmp6.nodeinfo sysctl, which disablesJun-ichiro itojun Hagino
ICMPv6 node information query (and FQDN query - old variant). kame repository has the change as well.
1999-12-15do not overwrite traffic class portion when filling in IPv6 version field.Jun-ichiro itojun Hagino
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).