NEAT-project / neat

A New, Evolutive API and Transport-Layer Architecture for the Internet
https://www.neat-project.org/
BSD 3-Clause "New" or "Revised" License
65 stars 19 forks source link

SCTP fails when multihoming is enabled #422

Open bozakov opened 6 years ago

bozakov commented 6 years ago

If the multihoming property is set SCTP (on Ubuntu 16.04) connection fails with

[   0.494709][DBG] Failed to create he socket (family:2, type:1, prodocol:132)

To reproduce using tneat: Start a server:

./tneat -p 8888

On the client node create a property file test.prop containing the properties { "transport": { "value": "SCTP", "precedence": 1}, "multihoming": { "value": true, "precedence": 2} }. Then run:

./tneat 172.23.10.2 -p 8888 -P ./test.prop -v2 -n 100

BTW, using an MPTCP kernel I get a different error

[   0.849131][ERR] Failed to bindx fd XXX socket to IP. Error: Invalid argument
naeemk commented 6 years ago

On MacOS (HighSierra 10.13.2) I get the same error as with the one mentioned about Ubuntu 16.04 on the client side. However on the server side, I get this error:

[ 0.003066][ERR] nt_listen_via_kernel: opening listening socket failed - Protocol not supported

Even though I have installed the usrsctp-neat and usrsctp support flag is enabled in CMakeList.txt.

On Ubuntu 16.04 LTS, with a similar setup as above, I get this error though:

usrsctp_sendv: No such file or directory

ruengeler commented 6 years ago

Can you tell me, which setup you used. Which examples did you start? What did you do on the client and on the server side. What does your property list look like?

Am 10.01.2018 um 16:16 schrieb Naeem Khademi notifications@github.com:

On MacOS (HighSierra 10.13.2) I get the same error as with the one mentioned about Ubuntu 16.04 on the client side. However on the server side, I get this error:

[ 0.003066][ERR] nt_listen_via_kernel: opening listening socket failed - Protocol not supported

Even though I have installed the usrsctp-neat and usrsctp support flag is enabled in CMakeList.txt.

On Ubuntu 16.04 LTS, with a similar setup as above, I get this error though:

usrsctp_sendv: No such file or directory

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/NEAT-project/neat/issues/422#issuecomment-356632595, or mute the thread https://github.com/notifications/unsubscribe-auth/AADsEgwrEeJuj-iJbCXchh1yxIiFQbO_ks5tJNROgaJpZM4RZPoa.


Dr. Irene Rüngeler Fachbereich Elektrotechnik und Informatik Labor für Netzwerkprogrammierung, Datenbanklabor

Fachhochschule Münster

Tel: +49 2551 962-561 Fax: +49 2551 962-563 EMail: I.Ruengeler@fh-muenster.de