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

Auraed Flags, Unix Domain Sockets and Network Devices #12

Open
krisnova opened this issue Oct 3, 2022 · 1 comment
Open

Auraed Flags, Unix Domain Sockets and Network Devices #12

krisnova opened this issue Oct 3, 2022 · 1 comment

Comments

@krisnova
Copy link
Contributor

krisnova commented Oct 3, 2022

So here is a strong opinion that is weakly held. I would like for us to discuss this in detail.

I believe that auraed should only start by exposing gRPC server a unix domain socket, as well as a server bound to the special loopback interface lo man. Additionally I think auraed should reserve TCP port 57 for its default port.

  • /var/aurae/aurae.sock
  • 127.0.0.1
  • ::1

Additional Network Devices

I believe we should be able to start auraed and pass configuration to the daemon at runtime to provision gRPC servers attached to various devices.

Some syntax such as this.

sudo -E auraed --listen="lo:127.0.0.1:57" --listen="lo:::1:57" --listen="eth0:10.0.0.100:57" 

However we expose the network devices should be uniform and there should be no different between configuring a network device via the command line, or via the gRPC server APIs.

@krisnova
Copy link
Contributor Author

krisnova commented Oct 3, 2022

I want to be clear that we also should be able to configure network devices exactly as they are implied above using the network subsystem that @taniwha3 defined here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant