Commit Graph

1878 Commits

Author SHA1 Message Date
8dce13113d Disable local forwarding in netstack mode by default for security reasons 2025-01-14 18:11:02 +01:00
a625f90ea8 Merge branch 'main' into userspace-router 2025-01-14 10:49:04 +01:00
9b5b632ff9 [client] Support non-openresolv for DNS on Linux (#3176) 2025-01-14 10:39:37 +01:00
0c28099712 [management] enable optional zitadel configuration of a PAT (#3159)
* [management] enable optional zitadel configuration of a PAT for service user via the ExtraConfig fields

* [management] validate both PAT and JWT configurations for zitadel
2025-01-14 12:38:08 +03:00
522dd44bfa [client] make /var/lib/netbird paths configurable (#3084)
- NB_STATE_DIR
- NB_UNCLEAN_SHUTDOWN_RESOLV_FILE
- NB_DNS_STATE_FILE
2025-01-13 10:15:01 +01:00
8154069e77 [misc] Skip docker step when fork PR (#3175) 2025-01-13 10:11:54 +01:00
e161a92898 [client] Update fyne dependency (#3155) 2025-01-12 16:29:25 +01:00
3fce8485bb Enabled new network resource and router by default (#3174)
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
2025-01-11 20:09:29 +01:00
1cc88a2190 [management] adjust benchmark (#3168) 2025-01-11 14:08:13 +01:00
168ea9560e [Management] Send peer network map when SSH status is toggled (#3172) 2025-01-11 13:19:30 +01:00
1c00870ca6 Merge branch 'allow-ssh-server-freebsd' into userspace-router 2025-01-11 12:40:32 +01:00
1296ecf96e Tidy up go mod 2025-01-11 02:38:31 +01:00
8430c37dd6 Fix panic if login cmd fails 2025-01-11 02:36:11 +01:00
648b22aca1 Fix listening in netstack mode 2025-01-11 02:36:11 +01:00
d31543cb12 Enable ssh server on freebsd 2025-01-11 02:36:11 +01:00
af46f259ac Block wg net forwarded traffic 2025-01-11 00:38:30 +01:00
f48e33b395 [client] Don't fail on v6 ops when disabled via kernel params (#3165) 2025-01-10 18:16:21 +01:00
f1ed8599fc [misc] add missing relay to docker-compose.yml.tmpl.traefik (#3163) 2025-01-10 18:16:11 +01:00
93f3e1b14b [client] Prevent local routes in status from being overridden by updates (#3166) 2025-01-10 11:02:05 +01:00
01957a305d Merge branch 'main' into userspace-router 2025-01-10 10:07:57 +01:00
649bfb236b [management] Send relay credentials with turn updates (#3164)
send relay credentials when sending turn credentials update to avoid removing servers
from clients
2025-01-10 09:44:02 +01:00
706f98c1f1 Improve routing decision logic 2025-01-09 17:37:12 +01:00
6335ef8b48 Correct comment 2025-01-09 14:10:33 +01:00
daf935942c Handle disable-server-routes flag in userspace router 2025-01-09 14:08:44 +01:00
409003b4f9 [management] Add support for disabling resources and routing peers in networks (#3154)
* sync openapi changes

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* add option to disable network resource(s)

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* add network resource enabled state from api

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* fix tests

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* add option to disable network router(s)

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* fix tests

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* Add tests

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* migrate old network resources and routers

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

---------

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
2025-01-08 19:35:57 +03:00
9e6e34b42d [misc] Upgrade go to 1.23 inn devcontainer (#3160) 2025-01-08 11:48:10 +01:00
28f5cd523a Merge branch 'main' into userspace-router 2025-01-08 11:38:30 +01:00
d9905d1a57 [client] Add disable system flags (#3153) 2025-01-07 20:38:18 +01:00
2060242092 Merge branch 'main' into userspace-router 2025-01-07 15:40:19 +01:00
5ea39dfe8a Adjust limits for iOS 2025-01-06 23:53:12 +01:00
4a189a87ce Use MTU for udp max size 2025-01-06 23:47:03 +01:00
2bd68efc08 [relay] Handle IPv6 addresses in X-Real-IP header on relay service (#3085) 2025-01-06 17:31:35 +01:00
6848e1e128 [client] Add rootless container and fix client routes in netstack mode (#3150) 2025-01-06 14:16:31 +01:00
668aead4c8 [misc] remove outdated readme header (#3151) 2025-01-06 14:12:28 +01:00
f08605a7f1 [client] Enable network map persistence by default (#3152) 2025-01-06 14:11:43 +01:00
02a3feddb8 [management] Add MySQL Support (#3108)
* Add mysql store support
* Add support to disable activity events recording
2025-01-06 13:38:30 +01:00
fe7a2aa263 Fix test 2025-01-05 22:44:04 +01:00
290e6992a8 Demote close error levels 2025-01-05 14:50:17 +01:00
474fb33305 Remove established field from udp and icmp (unused) 2025-01-04 23:46:32 +01:00
766e0cccc9 Add packet tracer 2025-01-03 21:09:40 +01:00
7dfe7e426e Always use userspace routing in netstack mode 2025-01-03 18:38:57 +01:00
eaadb75144 Add env var to force userspace routing if native routing is available 2025-01-03 18:02:35 +01:00
0b116b3941 Use native firewall for nat/firewall operations if available 2025-01-03 17:52:36 +01:00
f69dd6fb62 Make extra IPs from interfaces optional 2025-01-03 16:54:46 +01:00
62a20f5f1a Add local IPs test 2025-01-03 16:50:00 +01:00
a6ad4dcf22 Close endpoint when stopping udp forwarder 2025-01-03 16:40:51 +01:00
f26b418e83 Allow to set firewall log level 2025-01-03 16:04:00 +01:00
3ce39905c6 Merge branch 'main' into userspace-router 2025-01-03 15:51:05 +01:00
d9487a5749 [misc] separate integration and benchmark test workflows (#3147) 2025-01-03 15:48:31 +01:00
979fe6bb6a Reduce complexity and fix linter issues 2025-01-03 15:43:28 +01:00