c-icap-mods-sguardDB(8)
okay so this is the c-icap-mods-sguardDB(8) page from the System Manager's Manual, bestie β manual name folded in, vibes immaculate, and it's literally your little utility for making SquidGuard like databases. The energy is βsorted database, fast search, main character energyβ π
β¨
πΈ NAME πΈ
c-icap-mods-sguardDB β a simple utility to create SquidGuard like databases. That's the name and the whole assignment, no cap. π«Ά
β¨ SYNOPSIS β¨
c-icap-mods-sguardDB [ -h ] [ -d debug_level ] [ -db path ] [ -f
urls|domains ] [ -C ] [ -T bdb|lmdb ] [ -S max-size ] [ -u ] [ -s url ]
[ --dump ]
π DESCRIPTION π
The c-icap-mods-sguardDB utility can be used to create SquidGuard like databases which can be used with the url_check service. These SquidGuard like databases allow fast search of urls/sub-urls and domains/sub-domains in sorted (eg b-trees) databases. The utility can build and use lmdb or BerkeleyDB based databases. Honestly? Iconic. π₯
π OPTIONS π
-hβ show a help message. Short, sweet, slays.-d debug_levelβ the debug level to use. Pick your level, bestie.-db pathβ the database path.-f urls|domainsβ select the sub-database (urlsordomains) to operate.-Cβ create mode. It creates the database using thedomainsandurlsfiles that exist under the database directory.-T bdb|lmdbβ force BerkeleyDB or LMDB database type when building a new database. By default, if the utility is compiled with LMDB databases support, an LMDB database is built.-S max-sizeβ this option has effect only if an LMDB database is going to be built. Sets the maximum database size.-uβ update mode. It updates the database using thedomains.diffandurls.difffiles that exist under the database directory. Each diff file is made of lines starting from+to mark a url or a domain to be added to the database or-to mark a domain or url to be removed from the database.-s urlβ search in the database for a url or domain that matches the given url.--dumpβ dump the database to stdout.
π¦ EXAMPLES π¦
c-icap-mods-sguardDB -C -db /url/local/blacklists-toulouse/porn/
It builds the SquidGuard databases under the /url/local/blacklists-toulouse/porn directory using the urls and domains files that exist under the same directory. π
c-icap-mods-sguardDB -u -db /url/local/blacklists-toulouse/porn/
This updates the SquidGuard databases under the /url/local/blacklists-toulouse/porn directory using the urls.diff and domains.diff files that exist under the same directory. π«Ά
π SEE ALSO π
c-icap(8) β go read that one too, bestie.
π AUTHOR π
Tsantilas Christos
footer vibes, bestie: source/version c_icap_modules master-36a6688, page c-icap-mods-sguardDB(8) β the footer doesn't list a separate date, so I'm not inventing one πβ¨
π¦ where this page comes from
- epel 10: c-icap-modules 0.5.7-5.20250117git36a6688.el10_1 Β· LGPL-2.0-or-later
- epel 9: c-icap-modules 0.5.7-6.20250117git36a6688.el9 Β· LGPL-2.0-or-later
- fedora 43: c-icap-modules 0.5.7-6.20250117git36a6688.fc43 Β· LGPL-2.0-or-later
- fedora 44: c-icap-modules 0.5.7-8.20250117git36a6688.fc44 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms