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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

sspi: Generate and remove MPTCP address ID as needed. #234

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

ossama-othman
Copy link
Member

No description provided.

@ossama-othman ossama-othman added bug Something isn't working enhancement New feature or request labels Jun 9, 2022
@ossama-othman ossama-othman self-assigned this Jun 9, 2022
@ossama-othman ossama-othman added this to In progress in mptcpd 0.10 via automation Jun 9, 2022
@ossama-othman ossama-othman linked an issue Jun 9, 2022 that may be closed by this pull request
@coveralls
Copy link

coveralls commented Jun 9, 2022

Pull Request Test Coverage Report for Build 3570409724

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 7 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-3.5%) to 61.475%

Files with Coverage Reduction New Missed Lines %
src/path_manager.c 7 20.19%
Totals Coverage Status
Change from base Build 3490580438: -3.5%
Covered Lines: 1492
Relevant Lines: 2427

馃挍 - Coveralls

Copy link
Member

@mjmartineau mjmartineau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of small changes to suggest.

At first I was wondering if it makes sense for every plugin to explicitly handle the idm. I think it does, since customized plugins may want to ignore certain interfaces or have connection-specific handling of subflow ids.

plugins/path_managers/sspi.c Outdated Show resolved Hide resolved
include/mptcpd/path_manager.h Show resolved Hide resolved
@ossama-othman ossama-othman removed this from In progress in mptcpd 0.10 Jun 27, 2022
@ossama-othman ossama-othman added this to In progress in mptcpd 0.11 via automation Jun 27, 2022
@ossama-othman
Copy link
Member Author

Code coverage in the sspi plugin still isn't good since much of the sspi code requires network interfaces with the test addresses to be set up, similar to what is done in test-commands. Address/interface set up will be added in upcoming commits.

The addr_adv plugin is also loaded and run as a side effect of loading all plugins in the directory.

Instantiate a mptcpd address ID manager to be used when mapping local
network interface IP addresses to MPTCP address IDs.
A new unit test for the sspi plugin that simply exercises the the sspi
plugin operations.  Only blackbox testing is performed at this stage
since it is not straightforward to perform whitebox testing of the
sspi plugin internals.
Track the network interface associated with a new local address as
needed.
Add the missing "server_side" arguments to the
mptcpd_plugin_new_connection() and
mptcpd_plugin_connection_established() function calls.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support network monitoring in the "sspi" plugin
3 participants