diff --git a/honeypot/ssh/server.go b/honeypot/ssh/server.go index a3bade8..d948645 100644 --- a/honeypot/ssh/server.go +++ b/honeypot/ssh/server.go @@ -115,6 +115,9 @@ func (hs *HoneypotServer) passwordHandler(ctx sshlib.Context, password string) b } func (s *HoneypotServer) connCallback(ctx sshlib.Context, conn net.Conn) net.Conn { + s.Logger.Debugw("Connection received.", "remote_addr", conn.RemoteAddr()) + conn.RemoteAddr() + throttledConn := newThrottledConn(conn) throttledConn.SetSpeed(s.throttleSpeed) ctx.SetValue("uuid", throttledConn.ID)