Comments (2)
We will probably fail with our openvpn approach. Problem is that client clears out routes if it reaches ping-restart timeout. That is we loose tun device even if openvpn client stays alive:
routes:
0/1 10.8.0.1 UGSc 95 0 utun1
10.8/24 10.8.0.65 UGSc 45 0 utun1
10.8.0.65 10.8.0.65 UH 1 0 utun1
128.0/1 10.8.0.1 UGSc 14 5 utun1
gets removed.
Client receives ping-restart timeout from the server. We could ignore it, but that would solve problem only for UDP connections. We could also manage routes ourselves , but this will not work for Darwin. Also it will keep alive sessions on server.
Route management might be an options, but in certain cases (computer restarted) routes might be reapplied and you could loose your kill switch. Also, this will not work for Darwin as our own route management will be clashing with openvpn routes. We cannot have persist tun on darwin.
To track inactivity timeout you should get such clear out report:
2018-09-11T13:22:16.088507827 [Trace] [openvpn-process] Stdout: Tue Sep 11 16:22:16 2018 [0x0f3dc88e2fa9d716c67b0169531a94780709678d] Inactivity timeout (--ping-restart), restarting
2018-09-11T13:22:16.088899695 [Trace] [openvpn-process] Stdout: Tue Sep 11 16:22:16 2018 /sbin/route delete -net 54.38.213.93 192.168.0.1 255.255.255.255
Some fw based approach:
from node.
Currently we will leave ConnectOptions and kill switch as a mock. We will be introducing kill-switch for each platform one-by-one.
from node.
Related Issues (20)
- Node reports and history not available / tequilapi error 500: cannot unmarshal object into Go value of type []node.SessionItem HOT 2
- How can I deploy nodes with multiple ip address in Centos8 HOT 1
- Data races HOT 2
- 100% time Offline, 100% time Idle reported in UI HOT 3
- Node UI should report expired session properly HOT 5
- Often "Failed to sign metrics event error" HOT 1
- Missing MYST tokens under earnings
- WebUI: Login page - focus to password box
- WebUI - Session is tied to IP address only, not port
- After updating the node, it is a sudden stop and error HOT 1
- No fees known for chain
- Release 1.29.11 not uploaded to docker hub HOT 4
- https://mystnodes.com/nodes/ dashboard not updating
- F2A/Passkey (yubikey) HOT 1
- NAT Status is Open but Monitoring Failed, Traffic Was Good While On Pending HOT 3
- Empty response. HOT 1
- Node ID rotation speed.
- Monitoring failed node cant connect anymore HOT 1
- MTU HOT 4
- quality remains 0 after 3 days... support don't help HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node.