DOKK / manpages / debian 12 / libc-icap-mod-urlcheck / c-icap-mods-sguardDB.8.en
c-icap-mods-sguardDB(8) System Manager's Manual c-icap-mods-sguardDB(8)

c-icap-mods-sguardDB - simple utility to create Berkeley DB lookup tables

c-icap-mods-sguardDB [ -d debug_level ] [ -db path ] [ -C ] [ -u ] [ -s url ] [ -f urls|domains ] [ --dump ]

c-icap-mods-sguardDB utility can be used to create SquidGuard databases which can be used with url_check service.

The debug level to use
The database path
Create mode. Create the database using the "domains" and "urls" files exist under the database directory.
Update mode. Update the database using the "domains.diff" and "urls.diff" files exist under th database directory. Each diff file consist by lines starting from "+" to mark a url or a domain to be appended to the database or "-" to mark a domain or url to be removed from database.
Search in the database for a url or domain matches the given url
Select the sub-database (urls or domains) to operate.

It builds the domains.db and urls.db SquidGuard databases under the /url/local/blacklists-toulouse/porn directory using the urls and domains files exist under the same directory.
updates the SquidGuard databases under the /url/local/blacklists-toulouse/porn directory using the urls.diff and domains.diff files exist under the same directory.

c-icap(8)

Tsantilas Christos

c_icap_modules 0.5.5