https://github.com/peopleperhour/clam
Clam antivirus server as container
https://github.com/peopleperhour/clam
clam clamd-antivirus-server docker-image freshclam
Last synced: 9 months ago
JSON representation
Clam antivirus server as container
- Host: GitHub
- URL: https://github.com/peopleperhour/clam
- Owner: PeoplePerHour
- License: mit
- Created: 2016-10-31T10:10:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-29T11:19:28.000Z (about 6 years ago)
- Last Synced: 2025-07-25T01:07:34.722Z (11 months ago)
- Topics: clam, clamd-antivirus-server, docker-image, freshclam
- Language: Dockerfile
- Size: 9.77 KB
- Stars: 4
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Peopleperhour antivirus clamd server
## About this Repo
This Git repo of the clamd antivirus server that listen to TCP socket for commands.
## Why we needed this
This gives us the ability to scan remotely files for known various and sanitize our S3 bucket.
## Technology
This is a clamav antivirus running inside a container. This is done in order to scale easily our scanning capacity.
The container is managed by a python supervisor that starts 2 main programs, the freshclam and clamd. The first will update the clam database every `FRESHCLAM_UPDATE` (default 2) times a day, and the second will start clamav process. Everytime freshclam performs an update it will notify clam of the update to reload the database.
## Sending commands.
This container accepts TCP commands, more information about the TCP commands can be found here `http://manpages.ubuntu.com/manpages/trusty/man8/clamd.8.html`
KEEP IN MIND: that this container should be reside in your private network because it can be abused by DDoS attack, so please keep this protected.
## Simple usage
To use this container just run to start the server
```
$ docker run -p 3310:3310 Peopleperhour/clam
```
And then you can telnet and send commands via TCP sockets.