-
Notifications
You must be signed in to change notification settings - Fork 310
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
Provider checker API #6047
base: master
Are you sure you want to change the base?
Provider checker API #6047
Conversation
782e1ed
to
a464dbf
Compare
Codecov ReportAttention: Patch coverage is
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #6047 +/- ##
==========================================
- Coverage 37.90% 36.60% -1.31%
==========================================
Files 371 374 +3
Lines 20665 21486 +821
==========================================
+ Hits 7833 7864 +31
- Misses 12054 12839 +785
- Partials 778 783 +5 ☔ View full report in Codecov by Sentry. |
3199837
to
8aad078
Compare
Signed-off-by: Anton Litvinov <[email protected]>
Signed-off-by: Anton Litvinov <[email protected]>
bc72c13
to
ef81c6a
Compare
Signed-off-by: Anton Litvinov <[email protected]>
ef81c6a
to
cc91377
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
VPN 2.0 monitoring.
Summry of task:
Essentially, the program should get the connection parameters from the API, raise the connection and make sure that it works.
Establishing a VPN connection to wireguard must be done through the wg+gvisor combination, because raising a real network interface is not convenient especially in could environments, so a VPN connection that works entirely from code would be very useful.
Implementation notes:
Check of provider's functioning is done by requesting to http://1.1.1.1
Example of use
.\build\myst\myst.exe --provchecker --log-level=error daemon
Api
http://localhost:4050/prov-checker?id=0x020dd683990895d0f81a47702161f1d29d209976
Response:
{"status":true,"error":null,"provider_id":"0x020dd683990895d0f81a47702161f1d29d209976"}
Batch mode (check many providers):
Response: