rclone / rclone

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
https://rclone.org
MIT License
46.16k stars 4.13k forks source link

Auth Proxy IP Address Metadata #4499

Open ptinsley opened 4 years ago

ptinsley commented 4 years ago

What is your current rclone version (output from rclone version)?

master

What problem are you are trying to solve?

I'm trying to track bad actors attacking SFTP servers, I want to forward username and client IP information on failed or successful auth attempts to have a central event log of all auth events.

How do you think rclone should be changed to solve that?

Add the client IP to the JSON passed to the auth proxy

I'd be happy to work on a PR for this when I get some spare time but I didn't want to try and get it figured out if it wouldn't be accepted.

Animosity022 commented 4 years ago

I can't see why not offhand, but @ncw could reply as well.

NellClarke commented 1 month ago

I think this is a very important improvement for safety, any news after 4 years?

Animosity022 commented 1 month ago

Feel free to submit a PR if you find it useful as in 4 years, doesn't seem there was a real need for it.

ncw commented 1 month ago

This would be a nice feature. Ideally we'd add it to all the Auth proxy servers (http, WebDAV, sftp, S3, etc)