Commit Graph

974 Commits

Author SHA1 Message Date
crn4
199804d64f go gc 2025-10-30 23:27:54 +01:00
crn4
d7e028b2b3 pprof without localhost 2025-10-30 23:21:17 +01:00
crn4
e88f8a9948 added limiter on login 2025-10-30 20:23:11 +01:00
crn4
00da7b0482 conflicts resolution 2025-10-30 19:36:58 +01:00
crn4
435a342a36 GetAccount method selection based on pg pool 2025-10-30 18:40:22 +01:00
crn4
367731b66c Merge branch 'main' into refactor/getaccount-raw 2025-10-30 18:07:17 +01:00
crn4
ab8a2baa32 minor cleanup changes 2025-10-30 18:03:06 +01:00
crn4
780890f9e6 getValidatedPeerWithMap get account from cache for exp 2025-10-30 17:04:03 +01:00
crn4
81429f104c sprintf to strings builder 2025-10-30 17:03:55 +01:00
crn4
479c75f827 load or store for account 2025-10-30 17:03:40 +01:00
crn4
60e3bf4084 fixed panic 2025-10-30 16:55:20 +01:00
crn4
1002d45232 minor change 2025-10-30 16:55:09 +01:00
crn4
84decc36c0 sync once pointer 2025-10-30 16:54:49 +01:00
crn4
8875168d2b minor change 2025-10-30 16:52:01 +01:00
crn4
f193f0fa9d build cache only once 2025-10-30 16:51:41 +01:00
crn4
e0fed79690 sync limit fix 2025-10-30 16:50:26 +01:00
crn4
a00e7654b7 simple balancing 2025-10-30 16:43:04 +01:00
crn4
43b2d599b8 minor changes after conflicts 2025-10-30 16:18:57 +01:00
Pascal Fischer
0fdf8138f2 fix expandPortsAndRanges 2025-10-30 16:13:53 +01:00
Pascal Fischer
5098410e66 remove unused network map field from update 2025-10-30 16:12:48 +01:00
crn4
9eda1ade4a minor changes after conflicts resolution 2025-10-30 14:57:40 +01:00
Viktor Liu
404cab90ba [client] Redirect dns forwarder port 5353 to new listening port 22054 (#4707)
- Port dnat changes from https://github.com/netbirdio/netbird/pull/4015 (nftables/iptables/userspace)
  - For userspace: rewrite the original port to the target port
  - Remember original destination port in conntrack
  - Rewrite the source port back to the original port for replies
- Redirect incoming port 5353 to 22054 (tcp/udp)
- Revert port changes based on the network map received from management
- Adjust tracer to show NAT stages
2025-10-28 15:12:53 +01:00
Pascal Fischer
4545ab9a52 [management] rewire account manager to permissions manager (#4673) 2025-10-27 22:59:35 +01:00
Bethuel Mmbaga
7f08983207 Include expired and routing peers in DNS record filtering (#4708) 2025-10-27 22:16:17 +03:00
Bethuel Mmbaga
d80d47a469 [management] Add peer disapproval reason (#4468) 2025-10-22 12:46:22 +03:00
crn4
4896428d76 changed GetAccount to sql raw version 2025-10-21 14:07:27 +02:00
Pascal Fischer
cdd2c97a46 get account test 2025-10-21 13:46:10 +02:00
crn4
feb14c4e54 code cleanup 2025-10-19 17:41:51 +02:00
crn4
d68eb8cc93 nil slices to empty 2025-10-19 17:05:28 +02:00
crn4
f588997c49 change main get account method 2025-10-19 17:05:25 +02:00
crn4
5320c89bdd more nullable fields 2025-10-19 17:04:41 +02:00
crn4
af29a18a10 more null fields 2025-10-19 17:04:24 +02:00
crn4
8e3f0090f0 null bools 2025-10-19 17:03:38 +02:00
crn4
682998a788 nil slices to empty 2025-10-19 17:03:36 +02:00
crn4
23466adbae with test 2025-10-19 17:01:29 +02:00
crn4
5e79cc0176 new raw sql get account method 2025-10-19 17:01:29 +02:00
John Conley
bb37dc89ce [management] feat: Basic PocketID IDP integration (#4529) 2025-10-16 10:46:29 +02:00
Pascal Fischer
5151f19d29 [management] pass temporary flag to validator (#4599) 2025-10-10 16:15:51 +02:00
hakansa
d35a845dbd [management] sync all other peers on peer add/remove (#4614) 2025-10-09 21:18:00 +02:00
crn4
274711a37e pprof 2025-10-07 15:01:19 +01:00
crn4
53e24ae7f7 panic fix 2025-10-07 11:12:39 +01:00
crn4
fbc02343e9 Merge branch 'main' into refactor/nmap 2025-10-07 10:07:58 +01:00
crn4
ffed4b38ef minor fixes after tests 2025-10-07 10:07:14 +01:00
Viktor Liu
954f40991f [client,management,signal] Handle grpc from ws proxy internally instead of via tcp (#4593) 2025-10-06 21:22:19 +02:00
crn4
5d1c61369d added env for account ids enabling new network map builder 2025-10-06 12:34:36 +01:00
crn4
fd9e21a5f3 get rid of direct get account calls 2025-10-02 14:41:58 +02:00
crn4
841bc7564a minor fixes 2025-10-02 11:58:55 +02:00
crn4
f20a1b3328 get rid of get account calls for update peers 2025-10-02 11:55:43 +02:00
crn4
2ac0da6cac conflicts resolution 2025-10-02 11:39:43 +02:00
crn4
148b8b04b3 cache and peeracls to unexported 2025-10-02 11:33:18 +02:00