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

Add daemon with multi-user support #68

Open
daonb opened this issue Sep 23, 2021 · 1 comment
Open

Add daemon with multi-user support #68

daonb opened this issue Sep 23, 2021 · 1 comment
Labels
enhancement New feature or request hacktoberfest
Milestone

Comments

@daonb
Copy link
Contributor

daonb commented Sep 23, 2021

To better support a shared dev server, we need a daemon that launches on boot and run as root.

Upon initialization, the daemon will scan all users $HOME looking
for ~/.config/webexec if found, it will read the config to get the user's
fingerprint (aka public key) and add it to its users list.
It will use the users list for two things:

  • Accepting WHIP connection for all the users' fingerprints
  • Update peerbook with the list of users' fingerprints

Upon a SIGHUP signal to the daemon it willclear the peer list and starts the scan.

Once a connection request is received a webexec user agent will be launched and used to establish the peer connection.

@daonb daonb added this to the 1.0.0 milestone Sep 23, 2021
@daonb daonb changed the title Ask users to open all UDP ports if they're behind a firewall Support multi-users Nov 11, 2021
@daonb daonb removed this from the 1.0.0 milestone Nov 11, 2021
@daonb
Copy link
Contributor Author

daonb commented Dec 27, 2021

The daemon will also need to distribute the udp ports among the agents.

We need to document the config:
what stays in the ~/.config/webexec/webexec.conf
and what goes to ~/etc/webexec.conf

@daonb daonb added this to the 1.0.0 milestone Apr 4, 2022
@daonb daonb removed this from Terminal7 v1.10.0 Apr 9, 2024
@daonb daonb changed the title Support multi-users Add daemon with multi-user support Oct 7, 2024
@daonb daonb added enhancement New feature or request hacktoberfest labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
Status: No status
Development

No branches or pull requests

1 participant