Skip to content

[management,proxy,client] Add L4 capabilities (TLS/TCP/UDP) - #5530

Merged
lixmal merged 32 commits into
mainfrom
reverse-proxy-l4
Mar 13, 2026
Merged

[management,proxy,client] Add L4 capabilities (TLS/TCP/UDP)#5530
lixmal merged 32 commits into
mainfrom
reverse-proxy-l4

Add L4 capabilities (TLS/TCP/UDP)

000ae70
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Mar 6, 2026 in 39s

Quality Gate failed

Failed conditions
13 New issues
13 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 356 in proxy/internal/roundtrip/netbird.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 23 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9m34MGUYp6MaXF6&open=AZzEv9m34MGUYp6MaXF6&pullRequest=5530

Check failure on line 861 in management/internals/modules/reverseproxy/service/manager/manager.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 21 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9oh4MGUYp6MaXGA&open=AZzEv9oh4MGUYp6MaXGA&pullRequest=5530

Check warning on line 559 in management/internals/modules/reverseproxy/service/service.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce this case clause number of lines from 11 to at most 10, for example by extracting code into methods.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9o24MGUYp6MaXGE&open=AZzEv9o24MGUYp6MaXGE&pullRequest=5530

Check failure on line 351 in management/internals/modules/reverseproxy/service/manager/manager.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 27 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9oh4MGUYp6MaXF-&open=AZzEv9oh4MGUYp6MaXF-&pullRequest=5530

Check warning on line 233 in client/cmd/expose.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce this case clause number of lines from 20 to at most 10, for example by extracting code into methods.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9hQ4MGUYp6MaXF5&open=AZzEv9hQ4MGUYp6MaXF5&pullRequest=5530

Check warning on line 0 in proxy/server.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

File "server.go" has 1060 lines, which is greater than 750 authorized. Split it into smaller files.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9oH4MGUYp6MaXF8&open=AZzEv9oH4MGUYp6MaXF8&pullRequest=5530

Check failure on line 454 in management/internals/modules/reverseproxy/service/service.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 26 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9o24MGUYp6MaXGC&open=AZzEv9o24MGUYp6MaXGC&pullRequest=5530

Check failure on line 538 in management/internals/modules/reverseproxy/service/service.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 21 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9o24MGUYp6MaXGD&open=AZzEv9o24MGUYp6MaXGD&pullRequest=5530

Check failure on line 461 in management/internals/modules/reverseproxy/service/manager/manager.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 21 to the 20 allowed.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9oh4MGUYp6MaXF_&open=AZzEv9oh4MGUYp6MaXF_&pullRequest=5530

Check warning on line 0 in management/internals/modules/reverseproxy/service/manager/manager.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

File "manager.go" has 873 lines, which is greater than 750 authorized. Split it into smaller files.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9oh4MGUYp6MaXF9&open=AZzEv9oh4MGUYp6MaXF9&pullRequest=5530

Check warning on line 97 in proxy/internal/udp/relay.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This function has 9 parameters, which is greater than the 7 authorized.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9nx4MGUYp6MaXF7&open=AZzEv9nx4MGUYp6MaXF7&pullRequest=5530

Check warning on line 0 in management/internals/modules/reverseproxy/service/service.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

File "service.go" has 894 lines, which is greater than 750 authorized. Split it into smaller files.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9o24MGUYp6MaXGB&open=AZzEv9o24MGUYp6MaXGB&pullRequest=5530

Check warning on line 570 in management/internals/modules/reverseproxy/service/service.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce this case clause number of lines from 11 to at most 10, for example by extracting code into methods.

See more on https://sonarcloud.io/project/issues?id=netbirdio_netbird&issues=AZzEv9o24MGUYp6MaXGF&open=AZzEv9o24MGUYp6MaXGF&pullRequest=5530