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

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

Closed
wants to merge 11 commits into 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 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

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

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

Changes Missing Coverage Covered Lines Changed/Added Lines %
plugins/path_managers/sspi.c 18 95 18.95%
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
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.

Ossama Othman added 11 commits November 28, 2022 18:16
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.
@ossama-othman ossama-othman closed this by deleting the head repository Sep 11, 2024
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