1##### THE DEFINITIONS IN THE FOLLOWING SECTION MUST MATCH THOSE IN CONSTANTS.H 2 3# Internal attributes 4 5$set default space=INTERNAL vendor=x 6 len_ofs=0 len_size=0 len_adj=0 7 val_ofs=0 val_size=0 val_type=String noenc=1 8 9# These are not used by the server core, but still present in constants.h 10# because they are used by binary modules that don't read the dictionary 11 12$add field 1 int val_type=Integer val_size=4 13$add field 2 ip val_type=IPAddr val_size=4 14$add field 3 date val_type=Date val_size=4 15$add field 4 str 16 17# Added by core to request list for each request 18 19$add field 10 Timestamp val_type=Date val_size=4 20$add field 11 Secret 21$add field 12 Log-Line 22$add field 13 Server-Pid val_type=Integer val_size=4 23$add field 14 Request-Number val_type=Integer val_size=4 24 25$add field 16 IP-Source val_type=IPAddr val_size=4 26$add field 17 IP-Dest val_type=IPAddr val_size=4 27$add field 18 UDP-Source val_type=Integer val_size=2 28$add field 19 UDP-Dest val_type=Integer val_size=2 29$add field 20 Source 30$add field 21 Dest 31 32# Parameters for the pseudo interfaces used in the configuration file 33 34$add field 25 addr val_type=IPAddr val_size=4 35$add field 26 port val_type=Integer val_size=2 36 37$add field 30 name 38$add field 31 prog 39$add field 32 sendattr 40$add field 33 recvattr 41$add field 34 flags val_type=Integer val_size=4 42$add field 35 timeout val_type=Integer val_size=2 43$add field 36 window val_type=Integer val_size=2 44$add field 37 jobticket 45$add field 38 pidattr 46 47# Named constants for interface flags 48 49$set default item=flags 50$add value 0 Binary 51$add value 0x010 Ascii 52$add value 0x020 Add-Tab 53$add value 0x040 Add-Spaces 54$add value 0x080 Add-Type 55$add value 0x100 Hex-Value 56$add value 0x200 Double-Backslash 57$add value 0x400 Named-Const 58$add value 0x800 Short-Attr 59 60# These are intended for binary modules that don't read the dictionary 61 62# TID is a transaction id, used to refer to transactions that run inside 63# modules which persist across multiple module calls. Used mainly as a 64# parameter, hence lower case, and often in combination with a 'pidattr' 65# attribute. 66 67$add field 50 transaction-id 68 69# Note that constants.h also holds several dictionary items from 70# dict.stdauth 71 72##### END OF DEFINITIONS THAT MUST MATCH CONSTANTS.H 73 74 75# The following attributes are not referenced in the code, but are useful in 76# the behaviour file when supporting legacy users files. 77 78$add field 60 auth-type val_type=Integer val_size=1 79$add field 61 clear-password 80$add field 62 md5-hex-password 81$add field 63 trusted-proxy val_type=Integer val_size=1 82$add field 64 strip-realm val_type=Integer val_size=1 83$add field 65 local-realm val_type=Integer val_size=1 84 85# These accounting ones are still in uppercase, even though they'll mostly 86# be added on the request list, because backends may expect them to be. 87 88$add field 70 Acct-Authenticator val_type=Integer val_size=1 89$add field 71 Record-Unique-Key 90$add field 72 Session-Key 91 92# Some named constants 93 94$set default item=auth-type 95$add value 0 Check-Password 96$add value 1 Reject 97$add value 2 Accept 98 99$set default item=Acct-Authenticator 100$add value 0 Mismatch 101$add value 1 Verified 102 103# This attribute is echoed by the RADIUS client in responses, even when a 104# timeout occurs. Allows you to match responses to requests unconditionally. 105# The radclient tool finds this attribute by name. 106 107$add field 80 Radclient-Query-Id 108 109# This attribute specifies target servers to radclient, in the format 110# n.n.n.n[:port]/secret 111 112$add field 81 Target-Server 113 114# This can be used to create a per instance random value in the configuration 115# file, for use as a MAC secret when protecting State or Class for the lifetime 116# of the current process, or the current configuration 117 118$add field 90 Server-Secret 119$add field 91 Process-Secret 120 121# Attributes related to the resource counting functionality implemented in 122# recent behaviour files 123 124$add field 110 Concurrent-Session-Count # this is the Nnd session 125$add field 111 Concurrent-Session-Limit # set in policy files 126 127# These attributes can be used as the 'pidattr' attribute in the module 128# interface. It's adviseable to define a separate attribute for each interface 129# that needs one, to avoid having to move them around and keep track of 130# separate instances. 131 132$add field 120 Pid-Sql val_type=Integer val_size=4 133$add field 121 Pid-Tls val_type=Integer val_size=4 134 135