logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

ext_sql_session_acl - SQL Database session lookup helper for Squid

Author

       This program and documentation was written by AmosJeffries<amosjeffries@squid-cache.org>

       Based  on  original  work  in DB_auth by Henrik Nordstrom <henrik@henriknordstrom.net> With assistance of
       Nishant Sharma <codemarauder@gmail.com>

Description

       Validates an HTTP requests access authorization with a session database.

       Taking an identity token to be validated (as determined by the external_acl_type format) it returns a
       username or tag associated with the identity token passed in.

       Common forms of identifiers are IP address, EUI (MAC) address, passwords, or UUID tokens.

       This program uses Squid concurrency support.

Name

        ext_sql_session_acl - SQL Database session lookup helper for Squid

Options

--dsn       Database DSN. Default "DBI:mysql:database=squid"

       --user      Database User

       --password  Database password

       --table     Database table. Default "passwd".

       --uidcol    Unique Session Identifier column. Default "id".

       --usercol   External ACL user= result column.

       --tagcol    External ACL tag= result column.

       --cond      Condition, defaults to enabled=1. Specify 1 or "" for no condition

       --persist   Keep a persistent database connection open between queries.

       --debug     Write debug info to stderr.

Questions

       Questions  on  the  usage  of  this  program  can   be   sent   to   the   SquidUsersmailinglist<squid-users@lists.squid-cache.org>

Reporting Bugs

       Bug  reports  need  to  be  made  in English.  See https://wiki.squid-cache.org/SquidFaq/BugReporting for
       details of what you need to include with your bug report.

       Report bugs or bug fixes using https://bugs.squid-cache.org/

       Report serious security bugs to SquidBugs<squid-bugs@lists.squid-cache.org>

       Report ideas for new improvements to the SquidDevelopersmailinglist<squid-dev@lists.squid-cache.org>

See Also

       squid (8), GPL (7),

       The Squid FAQ wiki https://wiki.squid-cache.org/SquidFaq

       The Squid Configuration Manual http://www.squid-cache.org/Doc/config/

perl v5.40.1                                       2025-05-20                             EXT_SQL_SESSION_ACL(8)

Synopsis

        ext_sql_session_acl [options]

See Also