Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for sending SSH_MSG_DEBUG messages #1672

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

offsides
Copy link
Contributor

This adds files debug.c and debug.h, which provide the function sftp_debug_message for sending a SSH_MSG_DEBUG message back to the client. Not terribly useful, but I've been playing with mod_clamav and wanted a way to report virus detections to SFTP clients and not just FTP. Of course, the client is free to ignore the messages per the RFC, but it's better than nothing.

I copied the files disconnect.c and disconnect.h and then filed off the serial #s, so to speak, which is why the headers are the way they are (dates, copyright), but I freely assign my portion of copyright on them to you in any event.

@offsides offsides temporarily deployed to CI May 17, 2023 16:30 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 17, 2023 16:30 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 17, 2023 16:30 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 17, 2023 16:30 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 17, 2023 16:30 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 17, 2023 16:30 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 17, 2023 16:30 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 17, 2023 16:30 — with GitHub Actions Inactive
remove unused variable
@offsides offsides temporarily deployed to CI May 19, 2023 16:02 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 19, 2023 16:02 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 19, 2023 16:02 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 19, 2023 16:02 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 19, 2023 16:02 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 19, 2023 16:02 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 19, 2023 16:02 — with GitHub Actions Inactive
@offsides offsides temporarily deployed to CI May 19, 2023 16:02 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant