--- /dev/null
+# -*- text -*-
+# Copyright (C) 2015 The FreeRADIUS Server project and contributors
+##############################################################################
+#
+# DHCP dictionary.
+#
+# http://www.iana.org/assignments/bootp-dhcp-parameters
+#
+# Also http://www.networksorcery.com/enp/protocol/bootp/options.htm
+#
+# http://www.bind9.net/rfc-dhcp
+#
+# $Id$
+#
+##############################################################################
+
+#
+#
+# The vendor codes are 2 octets, because we need 256 numbers
+# for the base DHCP options, PLUS a few for the DHCP headers,
+# which aren't in option format.
+#
+# On top of that, a number of options are really TLV's.
+# We need to be able to understand them, too.
+#
+PROTOCOL DHCPv4 2
+BEGIN-PROTOCOL DHCPv4
+
+# Fixme should be broken out into separate RFCs
+$INCLUDE dictionary.rfc2131
+
+END-PROTOCOL DHCPv4
# Copyright (C) 2015 The FreeRADIUS Server project and contributors
##############################################################################
#
-# DHCP to RADIUS gateway dictionary.
+# DHCP dictionary.
#
# http://www.iana.org/assignments/bootp-dhcp-parameters
#
##############################################################################
#
-
-# This is really Apollo's number, but since they're out of business,
-# I don't think they'll be needing this.
-#
-# HP owns the Apollo assets, but let's not worry about that.
#
# The vendor codes are 2 octets, because we need 256 numbers
# for the base DHCP options, PLUS a few for the DHCP headers,
# On top of that, a number of options are really TLV's.
# We need to be able to understand them, too.
#
-VENDOR DHCP 54
-
-BEGIN-VENDOR DHCP
-
-FLAGS internal
+FLAGS internal
ATTRIBUTE DHCP-Opcode 256 byte
VALUE DHCP-Opcode Client-Message 1
ATTRIBUTE DHCP-Overload 52 byte
ATTRIBUTE DHCP-Message-Type 53 byte
+VALUE DHCP-Message-Type DHCP-Do-Not-Respond 0
VALUE DHCP-Message-Type DHCP-Discover 1
VALUE DHCP-Message-Type DHCP-Offer 2
VALUE DHCP-Message-Type DHCP-Request 3
VALUE DHCP-Message-Type DHCP-Bulk-Lease-Query 14
VALUE DHCP-Message-Type DHCP-Lease-Query-Done 15
-VALUE DHCP-Message-Type DHCP-Do-Not-Respond 255
-
ATTRIBUTE DHCP-DHCP-Server-Identifier 54 ipaddr
# Array of 1-byte numbers indicating which options the client
ATTRIBUTE DHCP-Ethernet-Interface 130 octets
ATTRIBUTE DHCP-Vendor-Discrimination-Str 130 octets
ATTRIBUTE DHCP-Remote-Stats-Svr-IP-Address 131 octets
-ATTRIBUTE DHCP-IEEE-802dot1Q-VLAN-ID 132 octets
-ATTRIBUTE DHCP-IEEE-802dot1P-L2-Priority 133 octets
+ATTRIBUTE DHCP-IEEE-802.1P-VLAN-ID 132 octets
+ATTRIBUTE DHCP-IEEE-802.1Q-L2-Priority 133 octets
ATTRIBUTE DHCP-Diffserv-Code-Point 134 octets
ATTRIBUTE DHCP-HTTP-Proxy 135 octets
VALUE DHCP-Parameter-Request-List DHCP-IEEE-802.1Q-L2-Priority 133
VALUE DHCP-Parameter-Request-List DHCP-Diffserv-Code-Point 134
VALUE DHCP-Parameter-Request-List DHCP-HTTP-Proxy 135
-
-END-VENDOR DHCP
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2015 The FreeRADIUS Server project and contributors
+##############################################################################
+#
+# DHCP dictionary.
+#
+# http://www.iana.org/assignments/bootp-dhcp-parameters
+#
+# Also http://www.networksorcery.com/enp/protocol/bootp/options.htm
+#
+# http://www.bind9.net/rfc-dhcp
+#
+# $Id$
+#
+##############################################################################
+
+#
+#
+# The vendor codes are 2 octets, because we need 256 numbers
+# for the base DHCP options, PLUS a few for the DHCP headers,
+# which aren't in option format.
+#
+# On top of that, a number of options are really TLV's.
+# We need to be able to understand them, too.
+#
+PROTOCOL DHCPv6 3
+BEGIN-PROTOCOL DHCPv6
+
+# Fixme should be broken out into separate RFCs
+$INCLUDE dictionary.dhcpv6
+
+END-PROTOCOL DHCPv6
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# Protocol dictionary for EAP-AKA
+#
+#
+PROTOCOL EAP-AKA 102
+BEGIN-PROTOCOL EAP-AKA
+
+$INCLDUE dictionary.freeradius
+$INCLUDE dictionary.rfc4187
+$INCLUDE dictionary.rfc5448
+$INCLUDE dictionary.rfc7458
+$INCLUDE dictionary.3gpp-ts24.139
+$INCLUDE dictionary.3gpp-ts24.302
+
+END-PROTOCOL EAP-AKA
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# EAP-AKA attributes defined by 3gpp-ts24.139
+#
+
+#
+# Skippable-Attributes
+#
+ATTRIBUTE EAP-AKA-RQSI-Ind 142 octets
+ATTRIBUTE EAP-AKA-RQSI-Res 143 octets
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# EAP-AKA attributes defined by 3gpp-ts24.302
+#
+
+#
+# Skippable-Attributes
+#
+ATTRIBUTE EAP-AKA-IPMS-Ind 137 octets
+ATTRIBUTE EAP-AKA-IPMS-Res 138 octets
+ATTRIBUTE EAP-AKA-Tust-Ind 139 octets
+ATTRIBUTE EAP-AKA-Short-Name-For-Network 140 octets
+ATTRIBUTE EAP-AKA-Full-Name-For-Network 141 octets
+
+ATTRIBUTE EAP-AKA-Twan-Conn-Mode 144 octets
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# Attributes needed by FreeRADIUS internally
+#
+
+#
+# Internal (Non-Protocol) attributes
+#
+FLAGS internal
+ATTRIBUTE EAP-AKA-Subtype 256 integer
+
+VALUE EAP-AKA-Subtype AKA-Challenge 1
+VALUE EAP-AKA-Subtype AKA-Authentication-Reject 2
+VALUE EAP-AKA-Subtype AKA-Synchronization-Failure 4
+VALUE EAP-AKA-Subtype AKA-Identity 5
+VALUE EAP-AKA-Subtype AKA-Notification 12
+VALUE EAP-AKA-Subtype AKA-Reauthentication 13
+VALUE EAP-AKA-Subtype AKA-Client-Error 14
+
+ATTRIBUTE EAP-AKA-HMAC 257 string
+ATTRIBUTE EAP-AKA-Key 258 octets
+ATTRIBUTE EAP-AKA-Extra 259 octets
+
+ATTRIBUTE EAP-AKA-XRES 260 octets
+ATTRIBUTE EAP-AKA-CK 261 octets
+ATTRIBUTE EAP-AKA-IK 262 octets
+ATTRIBUTE EAP-AKA-AUTHN 263 octets
ATTRIBUTE EAP-AKA-Fullauth-ID-Req 17 bool
ATTRIBUTE EAP-AKA-Client-Error-Code 22 short
-VALUE EAP-AKA-Client-Error-Code Unable-To-Process-Packet 0
+VALUE EAP-AKA-Client-Error-Code Unable-To-Process-Packet 0
+VALUE EAP-AKA-Client-Error-Code Unsupported-Version 1
+VALUE EAP-AKA-Client-Error-Code Insufficient-Challenges 2
+VALUE EAP-AKA-Client-Error-Code RANDS-Not-Fresh 3
ATTRIBUTE EAP-AKA-KDF-Input 23 string
ATTRIBUTE EAP-AKA-KDF 24 short
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# EAP-AKA attributes defined by rfc5448
+#
+
+#
+# Non-Skippable attributes
+#
+ATTRIBUTE EAP-AKA-KDF-Input 23 string
+ATTRIBUTE EAP-AKA-KDF 24 short
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# EAP-AKA attributes defined by rfc7458
+#
+
+#
+# Skippable-Attributes
+#
+ATTRIBUTE EAP-AKA-Virtual-Network-ID 145 octets
+ATTRIBUTE EAP-AKA-Virtual-Network-Req 146 octets
+ATTRIBUTE EAP-AKA-Connectivity-Type 147 octets
+ATTRIBUTE EAP-AKA-Handover-Indication 148 octets
+ATTRIBUTE EAP-AKA-Handover-Session-ID 149 octets
+ATTRIBUTE EAP-AKA-MN-Serial-ID 150 octets
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# Protocol dictionary for EAP-SIM
+#
+#
+PROTOCOL EAP-SIM 101
+BEGIN-PROTOCOL EAP-SIM
+
+$INCLDUE dictionary.freeradius
+$INCLUDE dictionary.rfc4187
+$INCLUDE dictionary.rfc5448
+$INCLUDE dictionary.rfc7458
+$INCLUDE dictionary.3gpp-ts24.139
+$INCLUDE dictionary.3gpp-ts24.302
+
+END-PROTOCOL EAP-SIM
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# EAP-SIM attributes defined by 3gpp-ts24.139
+#
+
+#
+# Skippable-Attributes
+#
+ATTRIBUTE EAP-SIM-RQSI-Ind 142 octets
+ATTRIBUTE EAP-SIM-RQSI-Res 143 octets
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# EAP-SIM attributes defined by 3gpp-ts24.302
+#
+
+#
+# Skippable-Attributes
+#
+ATTRIBUTE EAP-SIM-IPMS-Ind 137 octets
+ATTRIBUTE EAP-SIM-IPMS-Res 138 octets
+ATTRIBUTE EAP-SIM-Tust-Ind 139 octets
+ATTRIBUTE EAP-SIM-Short-Name-For-Network 140 octets
+ATTRIBUTE EAP-SIM-Full-Name-For-Network 141 octets
+
+ATTRIBUTE EAP-SIM-Twan-Conn-Mode 144 octets
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# Attributes needed by FreeRADIUS internally
+#
+
+#
+# Internal (Non-Protocol) attributes
+#
+FLAGS internal
+ATTRIBUTE EAP-SIM-Subtype 256 integer
+
+VALUE EAP-SIM-Subtype SIM-Start 10
+VALUE EAP-SIM-Subtype SIM-Challenge 11
+VALUE EAP-SIM-Subtype SIM-Notification 12
+VALUE EAP-SIM-Subtype SIM-Reauthentication 13
+VALUE EAP-SIM-Subtype SIM-Client-Error 14
+
+ATTRIBUTE EAP-SIM-HMAC 257 string
+ATTRIBUTE EAP-SIM-Key 258 octets
+ATTRIBUTE EAP-SIM-Extra 259 octets
+
+ATTRIBUTE EAP-SIM-SRES 1222 octets
+ATTRIBUTE EAP-SIM-KC 1223 octets
+ATTRIBUTE EAP-SIM-State 1224 integer
\ No newline at end of file
# Copyright (C) 2016 The FreeRADIUS Server project and contributors
##############################################################################
#
-# EAP-SIM Protocol attributes
+# EAP-SIM attributes defined by rfc4187
#
##############################################################################
+
#
# Non-Skippable attributes
#
ATTRIBUTE EAP-SIM-Any-ID-Req 13 bool
ATTRIBUTE EAP-SIM-Identity 14 string
ATTRIBUTE EAP-SIM-Version-List 15 short array
-
ATTRIBUTE EAP-SIM-Selected-Version 16 short
ATTRIBUTE EAP-SIM-Fullauth-ID-Req 17 bool
ATTRIBUTE EAP-SIM-Client-Error-Code 22 short
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# EAP-SIM attributes defined by rfc5448
+#
+
+#
+# Non-Skippable attributes
+#
+ATTRIBUTE EAP-SIM-KDF-Input 24 octets
+ATTRIBUTE EAP-SIM-KDF 25 octets
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# EAP-SIM attributes defined by rfc7458
+#
+
+#
+# Skippable-Attributes
+#
+ATTRIBUTE EAP-SIM-Virtual-Network-ID 145 octets
+ATTRIBUTE EAP-SIM-Virtual-Network-Req 146 octets
+ATTRIBUTE EAP-SIM-Connectivity-Type 147 octets
+ATTRIBUTE EAP-SIM-Handover-Indication 148 octets
+ATTRIBUTE EAP-SIM-Handover-Session-ID 149 octets
+ATTRIBUTE EAP-SIM-MN-Serial-ID 150 octets
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2018 The FreeRADIUS Server project and contributors
+##############################################################################
+#
+# $Id$
+#
+##############################################################################
+
+#
+#
+# The vendor codes are 2 octets, because we need 256 numbers
+# for the base DHCP options, PLUS a few for the DHCP headers,
+# which aren't in option format.
+#
+# On top of that, a number of options are really TLV's.
+# We need to be able to understand them, too.
+#
+PROTOCOL Ethernet 4
+BEGIN-PROTOCOL Ethernet
+
+$INCLUDE dictionary.ethernet
+
+END-PROTOCOL Ethernet
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# Master dictionary file
+#
+# $Id$
+#
+
+$INCLUDE dictionary.freeradius.internal
#
#
# Non-Protocol Attributes
-# These attributes are usedly by the server
+# These attributes are used internally by the server
#
# Fixme - Should be attribute 1 when this becomes a separate dictionary
# 7 = 1 (integer encoding)
#
+PROTOCOL RADIUS 1
+BEGIN-PROTOCOL RADIUS
+
#
# Include compatibility dictionary for older users file. Move
# this directive to the end of this file if you want to see the
$INCLUDE dictionary.f5
$INCLUDE dictionary.fdxtended
$INCLUDE dictionary.freeradius
-$INCLUDE dictionary.freeradius.snmp
$INCLUDE dictionary.freeswitch
$INCLUDE dictionary.fortinet
$INCLUDE dictionary.foundry
$INCLUDE dictionary.zte
$INCLUDE dictionary.zyxel
-#
-# This should be auto-loaded in the future.
-#
-$INCLUDE dictionary.arp
-$INCLUDE dictionary.vqp
-$INCLUDE dictionary.dhcpv4
-
-#
-# And finally the server internal attributes.
-# These are attributes which NEVER go into a RADIUS packet.
-#
-$INCLUDE dictionary.freeradius.internal
+END-PROTOCOL RADIUS
ATTRIBUTE Timetra-Home-Directory 2 string
ATTRIBUTE Timetra-Restrict-To-Home 3 integer
+
ATTRIBUTE Timetra-Profile 4 string
ATTRIBUTE Timetra-Default-Action 5 integer
ATTRIBUTE Dialback-No 19 string
ATTRIBUTE Dialback-Name 20 string
ATTRIBUTE Challenge-State 24 string
+
+ATTRIBUTE Framed-Compression 13 integer
VALUE Framed-Compression Van-Jacobsen-TCP-IP 1
VALUE Framed-Compression VJ-TCP-IP 1
+
+ATTRIBUTE Service-Type 6 integer
VALUE Service-Type Shell-User 6
-VALUE Auth-Type Unix 1
VALUE Service-Type Dialback-Login-User 3
VALUE Service-Type Dialback-Framed-User 4
VALUE Service-Type Dialout-Framed-User 5
#
# Prompt value should be 1 for echo, 0 for no echo, default 1.
#ATTRIBUTE Prompt 64 integer
-ATTRIBUTE Multi-Link-Flag 126 integer
ATTRIBUTE Char-Noecho 250 integer
#
# USR specific Integer Translations
#
+ATTRIBUTE Termination-Action 29 integer
VALUE Termination-Action Manage-Resources 2
+ATTRIBUTE Acct-Status-Type 40 integer
VALUE Acct-Status-Type Modem-Start 4
VALUE Acct-Status-Type Modem-Stop 5
VALUE Acct-Status-Type Cancel 6
+ATTRIBUTE Multi-Link-Flag 126 integer
VALUE Multi-Link-Flag True 1
VALUE Multi-Link-Flag False 0
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# The FreeRADIUS Vendor-Specific dictionary for SNMP operations.
+#
+# Version: $Id$
+#
+
+PROTOCOL SNMP 3 format=4
+BEGIN-PROTOCOL SNMP
+
+$INCLUDE dictionary.freeradius
+
+END-PROTOCOL SNMP
# Version: $Id$
#
-BEGIN-VENDOR FreeRADIUS format=Extended-Vendor-Specific-1
-
ATTRIBUTE FreeRADIUS-SNMP-Operation 10 byte
VALUE FreeRADIUS-SNMP-Operation ping 0
END-TLV Radius-Auth-Serv
END-TLV FreeRADIUS-Mib-2
-
-END-VENDOR FreeRADIUS
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2017 The FreeRADIUS Server project and contributors
+#
+# The FreeRADIUS Vendor-Specific dictionary for SNMP operations.
+#
+# Version: $Id$
+#
+
+PROTOCOL TACACS 5
+BEGIN-PROTOCOL TACACS
+
+$INCLUDE dictionary.tacacs
+
+END-PROTOCOL TACACS
# -*- text -*-
# Copyright (C) 2017 The FreeRADIUS Server project and contributors
-# Copyright 2017 Network RADIUS SARL <info@networkradius.com>
+# Copyright (C) 2017 Network RADIUS SARL <info@networkradius.com>
#
# Non Protocol Attributes used by FreeRADIUS
#
--- /dev/null
+# -*- text -*-
+# Copyright (C) 2016 The FreeRADIUS Server project and contributors
+#
+# The FreeRADIUS Vendor-Specific dictionary for SNMP operations.
+#
+# Version: $Id$
+#
+
+PROTOCOL VQP 6 format=2
+BEGIN-PROTOCOL VQP
+
+$INCLUDE dictionary.vqp
+
+END-PROTOCOL VQP
# We use 241-255 from the "reserved" space, which means that
# these tests won't affect real attributes
#
+ATTRIBUTE Unit-Root-241 241 tlv
ATTRIBUTE Unit-Integer 241.241 integer
ATTRIBUTE Unit-Octets 241.242 octets
ATTRIBUTE Unit-TLV 241.243 tlv
ATTRIBUTE Unit-TLV-Integer 241.243.1 integer
+ATTRIBUTE Unit-Root-246 246 tlv
ATTRIBUTE Unit-Long-Octets 246.241 octets
-BEGIN-Vendor FreeRADIUS format=Extended-Vendor-Specific-2
+ATTRIBUTE Extended-Attribute-1 241 extended
+ATTRIBUTE Extended-Attribute-2 242 extended
+
+ATTRIBUTE Extended-Vendor-Specific-1 241.26 evs
+ATTRIBUTE Extended-Vendor-Specific-2 242.26 evs
+
+VENDOR FreeRADIUS 1
+BEGIN-Vendor FreeRADIUS format=Extended-Vendor-Specific-1
ATTRIBUTE Unit-EVS-Integer 1 integer
ATTRIBUTE Unit-EVS-Octets 2 octets
END-Vendor FreeRADIUS
-BEGIN-Vendor FreeRADIUS format=Extended-Vendor-Specific-5
+BEGIN-Vendor FreeRADIUS format=Extended-Vendor-Specific-2
ATTRIBUTE Unit-EVS-5-Integer 1 integer
ATTRIBUTE Unit-EVS-5-Octets 2 octets