From owner-freebsd-net@FreeBSD.ORG Sun Oct 23 09:33:31 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29D951065670 for ; Sun, 23 Oct 2011 09:33:31 +0000 (UTC) (envelope-from yilinjing2006@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 082478FC14 for ; Sun, 23 Oct 2011 09:33:30 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RHuQs-0000bH-8g for freebsd-net@freebsd.org; Sun, 23 Oct 2011 02:33:30 -0700 Date: Sun, 23 Oct 2011 02:33:30 -0700 (PDT) From: jyl_2006 To: freebsd-net@freebsd.org Message-ID: <1319362410261-4929128.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: SCTP : problems in sending ASCONF chunks X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Oct 2011 09:33:31 -0000 Hi, I use FreeBSD 9.0 Beta2 on two computers .=20 One have one wireless card, and the other one has two wireless card. When I use sctp with the feature of automatic address reconfiguration , I notice that no Asconf Chunk send. Here are INIT chunk message about association: Both in the INIT chunk and INIT ACK chunk , the Supported Extensions Parameter field indicates that ASCONF, ASCONF-ACK, FORWARD-TSN, PKTDROP, STREAM_RESET and AUTH are supported. So I think it will be ok ,if I use sctp_bindx() to bind a ip address, but n= o ASCONF chunk shows in Wireshark. After that ,I recompiled the kernel with the option of debug enable, in the file from dmesg =EF=BC=8CI notice that kernel get the new ip address ,but i= t does not send this ASCONF CHUNK. Here are messages: 192.168.1.50 is the new ip address that I want to bind to the association. USR Send complete qo:0 prw:1863859 unsent:18 tf:18 cooq:1 toqs:18 err:0 Ok laddr->ifa:0xc7744280 is possible, asconf_queue_mgmt: inserted asconf ADD_IP_ADDRESS: IPv4 address: 192.168.1.50:0 m-c-o put out 0 Ok, we have put out 0 chunks sctp_input() length:28 iphlen:20 sctp_input(): Packet of length 48 received on wlan0 with csum_flags 0x0. Ok, Common input processing called, m:0xc721dc00 iphlen:20 offset:32 length:48 stcb:0xc718e5dc stcb:0xc718e5dc state:8 sctp_process_control: iphlen=3D20, offset=3D32, length=3D48 stcb:0xc718e5dc sctp_process_control: processing a chunk type=3D3, len=3D16 -- View this message in context: http://freebsd.1045724.n5.nabble.com/SCTP-pro= blems-in-sending-ASCONF-chunks-tp4929128p4929128.html Sent from the freebsd-net mailing list archive at Nabble.com.