pyrdp
pyrdp copied to clipboard
Don't log RDP Error Info for client disconnection as error
We currently log RDP Error Info PDUs where the description is "The disconnection was initiated by an administrative tool on the server running in the user's session." as errors. They should be logged as informational to notify the MITM user that the client disconnected.
Actually this should already be the case, so I'm not sure why we got an error log for that :thinking:
https://github.com/GoSecure/pyrdp/blob/cadee4db847c7c7c5a444070c4f385887655ac03/pyrdp/logging/observers.py#L117-L120
I guess we'll wait to see if this error happens again, so far I can only find one instance in the logs.