sfic is a (very) simple filesystem integrity checker. It is based on concepts from
yafic, another simple
file integrity checking tool. If you are looking for a simple, full-featured file integrity checker,
you probably want yafic.
sfic was written to address special situations when dealing with a RAM-based Linux system, such as
a LEAF-based router.
The tdb library is used to maintain databases of file
- No configuration files.
Everything (including the list of files to scan) is listed on the command line.
- Files can be added or deleted from an existing database.
It allows some files in the database to differ from the current state of the filesystem.
- It tracks all attributes. permissions/mode, inode, number
of links, user id, group id, size, access time, creation time, modification time, and sha-256 hash.
- It can compare the contents of two databases. A user-specified mask determines
which of the above attributes are used to flag a change.
- It can list database contents. A user-specified mask determines
the output format of any database.
- It is small. The program compiles to less than 60KBytes.
sfic is licenced under the terms of the GNU General Public License. The sha-256 implementation
is copyright (C) 2003 Christophe Devine and is also licensed under the terms of the GPL.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.