mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
Remove "auth skip" for socket traffic
This commit is contained in:
parent
53df9afc2a
commit
b91c115ade
1 changed files with 0 additions and 7 deletions
7
app.go
7
app.go
|
@ -260,13 +260,6 @@ func (h *Headscale) grpcAuthenticationInterceptor(ctx context.Context,
|
||||||
// the server
|
// the server
|
||||||
p, _ := peer.FromContext(ctx)
|
p, _ := peer.FromContext(ctx)
|
||||||
|
|
||||||
// TODO(kradalby): Figure out what @ means (socket wise) and if it can be exploited
|
|
||||||
// if p.Addr.String() == "@" {
|
|
||||||
// log.Trace().Caller().Str("client_address", p.Addr.String()).Msg("Client connecting over socket")
|
|
||||||
|
|
||||||
// return handler(ctx, req)
|
|
||||||
// }
|
|
||||||
|
|
||||||
log.Trace().Caller().Str("client_address", p.Addr.String()).Msg("Client is trying to authenticate")
|
log.Trace().Caller().Str("client_address", p.Addr.String()).Msg("Client is trying to authenticate")
|
||||||
|
|
||||||
md, ok := metadata.FromIncomingContext(ctx)
|
md, ok := metadata.FromIncomingContext(ctx)
|
||||||
|
|
Loading…
Reference in a new issue