1 .if !'po4a'hide' .TH ext_file_userip_acl 8
4 .if !'po4a'hide' .B ext_file_userip_acl
6 Restrict users to cetain IP addresses, using a text file backend.
11 .if !'po4a'hide' .B ext_file_userip_acl
12 .if !'po4a'hide' .B [\-dh] [\-f
17 .B ext_file_userip_acl
18 is an installed binary. An external helper for the Squid external acl scheme.
20 It works by reading a pair composed by an ip address and an username
21 on STDIN and matching it against a configuration file.
24 .if !'po4a'hide' .TP 12
25 .if !'po4a'hide' .B \-d
26 Write debug info to stderr.
29 .if !'po4a'hide' .B \-f file
35 .if !'po4a'hide' .B \-h
36 Display the binary help and command line syntax info using stderr.
42 configuration for the external ACL should be:
44 .if !'po4a'hide' .B external_acl_type type-name %SRC %LOGIN /path/to/ext_file_userip_acl -f /path/to/config.file
47 If the helper program finds a matching username/ip in the configuration file, it returns
49 , otherwise it returns
52 The configuration file format is as follows:
54 .if !'po4a'hide' ip_addr[/netmask] username|@group|ALL|NONE
59 is a dotted quad format IP address, the
61 must be in dotted quad format too.
63 When the second parameter is prefixed with an
65 , the program will lookup the
67 file entry for the specified username.
69 There are other two directives,
73 , which mean \"any user on this IP address may authenticate\" or \"no user on this ip address may authenticate\".
76 This program was written by
77 .if !'po4a'hide' .I Rodrigo Campos <rodrigo@geekbunker.org>
79 This manual was written by
80 .if !'po4a'hide' .I Rodrigo Campos <rodrigo@geekbunker.org>
81 .if !'po4a'hide' .I Amos Jeffries <amosjeffries@squid-cache.org>
84 This program and documentation is copyright to the authors named above.
86 Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+).
89 Questions on the usage of this program can be sent to the
90 .I Squid Users mailing list
91 .if !'po4a'hide' <squid-users@squid-cache.org>
94 Bug reports need to be made in English.
95 See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report.
97 Report bugs or bug fixes using http://bugs.squid-cache.org/
99 Report serious security bugs to
100 .I Squid Bugs <squid-bugs@squid-cache.org>
102 Report ideas for new improvements to the
103 .I Squid Developers mailing list
104 .if !'po4a'hide' <squid-dev@squid-cache.org>
107 .if !'po4a'hide' .BR squid "(8), "
108 .if !'po4a'hide' .BR GPL "(7), "
111 .if !'po4a'hide' http://wiki.squid-cache.org/SquidFaq
113 The Squid Configuration Manual
114 .if !'po4a'hide' http://www.squid-cache.org/Doc/config/