-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
enhancementNew features or improvements of some kind, as opposed to a problem (bug)New features or improvements of some kind, as opposed to a problem (bug)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionIssues closed and untouched for a long time, together with being locked for discussiongood first issueGood starting points for new contributorsGood starting points for new contributors
Milestone
Description
For devices that have a remotely accessible GUI listen address with authentication, it would be nice to advertise that to other nodes for remote administration. Those could then display a link in their GUI's respective device box.
I think this would make remote administration much less painful, but of course requires a protocol extension and some logic to find the right address. Basically:
- If the GUI listen address is set to localhost, do not advertise it.
- If set to a specific address, advertise that and
bind()to it.- TBD: Should an address be allowed where
bind()fails? It would be useful for Dynamic DNS, tunnels, or NAT routing, but risks linking to totally unrelated hosts.
- TBD: Should an address be allowed where
- Send a flag to indicate whether the connection requires HTTPS.
On the receiving end:
- Display the advertised address as a link. If
0.0.0.0was advertised, use the last IP address where a successful direct connection was made. - If HTTPS is required, the receiving end could try connecting to the port and see if the certificate matches the device.
Does that sound like a reasonable proposal? I'm not familiar with Syncthing's code or Go at all, so I cannot immediately offer taking a stab at implementing any of this.
calmh
Metadata
Metadata
Assignees
Labels
enhancementNew features or improvements of some kind, as opposed to a problem (bug)New features or improvements of some kind, as opposed to a problem (bug)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussionIssues closed and untouched for a long time, together with being locked for discussiongood first issueGood starting points for new contributorsGood starting points for new contributors