[client] Add experimental support for userspace routing #7705
Annotations
10 errors
golangci-lint:
client/firewall/uspfilter/log/log.go#L131
Error return value of `l.buffer.Write` is not checked (errcheck)
|
golangci-lint:
client/firewall/uspfilter/log/log.go#L187
Error return value of `l.output.Write` is not checked (errcheck)
|
golangci-lint:
client/firewall/uspfilter/forwarder/forwarder.go#L82
nilness: impossible condition: nil != nil (govet)
|
golangci-lint:
client/firewall/uspfilter/forwarder/forwarder.go#L85
nilness: impossible condition: nil != nil (govet)
|
golangci-lint:
client/firewall/uspfilter/forwarder/forwarder.go#L58
printf: fmt.Errorf format %w has arg err of wrong type gvisor.dev/gvisor/pkg/tcpip.Error (govet)
|
golangci-lint:
client/firewall/uspfilter/forwarder/forwarder.go#L71
printf: fmt.Errorf format %w has arg err of wrong type gvisor.dev/gvisor/pkg/tcpip.Error (govet)
|
golangci-lint:
client/firewall/uspfilter/conntrack/udp.go#L78
printf: (*github.com/netbirdio/netbird/client/firewall/uspfilter/log.Logger).Trace format %s has arg conn of wrong type *github.com/netbirdio/netbird/client/firewall/uspfilter/conntrack.UDPConnTrack (govet)
|
golangci-lint:
client/firewall/uspfilter/conntrack/udp.go#L130
printf: (*github.com/netbirdio/netbird/client/firewall/uspfilter/log.Logger).Trace format %s has arg conn of wrong type *github.com/netbirdio/netbird/client/firewall/uspfilter/conntrack.UDPConnTrack (govet)
|
golangci-lint:
client/firewall/uspfilter/log/ringbuffer.go#L88
function min has same name as predeclared identifier (predeclared)
|
golangci-lint:
client/firewall/uspfilter/forwarder/udp.go#L134
SA4006: this value of `pConn` is never used (staticcheck)
|
Loading