From owner-freebsd-bugs@FreeBSD.ORG Sun Mar 7 16:00:03 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40D16106564A for ; Sun, 7 Mar 2010 16:00:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EFA1D8FC13 for ; Sun, 7 Mar 2010 16:00:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o27G02be088958 for ; Sun, 7 Mar 2010 16:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o27G02VQ088949; Sun, 7 Mar 2010 16:00:02 GMT (envelope-from gnats) Resent-Date: Sun, 7 Mar 2010 16:00:02 GMT Resent-Message-Id: <201003071600.o27G02VQ088949@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nigel Rumens Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34DCF106566B for ; Sun, 7 Mar 2010 15:57:14 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 23C308FC08 for ; Sun, 7 Mar 2010 15:57:14 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o27FvDgw010766 for ; Sun, 7 Mar 2010 15:57:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o27FvDdf010747; Sun, 7 Mar 2010 15:57:13 GMT (envelope-from nobody) Message-Id: <201003071557.o27FvDdf010747@www.freebsd.org> Date: Sun, 7 Mar 2010 15:57:13 GMT From: Nigel Rumens To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/144529: sctp over ipv6 appears to not calculate checksum X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2010 16:00:03 -0000 >Number: 144529 >Category: kern >Synopsis: sctp over ipv6 appears to not calculate checksum >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 07 16:00:02 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Nigel Rumens >Release: FreeBSD 8.0-RELEASE-p2 i386 >Organization: >Environment: FreeBSD victor.cwb.uk 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Thu Mar 4 10:50:02 GMT 2010 root@victor.cwb.uk:/usr/obj/usr/src/sys/VICTOR i386 >Description: testing feng (multimedia streaming server) between freebsd and linux to stream video over ipv6/sctp. Connection never gets to established state initiator linux running mplayer responder freebsd running feng I took a packet trace at the linux end with wireshark. It seems that the freebsd machine is sending the init_ack with a checksum of 0x00000000 linux machine also reports sctp checksum errors in proportion to number of init_acks it recieves. I am new to freebsd so feel free to tell me I'm an idiot if I've missed something or done something daft >How-To-Repeat: run feng on freebsd configured to use sctp over ipv6 run mplayer with -rtsp-stream-over-sctp option >Fix: Not sure if this is relavent or not but I had a quick look in the code for sctp_output.c and ip_output.c and ip6_output.c - and there appears to code which handles delayed checksum calculation based on a flag in ip_output.c but not in ip6_output.c Workaround is use ipv4 - I tested over ipv4 without problems >Release-Note: >Audit-Trail: >Unformatted: