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

Coordinator should not deliver dispatcher configuration #476

Open
3 tasks
juagargi opened this issue Oct 2, 2024 · 0 comments
Open
3 tasks

Coordinator should not deliver dispatcher configuration #476

juagargi opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@juagargi
Copy link
Member

juagargi commented Oct 2, 2024

At the moment, many control services are configured outside the dispatched-ports range (ports where the border router sends directly, without needing a dispatcher; configured in topology.json), and thus the dispatcher receives packets intended for the CS, and forwards them to it.
For that, the dispatcher needs configuration specifying where the CS is, e.g.

[dispatcher.service_addresses]
"17-ffaa:1:c40,CS" = "127.0.0.1:30254"
"17-ffaa:1:c40,DS" = "127.0.0.1:30254"

If we modify the configuration of the CS in our scionlab infrastructure and user ASes to make all the CSs listen inside the range of the dispatched-ports, or widen the range to include the existing CSs in scionlab, we don't need that configuration.

  • Modify either the configuration of all CSs in scionlab or the dispached-ports value written in topology.json, so that all CSs are inside the range.
  • Remove the ability of the coordinator to generate dynamically the dispatcher.toml file.
  • Make the end-host running scionlab-config script remove the dispatcher.toml file it wrote last time when it got it from the Coordinator. Otherwise dpkg will refuse to install a new one when a new package is installed.
@juagargi juagargi added the bug Something isn't working label Oct 2, 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
Projects
None yet
Development

No branches or pull requests

1 participant