Commit Graph
716 Commits
Author SHA1 Message Date
braginini 005c4dd44a Make usage of WireGuard kernel configurable from env 2023-04-05 16:30:52 +02:00
braginini 367eff493a Ignore loopback interface 2023-04-04 17:49:28 +02:00
braginini 73a5bc33b3 Use bind no proxy when possible 2023-04-04 17:40:25 +02:00
braginini 87cbff1e7a Glue up all together 2023-04-04 16:50:35 +02:00
braginini 24cc5c4ef2 Rename WireGuard proxy 2023-04-04 14:52:57 +02:00
braginini a42f7d2c3b Fix iface test 2023-04-03 18:34:28 +02:00
braginini e2a3fc7558 Fix engine tests 2023-04-03 18:27:33 +02:00
braginini 5d191a8b9d Use custom stdnet 2023-04-03 17:37:05 +02:00
braginini 79a8109d5e Extend stdnet to have an interface filter 2023-03-31 18:25:23 +02:00
braginini ea44c1b723 Distinguish UDPMux and UDPMuxUniversal 2023-03-30 15:13:14 +02:00
braginini 430f92094e Upgrade WireGuard 2023-03-29 13:58:42 +02:00
braginini d6c2b46019 Make it work 2023-03-27 19:09:01 +02:00
braginini 2e7d199a6d Merge remote-tracking branch 'origin/main' into feature/bind 2023-03-27 16:01:13 +02:00
Zoltan Papp 55ebf93815 Fix nil pointer exception when create config (#765)
The config stored in a wrong variable when has been generated a
new config
2023-03-27 15:37:58 +02:00
braginini 8ac7eaf833 Bind init 2023-03-27 14:57:47 +02:00
Zoltan Papp 71d24e59e6 Add fqdn and address for notification listener (#757)
Extend the status notification listeners with FQDN and address
changes. It is required for mobile services.
2023-03-24 18:51:35 +01:00
Zoltan Papp 992cfe64e1 Add ipv6 test for stdnet pkg (#761) 2023-03-24 10:46:40 +01:00
Zoltan Papp d1703479ff Add custom ice stdnet implementation (#754)
On Android, because of the hard SELinux policies can not list the
interfaces of the ICE package. Without it can not generate a host type
candidate. In this pull request, the list of interfaces comes via the Java
interface.
2023-03-24 08:40:39 +01:00
Maycon Santos a27fe4326c Add JWT middleware validation failure log (#760)
We will log the middleware log now, but in the next
releases we should provide a generic error that can be
parsed by the dashboard.
v0.14.5
2023-03-23 18:26:41 +01:00
Misha Bragin e6292e3124 Disable peer expiration of peers added with setup keys (#758) 2023-03-23 17:47:53 +01:00
Maycon Santos 628b497e81 Adjustments for the change server flow (#756)
Check SSO support by calling the internal.GetDeviceAuthorizationFlowInfo

Rename LoginSaveConfigIfSSOSupported to SaveConfigIfSSOSupported

Receive device name as input for setup-key login

have a default android name when no context value is provided

log non parsed errors from management registration calls
2023-03-23 16:35:06 +01:00
Bethuel 8f66dea11c Add Keycloak Idp Manager (#746)
Added intergration with keycloak user API.
2023-03-23 14:54:31 +01:00
pascal-fischer 9c5adfea2b Merge pull request #745 from netbirdio/feature/pat_persistence
PAT persistence
2023-03-21 14:38:24 +01:00
Pascal Fischer 8e4710763e use single line return for SaveAccount 2023-03-21 14:02:34 +01:00
Pascal Fischer 82af60838e use "ok" convention for check variables throughout files_store 2023-03-21 14:00:59 +01:00
Pascal Fischer 311b67fe5a change error messages 2023-03-21 13:56:31 +01:00
Pascal Fischer 94d39ab48c improve style for tests 2023-03-21 13:34:48 +01:00
Pascal Fischer 41a47be379 add function comments, implement account mock functions and added error handling in tests 2023-03-20 16:38:17 +01:00
Pascal Fischer e30def175b switch PATs to map and add deletion 2023-03-20 16:14:55 +01:00
Pascal Fischer e1ef091d45 remove unnecessary string conversion 2023-03-20 12:08:01 +01:00
pascal-fischer 511ba6d51f Delete pat_handler.go 2023-03-20 11:47:54 +01:00
Pascal Fischer b852198f67 codacy and lint hints 2023-03-20 11:44:12 +01:00
Zoltan Papp 891ba277b1 Mobile (#735)
Initial modification to support mobile client

Export necessary interfaces for Android framework
2023-03-17 10:37:27 +01:00
Zoltan Papp 747797271e Fix connstate indication (#732)
Fix the status indication in the client service. The status of the
management server and the signal server was incorrect if the network
connection was broken. Basically the status update was not used by
the management and signal library.
2023-03-16 17:22:36 +01:00
Pascal Fischer 628a201e31 fix PAT array split 2023-03-16 16:59:32 +01:00
Maycon Santos 731d3ae464 Exchange proxy mode via signal (#727)
Before defining if we will use direct or proxy connection we will exchange a 
message with the other peer if the modes match we keep the decision 
from the shouldUseProxy function otherwise we skip using direct connection.

Added a feature support message to the signal protocol
2023-03-16 16:46:17 +01:00
Pascal Fischer 453643683d add method to account mock 2023-03-16 16:44:05 +01:00
Pascal Fischer b8cab2882b storing and retrieving PATs 2023-03-16 15:57:44 +01:00
pascal-fischer 6143b819c5 Merge pull request #725 from netbirdio/feature/add_PAT_generation
Adding Personal Access Token generation
2023-03-16 15:50:40 +01:00
Pascal Fischer 3b42d5e48a fix imports after merge 2023-03-16 11:59:12 +01:00
Pascal Fischer 1d4dfa41d2 clean dependencies 2023-03-16 11:46:53 +01:00
pascal-fischer f8db5742b5 Merge branch 'main' into feature/add_PAT_generation 2023-03-16 11:36:43 +01:00
Pascal Fischer bc3cec23ec use slice copy 2023-03-16 11:32:55 +01:00
Givi Khojanashvili f03aadf064 Feat firewall controller interface (#740)
Add a standard interface for the client firewall to support ACL.
2023-03-16 13:00:08 +04:00
Zoltan Papp 292ee260ad Add version info command to signal server (#739)
Add version command to signal and management servers.

The version information will be filled during build time.
2023-03-15 07:54:51 +01:00
Givi Khojanashvili 2a1efbd0fd Don't drop Rules from file storage after migration to Policies (#741)
Rego policy migration clears the rules property of the file storage, but it does not allow rollback management upgrade, so this changes pre-saves rules in the file store and updates it from the policies.
2023-03-15 09:42:40 +04:00
Givi Khojanashvili 3bfa26b13b Feat rego default policy (#700)
Converts rules to Rego policies and allow users to write raw policies to set up connectivity and firewall on the clients.
2023-03-13 18:14:18 +04:00
Misha Bragin 221934447e Send remote agents updates when peer re-authenticates (#737)
When peer login expires, all remote peers are updated to exclude the peer from connecting.
Once a peer re-authenticates, the remote peers are not updated.
This peer fixes the behavior.
v0.14.4
2023-03-10 17:39:29 +01:00
Misha Bragin 9ce8056b17 Use global login expiration setting when sending network map (#731)
Peers were considered expired and not sent to remote peers
when global expiration was disabled.
v0.14.3
2023-03-09 11:24:42 +01:00
Misha Bragin c65a5acab9 Update release banner 2023-03-09 08:24:25 +01:00