Skip to content
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

error when closing subflow #4

Open
Viomnice opened this issue Mar 18, 2018 · 1 comment
Open

error when closing subflow #4

Viomnice opened this issue Mar 18, 2018 · 1 comment

Comments

@Viomnice
Copy link

hello,
I am beginner in MPTCP_API and planning to use it to write some application. I have followed the steps to install kernal which support MPTCP_API.
git clone https://github.com/hoang-tranviet/mptcp.git
cd mptcp
sudo make menuconfig
sudo make modules_install
sudo make headers_install INSTALL_HDR_PATH=/usr
then, restart the machine, after installed mptcp-java(https://github.com/reirep/mptcp-java), i do some test to check mptcp-api. I found some results of MPTCP_API:
1:I found MPTCP_OPEN_SUB_TUPLE 、 MPTCP_GET_SUB_TUPLE and MPTCP_GET_SUB_IDS can execute correctly, but results of MPTCP_GET_SUB_TUPLE and MPTCP_GET_SUB_IDS have some orror. for example: first, i use new socket() to create new mptcp connection, then, use MPTCP_OPEN_SUB_TUPLE to create new subflow, and use MPTCP_GET_SUB_IDS to get subflow's information of mptcp connection. besides, i use wireshark to record to all packets of this procedure. I found that the result of using MPTCP_GET_SUB_IDS has some error, the first subflow created by new socket()'s information is wrong.
2:I found MPTCP_CLOSE_SUB_ID can not exectued correctly. when use MPTCP_CLOSE_SUB_ID to terminate subflows, the connection is down and all subflows are closed.
I guess the error occured in kernal, could you please provide me the kernal which can support MPTCP_API correctly? Thanks in advance.

@hoang-tranviet
Copy link
Owner

Hello,

Thanks for reporting the issue!
I will give it a check, but in the mean time, there are some recent fixes by the author here: https://github.com/bhesmans/mptcp/commits/mptcp_v0.93_api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants