diff --git a/cmd/server/hmac-file-server b/cmd/server/hmac-file-server new file mode 100755 index 0000000..c298a74 Binary files /dev/null and b/cmd/server/hmac-file-server differ diff --git a/cmd/server/hmac-file-server.log b/cmd/server/hmac-file-server.log new file mode 100644 index 0000000..24304bd --- /dev/null +++ b/cmd/server/hmac-file-server.log @@ -0,0 +1,1393 @@ +{"level":"info","msg":"========================================","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":" HMAC File Server - v1.0.0 ","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":" Secure File Handling with HMAC Auth ","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"========================================","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Build Date: 2024-10-28","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Operating System: linux","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Architecture: amd64","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Number of CPUs: 8","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Go Version: go1.22.0","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Total Memory: 15684 MB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Free Memory: 534 MB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Used Memory: 6466 MB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /, Total: 465 GB, Free: 55 GB, Used: 386 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/brave/460, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/cmake/1429, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/snap-store/1244, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/thunderbird/593, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 55 GB, Used: 386 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Hostname: xps7390","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Uptime: 29738 seconds","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Boot Time: 2024-12-19 07:06:47 +0100 CET","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Platform: ubuntu","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Platform Family: debian","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Platform Version: 24.04","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Kernel Version: 6.8.0-51-generic","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"HMAC worker pool initialized with 4 workers.","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Auto-adjusted ClamAV workers: 4","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Redis is not enabled. Using fallback mechanisms.","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"PID 79693 written to ./hmac_file_server.pid","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Starting HMAC File Server on port 9090...","time":"2024-12-19T15:22:25+01:00"} +{"level":"info","msg":"Received signal interrupt. Shutting down server...","time":"2024-12-19T15:27:07+01:00"} +{"level":"info","msg":"Received signal interrupt, performing cleanup.","time":"2024-12-19T15:27:07+01:00"} +{"level":"info","msg":"CleanupExpiredFiles routine stopped.","time":"2024-12-19T15:27:07+01:00"} +{"level":"info","msg":"Server shutdown complete.","time":"2024-12-19T15:27:07+01:00"} +time="2024-12-19T15:31:36+01:00" level=info msg="========================================" +time="2024-12-19T15:31:36+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-19T15:31:36+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-19T15:31:36+01:00" level=info msg="========================================" +time="2024-12-19T15:31:36+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-19T15:31:36+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-19T15:31:36+01:00" level=info msg="Operating System: linux" +time="2024-12-19T15:31:36+01:00" level=info msg="Architecture: amd64" +time="2024-12-19T15:31:36+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-19T15:31:36+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-19T15:31:36+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-19T15:31:36+01:00" level=info msg="Free Memory: 516 MB" +time="2024-12-19T15:31:36+01:00" level=info msg="Used Memory: 6486 MB" +time="2024-12-19T15:31:36+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:31:36+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:31:36+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:31:36+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:31:36+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:31:36+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:31:36+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:31:36+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 55 GB, Used: 386 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/brave/460, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1429, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1244, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/593, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 55 GB, Used: 386 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-19T15:31:36+01:00" level=info msg="Hostname: xps7390" +time="2024-12-19T15:31:36+01:00" level=info msg="Uptime: 30289 seconds" +time="2024-12-19T15:31:36+01:00" level=info msg="Boot Time: 2024-12-19 07:06:47 +0100 CET" +time="2024-12-19T15:31:36+01:00" level=info msg="Platform: ubuntu" +time="2024-12-19T15:31:36+01:00" level=info msg="Platform Family: debian" +time="2024-12-19T15:31:36+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-19T15:31:36+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-19T15:31:36+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-19T15:31:36+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-19T15:31:36+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-19T15:31:36+01:00" level=info msg="PID 80239 written to ./hmac_file_server.pid" +time="2024-12-19T15:31:36+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-19T15:32:57+01:00" level=info msg="Received signal interrupt, performing cleanup." +time="2024-12-19T15:32:57+01:00" level=info msg="Received signal interrupt. Shutting down server..." +time="2024-12-19T15:32:57+01:00" level=info msg="PID file ./hmac_file_server.pid removed" +time="2024-12-19T15:32:59+01:00" level=info msg="========================================" +time="2024-12-19T15:32:59+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-19T15:32:59+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-19T15:32:59+01:00" level=info msg="========================================" +time="2024-12-19T15:32:59+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-19T15:32:59+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-19T15:32:59+01:00" level=info msg="Operating System: linux" +time="2024-12-19T15:32:59+01:00" level=info msg="Architecture: amd64" +time="2024-12-19T15:32:59+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-19T15:32:59+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-19T15:32:59+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-19T15:32:59+01:00" level=info msg="Free Memory: 463 MB" +time="2024-12-19T15:32:59+01:00" level=info msg="Used Memory: 6537 MB" +time="2024-12-19T15:32:59+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:32:59+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:32:59+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:32:59+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:32:59+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:32:59+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:32:59+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:32:59+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 55 GB, Used: 386 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/brave/460, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1429, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1244, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/593, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 55 GB, Used: 386 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-19T15:32:59+01:00" level=info msg="Hostname: xps7390" +time="2024-12-19T15:32:59+01:00" level=info msg="Uptime: 30372 seconds" +time="2024-12-19T15:32:59+01:00" level=info msg="Boot Time: 2024-12-19 07:06:47 +0100 CET" +time="2024-12-19T15:32:59+01:00" level=info msg="Platform: ubuntu" +time="2024-12-19T15:32:59+01:00" level=info msg="Platform Family: debian" +time="2024-12-19T15:32:59+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-19T15:32:59+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-19T15:32:59+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-19T15:32:59+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-19T15:32:59+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-19T15:32:59+01:00" level=info msg="PID 80331 written to ./hmac_file_server.pid" +time="2024-12-19T15:32:59+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-20T09:25:13+01:00" level=info msg="========================================" +time="2024-12-20T09:25:13+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-20T09:25:13+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-20T09:25:13+01:00" level=info msg="========================================" +time="2024-12-20T09:25:13+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-20T09:25:13+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-20T09:25:13+01:00" level=info msg="Operating System: linux" +time="2024-12-20T09:25:13+01:00" level=info msg="Architecture: amd64" +time="2024-12-20T09:25:13+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-20T09:25:13+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-20T09:25:13+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-20T09:25:13+01:00" level=info msg="Free Memory: 1036 MB" +time="2024-12-20T09:25:13+01:00" level=info msg="Used Memory: 5395 MB" +time="2024-12-20T09:25:13+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:25:13+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:25:13+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:25:13+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:25:13+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:25:13+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:25:13+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:25:13+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/brave/464, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1248, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1435, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-20T09:25:13+01:00" level=info msg="Hostname: xps7390" +time="2024-12-20T09:25:13+01:00" level=info msg="Uptime: 10549 seconds" +time="2024-12-20T09:25:13+01:00" level=info msg="Boot Time: 2024-12-20 06:29:24 +0100 CET" +time="2024-12-20T09:25:13+01:00" level=info msg="Platform: ubuntu" +time="2024-12-20T09:25:13+01:00" level=info msg="Platform Family: debian" +time="2024-12-20T09:25:13+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-20T09:25:13+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-20T09:25:13+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-20T09:25:13+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-20T09:25:13+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-20T09:25:13+01:00" level=warning msg="Stale PID file detected, cleaning up." +time="2024-12-20T09:25:13+01:00" level=info msg="PID 53110 written to ./hmac_file_server.pid" +time="2024-12-20T09:25:13+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-20T09:26:18+01:00" level=info msg="Received signal interrupt, performing cleanup." +time="2024-12-20T09:26:18+01:00" level=info msg="Received signal interrupt. Shutting down server..." +time="2024-12-20T09:26:18+01:00" level=info msg="PID file ./hmac_file_server.pid removed" +time="2024-12-20T09:27:11+01:00" level=info msg="========================================" +time="2024-12-20T09:27:11+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-20T09:27:11+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-20T09:27:11+01:00" level=info msg="========================================" +time="2024-12-20T09:27:11+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-20T09:27:11+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-20T09:27:11+01:00" level=info msg="Operating System: linux" +time="2024-12-20T09:27:11+01:00" level=info msg="Architecture: amd64" +time="2024-12-20T09:27:11+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-20T09:27:11+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-20T09:27:11+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-20T09:27:11+01:00" level=info msg="Free Memory: 1153 MB" +time="2024-12-20T09:27:11+01:00" level=info msg="Used Memory: 5257 MB" +time="2024-12-20T09:27:11+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:27:11+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:27:11+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:27:11+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:27:11+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:27:11+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:27:11+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:27:11+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Cores: 1, Mhz: 4900.000000" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/brave/464, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1248, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1435, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-20T09:27:11+01:00" level=info msg="Hostname: xps7390" +time="2024-12-20T09:27:11+01:00" level=info msg="Uptime: 10668 seconds" +time="2024-12-20T09:27:11+01:00" level=info msg="Boot Time: 2024-12-20 06:29:24 +0100 CET" +time="2024-12-20T09:27:11+01:00" level=info msg="Platform: ubuntu" +time="2024-12-20T09:27:11+01:00" level=info msg="Platform Family: debian" +time="2024-12-20T09:27:11+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-20T09:27:11+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-20T09:27:11+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-20T09:27:11+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-20T09:27:11+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-20T09:27:11+01:00" level=info msg="PID 53370 written to ./hmac_file_server.pid" +time="2024-12-20T09:27:11+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-20T09:28:54+01:00" level=info msg="Received signal interrupt, performing cleanup." +time="2024-12-20T09:28:54+01:00" level=info msg="Received signal interrupt. Shutting down server..." +time="2024-12-20T09:28:54+01:00" level=info msg="PID file ./hmac_file_server.pid removed" +time="2024-12-20T09:53:38+01:00" level=info msg="========================================" +time="2024-12-20T09:53:38+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-20T09:53:38+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-20T09:53:38+01:00" level=info msg="========================================" +time="2024-12-20T09:53:38+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-20T09:53:38+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-20T09:53:38+01:00" level=info msg="Operating System: linux" +time="2024-12-20T09:53:38+01:00" level=info msg="Architecture: amd64" +time="2024-12-20T09:53:38+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-20T09:53:38+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-20T09:53:38+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-20T09:53:38+01:00" level=info msg="Free Memory: 1201 MB" +time="2024-12-20T09:53:38+01:00" level=info msg="Used Memory: 5345 MB" +time="2024-12-20T09:53:38+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Total Cores: 8, Avg Mhz: 4900.000" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/brave/464, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1248, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1435, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-20T09:53:38+01:00" level=info msg="Hostname: xps7390" +time="2024-12-20T09:53:38+01:00" level=info msg="Uptime: 12255 seconds" +time="2024-12-20T09:53:38+01:00" level=info msg="Boot Time: 2024-12-20 06:29:24 +0100 CET" +time="2024-12-20T09:53:38+01:00" level=info msg="Platform: ubuntu" +time="2024-12-20T09:53:38+01:00" level=info msg="Platform Family: debian" +time="2024-12-20T09:53:38+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-20T09:53:38+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-20T09:53:38+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-20T09:53:38+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-20T09:53:38+01:00" level=info msg="Initialized 4 upload workers: [0 1 2 ... 3]" +time="2024-12-20T09:53:38+01:00" level=info msg="Initialized 4 scan workers: [0 1 2 ... 3]" +time="2024-12-20T09:53:38+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-20T09:53:38+01:00" level=info msg="PID 54183 written to ./hmac_file_server.pid" +time="2024-12-20T09:53:38+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-20T10:02:20+01:00" level=info msg="Received signal interrupt, performing cleanup." +time="2024-12-20T10:02:20+01:00" level=info msg="Received signal interrupt. Shutting down server..." +time="2024-12-20T10:02:20+01:00" level=info msg="PID file ./hmac_file_server.pid removed" +time="2024-12-20T10:02:27+01:00" level=info msg="========================================" +time="2024-12-20T10:02:27+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-20T10:02:27+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-20T10:02:27+01:00" level=info msg="========================================" +time="2024-12-20T10:02:27+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-20T10:02:27+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-20T10:02:27+01:00" level=info msg="Operating System: linux" +time="2024-12-20T10:02:27+01:00" level=info msg="Architecture: amd64" +time="2024-12-20T10:02:27+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-20T10:02:27+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-20T10:02:27+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-20T10:02:27+01:00" level=info msg="Free Memory: 1109 MB" +time="2024-12-20T10:02:27+01:00" level=info msg="Used Memory: 5380 MB" +time="2024-12-20T10:02:27+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Total Cores: 8, Avg Mhz: 4900.000" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/brave/464, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1248, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1435, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-20T10:02:27+01:00" level=info msg="Hostname: xps7390" +time="2024-12-20T10:02:27+01:00" level=info msg="Uptime: 12783 seconds" +time="2024-12-20T10:02:27+01:00" level=info msg="Boot Time: 2024-12-20 06:29:24 +0100 CET" +time="2024-12-20T10:02:27+01:00" level=info msg="Platform: ubuntu" +time="2024-12-20T10:02:27+01:00" level=info msg="Platform Family: debian" +time="2024-12-20T10:02:27+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-20T10:02:27+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-20T10:02:27+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-20T10:02:27+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-20T10:02:27+01:00" level=info msg="Initialized 4 upload workers: [0 1 2 ... 3]" +time="2024-12-20T10:02:27+01:00" level=info msg="Initialized 4 scan workers: [0 1 2 ... 3]" +time="2024-12-20T10:02:27+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-20T10:02:27+01:00" level=info msg="PID 54377 written to ./hmac_file_server.pid" +time="2024-12-20T10:02:27+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-20T10:08:44+01:00" level=info msg="Received signal interrupt, performing cleanup." +time="2024-12-20T10:08:44+01:00" level=info msg="Received signal interrupt. Shutting down server..." +time="2024-12-20T10:08:44+01:00" level=info msg="PID file ./hmac_file_server.pid removed" +time="2024-12-20T10:08:51+01:00" level=info msg="========================================" +time="2024-12-20T10:08:51+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-20T10:08:51+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-20T10:08:51+01:00" level=info msg="========================================" +time="2024-12-20T10:08:51+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-20T10:08:51+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-20T10:08:51+01:00" level=info msg="Operating System: linux" +time="2024-12-20T10:08:51+01:00" level=info msg="Architecture: amd64" +time="2024-12-20T10:08:51+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-20T10:08:51+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-20T10:08:51+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-20T10:08:51+01:00" level=info msg="Free Memory: 1097 MB" +time="2024-12-20T10:08:51+01:00" level=info msg="Used Memory: 5403 MB" +time="2024-12-20T10:08:51+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Total Cores: 8, Avg Mhz: 4900.000" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/brave/464, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1248, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1435, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-20T10:08:51+01:00" level=info msg="Hostname: xps7390" +time="2024-12-20T10:08:51+01:00" level=info msg="Uptime: 13168 seconds" +time="2024-12-20T10:08:51+01:00" level=info msg="Boot Time: 2024-12-20 06:29:24 +0100 CET" +time="2024-12-20T10:08:51+01:00" level=info msg="Platform: ubuntu" +time="2024-12-20T10:08:51+01:00" level=info msg="Platform Family: debian" +time="2024-12-20T10:08:51+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-20T10:08:51+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-20T10:08:51+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-20T10:08:51+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-20T10:08:51+01:00" level=info msg="Initialized 4 upload workers: [0 1 2 ... 3]" +time="2024-12-20T10:08:51+01:00" level=info msg="Initialized 4 scan workers: [0 1 2 ... 3]" +time="2024-12-20T10:08:51+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-20T10:08:51+01:00" level=info msg="PID 58844 written to ./hmac_file_server.pid" +time="2024-12-20T10:08:51+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-20T10:08:57+01:00" level=info msg="Incoming request" method=PUT remote="::1" url=/uploads/example.txt +time="2024-12-20T10:08:57+01:00" level=error msg="Error saving file: open /path/to/uploads/example.txt: no such file or directory" +time="2024-12-20T10:17:47+01:00" level=info msg="Incoming request" method=PUT remote="::1" url=/uploads/example.txt +time="2024-12-20T10:17:47+01:00" level=error msg="Error saving file: open /path/to/uploads/example.txt: no such file or directory" +time="2024-12-20T10:24:22+01:00" level=info msg="Incoming request" method=PUT remote="::1" url=/uploads/example.txt +time="2024-12-20T10:24:22+01:00" level=error msg="Error saving file: open /path/to/uploads/example.txt: no such file or directory" +time="2024-12-20T10:33:17+01:00" level=info msg="Received signal interrupt, performing cleanup." +time="2024-12-20T10:33:17+01:00" level=info msg="Received signal interrupt. Shutting down server..." +time="2024-12-20T10:33:17+01:00" level=info msg="PID file ./hmac_file_server.pid removed" +time="2024-12-20T10:34:59+01:00" level=info msg="========================================" +time="2024-12-20T10:34:59+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-20T10:34:59+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-20T10:34:59+01:00" level=info msg="========================================" +time="2024-12-20T10:34:59+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-20T10:34:59+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-20T10:34:59+01:00" level=info msg="Operating System: linux" +time="2024-12-20T10:34:59+01:00" level=info msg="Architecture: amd64" +time="2024-12-20T10:34:59+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-20T10:34:59+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-20T10:34:59+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-20T10:34:59+01:00" level=info msg="Free Memory: 979 MB" +time="2024-12-20T10:34:59+01:00" level=info msg="Used Memory: 5525 MB" +time="2024-12-20T10:34:59+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Total Cores: 8, Avg Mhz: 4900.000" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/brave/464, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1248, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1435, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-20T10:34:59+01:00" level=info msg="Hostname: xps7390" +time="2024-12-20T10:34:59+01:00" level=info msg="Uptime: 14736 seconds" +time="2024-12-20T10:34:59+01:00" level=info msg="Boot Time: 2024-12-20 06:29:24 +0100 CET" +time="2024-12-20T10:34:59+01:00" level=info msg="Platform: ubuntu" +time="2024-12-20T10:34:59+01:00" level=info msg="Platform Family: debian" +time="2024-12-20T10:34:59+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-20T10:34:59+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-20T10:34:59+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-20T10:34:59+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-20T10:34:59+01:00" level=info msg="Initialized 4 upload workers: [0 1 2 ... 3]" +time="2024-12-20T10:34:59+01:00" level=info msg="Initialized 4 scan workers: [0 1 2 ... 3]" +time="2024-12-20T10:34:59+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-20T10:34:59+01:00" level=info msg="PID 59727 written to ./hmac_file_server.pid" +time="2024-12-20T10:34:59+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-20T10:35:02+01:00" level=info msg="Incoming request" method=PUT remote="::1" url=/uploads/example.txt +time="2024-12-20T10:35:02+01:00" level=debug msg="Using configured storage path: uploads/example.txt" +time="2024-12-20T10:35:02+01:00" level=info msg="File 'example.txt' uploaded successfully as 'example.txt'" +time="2024-12-20T10:38:03+01:00" level=info msg="Received signal interrupt. Shutting down server..." +time="2024-12-20T10:38:03+01:00" level=info msg="Received signal interrupt, performing cleanup." +time="2024-12-20T10:38:03+01:00" level=info msg="CleanupExpiredFiles routine stopped." +time="2024-12-20T10:38:03+01:00" level=info msg="PID file ./hmac_file_server.pid removed" +time="2024-12-20T10:38:04+01:00" level=info msg="========================================" +time="2024-12-20T10:38:04+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-20T10:38:04+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-20T10:38:04+01:00" level=info msg="========================================" +time="2024-12-20T10:38:04+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-20T10:38:04+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-20T10:38:04+01:00" level=info msg="Operating System: linux" +time="2024-12-20T10:38:04+01:00" level=info msg="Architecture: amd64" +time="2024-12-20T10:38:04+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-20T10:38:04+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-20T10:38:04+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-20T10:38:04+01:00" level=info msg="Free Memory: 919 MB" +time="2024-12-20T10:38:04+01:00" level=info msg="Used Memory: 5604 MB" +time="2024-12-20T10:38:04+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Total Cores: 8, Avg Mhz: 4900.000" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/brave/464, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1248, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1435, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-20T10:38:04+01:00" level=info msg="Hostname: xps7390" +time="2024-12-20T10:38:04+01:00" level=info msg="Uptime: 14921 seconds" +time="2024-12-20T10:38:04+01:00" level=info msg="Boot Time: 2024-12-20 06:29:24 +0100 CET" +time="2024-12-20T10:38:04+01:00" level=info msg="Platform: ubuntu" +time="2024-12-20T10:38:04+01:00" level=info msg="Platform Family: debian" +time="2024-12-20T10:38:04+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-20T10:38:04+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-20T10:38:04+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-20T10:38:04+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-20T10:38:04+01:00" level=info msg="Initialized 4 upload workers: [0 1 2 ... 3]" +time="2024-12-20T10:38:04+01:00" level=info msg="Initialized 4 scan workers: [0 1 2 ... 3]" +time="2024-12-20T10:38:04+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-20T10:38:04+01:00" level=info msg="PID 59810 written to ./hmac_file_server.pid" +time="2024-12-20T10:38:04+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-20T10:39:24+01:00" level=info msg="Received signal interrupt, performing cleanup." +time="2024-12-20T10:39:24+01:00" level=info msg="Received signal interrupt. Shutting down server..." +time="2024-12-20T10:39:24+01:00" level=info msg="PID file ./hmac_file_server.pid removed" +time="2024-12-20T10:39:25+01:00" level=info msg="========================================" +time="2024-12-20T10:39:25+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-20T10:39:25+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-20T10:39:25+01:00" level=info msg="========================================" +time="2024-12-20T10:39:25+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-20T10:39:25+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-20T10:39:25+01:00" level=info msg="Operating System: linux" +time="2024-12-20T10:39:25+01:00" level=info msg="Architecture: amd64" +time="2024-12-20T10:39:25+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-20T10:39:25+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-20T10:39:25+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-20T10:39:25+01:00" level=info msg="Free Memory: 782 MB" +time="2024-12-20T10:39:25+01:00" level=info msg="Used Memory: 5693 MB" +time="2024-12-20T10:39:25+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Total Cores: 8, Avg Mhz: 4900.000" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/brave/464, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1248, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1435, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-20T10:39:25+01:00" level=info msg="Hostname: xps7390" +time="2024-12-20T10:39:25+01:00" level=info msg="Uptime: 15001 seconds" +time="2024-12-20T10:39:25+01:00" level=info msg="Boot Time: 2024-12-20 06:29:24 +0100 CET" +time="2024-12-20T10:39:25+01:00" level=info msg="Platform: ubuntu" +time="2024-12-20T10:39:25+01:00" level=info msg="Platform Family: debian" +time="2024-12-20T10:39:25+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-20T10:39:25+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-20T10:39:25+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-20T10:39:25+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-20T10:39:25+01:00" level=info msg="Initialized 4 upload workers: [0 1 2 ... 3]" +time="2024-12-20T10:39:25+01:00" level=info msg="Initialized 4 scan workers: [0 1 2 ... 3]" +time="2024-12-20T10:39:25+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-20T10:39:25+01:00" level=info msg="PID 60473 written to ./hmac_file_server.pid" +time="2024-12-20T10:39:25+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-20T10:39:34+01:00" level=info msg="Received signal interrupt, performing cleanup." +time="2024-12-20T10:39:34+01:00" level=info msg="Received signal interrupt. Shutting down server..." +time="2024-12-20T10:39:34+01:00" level=info msg="PID file ./hmac_file_server.pid removed" +time="2024-12-20T10:39:38+01:00" level=info msg="========================================" +time="2024-12-20T10:39:38+01:00" level=info msg=" HMAC File Server - v1.0.0 " +time="2024-12-20T10:39:38+01:00" level=info msg=" Secure File Handling with HMAC Auth " +time="2024-12-20T10:39:38+01:00" level=info msg="========================================" +time="2024-12-20T10:39:38+01:00" level=info msg="Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning" +time="2024-12-20T10:39:38+01:00" level=info msg="Build Date: 2024-10-28" +time="2024-12-20T10:39:38+01:00" level=info msg="Operating System: linux" +time="2024-12-20T10:39:38+01:00" level=info msg="Architecture: amd64" +time="2024-12-20T10:39:38+01:00" level=info msg="Number of CPUs: 8" +time="2024-12-20T10:39:38+01:00" level=info msg="Go Version: go1.22.0" +time="2024-12-20T10:39:38+01:00" level=info msg="Total Memory: 15684 MB" +time="2024-12-20T10:39:38+01:00" level=info msg="Free Memory: 845 MB" +time="2024-12-20T10:39:38+01:00" level=info msg="Used Memory: 5644 MB" +time="2024-12-20T10:39:38+01:00" level=info msg="CPU Model: Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz, Total Cores: 8, Avg Mhz: 4900.000" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/backupz/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/bare/5, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/brave/462, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/34, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/cameractrls/35, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/282, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/canonical-livepatch/286, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1433, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/core/17200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/core18/2829, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/core20/2379, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/core18/2846, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/core20/2434, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/core22/1663, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/core22/1722, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/core24/490, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/core24/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/drawio/228, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/513, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/drawio/230, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/duplicity/517, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/dynahack/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5361, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/firefox/5437, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/127, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/firmware-updater/147, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/166, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/gaming-graphics-core22/184, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-28-1804/198, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-34-1804/93, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/gnome-46-2404/48, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/gnome-42-2204/176, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/godot/45, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/gnome-3-38-2004/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/gtk-common-themes/1535, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/hello-world/29, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-113-qt-5-15-11-core22/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/kf5-5-110-qt-5-15-11-core22/3, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/marble/32, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/20, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/micropolis/168, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/mesa-core22/311, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/mesa-2404/143, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/mkcron/2, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/master-pdf-editor-5/21, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/net-tools-snap/1, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/npdd/82, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/obs-studio/1302, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11552, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/qownnotes/11560, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/qt513/24, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/retroarch/2879, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/remmina/6419, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/snapd/21759, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/snapd/23258, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/247, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/snapd-desktop-integration/253, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/steam/200, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/156, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/steam/206, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/sublime-text/177, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/suckit/49, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/91, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/teleguard-desktop/94, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/601, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1224, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/video-downloader/1227, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/winbox/170, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/winbox/171, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-7-stable-core20/6, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /var/snap/firefox/common/host-hunspell, Total: 465 GB, Free: 56 GB, Used: 384 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/148, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/wine-platform-runtime-core20/149, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /boot, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /boot/efi, Total: 1 GB, Free: 1 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/brave/464, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/snap-store/1248, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/thunderbird/609, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /snap/cmake/1435, Total: 0 GB, Free: 0 GB, Used: 0 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Disk Mountpoint: /media/renz/external, Total: 116 GB, Free: 108 GB, Used: 2 GB" +time="2024-12-20T10:39:38+01:00" level=info msg="Hostname: xps7390" +time="2024-12-20T10:39:38+01:00" level=info msg="Uptime: 15015 seconds" +time="2024-12-20T10:39:38+01:00" level=info msg="Boot Time: 2024-12-20 06:29:24 +0100 CET" +time="2024-12-20T10:39:38+01:00" level=info msg="Platform: ubuntu" +time="2024-12-20T10:39:38+01:00" level=info msg="Platform Family: debian" +time="2024-12-20T10:39:38+01:00" level=info msg="Platform Version: 24.04" +time="2024-12-20T10:39:38+01:00" level=info msg="Kernel Version: 6.8.0-51-generic" +time="2024-12-20T10:39:38+01:00" level=info msg="HMAC worker pool initialized with 4 workers." +time="2024-12-20T10:39:38+01:00" level=info msg="Auto-adjusted ClamAV workers: 4" +time="2024-12-20T10:39:38+01:00" level=info msg="Initialized 4 upload workers: [0 1 2 ... 3]" +time="2024-12-20T10:39:38+01:00" level=info msg="Initialized 4 scan workers: [0 1 2 ... 3]" +time="2024-12-20T10:39:38+01:00" level=info msg="Redis is not enabled. Using fallback mechanisms." +time="2024-12-20T10:39:38+01:00" level=info msg="PID 60592 written to ./hmac_file_server.pid" +time="2024-12-20T10:39:38+01:00" level=info msg="Starting HMAC File Server on port 8080..." +time="2024-12-20T10:39:38+01:00" level=info msg="Metrics server listening on :8081" +time="2024-12-20T11:09:34+01:00" level=info msg="Received signal interrupt. Shutting down server..." +time="2024-12-20T11:09:34+01:00" level=info msg="Received signal interrupt, performing cleanup." +time="2024-12-20T11:09:34+01:00" level=info msg="CleanupExpiredFiles routine stopped." +time="2024-12-20T11:09:34+01:00" level=info msg="Server shutdown complete." +time="2024-12-20T11:09:34+01:00" level=info msg="PID file ./hmac_file_server.pid removed" diff --git a/cmd/server/main.go b/cmd/server/main.go index 6b9bb55..63fb928 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -8,14 +8,8 @@ import ( "crypto/hmac" "crypto/sha256" "encoding/hex" - "encoding/json" // Added for JSON handling "flag" "fmt" - - // "image" // Unused import removed - _ "image/gif" // Ensure GIF support - _ "image/jpeg" // Ensure JPEG support - _ "image/png" // Ensure PNG support "io" "mime" "net" @@ -32,9 +26,7 @@ import ( "syscall" "time" - "github.com/disintegration/imaging" "github.com/dutchcoders/go-clamd" // ClamAV integration - "github.com/fsnotify/fsnotify" // Added for directory monitoring "github.com/go-redis/redis/v8" // Redis integration "github.com/patrickmn/go-cache" "github.com/prometheus/client_golang/prometheus" @@ -46,6 +38,7 @@ import ( "github.com/sirupsen/logrus" "github.com/spf13/viper" "gopkg.in/natefinch/lumberjack.v2" + "sync/atomic" ) // parseSize converts a human-readable size string to bytes @@ -138,7 +131,6 @@ type ServerConfig struct { DeduplicationEnabled bool `mapstructure:"deduplicationenabled"` Logging LoggingConfig `mapstructure:"logging"` GlobalExtensions []string `mapstructure:"globalextensions"` - BindIP string `mapstructure:"bind_ip"` } type DeduplicationConfig struct { @@ -146,13 +138,6 @@ type DeduplicationConfig struct { Directory string `mapstructure:"directory"` } -type ThumbnailsConfig struct { - Enabled bool `mapstructure:"enabled"` - Directory string `mapstructure:"directory"` - Size string `mapstructure:"size"` - ThumbnailIntervalScan string `mapstructure:"thumbnailintervalscan"` -} - type ISOConfig struct { Enabled bool `mapstructure:"enabled"` Size string `mapstructure:"size"` @@ -208,10 +193,6 @@ type RedisConfig struct { type WorkersConfig struct { NumWorkers int `mapstructure:"numworkers"` UploadQueueSize int `mapstructure:"uploadqueuesize"` - MaxConcurrentOperations int `mapstructure:"max_concurrent_operations"` - NetworkEventBuffer int `mapstructure:"network_event_buffer"` - PerformanceMonitorInterval string `mapstructure:"performance_monitor_interval"` - MetricsUpdateInterval string `mapstructure:"metrics_update_interval"` } type FileConfig struct { @@ -219,22 +200,13 @@ type FileConfig struct { } type BuildConfig struct { - Version string `mapstructure:"version"` + Version string `mapstructure:"version"` // Updated version } -// Step 1: Define PrecacheConfig -type PrecacheConfig struct { - RedisEnabled bool `mapstructure:"redisEnabled"` - RedisAddr string `mapstructure:"redisAddr"` - StaticIndexFile string `mapstructure:"staticIndexFile"` -} - -// Step 2: Update Config struct to include Precache type Config struct { Server ServerConfig `mapstructure:"server"` Logging LoggingConfig `mapstructure:"logging"` Deduplication DeduplicationConfig `mapstructure:"deduplication"` - Thumbnails ThumbnailsConfig `mapstructure:"thumbnails"` ISO ISOConfig `mapstructure:"iso"` Timeouts TimeoutConfig `mapstructure:"timeouts"` Security SecurityConfig `mapstructure:"security"` @@ -246,7 +218,6 @@ type Config struct { Workers WorkersConfig `mapstructure:"workers"` File FileConfig `mapstructure:"file"` Build BuildConfig `mapstructure:"build"` - Precache PrecacheConfig `mapstructure:"precache"` } type UploadTask struct { @@ -268,16 +239,28 @@ type NetworkEvent struct { // Add a new field to store the creation date of files type FileMetadata struct { CreationDate time.Time - FilePath string - FileInfo os.FileInfo +} + +// processScan processes a scan task +func processScan(task ScanTask) error { + log.Infof("Started processing scan for file: %s", task.AbsFilename) + semaphore <- struct{}{} + defer func() { <-semaphore }() + + err := scanFileWithClamAV(task.AbsFilename) + if err != nil { + log.WithFields(logrus.Fields{"file": task.AbsFilename, "error": err}).Error("Failed to scan file") + return err + } + + log.Infof("Finished processing scan for file: %s", task.AbsFilename) + return nil } var ( conf Config versionString string - log = logrus.New() - uploadQueue = make(chan UploadTask, 100) - networkEvents = make(chan NetworkEvent, 100) + log = logrus.New() fileInfoCache *cache.Cache fileMetadataCache *cache.Cache clamClient *clamd.Clamd @@ -299,18 +282,18 @@ var ( uploadSizeBytes prometheus.Histogram downloadSizeBytes prometheus.Histogram - scanQueue chan ScanTask - ScanWorkers = 0 - - thumbnailProcessedTotal prometheus.Counter - thumbnailProcessingErrors prometheus.Counter - thumbnailProcessingTime prometheus.Histogram filesDeduplicatedTotal prometheus.Counter deduplicationErrorsTotal prometheus.Counter isoContainersCreatedTotal prometheus.Counter isoCreationErrorsTotal prometheus.Counter isoContainersMountedTotal prometheus.Counter isoMountErrorsTotal prometheus.Counter + + workerPool *WorkerPool + networkEvents chan NetworkEvent + + workerAdjustmentsTotal prometheus.Counter + workerReAdjustmentsTotal prometheus.Counter ) var bufferPool = sync.Pool{ @@ -320,7 +303,9 @@ var bufferPool = sync.Pool{ }, } -var semaphore chan struct{} +const maxConcurrentOperations = 10 + +var semaphore = make(chan struct{}, maxConcurrentOperations) var logMessages []string var logMu sync.Mutex @@ -438,7 +423,7 @@ func main() { // Set log level based on configuration level, err := logrus.ParseLevel(conf.Logging.Level) - if (err != nil) { + if err != nil { log.Warnf("Invalid log level '%s', defaulting to 'info'", conf.Logging.Level) level = logrus.InfoLevel } @@ -470,6 +455,12 @@ func main() { log.Fatalf("Error writing PID file: %v", err) } + setupLogging() + logSystemInfo() + + // Initialize metrics before using any Prometheus counters + initMetrics() + initializeWorkerSettings(&conf.Server, &conf.Workers, &conf.ClamAV) if conf.ISO.Enabled { @@ -508,36 +499,16 @@ func main() { } log.WithField("directory", storagePath).Info("Store directory is ready") - // Ensure thumbnail directory exists if thumbnails are enabled - if conf.Thumbnails.Enabled { - if err := os.MkdirAll(conf.Thumbnails.Directory, os.ModePerm); err != nil { - log.Fatalf("Failed to create thumbnail directory: %v", err) - } - - // Verify and repair thumbnails - thumbnailPaths, err := filepath.Glob(filepath.Join(conf.Thumbnails.Directory, "*")) - if err != nil { - log.Errorf("Error listing thumbnail files: %v", err) - } else { - go verifyAndRepairThumbnails(thumbnailPaths, redisClient, conf.Server.StoragePath) - } - } - err = checkFreeSpaceWithRetry(storagePath, 3, 5*time.Second) if err != nil { log.Fatalf("Insufficient free space: %v", err) } - setupLogging() - logSystemInfo() - initMetrics() + initializeWorkerSettings(&conf.Server, &conf.Workers, &conf.ClamAV) log.Info("Prometheus metrics initialized.") - uploadQueue = make(chan UploadTask, conf.Workers.UploadQueueSize) - scanQueue = make(chan ScanTask, conf.Workers.UploadQueueSize) - networkEvents = make(chan NetworkEvent, conf.Workers.NetworkEventBuffer) - semaphore = make(chan struct{}, conf.Workers.MaxConcurrentOperations) - log.Info("Upload, scan, and network event channels initialized.") + networkEvents = make(chan NetworkEvent, 100) + log.Info("Network event channel initialized.") ctx, cancel := context.WithCancel(context.Background()) defer cancel() @@ -561,14 +532,18 @@ func main() { initRedis() } - initializeUploadWorkerPool(ctx, &conf.Workers) - if conf.ClamAV.ClamAVEnabled && clamClient != nil { - initializeScanWorkerPool(ctx) - } + // Initialize unified worker pool with dynamic scaling + workerPool = NewWorkerPool(4, 20, 10, 2) // min=4, max=20 workers - if conf.Redis.RedisEnabled && redisClient != nil { - go MonitorRedisHealth(ctx, redisClient, parseDuration(conf.Redis.RedisHealthCheckInterval)) - } + // Update task submissions to use the unified worker pool + // Example: + // Instead of uploadQueue <- uploadTask, use: + // workerPool.AddJob(UploadJob{Task: uploadTask}) + // Similarly for scan tasks: + // workerPool.AddJob(ScanJob{Task: scanTask}) + + // Ensure worker pool is shut down gracefully + defer workerPool.Shutdown() router := setupRouter() @@ -593,13 +568,8 @@ func main() { log.Fatalf("Invalid IdleTimeout: %v", err) } - listenAddress := conf.Server.BindIP + ":" + conf.Server.ListenPort - if net.ParseIP(conf.Server.BindIP) != nil && strings.Contains(conf.Server.BindIP, ":") { - // Enclose IPv6 in brackets - listenAddress = "[" + conf.Server.BindIP + "]:" + conf.Server.ListenPort - } server := &http.Server{ - Addr: listenAddress, + Addr: ":" + conf.Server.ListenPort, Handler: router, ReadTimeout: readTimeout, WriteTimeout: writeTimeout, @@ -625,13 +595,10 @@ func main() { go monitorWorkerPerformance(ctx, &conf.Server, &conf.Workers, &conf.ClamAV) } - // Schedule periodic thumbnail generation - scheduleThumbnailGeneration(ctx) - - versionString = conf.Build.Version + versionString = "2.5" // Updated from "2.4" log.Infof("Running version: %s", versionString) - log.Infof("Starting HMAC file server %s on %s...", versionString, listenAddress) + log.Infof("Starting HMAC file server %s...", versionString) if conf.Server.UnixSocket { if err := os.RemoveAll(conf.Server.ListenPort); err != nil { log.Fatalf("Failed to remove existing Unix socket: %v", err) @@ -674,6 +641,7 @@ func autoAdjustWorkers() (int, int) { queueSize := numWorkers * 10 log.Infof("Auto-adjusting workers: NumWorkers=%d, UploadQueueSize=%d", numWorkers, queueSize) + workerAdjustmentsTotal.Inc() return numWorkers, queueSize } @@ -693,7 +661,7 @@ func initializeWorkerSettings(server *ServerConfig, workers *WorkersConfig, clam } func monitorWorkerPerformance(ctx context.Context, server *ServerConfig, w *WorkersConfig, clamav *ClamAVConfig) { - ticker := time.NewTicker(parseDuration(conf.Workers.PerformanceMonitorInterval)) + ticker := time.NewTicker(5 * time.Minute) defer ticker.Stop() for { @@ -710,6 +678,7 @@ func monitorWorkerPerformance(ctx context.Context, server *ServerConfig, w *Work log.Infof("Re-adjusted workers: NumWorkers=%d, UploadQueueSize=%d, NumScanWorkers=%d", w.NumWorkers, w.UploadQueueSize, clamav.NumScanWorkers) + workerReAdjustmentsTotal.Inc() } } } @@ -724,33 +693,9 @@ func readConfig(configFilename string, conf *Config) error { if err := viper.Unmarshal(conf); err != nil { return fmt.Errorf("unable to decode config into struct: %v", err) } - if conf.Server.BindIP == "" { - conf.Server.BindIP = "0.0.0.0" - log.Warn("bind_ip not set. Defaulting to 0.0.0.0") - } else { - if net.ParseIP(conf.Server.BindIP) == nil { - return fmt.Errorf("invalid bind_ip '%s'", conf.Server.BindIP) - } - } - - // If uploads.allowedextensions is empty, inherit from server.globalextensions - if len(conf.Uploads.AllowedExtensions) == 0 { - conf.Uploads.AllowedExtensions = conf.Server.GlobalExtensions - } else if len(conf.Uploads.AllowedExtensions) == 1 && conf.Uploads.AllowedExtensions[0] == "*" { - conf.Uploads.AllowedExtensions = nil // nil signals all extensions allowed - } - - // If downloads.allowedextensions is empty, inherit from server.globalextensions - if len(conf.Downloads.AllowedExtensions) == 0 { - conf.Downloads.AllowedExtensions = conf.Server.GlobalExtensions - } else if len(conf.Downloads.AllowedExtensions) == 1 && conf.Downloads.AllowedExtensions[0] == "*" { - conf.Downloads.AllowedExtensions = nil // nil signals all extensions allowed - } - return nil } -// Step 3: Set default values for precache in setDefaults func setDefaults() { viper.SetDefault("server.listenport", "8080") viper.SetDefault("server.unixsocket", false) @@ -766,7 +711,6 @@ func setDefaults() { viper.SetDefault("server.loggingjson", false) viper.SetDefault("server.filettlenabled", true) viper.SetDefault("server.deduplicationenabled", true) - viper.SetDefault("server.bind_ip", "0.0.0.0") viper.SetDefault("timeouts.readtimeout", "4800s") viper.SetDefault("timeouts.writetimeout", "4800s") @@ -798,10 +742,6 @@ func setDefaults() { viper.SetDefault("workers.numworkers", 4) viper.SetDefault("workers.uploadqueuesize", 50) - viper.SetDefault("workers.max_concurrent_operations", 10) - viper.SetDefault("workers.network_event_buffer", 100) - viper.SetDefault("workers.performance_monitor_interval", "5m") - viper.SetDefault("workers.metrics_update_interval", "10s") viper.SetDefault("deduplication.enabled", true) @@ -810,8 +750,6 @@ func setDefaults() { viper.SetDefault("iso.mountpoint", "/mnt/iso") viper.SetDefault("iso.charset", "utf-8") - viper.SetDefault("thumbnails.thumbnailintervalscan", "24h") - // Logging defaults viper.SetDefault("logging.level", "info") viper.SetDefault("logging.file", "/var/log/hmac-file-server.log") @@ -819,11 +757,6 @@ func setDefaults() { viper.SetDefault("logging.max_backups", 7) viper.SetDefault("logging.max_age", 30) viper.SetDefault("logging.compress", true) - - // Step 3: Set default values for precache in setDefaults - viper.SetDefault("precache.redisEnabled", true) - viper.SetDefault("precache.redisAddr", "localhost:6379") - viper.SetDefault("precache.staticIndexFile", "./static_index.json") } func validateConfig(conf *Config) error { @@ -881,7 +814,7 @@ func validateConfig(conf *Config) error { // Validate Uploads Configuration if conf.Uploads.ResumableUploadsEnabled { if conf.Uploads.ChunkSize == "" { - return fmt.Errorf("uploads.chunksize must be set when resumable uploads are enabled") + return fmt.Errorf("uploads.chunkSize must be set when resumable uploads are enabled") } if len(conf.Uploads.AllowedExtensions) == 0 { return fmt.Errorf("uploads.allowedextensions must have at least one extension") @@ -895,18 +828,6 @@ func validateConfig(conf *Config) error { if conf.Workers.UploadQueueSize <= 0 { return fmt.Errorf("workers.uploadQueueSize must be greater than 0") } - if conf.Workers.MaxConcurrentOperations <= 0 { - return fmt.Errorf("invalid max_concurrent_operations") - } - if conf.Workers.NetworkEventBuffer <= 0 { - return fmt.Errorf("invalid network_event_buffer") - } - if conf.Workers.PerformanceMonitorInterval == "" { - return fmt.Errorf("invalid performance_monitor_interval") - } - if conf.Workers.MetricsUpdateInterval == "" { - return fmt.Errorf("invalid metrics_update_interval") - } // Validate ClamAV Configuration if conf.ClamAV.ClamAVEnabled { @@ -939,19 +860,6 @@ func validateConfig(conf *Config) error { return fmt.Errorf("storage path check failed: %w", err) } - // Verify Thumbnails Configuration - if conf.Thumbnails.Enabled { - if conf.Thumbnails.Directory == "" { - return fmt.Errorf("thumbnails.directory must be set when thumbnails are enabled") - } - if conf.Thumbnails.Size == "" { - return fmt.Errorf("thumbnails.size must be set when thumbnails are enabled") - } - if _, err := time.ParseDuration(conf.Thumbnails.ThumbnailIntervalScan); err != nil { - return fmt.Errorf("invalid thumbnails.thumbnailintervalscan: %v", err) - } - } - // Verify Versioning Configuration if conf.Versioning.EnableVersioning { if conf.Versioning.MaxVersions <= 0 { @@ -1057,48 +965,6 @@ func validateConfig(conf *Config) error { // Additional configuration validations can be added here - validateAllowedExtensions := func(exts []string) error { - if exts == nil { - return nil // All extensions allowed - } - for _, ext := range exts { - if ext != "*" && !strings.HasPrefix(ext, ".") { - return fmt.Errorf("invalid extension '%s' (must start with '.' or be '*')", ext) - } - } - return nil - } - - // Validate global, uploads, and downloads extensions - if err := validateAllowedExtensions(conf.Server.GlobalExtensions); err != nil { - return err - } - if err := validateAllowedExtensions(conf.Uploads.AllowedExtensions); err != nil { - return err - } - if err := validateAllowedExtensions(conf.Downloads.AllowedExtensions); err != nil { - return err - } - - // Prevent '*' mixed with other extensions - hasWildcard := func(exts []string) bool { - for _, e := range exts { - if e == "*" { - return true - } - } - return false - } - if len(conf.Server.GlobalExtensions) > 1 && hasWildcard(conf.Server.GlobalExtensions) { - return fmt.Errorf("server.globalextensions cannot mix '*' with other entries") - } - if len(conf.Uploads.AllowedExtensions) > 1 && hasWildcard(conf.Uploads.AllowedExtensions) { - return fmt.Errorf("uploads.allowedextensions cannot mix '*' with other entries") - } - if len(conf.Downloads.AllowedExtensions) > 1 && hasWildcard(conf.Downloads.AllowedExtensions) { - return fmt.Errorf("downloads.allowedextensions cannot mix '*' with other entries") - } - return nil } @@ -1121,7 +987,7 @@ func checkStoragePath(path string) error { func setupLogging() { level, err := logrus.ParseLevel(conf.Logging.Level) - if err != nil { + if (err != nil) { log.Fatalf("Invalid log level: %s", conf.Logging.Level) } log.SetLevel(level) @@ -1160,13 +1026,13 @@ func setupLogging() { } func logSystemInfo() { - log.Info("========================================") - log.Infof(" HMAC File Server - %s ", versionString) - log.Info(" Secure File Handling with HMAC Auth ") - log.Info("========================================") + log.Info("=======================================") + log.Info(" HMAC File Server ") + log.Info(" Secure File Handling with HMAC Auth ") + log.Info("=======================================") log.Info("Features: Prometheus Metrics, Chunked Uploads, ClamAV Scanning") - log.Info("Build Date: 2024-12-27") + log.Info("Build Date: 2025-12-1") log.Infof("Operating System: %s", runtime.GOOS) log.Infof("Architecture: %s", runtime.GOARCH) @@ -1219,22 +1085,6 @@ func initMetrics() { uploadSizeBytes = prometheus.NewHistogram(prometheus.HistogramOpts{Namespace: "hmac", Name: "file_server_upload_size_bytes", Help: "Histogram of uploaded file sizes."}) downloadSizeBytes = prometheus.NewHistogram(prometheus.HistogramOpts{Namespace: "hmac", Name: "file_server_download_size_bytes", Help: "Histogram of downloaded file sizes."}) - thumbnailProcessedTotal = prometheus.NewCounter(prometheus.CounterOpts{ - Namespace: "hmac", - Name: "thumbnails_processed_total", - Help: "Total number of thumbnails processed.", - }) - thumbnailProcessingErrors = prometheus.NewCounter(prometheus.CounterOpts{ - Namespace: "hmac", - Name: "thumbnail_processing_errors_total", - Help: "Total number of thumbnail processing errors.", - }) - thumbnailProcessingTime = prometheus.NewHistogram(prometheus.HistogramOpts{ - Namespace: "hmac", - Name: "thumbnail_processing_time_seconds", - Help: "Histogram of thumbnail processing time.", - }) - filesDeduplicatedTotal = prometheus.NewCounter(prometheus.CounterOpts{ Namespace: "hmac", Name: "files_deduplicated_total", @@ -1266,19 +1116,30 @@ func initMetrics() { Help: "Total number of ISO mount errors.", }) + workerAdjustmentsTotal = prometheus.NewCounter(prometheus.CounterOpts{ + Namespace: "hmac", + Name: "worker_adjustments_total", + Help: "Total number of worker adjustments.", + }) + workerReAdjustmentsTotal = prometheus.NewCounter(prometheus.CounterOpts{ + Namespace: "hmac", + Name: "worker_readjustments_total", + Help: "Total number of worker re-adjustments.", + }) + if conf.Server.MetricsEnabled { prometheus.MustRegister(uploadDuration, uploadErrorsTotal, uploadsTotal) prometheus.MustRegister(downloadDuration, downloadsTotal, downloadErrorsTotal) prometheus.MustRegister(memoryUsage, cpuUsage, activeConnections, requestsTotal, goroutines, uploadSizeBytes, downloadSizeBytes) - prometheus.MustRegister(thumbnailProcessedTotal, thumbnailProcessingErrors, thumbnailProcessingTime) prometheus.MustRegister(filesDeduplicatedTotal, deduplicationErrorsTotal) prometheus.MustRegister(isoContainersCreatedTotal, isoCreationErrorsTotal) prometheus.MustRegister(isoContainersMountedTotal, isoMountErrorsTotal) + prometheus.MustRegister(workerAdjustmentsTotal, workerReAdjustmentsTotal) } } func updateSystemMetrics(ctx context.Context) { - ticker := time.NewTicker(parseDuration(conf.Workers.MetricsUpdateInterval)) + ticker := time.NewTicker(10 * time.Second) defer ticker.Stop() for { @@ -1317,13 +1178,21 @@ func fileExists(filePath string) (bool, int64) { return !fileInfo.IsDir(), fileInfo.Size() } -func isExtensionAllowed(filename string, allowedExts []string) bool { - if allowedExts == nil { - return true // all allowed +func isExtensionAllowed(filename string) bool { + var allowedExtensions []string + if len(conf.Server.GlobalExtensions) > 0 { + allowedExtensions = conf.Server.GlobalExtensions + } else { + allowedExtensions = append(conf.Uploads.AllowedExtensions, conf.Downloads.AllowedExtensions...) } + + if len(allowedExtensions) == 0 { + return true + } + ext := strings.ToLower(filepath.Ext(filename)) - for _, allowed := range allowedExts { - if strings.EqualFold(ext, allowed) { + for _, allowedExt := range allowedExtensions { + if strings.ToLower(allowedExt) == ext { return true } } @@ -1552,115 +1421,129 @@ func shouldScanFile(filename string) bool { return false } -func uploadWorker(ctx context.Context, workerID int) { - defer log.Infof("Upload worker %d stopped.", workerID) - for { - select { - case <-ctx.Done(): - return - case task, ok := <-uploadQueue: - if !ok { +// Define a unified Job interface +type Job interface { + Execute() error +} + +// Define UploadJob struct +type UploadJob struct { + Task UploadTask +} + +// Implement Execute method for UploadJob +func (j UploadJob) Execute() error { + return processUpload(j.Task) +} + +// Define ScanJob struct +type ScanJob struct { + Task ScanTask +} + +// Implement Execute method for ScanJob +func (j ScanJob) Execute() error { + return processScan(j.Task) +} + +// WorkerPool manages a pool of workers +type WorkerPool struct { + jobQueue chan Job + workerCount int32 + maxWorkers int32 + minWorkers int32 + workerMutex sync.Mutex + shutdown chan struct{} + shutdownWG sync.WaitGroup + scaleUpThresh int + scaleDownThresh int +} + +// NewWorkerPool initializes a new WorkerPool +func NewWorkerPool(min, max int32, scaleUp, scaleDown int) *WorkerPool { + pool := &WorkerPool{ + jobQueue: make(chan Job, 100), + minWorkers: min, + maxWorkers: max, + shutdown: make(chan struct{}), + scaleUpThresh: scaleUp, + scaleDownThresh: scaleDown, + } + atomic.StoreInt32(&pool.workerCount, 0) + for i := int32(0); i < pool.minWorkers; i++ { + pool.addWorker() + } + go pool.monitor() + return pool +} + +// AddJob enqueues a job to the worker pool +func (p *WorkerPool) AddJob(job Job) { + p.jobQueue <- job +} + +// addWorker starts a new worker goroutine +func (p *WorkerPool) addWorker() { + p.workerMutex.Lock() + defer p.workerMutex.Unlock() + if atomic.LoadInt32(&p.workerCount) >= p.maxWorkers { + return + } + p.shutdownWG.Add(1) + atomic.AddInt32(&p.workerCount, 1) + go func() { + defer p.shutdownWG.Done() + for { + select { + case job := <-p.jobQueue: + if err := job.Execute(); err != nil { + log.Errorf("Job execution error: %v", err) + } + case <-p.shutdown: return } - err := processUpload(task) - if err != nil { - log.Errorf("Worker %d failed to process file %s: %v", workerID, task.AbsFilename, err) - } else { - log.Infof("Worker %d successfully processed file: %s", workerID, task.AbsFilename) - } - task.Result <- err } - } + }() + log.Infof("Added worker. Total workers: %d", atomic.LoadInt32(&p.workerCount)) } -func initializeUploadWorkerPool(ctx context.Context, w *WorkersConfig) { - var workerIDs []int - for i := 0; i < w.NumWorkers; i++ { - go uploadWorker(ctx, i) - workerIDs = append(workerIDs, i) +// removeWorker signals a worker to stop +func (p *WorkerPool) removeWorker() { + p.workerMutex.Lock() + defer p.workerMutex.Unlock() + if atomic.LoadInt32(&p.workerCount) <= p.minWorkers { + return } - log.Infof("Initialized %d upload workers: %v", w.NumWorkers, workerIDs) + p.shutdown <- struct{}{} + atomic.AddInt32(&p.workerCount, -1) + log.Infof("Removed worker. Total workers: %d", atomic.LoadInt32(&p.workerCount)) } -func scanWorker(ctx context.Context, workerID int) { - defer log.WithField("worker_id", workerID).Info("Scan worker stopping") +// monitor dynamically adjusts the number of workers based on the job queue length +func (p *WorkerPool) monitor() { + ticker := time.NewTicker(5 * time.Second) + defer ticker.Stop() for { select { - case <-ctx.Done(): - return - case task, ok := <-scanQueue: - if !ok { - return + case <-ticker.C: + queueLength := len(p.jobQueue) + currentWorkers := atomic.LoadInt32(&p.workerCount) + if queueLength > p.scaleUpThresh && currentWorkers < p.maxWorkers { + p.addWorker() + } else if queueLength < p.scaleDownThresh && currentWorkers > p.minWorkers { + p.removeWorker() } - err := scanFileWithClamAV(task.AbsFilename) - if err != nil { - log.WithFields(logrus.Fields{"worker_id": workerID, "file": task.AbsFilename, "error": err}).Error("Failed to scan file") - } else { - log.WithFields(logrus.Fields{"worker_id": workerID, "file": task.AbsFilename}).Info("Successfully scanned file") - } - task.Result <- err - close(task.Result) - } - } -} - -func initializeScanWorkerPool(ctx context.Context) { - var workerIDs []int - for i := 0; i < conf.ClamAV.NumScanWorkers; i++ { - go scanWorker(ctx, i) - workerIDs = append(workerIDs, i) - } - log.Infof("Initialized %d scan workers: %v", conf.ClamAV.NumScanWorkers, workerIDs) -} - -func setupRouter() http.Handler { - mux := http.NewServeMux() - - // Thumbnails endpoint - mux.HandleFunc("/thumbnails", handleThumbnails) - - // Existing handlers - mux.HandleFunc("/", handleRequest) - - if conf.Server.MetricsEnabled { - mux.Handle("/metrics", promhttp.Handler()) - } - handler := loggingMiddleware(mux) - handler = recoveryMiddleware(handler) - handler = corsMiddleware(handler) - return handler -} - -func loggingMiddleware(next http.Handler) http.Handler { - return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - requestsTotal.WithLabelValues(r.Method, r.URL.Path).Inc() - next.ServeHTTP(w, r) - }) -} - -func recoveryMiddleware(next http.Handler) http.Handler { - return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - defer func() { - if rec := recover(); rec != nil { - log.WithFields(logrus.Fields{"method": r.Method, "url": r.URL.String(), "error": rec}).Error("Panic recovered in handler") - http.Error(w, "Internal Server Error", http.StatusInternalServerError) - } - }() - next.ServeHTTP(w, r) - }) -} - -func corsMiddleware(next http.Handler) http.Handler { - return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - w.Header().Set("Access-Control-Allow-Origin", "*") - w.Header().Set("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, OPTIONS") - w.Header().Set("Access-Control-Allow-Headers", "Content-Type, Authorization") - if r.Method == "OPTIONS" { - w.WriteHeader(http.StatusOK) + case <-p.shutdown: return } - next.ServeHTTP(w, r) - }) + } +} + +// Shutdown gracefully shuts down the worker pool +func (p *WorkerPool) Shutdown() { + close(p.shutdown) + p.shutdownWG.Wait() + close(p.jobQueue) } func handleRequest(w http.ResponseWriter, r *http.Request) { @@ -1786,7 +1669,7 @@ func handleUpload(w http.ResponseWriter, r *http.Request, absFilename, fileStore return } - if !isExtensionAllowed(fileStorePath, conf.Uploads.AllowedExtensions) { + if !isExtensionAllowed(fileStorePath) { log.Warn("Invalid file extension") http.Error(w, "Invalid file extension", http.StatusBadRequest) uploadErrorsTotal.Inc() @@ -1966,7 +1849,7 @@ func scanFileWithClamAV(filePath string) error { } func initClamAV(socket string) (*clamd.Clamd, error) { - if socket == "" { + if (socket == "") { log.Error("ClamAV socket path not configured.") return nil, fmt.Errorf("ClamAV socket path not configured") } @@ -2268,15 +2151,6 @@ func MonitorRedisHealth(ctx context.Context, client *redis.Client, checkInterval } } -func parseDuration(durationStr string) time.Duration { - duration, err := time.ParseDuration(durationStr) - if err != nil { - log.WithError(err).Warn("Invalid duration format, using default 30s") - return 30 * time.Second - } - return duration -} - func runFileCleaner(ctx context.Context, storeDir string, ttl time.Duration) { ticker := time.NewTicker(1 * time.Hour) defer ticker.Stop() @@ -2421,7 +2295,7 @@ func handleMultipartUpload(w http.ResponseWriter, r *http.Request, absFilename s } defer file.Close() - if !isExtensionAllowed(handler.Filename, conf.Uploads.AllowedExtensions) { + if !isExtensionAllowed(handler.Filename) { log.WithFields(logrus.Fields{"filename": handler.Filename, "extension": filepath.Ext(handler.Filename)}).Warn("Attempted upload with disallowed file extension") http.Error(w, "Disallowed file extension. Allowed: "+strings.Join(conf.Uploads.AllowedExtensions, ", "), http.StatusForbidden) uploadErrorsTotal.Inc() @@ -2686,233 +2560,19 @@ func handleISOContainer(absFilename string) error { return nil } -// Step 4: Implement precacheStoragePath function func precacheStoragePath(dir string) error { - // Attempt to load directory index from Redis - if conf.Precache.RedisEnabled && redisConnected { - data, err := redisClient.Get(context.Background(), "directory_index").Result() - if err == nil { - var index []FileMetadata - err = json.Unmarshal([]byte(data), &index) // Added the target variable - if err == nil { - for _, metadata := range index { - fileInfoCache.Set(metadata.FilePath, metadata.FileInfo, cache.DefaultExpiration) - fileMetadataCache.Set(metadata.FilePath, metadata, cache.DefaultExpiration) - } - log.Info("Loaded directory index from Redis") - return nil - } - log.Warn("Failed to unmarshal directory index from Redis") - } else { - log.Warn("Failed to load directory index from Redis:", err) - } - } - - // Attempt to load directory index from static index file - staticIndexFile := conf.Precache.StaticIndexFile - file, err := os.Open(staticIndexFile) - if err == nil { - defer file.Close() - var index []FileMetadata - decoder := json.NewDecoder(file) - err = decoder.Decode(&index) - if err == nil { - for _, metadata := range index { - fileInfoCache.Set(metadata.FilePath, metadata.FileInfo, cache.DefaultExpiration) - fileMetadataCache.Set(metadata.FilePath, metadata, cache.DefaultExpiration) - } - log.Info("Loaded directory index from static index file") - return nil - } - log.Warn("Failed to decode static index file:", err) - } else { - log.Warn("Static index file not found:", err) - } - - // Perform full directory scan - var index []FileMetadata - err = filepath.Walk(dir, func(path string, info os.FileInfo, err error) error { + return filepath.Walk(dir, func(path string, info os.FileInfo, err error) error { if err != nil { - return err + log.Warnf("Error accessing path %s: %v", path, err) + return nil // Continue walking } if !info.IsDir() { - metadata := FileMetadata{ - FilePath: path, - FileInfo: info, - } - index = append(index, metadata) fileInfoCache.Set(path, info, cache.DefaultExpiration) - fileMetadataCache.Set(path, metadata, cache.DefaultExpiration) + fileMetadataCache.Set(path, FileMetadata{CreationDate: info.ModTime()}, cache.DefaultExpiration) + log.Debugf("Cached file info and metadata for %s", path) } return nil }) - if err != nil { - return err - } - log.Info("Performed full directory scan and populated caches") - - // Save index to Redis - if conf.Precache.RedisEnabled && redisConnected { - data, err := json.Marshal(index) - if err == nil { - err = redisClient.Set(context.Background(), "directory_index", data, 0).Err() - if err == nil { - log.Info("Saved directory index to Redis") - } else { - log.Warn("Failed to save directory index to Redis:", err) - } - } else { - log.Warn("Failed to marshal directory index for Redis:", err) - } - } - - // Save index to static index file - file, err = os.Create(staticIndexFile) - if err == nil { - defer file.Close() - encoder := json.NewEncoder(file) - err = encoder.Encode(index) - if err == nil { - log.Info("Saved directory index to static index file") - } else { - log.Warn("Failed to encode directory index to static index file:", err) - } - } else { - log.Warn("Failed to create static index file:", err) - } - - // Monitor directory for changes - go monitorDirectoryChanges(dir) - - return nil -} - -// Step 5: Implement monitorDirectoryChanges function -func monitorDirectoryChanges(dir string) { - watcher, err := fsnotify.NewWatcher() - if err != nil { - log.Error("Failed to create directory watcher:", err) - return - } - defer watcher.Close() - - err = watcher.Add(dir) - if err != nil { - log.Error("Failed to add directory to watcher:", err) - return - } - - for { - select { - case event, ok := <-watcher.Events: - if !ok { - return - } - if event.Op&fsnotify.Create == fsnotify.Create || event.Op&fsnotify.Remove == fsnotify.Remove { - log.Infof("Directory change detected: %s", event.String()) - // Update caches and indices - err := precacheStoragePath(dir) - if err != nil { - log.Error("Failed to update precache after directory change:", err) - } - } - case err, ok := <-watcher.Errors: - if !ok { - return - } - log.Error("Directory watcher error:", err) - } - } -} - -func generateThumbnail(originalPath, thumbnailDir, size string) error { - // Check if thumbnail generation is enabled - if (!conf.Thumbnails.Enabled) { - return nil - } - - // Check if the file is an image - if !isImageFile(originalPath) { - log.Infof("File %s is not an image. Skipping thumbnail generation.", originalPath) - return nil - } - - // Parse the size (e.g., "200x200") - dimensions := strings.Split(size, "x") - if len(dimensions) != 2 { - return fmt.Errorf("invalid size format: %s", size) - } - width, err := strconv.Atoi(dimensions[0]) - if err != nil { - return fmt.Errorf("invalid width: %v", err) - } - height, err := strconv.Atoi(dimensions[1]) - if err != nil { - return fmt.Errorf("invalid height: %v", err) - } - - // Define the thumbnail file path - thumbnailPath := filepath.Join(thumbnailDir, filepath.Base(originalPath)) - - // Check if thumbnail already exists - if _, err := os.Stat(thumbnailPath); err == nil { - log.Infof("Thumbnail already exists for %s. Skipping generation.", originalPath) - return nil - } else if !os.IsNotExist(err) { - return fmt.Errorf("error checking thumbnail existence: %v", err) - } - - // Check if ffmpeg is installed - if isFFmpegInstalled() { - // Use ffmpeg to generate the thumbnail - err := generateThumbnailWithFFmpeg(originalPath, thumbnailPath, width, height) - if err != nil { - return fmt.Errorf("failed to generate thumbnail with ffmpeg: %v", err) - } - } else { - // Use Go internal imaging function to generate the thumbnail - err := generateThumbnailWithImaging(originalPath, thumbnailPath, width, height) - if err != nil { - return fmt.Errorf("failed to generate thumbnail with imaging: %v", err) - } - } - - log.Infof("Generated thumbnail for %s at %s", originalPath, thumbnailPath) - thumbnailProcessedTotal.Inc() - return nil -} - -func isFFmpegInstalled() bool { - _, err := exec.LookPath("ffmpeg") - return err == nil -} - -func generateThumbnailWithFFmpeg(originalPath, thumbnailPath string, width, height int) error { - cmd := exec.Command("ffmpeg", "-i", originalPath, "-vf", fmt.Sprintf("thumbnail,scale=%d:%d", width, height), "-frames:v", "1", thumbnailPath) - output, err := cmd.CombinedOutput() - if err != nil { - log.Errorf("ffmpeg output: %s", string(output)) - return err - } - return nil -} - -func generateThumbnailWithImaging(originalPath, thumbnailPath string, width, height int) error { - // Open the original image - img, err := imaging.Open(originalPath) - if err != nil { - return fmt.Errorf("failed to open image: %v", err) - } - - // Resize the image using Lanczos filter - thumb := imaging.Resize(img, width, height, imaging.Lanczos) - - // Save the thumbnail - err = imaging.Save(thumb, thumbnailPath) - if err != nil { - return fmt.Errorf("failed to save thumbnail: %v", err) - } - return nil } func handleFileCleanup(conf *Config) { @@ -2971,200 +2631,8 @@ func deleteOldFiles(conf *Config, ttl time.Duration) { } } -func scheduleThumbnailGeneration(ctx context.Context) { - if (!conf.Thumbnails.Enabled) { - log.Info("Thumbnail generation is disabled.") - return - } - - var scanDir string - if conf.Deduplication.Enabled { - scanDir = conf.Deduplication.Directory - } else { - scanDir = conf.Server.StoragePath - } - - tickerInterval, err := time.ParseDuration(conf.Thumbnails.ThumbnailIntervalScan) - if err != nil { - log.Fatalf("Invalid thumbnail interval scan duration: %v", err) - } - ticker := time.NewTicker(tickerInterval) - - go func() { - for { - select { - case <-ticker.C: - log.Info("Starting scheduled thumbnail generation...") - err := filepath.Walk(scanDir, func(path string, info os.FileInfo, err error) error { - if err != nil { - return err - } - if !info.IsDir() && isImageFile(path) { - generateThumbnail(path, conf.Thumbnails.Directory, conf.Thumbnails.Size) - } - return nil - }) - if err != nil { - log.Errorf("Error walking through directory %s: %v", scanDir, err) - } - log.Info("Scheduled thumbnail generation completed.") - case <-ctx.Done(): - ticker.Stop() - return - } - } - }() -} - -func isImageFile(path string) bool { - ext := strings.ToLower(filepath.Ext(path)) - switch ext { - case ".png", ".jpg", ".jpeg", ".gif", ".bmp", ".tiff", ".svg", ".webp": - return true - default: - return false - } -} - -// Add or replace the function to authenticate requests -func authenticateRequest(r *http.Request) bool { - // Placeholder logic; replace with your own authentication method - apiKey := r.Header.Get("X-API-Key") - expectedAPIKey := "your-secure-api-key" - return hmac.Equal([]byte(apiKey), []byte(expectedAPIKey)) -} - -// Add or replace the handler for /thumbnails -func handleThumbnails(w http.ResponseWriter, r *http.Request) { - if r.Method != http.MethodGet { - http.Error(w, "Method Not Allowed", http.StatusMethodNotAllowed) - return - } - - userID := r.URL.Query().Get("user_id") - if userID == "" { - http.Error(w, "Missing user_id parameter", http.StatusBadRequest) - return - } - - // Authenticate the request - if !authenticateRequest(r) { - http.Error(w, "Unauthorized", http.StatusUnauthorized) - return - } - - // Construct the thumbnail file path (assuming JPEG) - thumbnailPath := filepath.Join(conf.Thumbnails.Directory, fmt.Sprintf("%s.jpg", userID)) - - fileInfo, err := os.Stat(thumbnailPath) - if os.IsNotExist(err) { - http.Error(w, "Thumbnail not found", http.StatusNotFound) - return - } else if err != nil { - log.WithError(err).Errorf("Error accessing thumbnail for user_id: %s", userID) - http.Error(w, "Internal Server Error", http.StatusInternalServerError) - return - } - - file, err := os.Open(thumbnailPath) - if err != nil { - log.WithError(err).Errorf("Failed to open thumbnail for user_id: %s", userID) - http.Error(w, "Internal Server Error", http.StatusInternalServerError) - return - } - defer file.Close() - - // Determine the Content-Type based on file extension - ext := strings.ToLower(filepath.Ext(thumbnailPath)) - contentType := mime.TypeByExtension(ext) - if contentType == "" { - contentType = "application/octet-stream" - } - - w.Header().Set("Content-Type", contentType) - w.Header().Set("Content-Length", strconv.FormatInt(fileInfo.Size(), 10)) - - if _, err := io.Copy(w, file); err != nil { - log.WithError(err).Errorf("Failed to serve thumbnail for user_id: %s", userID) - } -} - -// verifyAndRepairThumbnails verifies the integrity of thumbnail files and repairs them if necessary -func verifyAndRepairThumbnails(thumbnailPaths []string, redisClient *redis.Client, originalDir string) { - // Check if redisClient is nil - if redisClient == nil { - log.Error("Redis client is nil. Cannot verify and repair thumbnails.") - return - } - - // Check if thumbnailPaths is nil or empty - if len(thumbnailPaths) == 0 { - log.Error("Thumbnail paths are nil or empty. Nothing to verify or repair.") - return - } - - for _, thumbPath := range thumbnailPaths { - // Compute SHA-256 hash of the thumbnail file - file, err := os.Open(thumbPath) - if err != nil { - log.Warnf("Error opening thumbnail %s: %v", thumbPath, err) - continue - } - hasher := sha256.New() - if _, err := io.Copy(hasher, file); err != nil { - log.Warnf("Error hashing thumbnail %s: %v", thumbPath, err) - file.Close() - continue - } - file.Close() - computedHash := hex.EncodeToString(hasher.Sum(nil)) - - // Get stored hash from Redis - storedHash, err := redisClient.Get(context.Background(), thumbPath).Result() - if err == redis.Nil || storedHash != computedHash { - log.Warnf("Thumbnail %s is corrupted or missing. Regenerating...", thumbPath) - - // Assume original image is in originalDir with the same base name - originalPath := filepath.Join(originalDir, filepath.Base(thumbPath)) - origImage, err := imaging.Open(originalPath) - if err != nil { - log.Warnf("Error opening original image %s: %v", originalPath, err) - continue - } - - // Generate thumbnail (e.g., 200x200 pixels) - thumbnail := imaging.Thumbnail(origImage, 200, 200, imaging.Lanczos) - - // Save the regenerated thumbnail - err = imaging.Save(thumbnail, thumbPath) - if err != nil { - log.Warnf("Error saving regenerated thumbnail %s: %v", thumbPath, err) - continue - } - - // Compute new hash - file, err := os.Open(thumbPath) - if err != nil { - log.Warnf("Error opening regenerated thumbnail %s: %v", thumbPath, err) - continue - } - hasher.Reset() - if _, err := io.Copy(hasher, file); err != nil { - log.Warnf("Error hashing regenerated thumbnail %s: %v", thumbPath, err) - file.Close() - continue - } - file.Close() - newHash := hex.EncodeToString(hasher.Sum(nil)) - - // Store new hash in Redis - err = redisClient.Set(context.Background(), thumbPath, newHash, 0).Err() - if err != nil { - log.Warnf("Error storing new hash for thumbnail %s in Redis: %v", thumbPath, err) - continue - } - - log.Infof("Successfully regenerated and updated thumbnail %s", thumbPath) - } - } +func setupRouter() *http.ServeMux { + router := http.NewServeMux() + router.HandleFunc("/", handleRequest) + return router } \ No newline at end of file diff --git a/cmd/server/uploads/test b/cmd/server/uploads/test new file mode 100644 index 0000000..e69de29 diff --git a/go.mod b/go.mod index a075899..5e5a743 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( require ( github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect - github.com/fsnotify/fsnotify v1.7.0 + github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/gdamore/encoding v1.0.0 // indirect github.com/hashicorp/hcl v1.0.0 // indirect github.com/lucasb-eyer/go-colorful v1.2.0 // indirect @@ -32,7 +32,6 @@ require ( github.com/spf13/jwalterweatherman v1.1.0 // indirect github.com/spf13/pflag v1.0.5 // indirect github.com/subosito/gotenv v1.6.0 // indirect - golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 // indirect golang.org/x/term v0.17.0 // indirect golang.org/x/text v0.21.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect @@ -43,7 +42,6 @@ require ( require ( github.com/beorn7/perks v1.0.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect - github.com/disintegration/imaging v1.6.2 github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e github.com/go-ole/go-ole v1.3.0 // indirect github.com/klauspost/compress v1.17.11 // indirect diff --git a/go.sum b/go.sum index a0a44cf..0493d16 100644 --- a/go.sum +++ b/go.sum @@ -7,8 +7,6 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= -github.com/disintegration/imaging v1.6.2 h1:w1LecBlG2Lnp8B3jk5zSuNqd7b4DXhcjwek1ei82L+c= -github.com/disintegration/imaging v1.6.2/go.mod h1:44/5580QXChDfwIclfc/PCwrr44amcmDAg8hxG0Ewe4= github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e h1:rcHHSQqzCgvlwP0I/fQ8rQMn/MpHE5gWSLdtpxtP6KQ= github.com/dutchcoders/go-clamd v0.0.0-20170520113014-b970184f4d9e/go.mod h1:Byz7q8MSzSPkouskHJhX0er2mZY/m0Vj5bMeMCkkyY4= github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8= @@ -124,8 +122,6 @@ github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= -golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 h1:hVwzHzIUGRjiF7EcUjqNxk3NCfkPxbDKRdnNE1Rpg0U= -golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=