ext_time_quota_acl(8) System Manager's Manual ext_time_quota_acl(8) (NAME) ext_time_quota_acl - ACL 1.0 (SYNOPSIS) ext_time_quota_acl [-b database] [-d level] [-p pauselen] [-h] configfile (DESCRIPTION) ext_time_quota_acl . . ( ) . (OPTIONS) -b database . ext_time_quota.db . -p pauselen pauselen . . ( ) . -d ( debug_options ). -h . configfile . (CONFIGURATION) /etc/squid/time_quota . <<#>> . <> . : # user budget / period john 8h / 1d littlejoe 1h / 1d babymary 30m / 1w john littlejoe babymary . <> <> <> <> <> . <<0.5h>> . squid.conf external_acl_type . : # Ensure that users have a valid login. We need their username. acl users proxy_auth REQUIRED http_access deny !users # Define program and quota file external_acl_type time_quota ttl=60 children-max=1 %LOGIN /usr/libexec/ext_time_quota_acl /etc/squid/time_quota acl noquota src all acl time_quota external time_quota deny_info ERR_ACL_TIME_QUOTA_EXCEEDED noquota http_access deny !time_quota noquota . . users noquota . . %LOGIN external_acl_type . %EXT_TAG, %LOGIN, %EXT_USER, %SRC, %SRCEUI48 %SRCEUI64 . https://wiki.squid-cache.org/ConfigExamples . (LIMITATIONS) HTTP VOIP ICQ IRC FTP IMAP SMTP SSH . HTTP squid . ( ...) HTTP . . %LOGIN . ( pfSense ChilliSpot) %SRC %SRCEUI48 %SRCEUI64 802.11X . (IMPLEMENTATION) . OK ERR . ttl=N squid.conf TTL . TTL . . TTL . ( <<1w>> babymary) . pauselen ( -p ) . pauselen . . (FURTHER IDEAS) . ! . . . <> . (AUTHOR) Dr. Tilmann Bubeck . (COPYRIGHT) * Copyright (C) 1996-2026 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. . (GNU GPL) (GPLv2+) . (QUESTIONS) : Squid Users mailing list (REPORTING BUGS) . https://wiki.squid- cache.org/SquidFaq/BugReporting . https://bugs.squid- cache.org . Squid Bugs . : Squid Developers mailing list (SEE ALSO) squid(8), GPL(7), : https://wiki.squid-cache.org/SquidFaq : http://www.squid-cache.org/Doc/config 22 March 2011 ext_time_quota_acl(8)