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

dissociate authentication - tunnel #791

Open
DimitriPapadopoulos opened this issue Oct 15, 2020 · 1 comment
Open

dissociate authentication - tunnel #791

DimitriPapadopoulos opened this issue Oct 15, 2020 · 1 comment

Comments

@DimitriPapadopoulos
Copy link
Collaborator

We should probably dissociate these two steps:

  1. Authentication, users send credentials to the portal, receive a cookie.
  2. The above cookie can be used to restart the tunnel multiple times.

Step 1 should not need root privileges as far as I can see but often requires user interaction.
Step 2 can run in the background or even be implemented as a daemon. Root privileges are required to modify routing and DNS parameters, unless perhaps interfaced with systemd and/or NetworkManager.

@DimitriPapadopoulos DimitriPapadopoulos changed the title dissociate authentication - dissociate authentication - tunnel Oct 15, 2020
@mrbaseman
Copy link
Collaborator

Sounds good to me.
Maybe we should start one or more separate branches for larger changeslike this.
Moving the routing to an external script (which might be a basis for much easier implementation of ipv6 support) would be another piece which I would see for a 2.0 release.
The separation of authentication and tunnel establishment might not be that big change, but it may go well along with the other more fundamental changes.

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

2 participants