KAVClient Homepage

What is KAVClient?

KAVClient is a package that consists of libkavclient library and accompanying kavclient command-line tool.

The libkavclient library is a C language interface to Kaspersky Anti-Virus Daemon (KAVDaemon), a part of Kaspersky Anti-Virus for Linux, a popular anti-virus software from Kaspersky Lab.

KAVDaemon is a daemon process that runs in the background and can be asked to check specified files or memory regions for viruses. The advantage of KAVDaemon over the command-line virus checker kavscanner is that KAVDaemon loads virus databases into its memory only once, on startup, thus offering a significant speedup when checking a large number of files. Applications that wish to use KAVDaemon's services communicate to it via a Unix domain socket with a custom protocol defined by KAVDaemon. The libkavclient library encapsulates this protocol into a well-defined C API. Thus it allows applications check files and memory regions for viruses using KAVDaemon. A sample command-line client, kavclient, is shipped with the library.

The libkavclient library is thread-safe and is suitable for use in email, web, FTP and other network servers that need to check incoming data for viruses.

The libkavclient library is currently available for Linux. It should be easy to port it to other Unix-like systems for which KAVDaemon is available (such as FreeBSD, BSDi or Solaris), but this has not been done yet.

The libkavclient library is copyright © 2003 by Leonid Zeitlin (lz@europe.com).

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Please notice that KAVDaemon is commercial software and must be purchased from Kaspersky Lab.


Compete KAVClient documentation is available on-line at the documentation page. It is also included in KAVClient release package.


3 Nov 2003. KAVClient version 0.2.2 is released. This is a bugfix release. In previous releases, contrary to the documentation, it was not safe to call kav_reset twice on the same context in a row (the same memory was freed twice). This release fixes this problem.

29 Oct 2003. KAVClient version 0.2.1 is released. This release fixes compilation problems on older Linux systems (with glibc 2.1).


The latest version of KAVClient is 0.2.2. It is available for download from the project page at SourceForge


If you have any questions about KAVClient, please contact the author, Leonid Zeitlin at lz@europe.com.

Thanks to SourceForge for generous hosting.

SourceForge.net Logo