19
KlamAV: Un frontend per ClamAV
luglio 2007 da Lobotomia
ClamAV è uno dei più conosciuto AntiVirus in ambito Open Source, ma meno conosciuto è il suo frontend per KDE KlamAV, vediamo le sue caratteristiche e come installarlo.
Cosa è KlamAV
Giusto per chi non ha mai sentito parlare di ClamAV ricordiamo che è un AntiVirus basato su signature nato inizialmente come filtro per gateway ed oggi supportato da una grande comunità di utenti e molto diffuso in ambiente Linux come filtro antivirus nei sistemi di posta elettronica.
KlamAV si pone come obiettivo l’integrazione dell’ottimo sistema di riconoscimento dei virus di ClamAV nel dekstop KDE.
Dove trovare KlamAV
Il Sito Ufficiale di KlamAV è disponibile su SourceForge all’indirizzo http://klamav.sourceforge.net, dove oltre alla pagina di download potrete trovare le FAQ sui problemi comuni e li istruzioni di installazioni per le distribuzioni più diffuse.
Installazione di KlamAV su Gentoo Linux
Utilizzando il classico emerge è pssobile installare KlamAV, in automatico verrano risolte tutte le dipendenze e i pacchetti necessari al corretto funzionamento:
emerge klamav
Installazione di KlamAV su Debian Gnu/linux e Ubuntu
Il pacchetto è presente nel repository ufficiale sia di Debian che di Ubuntu, quindi per installarlo si può usare synaptics oppure in alternativa installarlo da shell con apt-get, eseguendo il comando:
apt-get install klamav
<!–
google_ad_client = “pub-9893624510039737″;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = “300×250_as”;
google_ad_type = “image”;
google_ad_channel = “”;
google_color_border = “000000″;
google_color_bg = “FFFFFF”;
google_color_link = “0000FF”;
google_color_text = “000000″;
google_color_url = “008000″;
google_ui_features = “rc:6″;
//–>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
Utilizzo di KlamAV
E’ possibile avviare KlamAV direttamente dal menu dei programmi, per effettuare una scansione di una directory o del sistema si utilizza la tab scan, selezionando la directory da scansionare, l’azione da compiere qualora venga rilevato un virus, decidere se effettuare la scansione nella quarantena e nelle sottodirectory.
Dal menu E-Mail Protection è possibile scegliere il client email utlizzato e decidere se lasciare che sia KlamAV a configrarlo per voi oppure farvi elencare le istruzioni necessarie alla configurazione.
Dal menu Update è possibile effettuare gli aggiornamenti del Database delle firme dell’antivirus manualmente, inoltre si può scegliere di far effettuare l’aggiornamento periodicamente in modo del tutto automatico.
Inoltre è possibile gestire gli elementi in quarantena e visualizzare una lista dei virus con tanto di descrizione.
Infine KlamAV si integra perfettamente con KDE e Konqueror ed è possibile effettuare direttamente da Konqueror le scansioni sui singoli file.
Per il momento è tutto, torneremo presto su ClamAV, sui suo frontend e sulla sicurezza in linux

































Categorie: 

