clammit
clammit copied to clipboard
ClamAV HTTP filter
Hello! I'm considering using this tool to perform virus scans in my project. Hope it fits perfectly! While reading documentation in README file, noticed these lines of code: https://github.com/ifad/clammit/blob/bb4906098d41fc167f5fa6d39bf63c50a8b8a45b/README.md?plain=1#L167 This...
we are using internally also SSL between our servers (nginx and Service fabric / load balancer) but these are self-signed-certiticates. Today clammit does not allow it ``` 2021/11/04 23:18:04 Interceptor...
When content-lenght is less than content-memory-threshold the copy operation is very slow in clammit
For example with content-memory-threshold=100mb and file size equal to 50mb the io.Copy(mb, input) in multireader.go takes about 10 minutes when running clammit inside docker container. If i lower content-memory-threshold to...
[root@localhost tmp]# curl -sf http://172.20.100.20:8438/clammit/test -d @mozi.m -v * About to connect() to 172.20.100.20 port 8438 (#0) * Trying 172.20.100.20... * Connected to 172.20.100.20 (172.20.100.20) port 8438 (#0) > POST...
Using unix:/tmp/sockets/clammit.sock via docker named volume. clammit does not clean up the file. With an empty tmp/sockets/ directory clammit works on first start. Crashes on every other occasion until the...
As described and fixed in #22 - however the fix is hacky and should be proper handled in go-clamd.
As reported in #24, when clamd is not available or abruptly closes the connection, clammit panics due to a missing handling of the case in go-clamd. Handle the case and...
Hi! Thank you for the clammit! I thought that it could be useful to specify custom response body and content-type. For example, if backend has a convention for errors with...
Zips containing upx packed files and raw upx packed files are not being caught
How does clammit keep virus definitions up to date? I don't see any references to [freshclam](https://manpages.debian.org/testing/clamav-freshclam/freshclam.1.en.html) here or within the underlying go interface.