You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The network strategy only works locally and if the clamav-daemon has access to the file.
If the clamav-daemon is on another host (or in another docker container) or runs as non-root with no permission to read the file this wont work.
You'd have to stream the file content to the daemon to get it to work.
Basically, a mode that works like clamdscan --fdpass (indeed, streaming the contents) would be nice.
It's a good way to bypass permissions errors on servers (like scanning an incoming file upload, which is in /tmp owned by the server process, and clamav-daemon cannot access it directly).
PHP 8.1
Symfony 6.3
sineflow/clamav 1.1.1
Configuration:
Inside
\Sineflow\ClamAV\Socket\Socket::sendCommand
contains $dataIn valueSCAN /var/www/html/tests/resources/test-1-original.jpg
instead file data.The text was updated successfully, but these errors were encountered: