From owner-freebsd-stable@FreeBSD.ORG Mon Dec 14 21:58:15 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 691771065676 for ; Mon, 14 Dec 2009 21:58:15 +0000 (UTC) (envelope-from qing.li@bluecoat.com) Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by mx1.freebsd.org (Postfix) with ESMTP id 52E828FC16 for ; Mon, 14 Dec 2009 21:58:15 +0000 (UTC) Received: from bcs-mail03.internal.cacheflow.com ([10.2.2.95]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id nBELwCOC026126; Mon, 14 Dec 2009 13:58:12 -0800 (PST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Mon, 14 Dec 2009 13:58:02 -0800 Message-ID: In-Reply-To: <3E18B7A0-9391-47A2-B52D-24E44DDF1A33@bangj.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: IPv6 - bad neighbor solicitation messages Thread-Index: Acp6EFTbCvDBRT21S2SWjeSn+ZDmvgC9/3Kw References: <3E18B7A0-9391-47A2-B52D-24E44DDF1A33@bangj.com> From: "Li, Qing" To: "Tom Pusateri" , Cc: Subject: RE: IPv6 - bad neighbor solicitation messages X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Dec 2009 21:58:15 -0000 Please email me your routing table privately, but I am suspecting the following temporary patch would fix your issue. Please give it a try and report back. http://people.freebsd.org/~qingli/nd6-ns.diff -- Qing > -----Original Message----- > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- > stable@freebsd.org] On Behalf Of Tom Pusateri > Sent: Thursday, December 10, 2009 7:16 PM > To: freebsd-stable@freebsd.org > Subject: IPv6 - bad neighbor solicitation messages >=20 > I'm having intermittent IPv6 issues on one FreeBSD 8-stable box. >=20 > I've tried to ping6 the FreeBSD-8 stable (crag) (as of 12/9/09) from > snow leopard (glow) and from a freebsd 7.2 box (gw). >=20 > I've tried replacing the fxp0 interface in the FreeBSD-8 stable box > with an em0 interface and it works with the FreeBSD 7.2 box but the > same problem from the Snow Leopard box. >=20 > The bad neighbor solicitation messages keep increasing with the IPv6 > pings. >=20 > Any other thing I can collect to troubleshoot? >=20 > Thanks, > Tom >=20 > glow pusateri$ ping6 crag > PING6(56=3D40+8+8 bytes) 2610:28:1800:4001:225:ff:fef1:7305 --> > 2610:28:1800:4001:20e:cff:fe9f:faad > Request timeout for icmp_seq=3D0 > Request timeout for icmp_seq=3D1 > Request timeout for icmp_seq=3D2 > Request timeout for icmp_seq=3D3 > 16 bytes from 2610:28:1800:4001:20e:cff:fe9f:faad, icmp_seq=3D4 = hlim=3D63 > time=3D0.784 ms > Request timeout for icmp_seq=3D5 > Request timeout for icmp_seq=3D6 > Request timeout for icmp_seq=3D7 > Request timeout for icmp_seq=3D8 > 16 bytes from 2610:28:1800:4001:20e:cff:fe9f:faad, icmp_seq=3D9 = hlim=3D63 > time=3D0.633 ms > Request timeout for icmp_seq=3D10 > Request timeout for icmp_seq=3D11 > Request timeout for icmp_seq=3D12 > Request timeout for icmp_seq=3D13 > 16 bytes from 2610:28:1800:4001:20e:cff:fe9f:faad, icmp_seq=3D14 = hlim=3D63 > time=3D0.654 ms > Request timeout for icmp_seq=3D15 > ^C > --- crag.foo.com ping6 statistics --- > 17 packets transmitted, 3 packets received, 82.4% packet loss > round-trip min/avg/max/std-dev =3D 0.633/0.690/0.784/0.067 ms >=20 > tcp: > 153 packets sent > 146 data packets (31776 bytes) > 3 data packets (240 bytes) retransmitted > 1 data packet unnecessarily retransmitted > 0 resends initiated by MTU discovery > 4 ack-only packets (2 delayed) > 0 URG only packets > 0 window probe packets > 0 window update packets > 0 control packets > 196 packets received > 137 acks (for 31777 bytes) > 6 duplicate acks > 0 acks for unsent data > 52 packets (4277 bytes) received in-sequence > 0 completely duplicate packets (0 bytes) > 0 old duplicate packets > 0 packets with some dup. data (0 bytes duped) > 0 out-of-order packets (0 bytes) > 0 packets (0 bytes) of data after window > 0 window probes > 0 window update packets > 0 packets received after close > 0 discarded for bad checksums > 0 discarded for bad header offset fields > 0 discarded because packet too short > 0 discarded due to memory problems > 0 connection requests > 1 connection accept > 0 bad connection attempts > 0 listen queue overflows > 0 ignored RSTs in the windows > 1 connection established (including accepts) > 4 connections closed (including 0 drops) > 0 connections updated cached RTT on close > 0 connections updated cached RTT variance on close > 0 connections updated cached ssthresh on close > 0 embryonic connections dropped > 137 segments updated rtt (of 73 attempts) > 2 retransmit timeouts > 0 connections dropped by rexmit timeout > 0 persist timeouts > 0 connections dropped by persist timeout > 0 Connections (fin_wait_2) dropped because of timeout > 0 keepalive timeouts > 0 keepalive probes sent > 0 connections dropped by keepalive > 0 correct ACK header predictions > 50 correct data packet header predictions > 1 syncache entry added > 0 retransmitted > 1 dupsyn > 0 dropped > 1 completed > 0 bucket overflow > 0 cache overflow > 0 reset > 0 stale > 0 aborted > 0 badack > 0 unreach > 0 zone failures > 1 cookie sent > 0 cookies received > 1 SACK recovery episode > 1 segment rexmit in SACK recovery episodes > 48 byte rexmits in SACK recovery episodes > 7 SACK options (SACK blocks) received > 0 SACK options (SACK blocks) sent > 0 SACK scoreboard overflow > 0 packets with ECN CE bit set > 0 packets with ECN ECT(0) bit set > 0 packets with ECN ECT(1) bit set > 0 successful ECN handshakes > 0 times ECN reduced the congestion window > udp: > 169 datagrams received > 0 with incomplete header > 0 with bad data length field > 0 with bad checksum > 0 with no checksum > 1 dropped due to no socket > 23 broadcast/multicast datagrams undelivered > 0 dropped due to full socket buffers > 0 not for hashed pcb > 145 delivered > 134 datagrams output > 0 times multicast source filter matched > sctp: > 0 input packets > 0 datagrams > 0 packets that had data > 0 input SACK chunks > 0 input DATA chunks > 0 duplicate DATA chunks > 0 input HB chunks > 0 HB-ACK chunks > 0 input ECNE chunks > 0 input AUTH chunks > 0 chunks missing AUTH > 0 invalid HMAC ids received > 0 invalid secret ids received > 0 auth failed > 0 fast path receives all one chunk > 0 fast path multi-part data > 0 output packets > 0 output SACKs > 0 output DATA chunks > 0 retransmitted DATA chunks > 0 fast retransmitted DATA chunks > 0 FR's that happened more than once to same chunk > 0 intput HB chunks > 0 output ECNE chunks > 0 output AUTH chunks > 0 ip_output error counter > Packet drop statistics: > 0 from middle box > 0 from end host > 0 with data > 0 non-data, non-endhost > 0 non-endhost, bandwidth rep only > 0 not enough for chunk header > 0 not enough data to confirm > 0 where process_chunk_drop said break > 0 failed to find TSN > 0 attempt reverse TSN lookup > 0 e-host confirms zero-rwnd > 0 midbox confirms no space > 0 data did not match TSN > 0 TSN's marked for Fast Retran > Timeouts: > 5 iterator timers fired > 0 T3 data time outs > 0 window probe (T3) timers fired > 0 INIT timers fired > 0 sack timers fired > 0 shutdown timers fired > 0 heartbeat timers fired > 0 a cookie timeout fired > 0 an endpoint changed its cookiesecret > 0 PMTU timers fired > 0 shutdown ack timers fired > 0 shutdown guard timers fired > 0 stream reset timers fired > 0 early FR timers fired > 0 an asconf timer fired > 0 auto close timer fired > 0 asoc free timers expired > 0 inp free timers expired > 0 packet shorter than header > 0 checksum error > 0 no endpoint for port > 0 bad v-tag > 0 bad SID > 0 no memory > 0 number of multiple FR in a RTT window > 0 RFC813 allowed sending > 0 RFC813 does not allow sending > 0 times max burst prohibited sending > 0 look ahead tells us no memory in interface > 0 numbers of window probes sent > 0 times an output error to clamp down on next user send > 0 times sctp_senderrors were caused from a user > 0 number of in data drops due to chunk limit reached > 0 number of in data drops due to rwnd limit reached > 0 times a ECN reduced the cwnd > 0 used express lookup via vtag > 0 collision in express lookup > 0 times the sender ran dry of user data on primary > 0 same for above > 0 sacks the slow way > 0 window update only sacks sent > 0 sends with sinfo_flags !=3D0 > 0 unordered sends > 0 sends with EOF flag set > 0 sends with ABORT flag set > 0 times protocol drain called > 0 times we did a protocol drain > 0 times recv was called with peek > 0 cached chunks used > 0 cached stream oq's used > 0 unread messages abandonded by close > 0 send burst avoidance, already max burst inflight to net > 0 send cwnd full avoidance, already max burst inflight to net > 0 number of map array over-runs via fwd-tsn's > ip: > 333 total packets received > 0 bad header checksums > 0 with size smaller than minimum > 0 with data size < data length > 0 with ip length > max ip packet size > 0 with header length < data size > 0 with data length < header length > 0 with bad options > 0 with incorrect version number > 0 fragments received > 0 fragments dropped (dup or out of space) > 0 fragments dropped after timeout > 0 packets reassembled ok > 329 packets for this host > 0 packets for unknown/unsupported protocol > 0 packets forwarded (0 packets fast forwarded) > 4 packets not forwardable > 0 packets received for unknown multicast group > 0 redirects sent > 258 packets sent from this host > 1 packet sent with fabricated ip header > 0 output packets dropped due to no bufs, etc. > 0 output packets discarded due to no route > 0 output datagrams fragmented > 0 fragments created > 0 datagrams that can't be fragmented > 0 tunneling packets that can't find gif > 0 datagrams with bad address in header > icmp: > 1 call to icmp_error > 0 errors not generated in response to an icmp message > Output histogram: > echo reply: 8 > destination unreachable: 1 > 0 messages with bad code fields > 0 messages less than the minimum length > 0 messages with bad checksum > 0 messages with bad length > 0 multicast echo requests ignored > 0 multicast timestamp requests ignored > Input histogram: > echo reply: 2 > echo: 8 > 8 message responses generated > 0 invalid return addresses > 0 no return routes > ICMP address mask responses are disabled > igmp: > 0 messages received > 0 messages received with too few bytes > 0 messages received with wrong TTL > 0 messages received with bad checksum > 0 V1/V2 membership queries received > 0 V3 membership queries received > 0 membership queries received with invalid field(s) > 0 general queries received > 0 group queries received > 0 group-source queries received > 0 group-source queries dropped > 0 membership reports received > 0 membership reports received with invalid field(s) > 0 membership reports received for groups to which we belong > 0 V3 reports received without Router Alert > 2 membership reports sent > ip6: > 185 total packets received > 0 with size smaller than minimum > 0 with data size < data length > 0 with bad options > 0 with incorrect version number > 0 fragments received > 0 fragments dropped (dup or out of space) > 0 fragments dropped after timeout > 0 fragments that exceeded limit > 0 packets reassembled ok > 53 packets for this host > 0 packets forwarded > 0 packets not forwardable > 0 redirects sent > 118 packets sent from this host > 0 packets sent with fabricated ip header > 0 output packets dropped due to no bufs, etc. > 0 output packets discarded due to no route > 0 output datagrams fragmented > 0 fragments created > 0 datagrams that can't be fragmented > 0 packets that violated scope rules > 3 multicast packets which we don't join > Input histogram: > UDP: 46 > ICMP6: 139 > Mbuf statistics: > 29 one mbuf > two or more mbuf: > lo0=3D 24 > 132 one ext mbuf > 0 two or more ext mbuf > 0 packets whose headers are not continuous > 0 tunneling packets that can't find gif > 0 packets discarded because of too many headers > 0 failures of source address selection > Source addresses selection rule applied: > 43 first candidate > 5 same address > 35 appropriate scope > icmp6: > 0 calls to icmp6_error > 0 errors not generated in response to an icmp6 message > 0 errors not generated because of rate limitation > Output histogram: > echo: 4 > echo reply: 21 > router solicitation: 3 > neighbor solicitation: 6 > neighbor advertisement: 30 > MLDv2 listener report: 12 > 0 messages with bad code fields > 0 messages < minimum length > 0 bad checksums > 0 messages with bad length > Input histogram: > echo: 21 > echo reply: 4 > router advertisement: 14 > neighbor solicitation: 69 > neighbor advertisement: 3 > redirect: 25 > Histogram of error messages to be generated: > 0 no route > 0 administratively prohibited > 0 beyond scope > 0 address unreachable > 0 port unreachable > 0 packet too big > 0 time exceed transit > 0 time exceed reassembly > 0 erroneous header field > 0 unrecognized next header > 0 unrecognized option > 0 redirect > 0 unknown > 21 message responses generated > 0 messages with too many ND options > 0 messages with bad ND options > 39 bad neighbor solicitation messages > 0 bad neighbor advertisement messages > 0 bad router solicitation messages > 0 bad router advertisement messages > 0 bad redirect messages > 0 path MTU changes > rip6: > 0 messages received > 0 checksum calculations on inbound > 0 messages with bad checksum > 0 messages dropped due to no socket > 0 multicast messages dropped due to no socket > 0 messages dropped due to full socket buffers > 0 delivered > 0 datagrams output >=20 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable- > unsubscribe@freebsd.org"