From: Vlad Y. <vla...@hp...> - 2008-07-28 20:56:08
|
cel...@or... wrote: > Hi all > > I'm using lksctp implementation. I want to make FTP over SCTP and to > make my FTP applications support handover. > > I managed to adapt my FTP entities (client: gftp and server: proFTP) > to make them work over SCTP, but I'm facing difficulties for the > handover support. > > Before beginning the real implementation, I wanted to test the > function sctp_bindx( ). Thus, I used sctp_xconnect ( ) in order to > create an SCTP association between 2 entities. While DATA are > exchanged, I caused handover ( previous access point down, attachment > to a new access point, dhcp removal, new dhcp request ). Then I > launched the program bindx_sctp with in arguments the port used in > the association and the new IP address of my SCTP client, that the > DHCP request provided. > > The first issue is that in the program bindx_sctp after adding new > addresses, all the addresses previously added but the last are > removed. As I added only one address, I had an error because there > was an invalid argument (0 for the number of addresses). I decided to > comment this part of code. The second issue is that I saw no ASCONF > to be sent. Yet, I enabled add_ip support with "sysctl -w > net.sctp.addip_enable=1" + "modprobe -a sctp". > > Would you have any idea to resolve these issues? I am not sure I am understanding what you are doing. Typically, you need a make before break handover scenario to have it work correctly. Than means that you need to acquire your second address and notify the peer of this second address before removing the first one. Also, you specify the real number of addresses you pass down to bindx. If you are adding 1 address, the number of addresses should be 1. Depending on how old/new your kernel is, you may have to enable other features, like addip. -vlad > > Thank you very much > > Céline NGUYEN > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK > & win great prizes Grand prize is a trip for two to an Open Source > event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Lksctp-developers > mailing list Lks...@li... > https://lists.sourceforge.net/lists/listinfo/lksctp-developers > |