]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
tacacs: Add Calix vendor dictionary
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 22 Feb 2023 21:38:33 +0000 (15:38 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 22 Feb 2023 21:38:48 +0000 (15:38 -0600)
share/dictionary/tacacs/dictionary
share/dictionary/tacacs/dictionary.calix [new file with mode: 0644]

index 3cee6ec997d079c8cb5e117365964fb90c9db1c9..1c2500eb709b2530a8dbabcb40d729ef8ca40378 100644 (file)
@@ -13,5 +13,6 @@ BEGIN-PROTOCOL TACACS
 
 $INCLUDE dictionary.freeradius.internal
 $INCLUDE dictionary.tacacs
+$INCLUDE dictionary.calix
 
 END-PROTOCOL TACACS
diff --git a/share/dictionary/tacacs/dictionary.calix b/share/dictionary/tacacs/dictionary.calix
new file mode 100644 (file)
index 0000000..f6bcffc
--- /dev/null
@@ -0,0 +1,46 @@
+VENDOR Calix  6321
+
+BEGIN-VENDOR Calix
+
+#
+# Authorization attributes
+#
+
+# Usually login
+DEFINE service         string
+
+# Which privileges to assign to the user
+DEFINE roles           string
+
+# Unknown
+DEFINE allow-permission        string
+
+# Unknown
+DEFINE deny-permission string
+
+#
+# Accounting attributes
+#
+# When command execution or the session started
+DEFINE start_time      date
+
+# When command execution or the session stopped
+DEFINE stop_time       date
+
+# Seems to be a unique ID assigned to the user's session
+# Allows for multiple commands to be correlated within a login session
+DEFINE task_id         uint32
+
+# Only seen CLI_CMD so far, there are likely others
+DEFINE action          string
+
+# The actual undecorated command the user issued, or the RPC call
+DEFINE cmd             string
+
+# User-Agent, i.e. how the user is connecting to the device
+DEFINE ua              string
+
+# Source port of the connection, usually a port in the ephemeral range
+DEFINE port            uint16
+
+END-VENDOR Calix