]>
Commit | Line | Data |
---|---|---|
c152a447 | 1 | .if !'po4a'hide' .TH ext_session_acl 8 "19 March 2006" |
b0c8f295 | 2 | . |
3 | .SH NAME | |
c152a447 | 4 | .if !'po4a'hide' .B ext_session_acl |
83915266 | 5 | .if !'po4a'hide' \- |
c152a447 | 6 | Squid session tracking external acl helper. |
83915266 AJ |
7 | .PP |
8 | Version 1.0 | |
b0c8f295 | 9 | . |
10 | .SH SYNOPSIS | |
c152a447 | 11 | .if !'po4a'hide' .B ext_session_acl |
83915266 AJ |
12 | .if !'po4a'hide' .B "[\-t" |
13 | timeout | |
14 | .if !'po4a'hide' .B "] [\-b" | |
15 | database | |
16 | .if !'po4a'hide' .B "] [\-a]" | |
b0c8f295 | 17 | . |
18 | .SH DESCRIPTION | |
c152a447 | 19 | .B ext_session_acl |
83915266 | 20 | maintains a concept of sessions by monitoring requests |
b0c8f295 | 21 | and timing out sessions if no requests have been seen for the idle timeout |
22 | timer. | |
83915266 | 23 | .PP |
b0c8f295 | 24 | Intended use is for displaying "terms of use" pages, ad popups etc. |
25 | . | |
83915266 AJ |
26 | .SH OPTIONS |
27 | .if !'po4a'hide' .TP 12 | |
28 | .if !'po4a'hide' .B "\-t timeout" | |
29 | .B Timeout | |
30 | for any session. If not specified the default is 3600 seconds. | |
b0c8f295 | 31 | . |
83915266 AJ |
32 | .if !'po4a'hide' .TP |
33 | .if !'po4a'hide' .B "\-b path" | |
34 | .B Path | |
35 | to persistent database. If not specified the session details | |
b0c8f295 | 36 | will be kept in memory only and all sessions will reset each time |
37 | Squid restarts it's helpers (Squid restart or rotation of logs). | |
38 | . | |
83915266 AJ |
39 | .if !'po4a'hide' .TP |
40 | .if !'po4a'hide' .B \-a | |
b0c8f295 | 41 | Active mode. In this mode sessions are started by evaluating an |
92a0c1e0 AJ |
42 | acl with the argument |
43 | .B LOGIN | |
44 | , or terminated by the argument | |
45 | .B LOGOUT | |
83915266 | 46 | .PP |
b0c8f295 | 47 | Without this flag the helper automatically starts the session after |
48 | the first request. | |
49 | . | |
83915266 AJ |
50 | .SH CONFIGURATION |
51 | .PP | |
54f9bb13 | 52 | Configuration example using the default automatic mode |
83915266 | 53 | .if !'po4a'hide' .RS |
06fcded4 AJ |
54 | .if !'po4a'hide' .B external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/ext_session_acl |
55 | .if !'po4a'hide' .br | |
56 | .if !'po4a'hide' .B acl session external session | |
57 | .if !'po4a'hide' .br | |
58 | .if !'po4a'hide' .B http_access deny !session | |
59 | .if !'po4a'hide' .br | |
60 | .if !'po4a'hide' .B deny_info http://your.server.example.com/bannerpage?url=%s session | |
83915266 AJ |
61 | .if !'po4a'hide' .RE |
62 | .PP | |
06fcded4 AJ |
63 | Then set up |
64 | .B http://your.server.example.com/bannerpage | |
65 | to display a session startup page and then redirect the user back to the requested URL given in the url query parameter. | |
83915266 | 66 | . |
b0c8f295 | 67 | .SH AUTHOR |
8c2b74bc AJ |
68 | This program and documentation was written by |
69 | .if !'po4a'hide' .I Henrik Nordstrom <henrik@henriknordstrom.net> | |
b0c8f295 | 70 | . |
83915266 AJ |
71 | .SH COPYRIGHT |
72 | This program and documentation is copyright to the authors named above. | |
73 | .PP | |
c871f41e | 74 | Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+). |
83915266 | 75 | . |
b0c8f295 | 76 | .SH QUESTIONS |
8c2b74bc AJ |
77 | Questions on the usage of this program can be sent to the |
78 | .I Squid Users mailing list | |
79 | .if !'po4a'hide' <squid-users@squid-cache.org> | |
b0c8f295 | 80 | . |
81 | .SH REPORTING BUGS | |
c871f41e AJ |
82 | Bug reports need to be made in English. |
83 | See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report. | |
84 | .PP | |
8c2b74bc | 85 | Report bugs or bug fixes using http://bugs.squid-cache.org/ |
83915266 | 86 | .PP |
8c2b74bc | 87 | Report serious security bugs to |
b0c8f295 | 88 | .I Squid Bugs <squid-bugs@squid-cache.org> |
83915266 | 89 | .PP |
8c2b74bc AJ |
90 | Report ideas for new improvements to the |
91 | .I Squid Developers mailing list | |
92 | .if !'po4a'hide' <squid-dev@squid-cache.org> | |
b0c8f295 | 93 | . |
83915266 | 94 | .SH SEE ALSO |
6d5cbee6 AJ |
95 | .if !'po4a'hide' .BR squid "(8), " |
96 | .if !'po4a'hide' .BR GPL "(7), " | |
97 | .br | |
98 | The Squid FAQ wiki | |
99 | .if !'po4a'hide' http://wiki.squid-cache.org/SquidFaq | |
100 | .br | |
101 | The Squid Configuration Manual | |
102 | .if !'po4a'hide' http://www.squid-cache.org/Doc/config/ |