attribute-name = value
User-Password = fred User-Password="fred" User-Password = "fred",Service-Type = Framed-User Reply-Message="this, has commas, and quotes\" in it" Tunnel-Server-Endpoint = "\000191.165.126.240 fr:20"
<Handler>
clause. For more information, see
Section 3.31. <Handler attribute=value,attribute=value, ....>.User-Password = {crypt}1xMKc0GIVUNbE
User-Password = $1$cTpht$Obu9PLSMst1TDou.mN5bk0
User-Password = $5$cTpht$i4ihNcS7lC1orrwWu/IfHrhxdDIkjBu095szYO4AucD User-Password = $6$cTpht$Z2pSYxleRWK8IrsynFzHcrnPlpUhA7N9AM/ 8O8se885W45WHyJ2K6bXsygHI46.cjqgl2hucmKtX1shWTL1zU1
User-Password = {SHA}MQF6ciZl5K/OWGlQ9ClEptMx2r8= User-Password = {SSHA}k1qAjger6rE9fhCrig+QPZ/HTrJhYWE=
goodies/sha.pl
and
goodies/ssha.pl
for a utility to generate
hashes.
User-Password = {SHA256}0M/C5TGbgs3HGjOHPoJsk9fuETY/iskcT6Oiz80ihuU= User-Password = {SSHA256}abN9UTbhi3evQvdk7uYNML+UMZn8/BnWdxJUApQ0NzGkLQTd User-Password ={SHA384}QoAkviNtBCtNyjN+yAkEEL6ChjtUVFKDTKHrIlx/ YqIHrDG7Tx2eJhbBPKAX0mo5 User-Password = {SSHA384}DLZqetLxS6JPok1QcugKji0U8lxt6Zq7SYoGoK5JRVeeOqCuGHwxXf 1ZYGLg8pXqgms3jw== User-Password = {SHA512}NWbDPDXFm6JYe6wqgVJs8z6gkoER7Z4WFqpD/ P+8P10H4FjICJjNKGCVt1h61e3TUR/ZQ/19d0Ox3tckJiAm8w== User-Password = {SSHA512}u+34y2JyCKoVRty0ADABlzhETpPv1HnShr2427qjsn7tgSoOaP8cHB J95GT28ENlA7vySsjBVOMiuPqk2qgPvJOV4IM=
User-Password = "{MD5}570a90bfbf8c7eab5dc5d4e26832d5b1"
User-Password = "{MD5}qP0OV/oViFka8YbFMWEWeg=="
User-Password = "{rcrypt}nYXkJKLrxm/e3RfU0aT7w4al"
User-Password = \ "{digest-md5-hex}884663db69c36190cf4c05c068a1a303"
User-Password = "{mysql}0569ef75321b8fed"
{NS-MTAMD5} b6b49e37d494a09bfde663033274bc83cd1bf318fa32c5866166a7edcb1 e1c87
User-Password =\ "sha1$a1976$065f52b49153328da76e13c2b462b860a70eb78b" User-Password = "md5$a1976$e67d1ca20e9c28321b86e34076cc48ab"
User-Password = {dechpwd}3|1234|85ad61e72a41dec4
mkntpwd
program.
User-Password = {nthash}DCB8E94AC7D0AADC8A81D9C895ACE5F4
pwdencrypt()
function. Passwords encrypted with
pwdencrypt()
are case insensitive. Requires
Digest::SHA module. Note that the encrypted password produced by
pwdencrypt()
is a 46 octet binary string. Radiator
recognises the encrypted password as either 46 octets of binary or 92
octets of ASCII Hex characters. You can use the MS SQL ‘+’ string
concatenation operator to prepend the ‘{mssql}’ to the encrypted
password, e.g.
select '{mssql}' + password, ..... from ..... User-Password = {mssql}01003A54FC73501798169BEC84C05CA0D2FBB70009C2556313DA7959 C1A798ECD34514694A13D29ED57BE9CBE5DA
User-Password = {clear}fred
goodies/pbkdf2.pl
for
the format details. Requires
MIME::Base64
.
User-Password = {PBKDF2}HMACSHA1: 9000:h9Pwh4tcu0w=:iN9vitCZ1mqBKEu21dlc0RW2tlc=
User-Password = {OSC-pw-hook}.......
User-Password = fred User-Password = "password with spaces"
Encrypted-Password = "{SHA}k1qAjger6rE9fhCrig+QPZ/HTrJhYWE=" Encrypted-Password = "{crypt}1xMKc0GIVUNbE" # This next one is also crypt: Encrypted-Password = "1xMKc0GIVUNbE" Encrypted-Password = "$1$cTpht$Obu9PLSMst1TDou.mN5bk0" Encrypted-Password = "1xMKc0GIVUNbE" Encrypted-Password = "{MD5}qP0OV/oViFka8YbFMWEWeg==" Encrypted-Password = "{MD5}570a90bfbf8c7eab5dc5d4e26832d5b1" Encrypted-Password = "{dechpwd}3|1234|85ad61e72a41dec4" Encrypted-Password = "{nthash}DCB8E94AC7D0AADC8A81D9C895ACE5F4" # This next one is also nthash: Encrypted-Password = DCB8E94AC7D0AADC8A81D9C895ACE5F4 Encrypted-Password = {mssql}01003A54FC73501798169BEC84C05CA0D2FBB70009C2556313DA7959 C1A798ECD34514694A13D29ED57BE9CBE5DA
# Unix Crypt: Encrypted-Password = 1xMKc0GIVUNbE # Hex encoded NT Hashed password Encrypted-Password = DCB8E94AC7D0AADC8A81D9C895ACE5F4
Realm = open.com.au
<Handler ExistsInRequest = EAP-Message> # All EAP messages are handled here </Handler> <Handler ExistsInRequest = OSC-Rate-Limit-Day|OSC-Rate-Limit-Night> # Handler is selected when one or the both are present </Handler>
Expiration = Jan 02 1999 23:30:00 Expiration = 1999-01-02 23:30:00 Expiration = 02/01/99 23:30:00 # Unix epoch seconds (seconds since midnight, Jan 1 1970): Expiration = 915280200
ValidFrom Jan 02 1999 23:30:00
DEFAULT Auth-Type = System
username Auth-Type = Reject
username Auth-Type = "Reject:you did not pay your bill"
DEFAULT Auth-Type=System, Group=staticip, Auth-Type=statics
Group
depends on the type
of module that is doing the authentication. For UNIX and SYSTEM, it means
whether the user is a member of the group as defined by the group file
(usually /etc/group/
). <AuthBy
SYSTEM>
supports both numeric and symbolic group names.
<AuthBy SQL>
, it runs and uses the
result of the GroupMembershipQuery
if defined. For
more information, see Section 3.41.19. GroupMembershipQuery.<AuthBy LDAP2>
, it requires
GroupSearchFilter
and related options to be defined.
For more information, see Section 3.47.15. GroupSearchFilter.Group = wheel
Group
, but
succeeds if the user is in any of the space separated group
names.GroupList = "wheel dialupusers nocstaff"
goodies/authorize-group1.cfg
and
goodies/authorize-group2.cfg
.Block-Logon-From = 9:00 am, Block-Logon-To = 5.00 pm
DEFAULT Prefix = P, Auth-Type = System Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 255.255.255.254, Framed-MTU = 1500 DEFAULT Prefix = S, Auth-Type = System Service-Type = Framed-User, Framed-Protocol = SLIP, Framed-IP-Address = 255.255.255.254, Framed-Compression = None
DEFAULT Suffix = .ppp, Auth-Type = System Service-Type = Framed-User, Framed-Protocol = PPP, Framed-IP-Address = 255.255.255.254, Framed-MTU = 1500 DEFAULT Suffix = .slip, Auth-Type = System Service-Type = Framed-User, Framed-Protocol = SLIP, Framed-IP-Address = 255.255.255.254, Framed-Compression = None
Time = "MoTuWe0800-1400,Wk2200-0400" Time = "Al1800-0600,Wk1000-1330"
Simultaneous-Use = 1
Connect-Rate = 28800
NAS-Address-Port-List %D/portlist
<Client nas1.open.com.au> .... </Client> <Client nas2.open.com.au> .... </Client> <Client DEFAULT> .... </Client> # This user can only log in through nas2.open.com.au: username1 Password=fred,Client-Id=nas2.open.com.au # And this one only through NASs other than nas1 and nas2 username2 Password=jim,Client-Id=DEFAULT
# Several NASs at pop1 <Client nas1.open.com.au> IdenticalClients 1.1.1.1,1.1.1.2,1.1.1.3 Identifier pop1 ... </Client> # Several NASs at pop2 <Client nas2.open.com.au> IdenticalClients 2.1.1.1,2.1.1.2,2.1.1.3 Identifier pop2 .... </Client> # This user can only log in at NASs in pop1 username1 Password=fred,Client-Identifier=pop1 # And this one only through NASs in pop2 username2 Password=jim,Client-Identifier=pop2
<Client xxx> NasType Livingston .... </Client> <Client yyy> NasType Ascend .... </Client> # This is can only log in through xxx, since it has a NasType # of Livingston username Password=fred,NasType=Livingston
Access-Request
Accounting-Request
Status-Server
is handled differently; it's not
available as a Request-Type
check item. This type of
check item is mostly useful in Handlers for selecting special handling for
particular request types:<Handler Request-Type=Access-Request> # Accounting wont be handled here, only access requests </Handler>
<AuthBy LDAP2> Host uniform AuthDN cn=Administrator,cn=Users,dc=open,dc=com,dc=au AuthPasswordadmin BaseDN ou=csx users,dc=open,dc=com,dc=au ServerChecksPassword UsernameAttr sAMAccountName AuthAttrDef logonHours,MS-Login-Hours,check </AuthBy>
Tunnel-Type=1:L2F, Tunnel-Client-Endpoint=1:xyz, Tunnel-Password=1:1234
RecvFromAddress=203.63.154.29 RecvFromAddress=::1
<Handler RecvFromAddress=203.63.154.29> .... <Handler>
# Exact match RecvFromName=radserver.open.com.au # Regular expression: RecvFromName=/.*\.open\.com\.au/
<Handler RecvFromName=radsec.open.com.au> .... <Handler>
# Exact match RecvName=radserver.open.com.au # Regular expression: RecvName=/.*\.open\.com\.au
<Handler RecvName=radsec.open.com.au> .... <Handler>
RecvAddress=203.63.154.29 RecvAddress=::1
<Handler RecvAddress=203.63.154.29> .... <Handler>
RecvPort=1812 RecvPort=/164./
AuthPort 1645,1812 <Handler RecvPort=1812> .... <Handler>
# In the config file: DefineFormattedGlobalVar system mysystem # in a users file: username Password=fred,GlobalVar:system=mysystem
# This will set up one of 2 different user profiles, depending # on the value of the pseudo-attribute Profile, which was set in # and earlier AuthBy: DEFAULT Reply:Profile=premium Session-Timeout=1000000 DEFAULT Reply:Profile=cheap Session-Timeout=1000
<Handler DiaRequest:Auth-Application-Id=NASREQ>
<Handler DiaRequest:Disconnect-Cause=CREDIT_CONTROL>
NAS-IP-Address = 203.63.200.5 Calling-Station-Id = 121284
Calling-Station-Id = 121284|122882
Calling-Station-Id = /9598098(1|2|3|4)/ NAS-Port = /^\d\z/
Class = /myclass/i
Service-Type = /^(?!Framed-User)/
User-Name = /[^a-zA-Z0-9]/
Framed-Protocol = PPP, Framed-IP-Netmask = 255.255.255.255, Framed-Routing = None, Framed-MTU = 1500, Framed-Compression = Van-Jacobson-TCP-IP
Framed-Group = 1
Ascend-Send-Secret = mysecret
Tunnel-Password = 1:yourtunnelpassword
MS-CHAP-MPPE-Keys = mymppekey
MS-MPPE-Send-Key = mysendkey
MS-MPPE-Recv-Key = myrecvkey
Fall-Through = yes
Session-Timeout=6300
Session-Timeout="until 0600"
fred Password=jim, Time="Wk1000-1700" Session-Timeout="until Time"
fred Password=jim, ValidTo="2003-01-01" Session-Timeout="until ValidTo"
Exec-Program="/usr/local/bin/sendgreeting %u"
Exec-Program="/usr/local/bin/myslowprogram %u &"
ip dir action [dstip n.n.n.n/nn] [srcip n.n.n.n/nn] [proto [dstport cmp port] [srcport cmp port] [est]]
dir
is IN
or
OUT
, case insensitiveaction
is FORWARD
or
DROP
. Case insensitiveproto
is a protocol name, such as
ip
, icmp
, tcp
,
lower casecmp
is a port comparison operator like
<
, =
, >
or !=
port
is a defined port name or integer
port number, such as ftp-data
,
telnet
, smtp
, lower caseAscend-Data-Filter = "ip in forward icmp" Ascend-Data-Filter = "ip in forward dstip 1.2.3.4/24 tcp" Ascend-Data-Filter = "ip in forward dstip 195.174.219.30 tcp dstport=20",
generic dir action offset mask value [cmp] [more]
dir
is IN
or
OUT
, case insensitiveaction
is FORWARD
or
DROP
, case insensitiveoffset
is an integer offsetcmp
is ==
or
!=
Ascend-Data-Filter = "generic in forward 0 0 0" Ascend-Data-Filter = "generic in drop 0 ffff 0080 != more"
ipx dir action [srcipxnet nnnn srcipxnode mmmmm [srcipxsoc cmp value]] [dstipxnet nnnn dstipxnode mmmmm [dstipxsoc cmp value]]
dir
is IN
or
OUT
, case insensitiveaction
is FORWARD
or
DROP
, case insensitivecmp
is a comparison operator like
<
, =
, >
or !=
Ascend-Call-Filter = "ipx in forward srcipxnet 1 srcipxnode 0x11223344aabb srcipxsoc > abcd dstipxnet 5678 dstipxnode 0xaabbccddee00 dstipxsoc > 1234"
Framed-Protocol = PPP, Framed-IP-Netmask = 255.255.255.0, Framed-Routing = None,Framed-MTU = 1500, Framed-Compression = Van-Jacobson-TCP-IP
Framed-Protocol = PPP Framed-Protocol = 1 Framed-Protocol = 0x01