Commit Graph

10 Commits

Author SHA1 Message Date
Zoltan Papp
e9d8f7f1ce Fix Sonar issues
Reduce cognitive complexity
2024-12-02 11:33:32 +01:00
Zoltán Papp
10ead6dc4d Add tests 2024-11-28 18:11:30 +01:00
Zoltán Papp
a05117b737 Fix abort 2024-11-28 18:11:15 +01:00
Zoltán Papp
5d4899cb78 Fix logging and error handling 2024-11-28 17:34:09 +01:00
Zoltán Papp
9196104859 Add race dialer 2024-11-28 11:53:35 +01:00
Zoltán Papp
bca8944e7a TLS configuration
- handle the same AlPN list
- use dev build tag for debugging purposes
2024-11-27 18:14:17 +01:00
Zoltán Papp
3a447c066b Use custom dialer in QUIC 2024-11-25 22:06:52 +01:00
Zoltán Papp
b23169de63 Add quick listener 2024-11-15 19:36:09 +01:00
Zoltán Papp
b82b4a07fc Quic support 2024-11-15 17:06:11 +01:00
Zoltan Papp
0c039274a4
[relay] Feature/relay integration (#2244)
This update adds new relay integration for NetBird clients. The new relay is based on web sockets and listens on a single port.

- Adds new relay implementation with websocket with single port relaying mechanism
- refactor peer connection logic, allowing upgrade and downgrade from/to P2P connection
- peer connections are faster since it connects first to relay and then upgrades to P2P
- maintains compatibility with old clients by not using the new relay
- updates infrastructure scripts with new relay service
2024-09-08 12:06:14 +02:00