mrmekon / circadian

Suspend-On-Idle Daemon for GNU/Linux Power Management
GNU General Public License v3.0
254 stars 16 forks source link

Added NFS monitoring support #14

Closed jimduchek closed 1 year ago

jimduchek commented 2 years ago

Pretty straightforward. NFS is handled mostly in the kernel at this point, so there's no 'nfsd' process to see in netstat, so we look for connections to port 2049. Otherwise basically duplicating the code for SMB. It does work like the SSH blocking in that it will block on both incoming (we are the NFS server) and outgoing (we are the NFS client) connections, which may not be ideal for some users.

mrmekon commented 1 year ago

Oh boy, I completely missed this. Sorry for almost a year delay... Looks good, but I'll need to run a quick local test and figure out how to release this project again... I hope to have a bit of time for that next week.

mrmekon commented 1 year ago

and a million years later this is merged and released as v0.8.1. Thanks!