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

Properly use callbacks in VPN #383

Closed
jdknives opened this issue Jun 1, 2020 · 0 comments
Closed

Properly use callbacks in VPN #383

jdknives opened this issue Jun 1, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jdknives
Copy link
Member

jdknives commented Jun 1, 2020

Feature description

We recently implemented callbacks for dmsg connections and disconnections. @Darkren mentioned on discord, that we need to properly implement them.

We need to properly setup callbacks from VPN client.

For STcp:

  • On each connection we add direct route to the remote node via router
  • On each disconnection we remove direct route to the remote node via router

For Dmsg:

  • On each TCP dial to the Dmsg server we add a direct route to that server via router
  • On each TCP close we remove a direct route to the remote Dmsg server via router
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants