From owner-freebsd-net@FreeBSD.ORG Sun Oct 23 09:44:34 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 365D9106566B for ; Sun, 23 Oct 2011 09:44:34 +0000 (UTC) (envelope-from Michael.Tuexen@lurchi.franken.de) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by mx1.freebsd.org (Postfix) with ESMTP id 9E2948FC08 for ; Sun, 23 Oct 2011 09:44:33 +0000 (UTC) Received: from [192.168.1.124] (p508FD9BF.dip.t-dialin.net [80.143.217.191]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 993FC1C0B4611; Sun, 23 Oct 2011 11:44:31 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=utf-8 From: Michael Tuexen In-Reply-To: <1319362410261-4929128.post@n5.nabble.com> Date: Sun, 23 Oct 2011 11:44:30 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <2E60D876-9B2C-4039-9366-40451D5914E2@lurchi.franken.de> References: <1319362410261-4929128.post@n5.nabble.com> To: jyl_2006 X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-net@freebsd.org Subject: Re: 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:44:34 -0000 On Oct 23, 2011, at 11:33 AM, jyl_2006 wrote: > Hi, > I use FreeBSD 9.0 Beta2 on two computers .=20 > One have one wireless card, and the other one has two wireless card. >=20 > When I use sctp with the feature of automatic address reconfiguration = , I > notice that no Asconf Chunk send. >=20 > 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. >=20 > So I think it will be ok ,if I use sctp_bindx() to bind a ip address, = but no > ASCONF chunk shows in Wireshark. >=20 > 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 it does > not send this ASCONF CHUNK. > Here are messages: >=20 > 192.168.1.50 is the new ip address that I want to bind to the = association. Can you provide the IP-addresses you use? Best regards Michael >=20 > 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 >=20 >=20 > -- > View this message in context: = http://freebsd.1045724.n5.nabble.com/SCTP-problems-in-sending-ASCONF-chunk= s-tp4929128p4929128.html > Sent from the freebsd-net mailing list archive at Nabble.com. > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >=20