doc:appunti:linux:sa:dansguardian
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
doc:appunti:linux:sa:dansguardian [2018/03/01 10:09] – [Aggiunta regole di filtraggio] niccolo | doc:appunti:linux:sa:dansguardian [2018/03/01 11:15] (current) – [Aggiunta Scansione Antivirus] niccolo | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Dansguardian su Debian Stretch ====== | ====== Dansguardian su Debian Stretch ====== | ||
- | Sistema | + | Si vuole fare l' |
+ | |||
+ | Installati i pacchetti: | ||
* **dansguardian** | * **dansguardian** | ||
Line 26: | Line 28: | ||
Se il browser accede tramite il proxy Dansguardian, | Se il browser accede tramite il proxy Dansguardian, | ||
- | ===== Aggiunta | + | FIXME Come aggiungere regole iptables per bloccare la navigazione diretta senza proxy? |
+ | ===== Aggiunta | ||
Con l' | Con l' | ||
- | Esiste un plugin per Squid chiamato **[[http:// | + | Esiste un plugin per Squid chiamato **[[http:// |
< | < | ||
Line 36: | Line 39: | ||
</ | </ | ||
- | Scompattiamo | + | scompattiamo |
- | + | ||
- | Creiamo | + | |
< | < | ||
Line 56: | Line 57: | ||
Banned site: youporn.com CONNECT 0 0 1 403 - - | Banned site: youporn.com CONNECT 0 0 1 403 - - | ||
</ | </ | ||
+ | |||
+ | ===== Aggiunta Scansione Antivirus ===== | ||
+ | |||
+ | Dopo aver installato il pacchetto **clamav-daemon** verificare che il processo **clamd** sia in esecuzione che sia presente il socket **/ | ||
+ | |||
+ | < | ||
+ | contentscanner = '/ | ||
+ | </ | ||
+ | |||
+ | FIXME: Non funziona perché i file creati da Dansguardian in /tmp non possono essere letti dal processo **clamd**: | ||
+ | |||
+ | **/ | ||
+ | |||
+ | < | ||
+ | 2018.3.1 11:26:00 - 127.0.0.1 http:// | ||
+ | *DENIED* / | ||
+ | </ | ||
+ | |||
+ | in **/ | ||
+ | |||
+ | < | ||
+ | dansguardian[27754]: | ||
+ | </ | ||
+ | |||
+ | FIXME: Soluzione non funzionante: | ||
+ | |||
+ | < | ||
+ | mkdir -p / | ||
+ | chown dansguardian.dansguardian / | ||
+ | chmod 777 / | ||
+ | adduser clamav dansguardian | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | filecachedir = '/ | ||
+ | </ | ||
+ | ===== Riferimenti Web ===== | ||
+ | |||
+ | * **[[http:// | ||
+ | * **[[https:// |
doc/appunti/linux/sa/dansguardian.1519898996.txt.gz · Last modified: 2018/03/01 10:09 by niccolo