|
|
@ -187,7 +187,7 @@ func (s *Server) Process(ctx context.Context, network net.Network, conn internet
|
|
|
|
|
|
|
|
|
|
|
|
// handle tcp request
|
|
|
|
// handle tcp request
|
|
|
|
|
|
|
|
|
|
|
|
log.ContextWithAccessMessage(ctx, &log.AccessMessage{
|
|
|
|
ctx = log.ContextWithAccessMessage(ctx, &log.AccessMessage{
|
|
|
|
From: conn.RemoteAddr(),
|
|
|
|
From: conn.RemoteAddr(),
|
|
|
|
To: destination,
|
|
|
|
To: destination,
|
|
|
|
Status: log.AccessAccepted,
|
|
|
|
Status: log.AccessAccepted,
|
|
|
@ -220,7 +220,7 @@ func (s *Server) handleUDPPayload(ctx context.Context, clientReader *PacketReade
|
|
|
|
return nil
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
log.ContextWithAccessMessage(ctx, &log.AccessMessage{
|
|
|
|
ctx = log.ContextWithAccessMessage(ctx, &log.AccessMessage{
|
|
|
|
From: inbound.Source,
|
|
|
|
From: inbound.Source,
|
|
|
|
To: p.Target,
|
|
|
|
To: p.Target,
|
|
|
|
Status: log.AccessAccepted,
|
|
|
|
Status: log.AccessAccepted,
|
|
|
|