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
Misha Bragin
03a42de5a0
Add telemetry to measure app durations ( #878 )
2023-05-19 11:42:25 +02:00
Misha Bragin
8b78209ae5
Clarify XORMapped panic case ( #877 )
2023-05-18 19:47:36 +02:00
Zoltan Papp
8a8c4bdddd
Fix issue 872 ( #873 )
...
Read and check ip_forward from proc before write
2023-05-18 19:31:54 +02:00
Maycon Santos
48a8b52740
Avoid storing account if no peer meta or expiration change ( #875 )
...
* Avoid storing account if no peer meta or expiration change
* remove extra log
* Update management/server/peer.go
Co-authored-by: Misha Bragin <bangvalo@gmail.com>
* Clarify why we need to skip account update
---------
Co-authored-by: Misha Bragin <bangvalo@gmail.com>
2023-05-18 19:31:35 +02:00
Misha Bragin
3876cb26f4
Fix panic when getting XORMapped addr ( #874 )
2023-05-18 18:50:46 +02:00
Misha Bragin
6e9f7531f5
Track user block/unblock activity event ( #865 )
2023-05-17 09:54:20 +02:00
Maycon Santos
db69a0cf9d
Prevent setting primary resolver if using custom DNS port ( #861 )
...
Most host managers doesn't support using custom DNS ports.
We are now disabling setting it up to avoid unwanted results
2023-05-17 00:03:26 +02:00
pascal-fischer
4c5b85d80b
Merge pull request #863 from netbirdio/fix/base62_dependency
...
Remove dependency to base62 package
2023-05-16 13:36:08 +02:00
Pascal Fischer
873abc43bf
move into separate package
2023-05-16 12:57:56 +02:00
Pascal Fischer
2fef52b856
remove dependency to external base62 package and create own methods in utils
2023-05-16 12:44:26 +02:00
Ovidiu Ionescu
a3ee45b79e
Add mipsle build to enable netbird for devices such as EdgeRouter X ( #842 )
...
Add mipsle build and split build for mipsle and mips archs.
Removed yum and debian packages for these archs.
2023-05-14 12:06:29 +02:00
pascal-fischer
c2770c7bf9
Merge pull request #851 from bcmmbaga/bug/oidc-config
...
Resolve issue with AuthIssuer URL assignment in auth0
2023-05-12 17:25:41 +02:00
Bethuel
2570363861
fix assign correct issuer url to auth0 AuthIssuer
2023-05-12 18:07:11 +03:00
Misha Bragin
e3d2b6a408
Block user through HTTP API ( #846 )
...
The new functionality allows blocking a user in the Management service.
Blocked users lose access to the Dashboard, aren't able to modify the network map,
and all of their connected devices disconnect and are set to the "login expired" state.
Technically all above was achieved with the updated PUT /api/users endpoint,
that was extended with the is_blocked field.
2023-05-11 18:09:36 +02:00
Zoltan Papp
9f758b2015
Fix preshared key command line arg handling ( #850 )
2023-05-11 18:09:06 +02:00
Bethuel
2c50d7af1e
Automatically load IdP OIDC configuration ( #847 )
2023-05-11 15:14:00 +02:00
pascal-fischer
e4c28f64fa
Fix user cache lookup filtering for service users ( #849 )
2023-05-10 19:27:17 +02:00
Maycon Santos
6f2c4078ef
Fix macOS installer script ( #844 )
...
Create /usr/local/bin/ folder before installation
2023-05-09 16:22:02 +02:00
Bethuel
f4ec1699ca
Add Zitadel IdP ( #833 )
...
Added intergration with Zitadel management API.
Use the steps in zitadel.md for configuration.
2023-05-05 19:27:28 +02:00
Bethuel
fea53b2f0f
Fix incomplete verification URI issue in device auth flow ( #838 )
...
Adds functionality to support Identity Provider (IdP) managers
that do not support a complete verification URI in the
device authentication flow.
In cases where the verification_uri_complete field is empty,
the user will be prompted with their user_code,
and the verification_uri field will be used as a fallback
2023-05-05 12:43:04 +02:00
Zoltan Papp
60e6d0890a
Fix sharedsock build on android ( #837 )
2023-05-05 10:55:23 +02:00
Misha Bragin
cb12e2da21
Correct sharedsock BPF fields ( #835 )
2023-05-04 12:28:32 +02:00
Bethuel
873b56f856
Add Azure Idp Manager ( #822 )
...
Added intergration with Azure IDP user API.
Use the steps in azure-ad.md for configuration:
cb03373f8f/docs/integrations/identity-providers/self-hosted/azure-ad.md
2023-05-03 14:51:44 +02:00
Maycon Santos
ecac82a5ae
Share kernel Wireguard port with raw socket ( #826 )
...
This PR brings support of a shared port between stun (ICE agent) and
the kernel WireGuard
It implements a single port mode for execution with kernel WireGuard
interface using a raw socket listener.
BPF filters ensure that only STUN packets hit the NetBird userspace app
Removed a lot of the proxy logic and direct mode exchange.
Now we are doing an extra hole punch to the remote WireGuard
port for best-effort cases and support to old client's direct mode.
2023-05-03 14:47:44 +02:00
pascal-fischer
59372ee159
API cleanup ( #824 )
...
removed all PATCH endpoints
updated path parameters for all endpoints
removed not implemented endpoints for api doc
minor description updates
2023-05-03 00:15:25 +02:00
pascal-fischer
08db5f5a42
Merge pull request #831 from netbirdio/fix/issue_with_account_creation_after_auth_refactor
...
FIx account creation issue after auth refactor
2023-05-02 19:14:54 +02:00
pascal-fischer
88678ef364
Merge pull request #808 from bcmmbaga/main
...
Add support for refreshing signing keys on expiry
2023-05-02 17:17:09 +02:00
Pascal Fischer
f1da4fd55d
using old isAdmin function to create account
2023-05-02 16:49:29 +02:00
Misha Bragin
e096ec39d5
Enable roaming for mobile ( #827 )
2023-04-28 16:26:54 +02:00
Zoltan Papp
7f5e1c623e
Use forked Wireguard-go for custom bind ( #823 )
...
Update go version to 1.20
Use forked wireguard-go repo because of custom Bind implementation
2023-04-27 17:50:45 +02:00
Maycon Santos
afaa3fbe4f
Use local time zone for display last update changes ( #825 )
...
* Use local time zone for display last update changes
* using TZ UTC for testing purposes
* use init func
2023-04-27 16:02:00 +02:00
pascal-fischer
6fec0c682e
Merging full service user feature into main ( #819 )
...
Merging full feature branch into main.
Adding full support for service users including backend objects, persistence, verification and api endpoints.
2023-04-22 12:57:51 +02:00
Bethuel
45224e76d0
fallback to olde keys if failing to fetch refreshed keys
2023-04-21 13:34:52 +03:00
Chinmay Pai
c2e90a2a97
feat: add support for custom device hostname ( #789 )
...
Configure via --hostname (or -n) flag in the `up` and `login` commands
---------
Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
2023-04-20 16:00:22 +02:00
Maycon Santos
118880b6f7
Send a status notification on offline peers change ( #821 )
...
Sum offline peers too
2023-04-20 15:59:07 +02:00
Bethuel
90c8cfd863
synchronize access to the signing keys
2023-04-19 17:11:38 +03:00
Zoltan Papp
bb147c2a7c
Remove unnecessary uapi open ( #807 )
...
Remove unnecessary uapi open from Android implementation
2023-04-17 11:50:12 +02:00
Zoltan Papp
4616bc5258
Add route management for Android interface ( #801 )
...
Support client route management feature on Android
2023-04-17 11:15:37 +02:00
Bethuel
f7196cd9a5
refactoring
2023-04-15 03:44:42 +03:00
Zoltan Papp
1803cf3678
Fix error handling in case of the port is in used ( #810 )
2023-04-14 16:18:00 +02:00
Zoltan Papp
9f35a7fb8d
Ignore ipv6 labeled address ( #809 )
...
Ignore ipv6 labeled address
2023-04-14 15:40:27 +02:00
Bethuel
53d78ad982
make variable unexported
2023-04-14 13:16:01 +03:00
Bethuel
9f352c1b7e
validate keys for idp's with key rotation mechanism
2023-04-14 12:20:34 +03:00