Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2011 02:33:30 -0700 (PDT)
From:      jyl_2006 <yilinjing2006@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   SCTP : problems in sending ASCONF chunks
Message-ID:  <1319362410261-4929128.post@n5.nabble.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1319362410261-4929128.post>