Skip to content

TACACS_PLUS LOCAL Authentication

Marc Huber edited this page Jun 26, 2026 · 7 revisions

This is a simple extension of the current TACACS+ standard.

Please note that this protocol extension is not a standard by itself. However, it suites RFC8907 with a minimum of changes, and the spec below is just about 20 lines of text.

I grant the BCP78/BCP79 (or whatever is required) rights to the IETF and I'd appreciate if this approach would end up in an RfC.

tac_plus-ng fully supports TAC_PLUS_AUTHEN_TYPE_LOCAL, if compiled suitably.

-- Marc Huber Marc.Huber@web.de


TACACS+ LOCAL Authentication

The basic motivation behind this is that some vendors support local authentication on devices, for example based on X.509 certificates. Alas, this approach doesn't scale as it lacks centralized management.

The proposed solution to this issue is:

A new authen_type value is required to support verifying NAD-local authentication:

TAC_PLUS_AUTHEN_TYPE_LOCAL := 0x09 EDIT: set to 0xf3 in current tac_plus-ng source to avoid conflicts with any upcoming standard.

The "5.4.2. Common Authentication Flows" section of RFC8907 is augmented:

Local Login

action = TAC_PLUS_AUTHEN_LOGIN

authen_type = TAC_PLUS_AUTHEN_TYPE_LOCAL

minor_version = 0x1

The entire exchange MUST consist of a single START packet and a single REPLY. The START packet MUST contain a username. The REPLY from the daemon MUST be either a PASS, FAIL or ERROR. The daemon doesn't validate any user credentials. The only checking criteria is the username (as the user was already authenticated locally ba the Network Access Device), and the daemon may perform centralized permission checking or multi-factor authentication via MFA push.

Authorization and Accounting

For Authorization and Accounting, the authen_method

TAC_PLUS_AUTHEN_METH_LOCAL

MUST be used.


Actually, implementing this is more than straight forward and, well, would be a quick win.

Clone this wiki locally