wiki:doc/SupportPrograms/Clamav

Clamav

Written: 2018-11-22 (by mathew)

Debian/Ubuntu/…

The issue is with freshclam. You don't want to update you AV database in cleartext, do you? It's a risk. So do it over tor. Tor needs to be running, as daemon (the stock install on Debian family of OSes, often so in other Linux/BSD flavors).

First make a script:

/usr/bin/t_freshclam

with this content:

#!/bin/sh

/usr/bin/torsocks /usr/bin/freshclam $@

chmod it:

chmod 755 /usr/bin/t_freshclam

After that, you need to make one important change in this file:

/etc/init.d/clamav-freshclam

You need to change the line that reads:

DAEMON=/usr/bin/freshclam

to:

DAEMON=/usr/bin/t_freshclam

The rest is all regular. Now your Virus database will be updated over tor.

Last modified 3 weeks ago Last modified on Nov 23, 2018, 12:27:38 AM