Maycon Santos
3e9b46f8d8
Prevent peer updates on flapping status and fix route score logic ( #920 )
...
Prevent peer updates if the status is not changing from disconnected to connected and vice versa.
Fixed route score calculation, added tests and changed the log message
fixed installer /usr/local/bin creation
2023-06-01 16:00:44 +02:00
pascal-fischer
47da362a70
Merge pull request #919 from netbirdio/fix/macos_installer_scripts_for_release
...
Fix pkg installer for macos
2023-05-31 21:19:11 +02:00
Pascal Fischer
980dbdb7c6
add creating log dir to macOS installer scripts
2023-05-31 20:37:21 +02:00
Pascal Fischer
5b9378e6cb
add creating log dir to macOS installer scripts
2023-05-31 19:31:37 +02:00
Givi Khojanashvili
293499c3c0
Extend protocol and firewall manager to handle old management ( #915 )
...
* Extend protocol and firewall manager to handle old management
* Send correct empty firewall rules list when delete peer
* Add extra tests for firewall manager and uspfilter
* Work with inconsistent state
* Review note
* Update comment
2023-05-31 19:04:38 +02:00
Zoltan Papp
45a6263adc
Feature/android route notification ( #868 )
...
Add new feature to notify the user when new client route has arrived.
Refactor the initial route handling. I move every route logic into the route
manager package.
* Add notification management for client rules
* Export the route notification for Android
* Compare the notification based on network range instead of id.
2023-05-31 18:25:24 +02:00
Maycon Santos
6425eb6732
Revert "setting cli flags to proper commands ( #860 )" ( #916 )
...
This reverts commit 0fa3abbec0
.
2023-05-31 16:06:42 +02:00
pascal-fischer
e87647c853
Merge pull request #913 from netbirdio/feature/add_selfhosted_metrics_for_pat_and_service_user
...
Add selfhosted metrics for PATs and service users
2023-05-31 14:41:34 +02:00
Pascal Fischer
9e045479cc
fix pats counting
2023-05-30 19:44:40 +02:00
Pascal Fischer
fe596c38c6
update rules count
2023-05-30 19:36:09 +02:00
Pascal Fischer
6fd13f563e
use new policy-rule object
2023-05-30 19:09:16 +02:00
Pascal Fischer
22e81f493b
fix metric creation from maps
2023-05-30 19:07:00 +02:00
Pascal Fischer
51f780dae9
initialize maps
2023-05-30 18:53:23 +02:00
Pascal Fischer
f164fad2c2
add some more metrics
2023-05-30 18:49:50 +02:00
Pascal Fischer
452b045bb0
expose service users metrics
2023-05-30 16:40:48 +02:00
Givi Khojanashvili
874c290205
Exclude second last IP from allocation to use it in the Fake DNS ( #912 )
2023-05-30 18:26:44 +04:00
Pascal Fischer
7a9b05c56d
add selfhosted metric for pat and service users
2023-05-30 16:22:34 +02:00
Bethuel
79736197cd
Read config from generic configs ( #909 )
2023-05-29 16:01:04 +02:00
Givi Khojanashvili
ba7a39a4fc
Feat linux firewall support ( #805 )
...
Update the client's engine to apply firewall rules received from the manager (results of ACL policy).
2023-05-29 16:00:18 +02:00
Bethuel
2eb9a97fee
Add Okta IdP ( #859 )
2023-05-29 14:52:04 +02:00
Bethuel
49c71b9b9d
Add Authentik IdP ( #897 )
2023-05-29 14:35:30 +02:00
dependabot[bot]
23878895df
Bump golang.org/x/image from 0.0.0-20200430140353-33d19683fad8 to 0.5.0 ( #786 )
2023-05-29 13:55:29 +02:00
pascal-fischer
0fa3abbec0
setting cli flags to proper commands ( #860 )
2023-05-29 13:52:22 +02:00
Tom
4fcf176a39
Added nginx template ( #867 )
2023-05-29 13:51:25 +02:00
Zoltan Papp
460cb34d80
Add force relay conn env var for debug purpose ( #904 )
...
Add force relay conn env var for debug purpose.
Move another conn related env settings into a common go file.
2023-05-29 13:50:40 +02:00
Bethuel
3bebbe0409
Refactor IdP Config Structure ( #879 )
2023-05-29 13:48:19 +02:00
pascal-fischer
a949c39600
Merge pull request #908 from netbirdio/fix/github_release_dependency_for_darwin
...
Fix github release dependeny for MacOS
2023-05-26 18:51:49 +02:00
Pascal Fischer
2a45833b28
bump signing pipe version
2023-05-26 18:31:51 +02:00
Pascal Fischer
182382e2db
add release dependency
2023-05-26 18:07:50 +02:00
Maycon Santos
7f454f9c00
Add retry to sending signal message ( #906 )
...
Increased the default send timeout from 2 to 5
Added a max of 4 retries
with an increased timeout after the second attempt
using the grpc client context and
checking the error value for canceled context
2023-05-26 17:55:37 +02:00
pascal-fischer
d2db6bd03e
Merge pull request #899 from netbirdio/feature/create_macos_pkg_on_release
...
Adding static files for pkg creation for Mac
2023-05-26 17:48:08 +02:00
pascal-fischer
deeff277f4
Merge pull request #907 from netbirdio/chore/remove_drift_in_openapi_and_docs
...
Remove drift between docs and openapi
2023-05-26 17:33:33 +02:00
Maycon Santos
b6105e9d7c
Use backoff.retry to check if upstreams are responsive ( #901 )
...
Retry, in an exponential interval, querying the upstream servers until it gets a positive response
2023-05-26 17:13:59 +02:00
Pascal Fischer
2808647be7
upgrade sign pipeline version
2023-05-26 17:06:47 +02:00
Pascal Fischer
7bdb0dd358
merge openapi with version from docs repo
2023-05-26 15:32:52 +02:00
Pascal Fischer
8124a273fb
fix log writing
2023-05-26 13:56:01 +02:00
Pascal Fischer
5d459cf118
remove requirements.plist
2023-05-26 13:10:01 +02:00
Pascal Fischer
489be203fc
revert logs writing
2023-05-26 13:07:14 +02:00
Pascal Fischer
4eec29a639
revert log writing
2023-05-25 21:22:26 +02:00
Pascal Fischer
b3027603df
update postinstall
2023-05-25 21:14:44 +02:00
Pascal Fischer
4026efcc08
revert requirements.plist
2023-05-25 21:02:49 +02:00
Pascal Fischer
fb3fbc17f2
update requirements.plist
2023-05-25 15:13:38 +02:00
Pascal Fischer
76004bd537
update requirements.plist
2023-05-25 14:54:48 +02:00
Pascal Fischer
4e69af6caa
also write error messages
2023-05-25 14:40:32 +02:00
Zoltan Papp
f237e8bd30
Windows MTU fix and wg/win version update ( #896 )
...
- wireguard/windows version update to 0.5.3
- follow up forked wireguard-go MTU related changes
- fix MTU settings on Windows
---------
Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
2023-05-25 14:16:24 +02:00
Pascal Fischer
98eb2d4587
update log path
2023-05-25 12:22:13 +02:00
Pascal Fischer
ac0e40da7e
add scripts for pkg creation for mac
2023-05-23 18:15:05 +02:00
Maycon Santos
a91297d3a4
Check if the cancel function was set before using it ( #893 )
...
in some cases an IDP device flow expiration time might be shorter than 90s
we should check if the cancel context was set before using it
We will need a follow-up to identify and document the IDP with lower defaults.
fixes #890
2023-05-23 17:54:47 +02:00
Misha Bragin
f66574b094
Count only successful HTTP request durations ( #886 )
2023-05-22 16:26:36 +02:00
Misha Bragin
48265b32f3
Measure write requests separately from read requests ( #880 )
2023-05-19 16:56:15 +02:00