-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iperf3 (SCTP): error - unable to start stream listener: Bad file descriptor #678
Comments
when removing bind option in the server, sctp association started but then terminated with the following errors:
Server Side:
|
running the client/server in the same machine seem to work:
|
Issue acknowledged, but we probably won't have time to look into it before the holidays. Reformatting some of the comments to make them easier to follow. |
Is there any sort of middlebox between the client and server? Also are either the client or server multi-homed (more than one network interface)? |
Hello Bruce,
yeah we have boxes between, routers & ipsec-gws
I am using single homed.
I did captures on client side, compared with TCP test, MSS for the case of
SCTP is big, too many fragments happening.
Regrds,
…On Thu, Dec 21, 2017 at 4:02 PM, Bruce A. Mah ***@***.***> wrote:
Is there any sort of middlebox between the client and server? Also are
either the client or server multi-homed (more than one network interface)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#678 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AhHFcrY1vclJURTolapgEnWwLWLnps71ks5tCoErgaJpZM4RItdO>
.
--
ElHassane SRAIDI
IP/MPLS Service Provider Expert
Deployment Team
Alcatel-lucent Morocco
elhassane.sraidi@alcatel-lucent.com
+212 661 724996
|
Hmmm...the reason why I asked about middleboxes (e.g. firewalls, NAT gateways, etc.) was because if the test works on a single machine but not between two hosts, usually (but not always!) that means there's something weird happening on the path. Middleboxes that do any kind of Layer 4 filtering can't always deal with SCTP, so I wonder if that could be a factor? Any chance you would be able to run a test between two hosts on the same subnet, either directly connected or with only an Ethernet switch between? I'm just trying to figure out if my hypothesis about something on the path messing things up is correct or not. You could also try a small |
thanks for your support
tried in the same LAN, so no L3/FW boxes between, as per scenario=
client->layer2Switch->Server,
I've got the same result
Server-side:
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 10.55.179.45, port 50326
[ 10] local 10.55.179.46 port 5201 connected to 10.55.179.45 port 42572
[ ID] Interval Transfer Bitrate
[ 10] 0.00-1.00 sec 100 Bytes 800 bits/sec
[ 10] 1.00-2.00 sec 125 Bytes 1.00 Kbits/sec
iperf3: error - unable to read from stream socket: Bad file descriptor
-----------------------------------------------------------
Server listening on 5201
Client-Side:
----------
[root@lteemu2 ~]# iperf3 -c 10.55.179.46 --sctp -l 1 -b 1k
Connecting to host 10.55.179.46, port 5201
[ 5] local 10.55.179.45 port 42572 connected to 10.55.179.46 port 5201
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 125 Bytes 1000 bits/sec
[ 5] 1.00-2.00 sec 125 Bytes 1000 bits/sec
iperf3: error - control socket has closed unexpectedly
===
…On Thu, Dec 21, 2017 at 4:24 PM, Bruce A. Mah ***@***.***> wrote:
Hmmm...the reason why I asked about middleboxes (e.g. firewalls, NAT
gateways, etc.) was because if the test works on a single machine but not
between two hosts, usually (but not always!) that means there's something
weird happening on the path. Middleboxes that do any kind of Layer 4
filtering can't always deal with SCTP, so I wonder if that could be a
factor?
Any chance you would be able to run a test between two hosts on the same
subnet, either directly connected or with only an Ethernet switch between?
I'm just trying to figure out if my hypothesis about something on the path
messing things up is correct or not.
You could also try a small -l parameter to try to make SCTP use a smaller
MSS and see if eliminating fragmentation helps (I think that option works
for SCTP).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#678 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AhHFcuboAOPyf6T8JUIYIHSl7qP_BCmeks5tCoZPgaJpZM4RItdO>
.
--
ElHassane SRAIDI
IP/MPLS Service Provider Expert
Deployment Team
Alcatel-lucent Morocco
elhassane.sraidi@alcatel-lucent.com
+212 661 724996
|
Got the following error when running server side with -B option: Server side: ./iperf3 -s -B <server_ipv4_address> ----------------------------------------------------------- Server listening on 5201 ----------------------------------------------------------- iperf3: error - unable to start stream listener: Bad file descriptor ----------------------------------------------------------- Client side: ./iperf3 -c <server_ipv4_address> --sctp iperf3: error - unable to start stream listener: No such file or directory Similar fix as below for TCP: commit eb1cfe5 Author: Bruce A. Mah <bmah@es.net> Date: Fri Aug 1 16:24:14 2014 -0700 Another iteration on issue esnet#193, fixes -B with some TCP tests. Signed-off-by: Jianwen Ji <jijianwen@gmail.com>
Got the following error when running server side with -B option: Server side: ./iperf3 -s -B <server_ipv4_address> ----------------------------------------------------------- Server listening on 5201 ----------------------------------------------------------- iperf3: error - unable to start stream listener: Bad file descriptor ----------------------------------------------------------- Client side: ./iperf3 -c <server_ipv4_address> --sctp iperf3: error - unable to start stream listener: No such file or directory Similar fix as below for TCP: commit eb1cfe5 Author: Bruce A. Mah <bmah@es.net> Date: Fri Aug 1 16:24:14 2014 -0700 Another iteration on issue #193, fixes -B with some TCP tests. Signed-off-by: Jianwen Ji <jijianwen@gmail.com>
Fixed by #715. |
Got the following error when running server side with -B option: Server side: ./iperf3 -s -B <server_ipv4_address> ----------------------------------------------------------- Server listening on 5201 ----------------------------------------------------------- iperf3: error - unable to start stream listener: Bad file descriptor ----------------------------------------------------------- Client side: ./iperf3 -c <server_ipv4_address> --sctp iperf3: error - unable to start stream listener: No such file or directory Similar fix as below for TCP: commit eb1cfe5 Author: Bruce A. Mah <bmah@es.net> Date: Fri Aug 1 16:24:14 2014 -0700 Another iteration on issue esnet#193, fixes -B with some TCP tests. Signed-off-by: Jianwen Ji <jijianwen@gmail.com>
I installed iperf3-3.3
I tried to test sctp flow but getting the error in both server and client:
Server side:
Client side:
I think it is related to sctp stack, don't know if something is missing or a bug
Best regards,
The text was updated successfully, but these errors were encountered: