]> git.ipfire.org Git - thirdparty/squid.git/blame - src/auth/digest/file/digest_file_auth.8
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / auth / digest / file / digest_file_auth.8
CommitLineData
54e8823b
AJ
1.if !'po4a'hide' .TH digest_file_auth 8
2.
2cd86812 3.SH NAME
d632afde 4digest_file_auth \- File based digest authentication helper for Squid.
2cd86812 5.PP
6cb2818d 6Version 1.1
54e8823b
AJ
7.
8.SH SYNOPSIS
9.if !'po4a'hide' .B digest_file_auth
10.if !'po4a'hide' .B [\-c]
11file
12.
13.SH DESCRIPTION
14.B digest_file_auth
15is an installed binary authentication program for Squid. It handles digest
16authentication protocol and authenticates against a text file backend.
17.
2b61af8e 18This program will automatically detect the existence of a concurrency channel-ID and adjust appropriately.
6cb2818d
AJ
19It may be used with any value 0 or above for the auth_param children concurrency= parameter.
20.
54e8823b
AJ
21.SH OPTIONS
22.if !'po4a'hide' .TP 12
23.if !'po4a'hide' .B \-c
24Accept digest hashed passwords rather than plaintext in the password file
25.
26.SH CONFIGURATION
27.PP
28Username database file format:
29.TP 6
30- comment lines are possible and should start with a '#';
31.
32.TP
33- empty or blank lines are possible;
34.
35.TP
36- plaintext entry format is username:password
37.
38.TP
39- HA1 entry format is username:realm:HA1
40.
41.PP
42To build a directory integrated backend, you need to be able to
43calculate the HA1 returned to squid. To avoid storing a plaintext
44password you can calculate
45.B MD5(username:realm:password)
46when the user changes their password, and store the tuple
47.B username:realm:HA1.
48then find the matching
49.B username:realm
50when squid asks for the HA1.
51.PP
52This implementation could be improved by using such a triple for
53the file format. However storing such a triple does little to
54improve security: If compromised the
55.B username:realm:HA1
56combination is "plaintext equivalent" - for the purposes of digest authentication
2b61af8e 57they allow the user access. Password synchronization is not tackled
54e8823b
AJ
58by digest - just preventing on the wire compromise.
59.
60.SH AUTHOR
61This program was written by
62.if !'po4a'hide' .I Robert Collins <robertc@squid-cache.org>
63.PP
64Based on prior work by
65.if !'po4a'hide' .I Arjan de Vet <Arjan.deVet@adv.iae.nl>
66.if !'po4a.hide' .I Jon Thackray <jrmt@uk.gdscorp.com>
67.PP
68This manual was written by
69.if !'po4a'hide' .I Robert Collins <robertc@squid-cache.org>
2da9607e 70.if !'po4a'hide' .I Amos Jeffries <amosjeffries@squid-cache.org>
54e8823b
AJ
71.
72.SH COPYRIGHT
ca02e0ec 73.PP
77b1029d 74 * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
ca02e0ec
AJ
75 *
76 * Squid software is distributed under GPLv2+ license and includes
77 * contributions from numerous individuals and organizations.
78 * Please see the COPYING and CONTRIBUTORS files for details.
79.PP
54e8823b
AJ
80This program and documentation is copyright to the authors named above.
81.PP
82Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+).
83.
84.SH QUESTIONS
85Questions on the usage of this program can be sent to the
86.I Squid Users mailing list
8311b837 87.if !'po4a'hide' <squid-users@lists.squid-cache.org>
54e8823b
AJ
88.
89.SH REPORTING BUGS
90Bug reports need to be made in English.
91See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report.
92.PP
93Report bugs or bug fixes using http://bugs.squid-cache.org/
94.PP
95Report serious security bugs to
8311b837 96.I Squid Bugs <squid-bugs@lists.squid-cache.org>
54e8823b
AJ
97.PP
98Report ideas for new improvements to the
99.I Squid Developers mailing list
8311b837 100.if !'po4a'hide' <squid-dev@lists.squid-cache.org>
54e8823b
AJ
101.
102.SH SEE ALSO
6d5cbee6
AJ
103.if !'po4a'hide' .BR squid "(8), "
104.if !'po4a'hide' .BR GPL "(7), "
54e8823b
AJ
105.br
106The Squid FAQ wiki
107.if !'po4a'hide' http://wiki.squid-cache.org/SquidFaq
108.br
109The Squid Configuration Manual
110.if !'po4a'hide' http://www.squid-cache.org/Doc/config/