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

Keep s2s options: 'outgoing', 'dns', 'address' in maps #3516

Merged
merged 5 commits into from
Jan 27, 2022

Commits on Jan 26, 2022

  1. Fix time unit in the docs

    chrzaszcz committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    c1bb396 View commit details
    Browse the repository at this point in the history
  2. Put s2s options: 'dns', 'outgoing', 'address' in maps with defaults

    The spec needs to be split, because options with 'wrap = {host_config, *}'
    would be invalid in host_config, but they contain defaults,
    and would need to be always included.
    
    IP protocol versions are kept as a list of integers for simplicity.
    chrzaszcz committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    bebd284 View commit details
    Browse the repository at this point in the history
  3. Update s2s to use the new maps with defaults

    - No double conversion of IP families anymore.
    - Options are expected to be always present.
    chrzaszcz committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    dbab500 View commit details
    Browse the repository at this point in the history
  4. Update tests with the new s2s maps

    Expect the new defaults for global options o be always present
    chrzaszcz committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    b7ec70b View commit details
    Browse the repository at this point in the history
  5. Make s2s server lookup more organized

    Store addresses in maps, do a fold over all 3 lookup methods
    chrzaszcz committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    8369f6f View commit details
    Browse the repository at this point in the history