Quantcast
Channel: DOCU - Foren
Viewing all articles
Browse latest Browse all 6574

Administration - Installation - Core: Re(4): clamd blockt verdächtige Dateien nicht ab

$
0
0
Thank you @utesche. Will look into the permissions and see if we can get that working.

Something that helped me with debugging is adding this line to the file Services/VirusScanner/classes/class.ilVirusScannerClamAV.php

$this->log->write("Debug (Virus Scanner): " . "; COMMAMD=" . $cmd . "; OUTPUT=" . print_r($out, 1)

It turns out the code doesn't handle if clamdscan return an error like and allows the file to be uploaded


ERROR: Could not connect to clamd on LocalSocket /var/run/clamav/clamd.ctl: No such file or directory


So wanted to share that.

Viewing all articles
Browse latest Browse all 6574

Trending Articles