mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
Remove "auth skip" for socket traffic
This commit is contained in:
parent
53df9afc2a
commit
b91c115ade
7
app.go
7
app.go
@ -260,13 +260,6 @@ func (h *Headscale) grpcAuthenticationInterceptor(ctx context.Context,
|
||||
// the server
|
||||
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")
|
||||
|
||||
md, ok := metadata.FromIncomingContext(ctx)
|
||||
|
Loading…
Reference in New Issue
Block a user