#
#	This is the local dictionary file which can be
#	edited by local administrators.  It will be loaded
#	AFTER the main dictionary files are loaded.
#
#	FreeRADIUS will automatically load the main dictionary files
#	from:
#
#		${prefix}/share/freeradius/dictionary
#
#	It is no longer necessary for this file to $INCLUDE
#	the main dictionaries.  However, if the $INCLUDE
#	line is here, nothing bad will happen.
#
#	Any new/changed attributes MUST be placed in this file.
#	The pre-defined dictionaries SHOULD NOT be edited.
#
#	See "man dictionary" for documentation on its format.
#
#	$Id: ad56be71fdfcbc8b577a93ce55a32e5c7865811d $
#

#
#	All local attributes and $INCLUDE's should go into
#	this file.
#

#	If you want to add entries to the dictionary file,
#	which are NOT going to be placed in a RADIUS packet,
#	add them to the 'dictionary.local' file.
#
#	The numbers you pick should be between 3000 and 4000.
#	These attributes will NOT go into a RADIUS packet.
#
#	If you want that, you will need to use VSAs.  This means
#	requesting allocation of a Private Enterprise Code from
#	http://iana.org.  We STRONGLY suggest doing that only if
#	you are a vendor of RADIUS equipment.
#
#	See RFC 6158 for more details.
#	http://ietf.org/rfc/rfc6158.txt
#

#
#	These attributes are examples
#
#ATTRIBUTE	My-Local-String		3000	string
#ATTRIBUTE	My-Local-IPAddr		3001	ipaddr
#ATTRIBUTE	My-Local-Integer	3002	integer

# MikroTik Attributes

VENDOR          Mikrotik        14988

BEGIN-VENDOR    Mikrotik

ATTRIBUTE       Mikrotik-Recv-Limit             1   integer
ATTRIBUTE       Mikrotik-Xmit-Limit             2   integer
ATTRIBUTE       Mikrotik-Group                  3   string
ATTRIBUTE       Mikrotik-Wireless-Forward       4   integer
ATTRIBUTE       Mikrotik-Wireless-Skip-Dot1x    5   integer
ATTRIBUTE       Mikrotik-Wireless-Enc-Algo      6   integer
ATTRIBUTE       Mikrotik-Wireless-Enc-Key       7   string
ATTRIBUTE       Mikrotik-Rate-Limit             8   string
ATTRIBUTE       Mikrotik-Realm                  9   string
ATTRIBUTE       Mikrotik-Host-IP                10  ipaddr
ATTRIBUTE       Mikrotik-Mark-Id                11  string
ATTRIBUTE       Mikrotik-Advertise-URL          12  string
ATTRIBUTE       Mikrotik-Advertise-Interval     13  integer
ATTRIBUTE       Mikrotik-Recv-Limit-Gigawords   14  integer
ATTRIBUTE       Mikrotik-Xmit-Limit-Gigawords   15  integer
ATTRIBUTE       Mikrotik-Wireless-PSK           16  string
ATTRIBUTE       Mikrotik-Total-Limit            17  integer
ATTRIBUTE       Mikrotik-Total-Limit-Gigawords  18  integer
ATTRIBUTE       Mikrotik-Address-List           19  string
ATTRIBUTE       Mikrotik-Wireless-MPKey         20  string
ATTRIBUTE       Mikrotik-Wireless-Comment       21  string
ATTRIBUTE       Mikrotik-Delegated-IPv6-Pool    22  string
ATTRIBUTE       Mikrotik_DHCP_Option_Set        23  string
ATTRIBUTE       Mikrotik_DHCP_Option_Param_STR1 24  string
ATTRIBUTE       Mikortik_DHCP_Option_Param_STR2 25  string
ATTRIBUTE       Mikrotik_Wireless_VLANID        26  integer
ATTRIBUTE       Mikrotik_Wireless_VLANIDtype    27  integer
ATTRIBUTE       Mikrotik_Wireless_Minsignal     28  string
ATTRIBUTE       Mikrotik_Wireless_Maxsignal     29  string

# MikroTik Values

VALUE           Mikrotik-Wireless-Enc-Algo            No-encryption                  0
VALUE           Mikrotik-Wireless-Enc-Algo            40-bit-WEP                     1
VALUE           Mikrotik-Wireless-Enc-Algo            104-bit-WEP                    2
VALUE           Mikrotik-Wireless-Enc-Algo            AES-CCM                        3
VALUE           Mikrotik-Wireless-Enc-Algo            TKIP                           4
VALUE           Mikrotik_Wireless_VLANIDtype          802.1q                         0
VALUE           Mikrotik_Wireless_VLANIDtype          802.1ad                        1

END-VENDOR      Mikrotik
