burghardt / clamfs Goto Github PK
View Code? Open in Web Editor NEWClamFS is a FUSE-based user-space file system for Linux and BSD with on-access anti-virus file scanning
License: GNU General Public License v2.0
ClamFS is a FUSE-based user-space file system for Linux and BSD with on-access anti-virus file scanning
License: GNU General Public License v2.0
Check for _start
in PocoFoundation library does not work on mips(64)el. Maybe this should be replaced with pkg-config
?
Tail of log for clamfs on mips64el:
checking Poco/SAX/ContentHandler.h usability... yes
checking Poco/SAX/ContentHandler.h presence... yes
checking for Poco/SAX/ContentHandler.h... yes
checking Poco/SAX/LexicalHandler.h usability... yes
checking Poco/SAX/LexicalHandler.h presence... yes
checking for Poco/SAX/LexicalHandler.h... yes
checking Poco/SAX/Attributes.h usability... yes
checking Poco/SAX/Attributes.h presence... yes
checking for Poco/SAX/Attributes.h... yes
checking Poco/SAX/Locator.h usability... yes
checking Poco/SAX/Locator.h presence... yes
checking for Poco/SAX/Locator.h... yes
checking for _start in -lPocoFoundation... no
configure: error: libPocoFoundation not found!
make: *** [debian/rules:18: config.status] Error 1
Tail of log for clamfs on mipsel:
checking Poco/SAX/ContentHandler.h usability... yes
checking Poco/SAX/ContentHandler.h presence... yes
checking for Poco/SAX/ContentHandler.h... yes
checking Poco/SAX/LexicalHandler.h usability... yes
checking Poco/SAX/LexicalHandler.h presence... yes
checking for Poco/SAX/LexicalHandler.h... yes
checking Poco/SAX/Attributes.h usability... yes
checking Poco/SAX/Attributes.h presence... yes
checking for Poco/SAX/Attributes.h... yes
checking Poco/SAX/Locator.h usability... yes
checking Poco/SAX/Locator.h presence... yes
checking for Poco/SAX/Locator.h... yes
checking for _start in -lPocoFoundation... no
configure: error: libPocoFoundation not found!
make: *** [debian/rules:18: config.status] Error 1
Scanning with direct libclamav
should be easier to setup for end users. Clamd support should be optional.
When started without any parameters:
$ src/clamfs
22:34:52 (clamfs.cxx:993) ClamFS v1.1.0-snapshoot (git-f8888fc-dirty)
22:34:52 (clamfs.cxx:994) Copyright (c) 2007-2019 Krzysztof Burghardt <[email protected]>
22:34:52 (clamfs.cxx:995) https://github.com/burghardt/clamfs
22:34:52 (clamfs.cxx:1001) ClamFS need to be invoked with one parameter - location of configuration file
22:34:52 (clamfs.cxx:1002) Example: src/clamfs /etc/clamfs/home.xml
But if argument was passed and it is not a file:
22:34:58 (clamfs.cxx:993) ClamFS v1.1.0-snapshoot (git-f8888fc-dirty)
22:34:58 (clamfs.cxx:994) Copyright (c) 2007-2019 Krzysztof Burghardt <[email protected]>
22:34:58 (clamfs.cxx:995) https://github.com/burghardt/clamfs
terminate called after throwing an instance of 'Poco::FileNotFoundException'
what(): File not found
fish: 'src/clamfs --help' zakończony sygnałem SIGABRT (Przerwij)
Feature Request form SourceForge:
Hi!
It would be nice if we can mount clamfs with option "noatime".
Currently it is always mounted with "relatime" and there's no possibility (?) to pass "noatime" to underlying mount.fuse.Regards,
mrupio
The port apparently cannot be built when fusefs-libs-2.x package is installed (both ports can coexist).
Reported by Alexey Dokuchaev in FreeBSD's Bugzilla.
As clamd already has support to run custom scripts.
<cache entries="16384" expire="10800000" /> <!-- time in ms, 3h -->
How big is one cache entry?
I do not want cache to have more then 256MB of my ram memory.
Hello,
I noticed that version 1.3.0 was tagged in the commits, but I can't find a release tarball. Is it possible to release the tarball so I can push the update downstream to Gentoo?
Thanks
Is it possible to have clamfs produce zenity alert when virus is found?
Can clamfs monitor multiple locations / roots, such as /tmp and /var/www/html/files?
Add support for lseek() operation which can be used to report holes in sparse files.
... to provide comprehensive documentation for ClamFS in one place.
On Fedora rawhide ClamFS FTBFS due to deprecated mallinfo() call.
stats.cxx: In member function ‘void clamfs::Stats::dumpMemoryStatsToLog()’:
stats.cxx:73:35: error: ‘mallinfo mallinfo()’ is deprecated [-Werror=deprecated-declarations]
73 | struct mallinfo mi = mallinfo();
| ^
In file included from stats.hxx:33,
from stats.cxx:25:
/usr/include/malloc.h:118:24: note: declared here
118 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED;
| ^~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:391: stats.o] Error 1
I have difficulties to get clamfs running properly, because I do not understand the flow of the program.
I think the problem is that I do not know what
<filesystem root= ... />
and <filesystem mountpoint= ... />
are needed for.
Maybe an example use case will help. In my case I want that all files that are written to (or read from (?)) the ~/Downloads folder are scanned. What would for this case be the proper values for <filesystem root= ... />
and <filesystem mountpoint= ... />
?
Thanks.
This need to be analysed and tested to make sure clamd restart won't make any issues to running instances of ClamFS.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.