Files
teleport/lib
rhammonds-teleport 368188489c Fix TDPB Audit Log and Error Monitoring Backwards Compatibility (#65798)
* When legacy clients connect to WDS, audit events are not emitted because the send/receive hooks expect only TDPB messages. Resolve this by treating the send/receive hooks as tdp.Interceptor hooks and adding them *above* the translation interceptors. This required lifting connection preparation out of the client constructor, which seems a little cleaner anyhow.

* Fix monitorErrorSender potentially sending a TDPB over a native TDP connection. Ensure that we use an abstraction with translation instead

* Fix tests after refactoring send/receive handlers

* Remove unused send/receive hooks on tdp.Conn

* recordEvent should return early if it fails to encode the message that it's capturing

* Give audited connection to error monitor
2026-04-22 19:23:40 +00:00
..