Page MenuHomeFreeBSD

tests/libalias: Test LibAliasIn with redirection
ClosedPublic

Authored by donner on May 23 2021, 8:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 12, 2:01 AM
Unknown Object (File)
Wed, Dec 11, 3:39 AM
Unknown Object (File)
Wed, Dec 4, 2:54 PM
Unknown Object (File)
Wed, Dec 4, 7:12 AM
Unknown Object (File)
Thu, Nov 28, 3:39 PM
Unknown Object (File)
Thu, Nov 28, 3:39 PM
Unknown Object (File)
Thu, Nov 28, 3:39 PM
Unknown Object (File)
Thu, Nov 28, 3:39 PM

Details

Summary

Extend the test suite for libalias(3) to incoming connections.
Test the various types of redirections.

Test Plan

make test

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Factor out the common test infrastructure and start with the first test.

  • Clear state instead of choosing new flows
  • Add final variant of PortRedirect
  • test overlapping portforwardings
  • Clear state instead of choosing new flows
  • Add final variant of PortRedirect
  • test overlapping portforwardings
  • Refactor UDP tests

Rebase to D30412

  • Add test for change of alias address
  • Apply missing refactors
  • Add tests for LibAliasRedirectAddr
  • Add test for LibAliasRedirectDynamic
  • Add copyright statement
This revision was not accepted when it landed; it landed in state Needs Review.May 26 2021, 2:23 PM
This revision was automatically updated to reflect the committed changes.