luglio 26th, 2007 alle 11:29
ho seguito le tue indicazioni….
ma l’applicazione non mi appare nel menu e la devo avviare da terminale con il comando sudo si avvia posso effettuare scansioni…ma nel terminale compare questo:
rosale@rosale-desktop:~$ sudo klamav
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0×0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0×0
Failed to open device
DCOPClient::attachInternal. Attach failed Could not open network socket
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0×0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0×0
Failed to open device
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
kbuildsycoca running…
kdecore (KProcess): WARNING: _attachPty() 17
QLayout “unnamed” added to Klamav “KlamAV “, which already has a layout
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
kbuildsycoca running…
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file /usr/share/applications/DefaultPlugins.desktop has Type=Link instead of “Application” or “Service”
kio (KService*): WARNING: Invalid Service : /usr/share/applications/DefaultPlugins.desktop
kio (KSycoca): ERROR: No database available!
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
kbuildsycoca running…
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file /usr/share/applications/DefaultPlugins.desktop has Type=Link instead of “Application” or “Service”
kio (KService*): WARNING: Invalid Service : /usr/share/applications/DefaultPlugins.desktop
kio (KSycoca): ERROR: No database available!
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
kbuildsycoca running…
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file /usr/share/applications/DefaultPlugins.desktop has Type=Link instead of “Application” or “Service”
kio (KService*): WARNING: Invalid Service : /usr/share/applications/DefaultPlugins.desktop
kio (KSycoca): ERROR: No database available!
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
kbuildsycoca running…
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file /usr/share/applications/DefaultPlugins.desktop has Type=Link instead of “Application” or “Service”
kio (KService*): WARNING: Invalid Service : /usr/share/applications/DefaultPlugins.desktop
kio (KSycoca): ERROR: No database available!
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
kbuildsycoca running…
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file /usr/share/applications/DefaultPlugins.desktop has Type=Link instead of “Application” or “Service”
kio (KService*): WARNING: Invalid Service : /usr/share/applications/DefaultPlugins.desktop
kio (KSycoca): ERROR: No database available!
Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
kbuildsycoca running…
Reusing existing ksycoca
kio (KService*): WARNING: The desktop entry file /usr/share/applications/DefaultPlugins.desktop has Type=Link instead of “Application” or “Service”
kio (KService*): WARNING: Invalid Service : /usr/share/applications/DefaultPlugins.desktop
kio (KSycoca): ERROR: No database available!
kdecore (KProcess): WARNING: _attachPty() 16
che significa ???? ti premeto sono un principiante
luglio 28th, 2007 alle 11:18
su che distribuzione?
luglio 30th, 2007 alle 10:36
ubunto 7.04
luglio 30th, 2007 alle 10:40
e parecchi altri programmi non mi funzionano come kdelive , kompozer , kommander ho provato a cambiare anche distro passando a ubunto studio ma niente da fare …….il problema e che non sono veramente pratico di linux
luglio 30th, 2007 alle 10:51
così ad occhio credo manchi qualche libreria, magari se ti piace KDE perchè non provi KUbuntu?
io nel frattempo mi documento
luglio 30th, 2007 alle 11:12
@Alessandro: per sicurezza controlla che nella tua ubuntu ci siano i seguenti pacchetti:
- clamav
- kdelibs4c2a (>= 4:3.5.3-1)
- libacl1 (>= 2.2.11-1)
- libart-2.0-2 (>= 2.3.16)
- libattr1 (>= 2.4.4-1)
- libaudio2
- libbz2-1.0
- libc6 (>= 2.4-1)
- libclamav1 (>= 0.88.2)
- libcomerr2 (>= 1.33-3)
- libcurl3 (>= 7.15.4-1)
- libfontconfig1 (>= 2.3.0)
- libfreetype6 (>= 2.2)
- libgcc1 (>= 1:4.1.0)
- libgmp3c2
- libice6
- libidn11 (>= 0.5.18)
- libjpeg62
- libkrb53 (>= 1.4.2)
- libpcre3 (>= 4.5)
- libpng12-0 (>= 1.2.8rel)
- libqt3-mt (>= 3:3.3.6)
- libsm6
- libssl0.9.8 (>= 0.9.8b-1)
- libstdc++6 (>= 4.1.0)
- libx11-6
- libxcursor1 (>> 1.1.2)
- libxext6
- libxft2 (>> 2.1.1)
- libxi6
- libxinerama1
- libxrandr2
- libxrender1
- libxt6
- zlib1g (>= 1:1.2.1)
luglio 30th, 2007 alle 14:44
devo provare da synaptic ??????
luglio 30th, 2007 alle 15:16
si, controlla da synaptics che è la via più veloce
luglio 30th, 2007 alle 15:18
ok ho fatto ecco i risultati
clamav si
kdelibs4c2a si
libacl1 si
libart-2.0-2 si
ibattr1 si
libaudio2 si
libbz2-1.0 si
libc6 si
libclamav1 -non l’ho trovato installato e nemmeno da intallare con Synaptic
libcomerr2 non trovato
libcurl3 ”
libfontconfig1 ”
libfreetype6 si
ibgcc1 si
libgmp3c2 si
libice6 si
libidn11 si
libjpeg62 si
libkrb53 si
libpcre3 si
libpng12-0 si
libqt3-mt si
libsm6 si
libssl0.9.8 si
libstdc++6 si
libx11-6 si
libxcursor1 si ver 1:1.1.8-1
libxext6 si
libxft2 si
libxi6 si
libxinerama1 si
libxrandr2 si
libxrender1 si
libxt6 si
zlib1g si
agosto 2nd, 2007 alle 07:59
Stavo pensando che l’errore potrebbe essere nell’avvio del programma, hai provato ad avviarlo non da root (quindi senza il comando sudo) magari inserendo il percorso completo?
agosto 3rd, 2007 alle 08:47
veramente non so bene come trovare il percorso ….ma il problema e che non lo fa comparire tra le applicazioni
agosto 3rd, 2007 alle 08:51
puoi usare:
which klmaav
oppure:
whereis klamav
o ancora:
locate klamav
agosto 10th, 2007 alle 17:38
il percorso
klamav: /usr/bin/klamav /usr/X11R6/bin/klamav /usr/bin/X11/klamav /usr/share/man/man1/klamav.1.gz
avvio normalmente il programma si apre ma COMPAIONO QUESTE FINESTRE
Ther was an error setting up inter-process communication for KDE
could not read network connetion list /home/rosale/.DCOPserver-rosale-desktop-0
plese check that the “dcopserver” program is running
e poi ancora un’altra
will not save configuration file “/home/rosale/.kde/share/config/kramavrc”
not writable
configure file “/home/rosale/kde/sheare/config/kdeglobals” not writable
MENTRE SUL TERMINALE QUESTO
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0×0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0×0
Failed to open device
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permission denied
trying to create local folder /home/rosale/.kde/share: Permission denied
trying to create local folder /home/rosale/.kde/share: Permission denied
trying to create local folder /home/rosale/.kde/socket-rosale-desktop: Permission denied
trying to create local folder /home/rosale/.kde/socket-rosale-desktop: Permission denied
kdeinit: Aborting. bind() failed: : Permission denied
Could not bind to socket ‘/home/rosale/.kde/socket-rosale-desktop/kdeinit__0′
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0×0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 167
Major opcode: 144
Minor opcode: 3
Resource id: 0×0
Failed to open device
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share:
Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permission denied
trying to create local folder /home/rosale/.kde/share: Permission denied
trying to create local folder /home/rosale/.kde/share: Permission denied
trying to create local folder /home/rosale/.kde/socket-rosale-desktop: Permission denied
trying to create local folder /home/rosale/.kde/socket-rosale-desktop: Permission denied
kdeinit: Aborting. bind() failed: : Permission denied
Could not bind to socket ‘/home/rosale/.kde/socket-rosale-desktop/kdeinit__0′
DCOPRef::send(): no DCOP client or client not attached error
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
kdecore (KWin): WARNING: Loading of kdetrayproxy failed.
ASSERT: “(mode & KFile::Files) == 0″ in /build/buildd/kdelibs-3.5.6/./kio/kfile/kurlrequester.cpp (313)
ASSERT: “(mode & KFile::Files) == 0″ in /build/buildd/kdelibs-3.5.6/./kio/kfile/kurlrequester.cpp (313)
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permission denied
trying to create local folder /home/rosale/.kde/share: Permission denied
trying to create local folder /home/rosale/.kde/share: Permission denied
trying to create local folder /home/rosale/.kde/socket-rosale-desktop: Permission denied
trying to create local folder /home/rosale/.kde/socket-rosale-desktop: Permission denied
kdeinit: Aborting. bind() failed: : Permission denied
Could not bind to socket ‘/home/rosale/.kde/socket-rosale-desktop/kdeinit__0′
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
kdecore (KProcess): WARNING: _attachPty() 15
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
DCOPRef::call(): no DCOP client or client not attached error
DCOPRef::call(): no DCOP client or client not attached error
DCOPRef::call(): no DCOP client or client not attached error
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
QLayout “unnamed” added to Klamav “KlamAV “, which already has a layout
trying to create local folder /home/rosale/.kde/tmp-rosale-desktop: Permesso negato
klamav: WARNING: KTempFile: Error trying to create /home/rosale/.kde/tmp-rosale-desktop/klamavXXXXXX.tmp: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/octet-stream not found
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
kio (KMimeType): WARNING: KServiceType::offers : servicetype application/octet-stream not found
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/cache-rosale-desktop: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/share: Permesso negato
trying to create local folder /home/rosale/.kde/socket-rosale-desktop: Permesso negato
klamav: WARNING: KTempFile: Error trying to create /home/rosale/.kde/socket-rosale-desktop/klamavXXXXXX.slave-socket: Permesso negato
trying to create local folder /home/rosale/.kde/socket-rosale-desktop: Permesso negato
klamav:
WARNING: KTempFile: Error trying to create /home/rosale/.kde/socket-rosale-desktop/klamavXXXXXX.slave-socket: Permesso negato
klamav: ERROR: : couldn’t create slave : Unable to create io-slave: Permesso negato
ERROR: Can’t parse the config file
trying to create local folder /home/rosale/.kde/socket-rosale-desktop: Permesso negato
klamav: WARNING: KTempFile: Error trying to create /home/rosale/.kde/socket-rosale-desktop/klamavXXXXXX.slave-socket: Permesso negato
klamav: ERROR: : couldn’t create slave : Unable to create io-slave: Permesso negato
trying to create local folder /home/rosale/.kde/socket-rosale-desktop: Permesso negato
klamav: WARNING: KTempFile: Error trying to create /home/rosale/.kde/socket-rosale-desktop/klamavXXXXXX.slave-socket: Permesso negato
klamav: ERROR: : couldn’t create slave : Unable to create io-slave: Permesso negato
ALESSANDRO