]> git.ipfire.org Git - thirdparty/squid.git/blame - helpers/external_acl/session/ext_session_acl.8
Cleanup: Drop useless ; and whitespaces
[thirdparty/squid.git] / helpers / external_acl / session / ext_session_acl.8
CommitLineData
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 6Squid session tracking external acl helper.
83915266
AJ
7.PP
8Version 1.0
b0c8f295 9.
10.SH SYNOPSIS
c152a447 11.if !'po4a'hide' .B ext_session_acl
83915266
AJ
12.if !'po4a'hide' .B "[\-t"
13timeout
14.if !'po4a'hide' .B "] [\-b"
15database
16.if !'po4a'hide' .B "] [\-a]"
b0c8f295 17.
18.SH DESCRIPTION
c152a447 19.B ext_session_acl
83915266 20maintains a concept of sessions by monitoring requests
b0c8f295 21and timing out sessions if no requests have been seen for the idle timeout
22timer.
83915266 23.PP
b0c8f295 24Intended 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
30for 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
35to persistent database. If not specified the session details
b0c8f295 36will be kept in memory only and all sessions will reset each time
37Squid 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 41Active mode. In this mode sessions are started by evaluating an
92a0c1e0
AJ
42acl with the argument
43.B LOGIN
44, or terminated by the argument
45.B LOGOUT
83915266 46.PP
b0c8f295 47Without this flag the helper automatically starts the session after
48the first request.
49.
83915266
AJ
50.SH CONFIGURATION
51.PP
54f9bb13 52Configuration 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
63Then set up
64.B http://your.server.example.com/bannerpage
65to 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
68This program and documentation was written by
69.if !'po4a'hide' .I Henrik Nordstrom <henrik@henriknordstrom.net>
b0c8f295 70.
83915266
AJ
71.SH COPYRIGHT
72This program and documentation is copyright to the authors named above.
73.PP
c871f41e 74Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+).
83915266 75.
b0c8f295 76.SH QUESTIONS
8c2b74bc
AJ
77Questions 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
82Bug reports need to be made in English.
83See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report.
84.PP
8c2b74bc 85Report bugs or bug fixes using http://bugs.squid-cache.org/
83915266 86.PP
8c2b74bc 87Report serious security bugs to
b0c8f295 88.I Squid Bugs <squid-bugs@squid-cache.org>
83915266 89.PP
8c2b74bc
AJ
90Report 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
98The Squid FAQ wiki
99.if !'po4a'hide' http://wiki.squid-cache.org/SquidFaq
100.br
101The Squid Configuration Manual
102.if !'po4a'hide' http://www.squid-cache.org/Doc/config/