]> git.ipfire.org Git - thirdparty/squid.git/blame - helpers/external_acl/session/ext_session_acl.8
Use ptrdiff_t instead of int for mem_node data offset
[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
c152a447 54.if !'po4a'hide' external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/ext_session_acl
8c2b74bc 55.if !'po4a'hide' acl session external session
8c2b74bc 56.if !'po4a'hide' http_access deny !session
8c2b74bc 57.if !'po4a'hide' deny_info http://your.server.example.com/bannerpage?url=%s session
83915266
AJ
58.if !'po4a'hide' .RE
59.PP
8c2b74bc
AJ
60Then set up http://your.server.example.com/bannerpage to display a session startup
61page and then redirect the user back to the requested URL given in the url query parameter.
83915266 62.
b0c8f295 63.SH AUTHOR
8c2b74bc
AJ
64This program and documentation was written by
65.if !'po4a'hide' .I Henrik Nordstrom <henrik@henriknordstrom.net>
b0c8f295 66.
83915266
AJ
67.SH COPYRIGHT
68This program and documentation is copyright to the authors named above.
69.PP
c871f41e 70Distributed under the GNU General Public License (GNU GPL) version 2 or later (GPLv2+).
83915266 71.
b0c8f295 72.SH QUESTIONS
8c2b74bc
AJ
73Questions on the usage of this program can be sent to the
74.I Squid Users mailing list
75.if !'po4a'hide' <squid-users@squid-cache.org>
b0c8f295 76.
77.SH REPORTING BUGS
c871f41e
AJ
78Bug reports need to be made in English.
79See http://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report.
80.PP
8c2b74bc 81Report bugs or bug fixes using http://bugs.squid-cache.org/
83915266 82.PP
8c2b74bc 83Report serious security bugs to
b0c8f295 84.I Squid Bugs <squid-bugs@squid-cache.org>
83915266 85.PP
8c2b74bc
AJ
86Report ideas for new improvements to the
87.I Squid Developers mailing list
88.if !'po4a'hide' <squid-dev@squid-cache.org>
b0c8f295 89.
83915266 90.SH SEE ALSO
6d5cbee6
AJ
91.if !'po4a'hide' .BR squid "(8), "
92.if !'po4a'hide' .BR GPL "(7), "
93.br
94The Squid FAQ wiki
95.if !'po4a'hide' http://wiki.squid-cache.org/SquidFaq
96.br
97The Squid Configuration Manual
98.if !'po4a'hide' http://www.squid-cache.org/Doc/config/