mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-22 22:43:35 +08:00
Updated FreeRadius Rest (markdown)
parent
b8fcf19f54
commit
23b71c8b79
1 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ rest {
|
|||
uri = "${..connect_uri}?action=authenticate"
|
||||
method = 'post'
|
||||
body = 'post'
|
||||
data = "username=%{urlquote:%{User-Name}}&password=%{urlquote:%{User-Password}}&macAddr=%{urlquote:%{Calling-Station-Id}}&nasip=%{urlquote:%{NAS-IP-Address}}"
|
||||
data = "username=%{urlquote:%{User-Name}}&password=%{urlquote:%{User-Password}}&CHAPchallenge=%{urlquote:%{CHAP-Challenge}}&CHAPassword=%{urlquote:%{CHAP-Password}}&realm=%{urlquote:%{Mikrotik-Realm}}&macAddr=%{urlquote:%{Calling-Station-Id}}&nasip=%{urlquote:%{NAS-IP-Address}}"
|
||||
tls = ${..tls}
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,7 @@ rest {
|
|||
uri = "${..connect_uri}?action=authorize"
|
||||
method = 'post'
|
||||
body = 'post'
|
||||
data = "username=%{urlquote:%{User-Name}}&password=%{urlquote:%{User-Password}}&macAddr=%{urlquote:%{Calling-Station-Id}}&nasip=%{urlquote:%{NAS-IP-Address}}"
|
||||
data = "username=%{urlquote:%{User-Name}}&password=%{urlquote:%{User-Password}}&CHAPchallenge=%{urlquote:%{CHAP-Challenge}}&CHAPassword=%{urlquote:%{CHAP-Password}}&realm=%{urlquote:%{Mikrotik-Realm}}&macAddr=%{urlquote:%{Calling-Station-Id}}&nasip=%{urlquote:%{NAS-IP-Address}}"
|
||||
tls = ${..tls}
|
||||
}
|
||||
|
||||
|
@ -69,7 +69,7 @@ rest {
|
|||
uri = "${..connect_uri}?action=accounting"
|
||||
method = 'post'
|
||||
body = 'post'
|
||||
data = "username=%{urlquote:%{User-Name}}&nasIpAddress=%{urlquote:%{NAS-IP-Address}}&nasid=%{urlquote:%{NAS-Identifier}}\
|
||||
data = "username=%{urlquote:%{User-Name}}&nasIpAddress=%{urlquote:%{NAS-IP-Address}}&realm=%{urlquote:%{Mikrotik-Realm}}&nasid=%{urlquote:%{NAS-Identifier}}\
|
||||
&acctSessionId=%{urlquote:%{Acct-Session-Id}}&macAddr=%{urlquote:%{Calling-Station-Id}}&acctSessionTime=%{urlquote:%{Acct-Session-Time}}\
|
||||
&acctInputOctets=%{urlquote:%{Acct-Input-Octets}}&acctOutputOctets=%{urlquote:%{Acct-Output-Octets}}\
|
||||
&acctInputGigawords=%{urlquote:%{Acct-Input-Gigawords}}&acctOutputGigawords=%{urlquote:%{Acct-Output-Gigawords}}\
|
||||
|
|
Loading…
Reference in a new issue