DANSGUARDIAN(8)
π NAME π
okay bestie, welcome to the DANSGUARDIAN(8) page π
β the NAME line is DansGuardian2 - web content filter, and that's the whole vibe. periodt.
β¨ SYNOPSIS β¨
dansguardian [ -c config-file ] [ -v ] [ -h ] [ -N ] [ -q ] [ -Q ] [ -s ] [ -r ] [ -g ]
πΈ SUMMARY πΈ
okay so DansGuardian is a web content filtering proxy(1) for Linux, NetBSD, FreeBSD, OpenBSD, and Solaris, and it uses Squid(2) to do all the fetching. no cap, that's the setup.
it filters using multiple methods. the method lineup is literally:
- URL and domain filtering
- content phrase filtering
- PICS filtering
- MIME type filtering
- file extension filtering
- POST limiting
- content (AV) scanning
the content phrase filtering will check for pages that contain profanities and phrases often associated with pornography and other undesirable content. the POST filtering allows you to block or limit web uploads. the URL and domain filtering is able to handle huge lists and is significantly faster than squidGuard. iconic behavior, honestly.
content scanning enables downloaded content to be passed through ClamD, KAVD, any local program with machine-parseable console output, and any other AV scanner available as an ICAP server. yes bestie, all the scanner besties can come through π«Ά.
the filtering has configurable domain, user and source IP exception lists. SSL tunneling is supported; however, due to the encrypted nature of HTTPS requests, filtering is only supported on destination domain. that's a real caveat, so don't forget it.
the configurable logging produces a log in an easy to read format which has the option to only log the text-based pages, thus significantly reducing redundant information such as every image on a page. lowkey a glow-up for your logs π.
DansGuardian is under continuous development and so it is best to visit the web site for the latest information. fr fr, check the site.
tiny footnotes, iykyk:
(1)TechnicallyDansGuardianis more of a filtering pass-through than a true proxy - but don't let that worry you!(2)DansGuardianshould work with any proxy, not just Squid. For example, it is known to work withOops.
π¦ DOCUMENTATION π¦
for all further information including copyright, support, FAQ, docs, mailing list - please go to:
available documentation can be found at http://www.dansguardian.org/?page=documentation
the DansGuardian FAQ is at http://www.dansguardian.org/?page=faq
some useful HOWTOs that cover specific implimentations of DansGuardian and caching/filtering in general can be found at http://www.dansguardian.org/?page=howto
information about Debian specific changes and configuration can be found in /usr/share/doc/dansguardian/changelog.Debian.gz.
π OPTIONS π
-c config-fileβ use the given config-file.-vβ gives the version number and build options.-hβ output a short summary of available command line options.-Nβ do not go into the background.-qβ causesDansGuardianto kill any running copy.-Qβ kill any running copy AND start a new one with current options.-sβ shows the parent process PID and exits.-rβ closes all connections and reloads config files by issuing aHUP, but this does not reset themaxchildrenoption (amongst others).-gβ gently restarts by not closing all current connections; only reloads filter group config files. (Issues aUSR1)
π COPYRIGHT π
DansGuardian is copyright Daniel Barron 2011. π
daniel/jadeb.com
okay that's the page, bestie β the footer/source-version vibe is Daniel Barron, Oct 2008, DANSGUARDIAN(8), and yes it ate π
β¨
π¦ where this page comes from
- alpine 3.22: dansguardian-doc 2.12.0.3-r9 Β· GPL-2.0-only
- alpine 3.23: dansguardian-doc 2.12.0.3-r9 Β· GPL-2.0-only
- alpine 3.24: dansguardian-doc 2.12.0.3-r9 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms