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

Implement mDNS announcer #45

Open
Timvrakas opened this issue May 9, 2022 · 3 comments
Open

Implement mDNS announcer #45

Timvrakas opened this issue May 9, 2022 · 3 comments
Labels

Comments

@Timvrakas
Copy link
Member

There's a few things I want to think about

  • UDP stream to any IP address based on a TCP request. Need to stop and restart UDP loop when a new request comes in. We had this working with Flynn's 140e demo.
  • DHCP
  • mDNS
  • Some sort of MAC address derivation scheme
@mikh3x4
Copy link
Contributor

mikh3x4 commented Jul 6, 2022

First point is now implemented

@mikh3x4
Copy link
Contributor

mikh3x4 commented Jul 6, 2022

I’m also slightly worried about dhcp giving the ip for launch critical components

@Timvrakas
Copy link
Member Author

Timvrakas commented Jul 6, 2022

Yeah I agree. What I landed on was having the first section of the subnet (like 0-32) be reserved for static devices, and the rest allocated with DHCP. In particular

  • quail
  • telemetry proxy server (the backend)
  • cameras

Were all static.

I think MDNS could be cool. You can avoid IP addresses entirely (just use auto-generated link-local addresses) and have quail-etc advertise "I have a TCP telemetry server on X port" and then the backend can just scan the network and connect to all devices. If you had multiple embedded nodes and wanted to be able to reconfigure without re-flashing, that's how you would handle it I think.

The security cameras already advertise themselves over mDNS!

@Timvrakas Timvrakas changed the title Improve Quail network interface Implement mDNS announcer Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants