START 7:47:58 prad_recv: Access-Request packet from host 172.16.1.1 port 42731, id=136, length=127 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" User-Password = "test" Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Framed-IP-Address = 172.16.1.102 Called-Station-Id = "172.16.1.1" Calling-Station-Id = "54:04:a6:01:cd:07" # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop [files] users: Matched entry alice at line 4 ++[files] returns ok rlm_counter: Entering module authorize code rlm_counter: Searching the database for key 'alice' rlm_counter: Could not find the requested key in the database. rlm_counter: Check item = 420, Count = 0 rlm_counter: res is greater than zero rlm_counter: (Check item - counter) is greater than zero rlm_counter: Authorized user alice, check_item=420, counter=0 rlm_counter: Sent Reply-Item for user alice, Type=Session-Timeout, value=420 ++[daily] returns ok rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[weekly] returns noop rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[monthly] returns noop rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[forever] returns noop rlm_checkval: Item Name: Calling-Station-Id, Value: 54:04:a6:01:cd:07 rlm_checkval: Could not find attribute named Calling-Station-Id in check pairs ++[checkval] returns notfound ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns updated Found Auth-Type = PAP # Executing group from file /usr/local/etc/raddb/sites-enabled/default +- entering group PAP {...} [pap] login attempt with password "test" [pap] Using clear text password "test" [pap] User authenticated successfully ++[pap] returns ok expand: -> Login OK: [alice] (from client cp port 2 cli 54:04:a6:01:cd:07) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default +- entering group post-auth {...} ++[exec] returns noop Sending Access-Accept of id 136 to 172.16.1.1 port 42731 Session-Timeout = 420 Finished request 0. Going to the next request Waking up in 4.9 seconds. rad_recv: Accounting-Request packet from host 172.16.1.1 port 15993, id=23, length=139 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" Acct-Status-Type = Start Acct-Authentic = RADIUS Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Acct-Session-Id = "d2cce1a73a657a14" Framed-IP-Address = 172.16.1.102 Called-Station-Id = "172.16.1.1" Calling-Station-Id = "54:04:a6:01:cd:07" # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default +- entering group preacct {...} ++[preprocess] returns ok expand: %{Acct-Session-Time} -> ... expanding second conditional expand: %{Acct-Delay-Time} -> ... expanding second conditional expand: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0} -> 1354117679 - 0 - 0 expand: %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}} -> 1354117679 ++[request] returns ok [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop ++[files] returns noop # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default +- entering group accounting {...} [detail] expand: %{Packet-Src-IP-Address} -> 172.16.1.1 [detail] expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/172.16.1.1/detail-20121128 [detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/172.16.1.1/detail-20121128 [detail] expand: %t -> Wed Nov 28 07:47:59 2012 ++[detail] returns ok rlm_counter: We only run on Accounting-Stop packets. ++[daily] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[weekly] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[monthly] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[forever] returns noop ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) ?? Evaluating (request:Acct-Status-Type == Stop) -> FALSE ?? Evaluating (request:Acct-Status-Type == Interim-Update) -> FALSE ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> FALSE ++[unix] returns ok [radutmp] expand: /var/log/radutmp -> /var/log/radutmp [radutmp] expand: %{User-Name} -> alice ++[radutmp] returns ok ++[exec] returns noop [attr_filter.accounting_response] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 12 ++[attr_filter.accounting_response] returns updated Sending Accounting-Response of id 23 to 172.16.1.1 port 15993 Finished request 1. Cleaning up request 1 ID 23 with timestamp +147 Going to the next request Waking up in 4.8 seconds. Cleaning up request 0 ID 136 with timestamp +146 Ready to process requests. ##################### rad_recv: Accounting-Request packet from host 172.16.1.1 port 37368, id=127, length=198 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" Acct-Status-Type = Stop Acct-Session-Time = 52 Acct-Authentic = RADIUS Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Acct-Session-Id = "d2cce1a73a657a14" Framed-IP-Address = 172.16.1.102 Called-Station-Id = "187.184.128.194" Calling-Station-Id = "54:04:a6:01:cd:07" Acct-Input-Packets = 1342 Acct-Input-Octets = 273335 Acct-Input-Gigawords = 0 Acct-Output-Packets = 1216 Acct-Output-Octets = 2371271 Acct-Output-Gigawords = 0 Acct-Session-Time = 52 Acct-Terminate-Cause = NAS-Request # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default +- entering group preacct {...} ++[preprocess] returns ok expand: %{Acct-Session-Time} -> 52 expand: %{Acct-Delay-Time} -> ... expanding second conditional expand: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0} -> 1354117730 - 52 - 0 expand: %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}} -> 1354117678 ++[request] returns ok [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop ++[files] returns noop # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default +- entering group accounting {...} [detail] expand: %{Packet-Src-IP-Address} -> 172.16.1.1 [detail] expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/172.16.1.1/detail-20121128 [detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/172.16.1.1/detail-20121128 [detail] expand: %t -> Wed Nov 28 07:48:50 2012 ++[detail] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Could not find the requested key in the database. rlm_counter: User=alice, New Counter=52. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[daily] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Could not find the requested key in the database. rlm_counter: User=alice, New Counter=52. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[weekly] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Could not find the requested key in the database. rlm_counter: User=alice, New Counter=52. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[monthly] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Could not find the requested key in the database. rlm_counter: User=alice, New Counter=52. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[forever] returns ok ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) ?? Evaluating (request:Acct-Status-Type == Stop) -> TRUE ?? Skipping (request:Acct-Status-Type == Interim-Update) ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE ++- entering if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {...} [datacounterdaily] expand: %{request:User-Name} -> alice [datacounterdaily] expand: %{request:Acct-Input-Octets} -> 273335 [datacounterdaily] expand: %{request:Acct-Output-Octets} -> 2371271 Exec-Program output: Exec-Program: returned: 0 +++[datacounterdaily] returns ok [datacounterweekly] expand: %{request:User-Name} -> alice [datacounterweekly] expand: %{request:Acct-Input-Octets} -> 273335 [datacounterweekly] expand: %{request:Acct-Output-Octets} -> 2371271 Exec-Program output: Exec-Program: returned: 0 +++[datacounterweekly] returns ok [datacountermonthly] expand: %{request:User-Name} -> alice [datacountermonthly] expand: %{request:Acct-Input-Octets} -> 273335 [datacountermonthly] expand: %{request:Acct-Output-Octets} -> 2371271 Exec-Program output: Exec-Program: returned: 0 +++[datacountermonthly] returns ok [datacounterforever] expand: %{request:User-Name} -> alice [datacounterforever] expand: %{request:Acct-Input-Octets} -> 273335 [datacounterforever] expand: %{request:Acct-Output-Octets} -> 2371271 Exec-Program output: Exec-Program: returned: 0 +++[datacounterforever] returns ok ++- if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) returns ok ++[unix] returns ok [radutmp] expand: /var/log/radutmp -> /var/log/radutmp [radutmp] expand: %{User-Name} -> alice ++[radutmp] returns ok ++[exec] returns noop [attr_filter.accounting_response] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 12 ++[attr_filter.accounting_response] returns updated Sending Accounting-Response of id 127 to 172.16.1.1 port 37368 Finished request 2. Cleaning up request 2 ID 127 with timestamp +198 Going to the next request Ready to process requests. rad_recv: Accounting-Request packet from host 172.16.1.1 port 14214, id=104, length=139 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" Acct-Status-Type = Start Acct-Authentic = RADIUS Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Acct-Session-Id = "d2cce1a73a657a14" Framed-IP-Address = 172.16.1.102 Called-Station-Id = "172.16.1.1" Calling-Station-Id = "54:04:a6:01:cd:07" # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default +- entering group preacct {...} ++[preprocess] returns ok expand: %{Acct-Session-Time} -> ... expanding second conditional expand: %{Acct-Delay-Time} -> ... expanding second conditional expand: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0} -> 1354117730 - 0 - 0 expand: %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}} -> 1354117730 ++[request] returns ok [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop ++[files] returns noop # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default +- entering group accounting {...} [detail] expand: %{Packet-Src-IP-Address} -> 172.16.1.1 [detail] expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/172.16.1.1/detail-20121128 [detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/172.16.1.1/detail-20121128 [detail] expand: %t -> Wed Nov 28 07:48:50 2012 ++[detail] returns ok rlm_counter: We only run on Accounting-Stop packets. ++[daily] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[weekly] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[monthly] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[forever] returns noop ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) ?? Evaluating (request:Acct-Status-Type == Stop) -> FALSE ?? Evaluating (request:Acct-Status-Type == Interim-Update) -> FALSE ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> FALSE ++[unix] returns ok [radutmp] expand: /var/log/radutmp -> /var/log/radutmp [radutmp] expand: %{User-Name} -> alice rlm_radutmp: Login entry for NAS cp port 2 wrong order ++[radutmp] returns ok ++[exec] returns noop [attr_filter.accounting_response] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 12 ++[attr_filter.accounting_response] returns updated Sending Accounting-Response of id 104 to 172.16.1.1 port 14214 Finished request 3. Cleaning up request 3 ID 104 with timestamp +198 Going to the next request Ready to process requests. rad_recv: Access-Request packet from host 172.16.1.1 port 43631, id=11, length=127 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" User-Password = "test" Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Framed-IP-Address = 172.16.1.102 Called-Station-Id = "172.16.1.1" Calling-Station-Id = "54:04:a6:01:cd:07" # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop [files] users: Matched entry alice at line 4 ++[files] returns ok rlm_counter: Entering module authorize code rlm_counter: Searching the database for key 'alice' rlm_counter: Key Found. rlm_counter: Check item = 420, Count = 52 rlm_counter: res is greater than zero rlm_counter: (Check item - counter) is greater than zero rlm_counter: Authorized user alice, check_item=420, counter=52 rlm_counter: Sent Reply-Item for user alice, Type=Session-Timeout, value=368 ++[daily] returns ok rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[weekly] returns noop rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[monthly] returns noop rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[forever] returns noop rlm_checkval: Item Name: Calling-Station-Id, Value: 54:04:a6:01:cd:07 rlm_checkval: Could not find attribute named Calling-Station-Id in check pairs ++[checkval] returns notfound ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns updated Found Auth-Type = PAP # Executing group from file /usr/local/etc/raddb/sites-enabled/default +- entering group PAP {...} [pap] login attempt with password "test" [pap] Using clear text password "test" [pap] User authenticated successfully ++[pap] returns ok expand: -> Login OK: [alice] (from client cp port 2 cli 54:04:a6:01:cd:07) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default +- entering group post-auth {...} ++[exec] returns noop Sending Access-Accept of id 11 to 172.16.1.1 port 43631 Session-Timeout = 368 Finished request 4. Going to the next request Waking up in 4.9 seconds. Cleaning up request 4 ID 11 with timestamp +198 Ready to process requests. ### ### rad_recv: Accounting-Request packet from host 172.16.1.1 port 2329, id=143, length=198 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" Acct-Status-Type = Stop Acct-Session-Time = 114 Acct-Authentic = RADIUS Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Acct-Session-Id = "d2cce1a73a657a14" Framed-IP-Address = 172.16.1.102 Called-Station-Id = "187.184.128.194" Calling-Station-Id = "54:04:a6:01:cd:07" Acct-Input-Packets = 3232 Acct-Input-Octets = 643222 Acct-Input-Gigawords = 0 Acct-Output-Packets = 2746 Acct-Output-Octets = 6104043 Acct-Output-Gigawords = 0 Acct-Session-Time = 114 Acct-Terminate-Cause = NAS-Request # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default +- entering group preacct {...} ++[preprocess] returns ok expand: %{Acct-Session-Time} -> 114 expand: %{Acct-Delay-Time} -> ... expanding second conditional expand: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0} -> 1354117792 - 114 - 0 expand: %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}} -> 1354117678 ++[request] returns ok [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop ++[files] returns noop # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default +- entering group accounting {...} [detail] expand: %{Packet-Src-IP-Address} -> 172.16.1.1 [detail] expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/172.16.1.1/detail-20121128 [detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/172.16.1.1/detail-20121128 [detail] expand: %t -> Wed Nov 28 07:49:52 2012 ++[detail] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=52. rlm_counter: User=alice, New Counter=166. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[daily] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=52. rlm_counter: User=alice, New Counter=166. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[weekly] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=52. rlm_counter: User=alice, New Counter=166. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[monthly] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=52. rlm_counter: User=alice, New Counter=166. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[forever] returns ok ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) ?? Evaluating (request:Acct-Status-Type == Stop) -> TRUE ?? Skipping (request:Acct-Status-Type == Interim-Update) ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE ++- entering if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {...} [datacounterdaily] expand: %{request:User-Name} -> alice [datacounterdaily] expand: %{request:Acct-Input-Octets} -> 643222 [datacounterdaily] expand: %{request:Acct-Output-Octets} -> 6104043 Exec-Program output: Exec-Program: returned: 0 +++[datacounterdaily] returns ok [datacounterweekly] expand: %{request:User-Name} -> alice [datacounterweekly] expand: %{request:Acct-Input-Octets} -> 643222 [datacounterweekly] expand: %{request:Acct-Output-Octets} -> 6104043 Exec-Program output: Exec-Program: returned: 0 +++[datacounterweekly] returns ok [datacountermonthly] expand: %{request:User-Name} -> alice [datacountermonthly] expand: %{request:Acct-Input-Octets} -> 643222 [datacountermonthly] expand: %{request:Acct-Output-Octets} -> 6104043 Exec-Program output: Exec-Program: returned: 0 +++[datacountermonthly] returns ok [datacounterforever] expand: %{request:User-Name} -> alice [datacounterforever] expand: %{request:Acct-Input-Octets} -> 643222 [datacounterforever] expand: %{request:Acct-Output-Octets} -> 6104043 Exec-Program output: Exec-Program: returned: 0 +++[datacounterforever] returns ok ++- if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) returns ok ++[unix] returns ok [radutmp] expand: /var/log/radutmp -> /var/log/radutmp [radutmp] expand: %{User-Name} -> alice rlm_radutmp: Logout for NAS cp port 2, but no Login record ++[radutmp] returns ok ++[exec] returns noop [attr_filter.accounting_response] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 12 ++[attr_filter.accounting_response] returns updated Sending Accounting-Response of id 143 to 172.16.1.1 port 2329 Finished request 5. Cleaning up request 5 ID 143 with timestamp +260 Going to the next request Ready to process requests. rad_recv: Accounting-Request packet from host 172.16.1.1 port 28171, id=131, length=139 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" Acct-Status-Type = Start Acct-Authentic = RADIUS Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Acct-Session-Id = "d2cce1a73a657a14" Framed-IP-Address = 172.16.1.102 Called-Station-Id = "172.16.1.1" Calling-Station-Id = "54:04:a6:01:cd:07" # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default +- entering group preacct {...} ++[preprocess] returns ok expand: %{Acct-Session-Time} -> ... expanding second conditional expand: %{Acct-Delay-Time} -> ... expanding second conditional expand: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0} -> 1354117792 - 0 - 0 expand: %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}} -> 1354117792 ++[request] returns ok [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop ++[files] returns noop # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default +- entering group accounting {...} [detail] expand: %{Packet-Src-IP-Address} -> 172.16.1.1 [detail] expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/172.16.1.1/detail-20121128 [detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/172.16.1.1/detail-20121128 [detail] expand: %t -> Wed Nov 28 07:49:52 2012 ++[detail] returns ok rlm_counter: We only run on Accounting-Stop packets. ++[daily] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[weekly] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[monthly] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[forever] returns noop ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) ?? Evaluating (request:Acct-Status-Type == Stop) -> FALSE ?? Evaluating (request:Acct-Status-Type == Interim-Update) -> FALSE ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> FALSE ++[unix] returns ok [radutmp] expand: /var/log/radutmp -> /var/log/radutmp [radutmp] expand: %{User-Name} -> alice ++[radutmp] returns ok ++[exec] returns noop [attr_filter.accounting_response] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 12 ++[attr_filter.accounting_response] returns updated Sending Accounting-Response of id 131 to 172.16.1.1 port 28171 Finished request 6. Cleaning up request 6 ID 131 with timestamp +260 Going to the next request Ready to process requests. rad_recv: Access-Request packet from host 172.16.1.1 port 13405, id=75, length=127 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" User-Password = "test" Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Framed-IP-Address = 172.16.1.102 Called-Station-Id = "172.16.1.1" Calling-Station-Id = "54:04:a6:01:cd:07" # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop [files] users: Matched entry alice at line 4 ++[files] returns ok rlm_counter: Entering module authorize code rlm_counter: Searching the database for key 'alice' rlm_counter: Key Found. rlm_counter: Check item = 420, Count = 166 rlm_counter: res is greater than zero rlm_counter: (Check item - counter) is greater than zero rlm_counter: Authorized user alice, check_item=420, counter=166 rlm_counter: Sent Reply-Item for user alice, Type=Session-Timeout, value=254 ++[daily] returns ok rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[weekly] returns noop rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[monthly] returns noop rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[forever] returns noop rlm_checkval: Item Name: Calling-Station-Id, Value: 54:04:a6:01:cd:07 rlm_checkval: Could not find attribute named Calling-Station-Id in check pairs ++[checkval] returns notfound ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns updated Found Auth-Type = PAP # Executing group from file /usr/local/etc/raddb/sites-enabled/default +- entering group PAP {...} [pap] login attempt with password "test" [pap] Using clear text password "test" [pap] User authenticated successfully ++[pap] returns ok expand: -> Login OK: [alice] (from client cp port 2 cli 54:04:a6:01:cd:07) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default +- entering group post-auth {...} ++[exec] returns noop Sending Access-Accept of id 75 to 172.16.1.1 port 13405 Session-Timeout = 254 Finished request 7. Going to the next request Waking up in 4.9 seconds. ###Cleaning up request 7 ID 75 with timestamp +260 Ready to process requests. #### ### ### rad_recv: Accounting-Request packet from host 172.16.1.1 port 37634, id=111, length=198 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" Acct-Status-Type = Stop Acct-Session-Time = 175 Acct-Authentic = RADIUS Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Acct-Session-Id = "d2cce1a73a657a14" Framed-IP-Address = 172.16.1.102 Called-Station-Id = "187.184.128.194" Calling-Station-Id = "54:04:a6:01:cd:07" Acct-Input-Packets = 4321 Acct-Input-Octets = 1067655 Acct-Input-Gigawords = 0 Acct-Output-Packets = 3753 Acct-Output-Octets = 10303302 Acct-Output-Gigawords = 0 Acct-Session-Time = 175 Acct-Terminate-Cause = NAS-Request # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default +- entering group preacct {...} ++[preprocess] returns ok expand: %{Acct-Session-Time} -> 175 expand: %{Acct-Delay-Time} -> ... expanding second conditional expand: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0} -> 1354117853 - 175 - 0 expand: %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}} -> 1354117678 ++[request] returns ok [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop ++[files] returns noop # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default +- entering group accounting {...} [detail] expand: %{Packet-Src-IP-Address} -> 172.16.1.1 [detail] expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/172.16.1.1/detail-20121128 [detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/172.16.1.1/detail-20121128 [detail] expand: %t -> Wed Nov 28 07:50:53 2012 ++[detail] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=166. rlm_counter: User=alice, New Counter=341. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[daily] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=166. rlm_counter: User=alice, New Counter=341. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[weekly] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=166. rlm_counter: User=alice, New Counter=341. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[monthly] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=166. rlm_counter: User=alice, New Counter=341. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[forever] returns ok ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) ?? Evaluating (request:Acct-Status-Type == Stop) -> TRUE ?? Skipping (request:Acct-Status-Type == Interim-Update) ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE ++- entering if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {...} [datacounterdaily] expand: %{request:User-Name} -> alice [datacounterdaily] expand: %{request:Acct-Input-Octets} -> 1067655 [datacounterdaily] expand: %{request:Acct-Output-Octets} -> 10303302 Exec-Program output: Exec-Program: returned: 0 +++[datacounterdaily] returns ok [datacounterweekly] expand: %{request:User-Name} -> alice [datacounterweekly] expand: %{request:Acct-Input-Octets} -> 1067655 [datacounterweekly] expand: %{request:Acct-Output-Octets} -> 10303302 Exec-Program output: Exec-Program: returned: 0 +++[datacounterweekly] returns ok [datacountermonthly] expand: %{request:User-Name} -> alice [datacountermonthly] expand: %{request:Acct-Input-Octets} -> 1067655 [datacountermonthly] expand: %{request:Acct-Output-Octets} -> 10303302 Exec-Program output: Exec-Program: returned: 0 +++[datacountermonthly] returns ok [datacounterforever] expand: %{request:User-Name} -> alice [datacounterforever] expand: %{request:Acct-Input-Octets} -> 1067655 [datacounterforever] expand: %{request:Acct-Output-Octets} -> 10303302 Exec-Program output: Exec-Program: returned: 0 +++[datacounterforever] returns ok ++- if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) returns ok ++[unix] returns ok [radutmp] expand: /var/log/radutmp -> /var/log/radutmp [radutmp] expand: %{User-Name} -> alice ++[radutmp] returns ok ++[exec] returns noop [attr_filter.accounting_response] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 12 ++[attr_filter.accounting_response] returns updated Sending Accounting-Response of id 111 to 172.16.1.1 port 37634 Finished request 8. Cleaning up request 8 ID 111 with timestamp +321 Going to the next request Ready to process requests. rad_recv: Accounting-Request packet from host 172.16.1.1 port 28985, id=104, length=139 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" Acct-Status-Type = Start Acct-Authentic = RADIUS Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Acct-Session-Id = "d2cce1a73a657a14" Framed-IP-Address = 172.16.1.102 Called-Station-Id = "172.16.1.1" Calling-Station-Id = "54:04:a6:01:cd:07" # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default +- entering group preacct {...} ++[preprocess] returns ok expand: %{Acct-Session-Time} -> ... expanding second conditional expand: %{Acct-Delay-Time} -> ... expanding second conditional expand: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0} -> 1354117854 - 0 - 0 expand: %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}} -> 1354117854 ++[request] returns ok [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop ++[files] returns noop # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default +- entering group accounting {...} [detail] expand: %{Packet-Src-IP-Address} -> 172.16.1.1 [detail] expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/172.16.1.1/detail-20121128 [detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/172.16.1.1/detail-20121128 [detail] expand: %t -> Wed Nov 28 07:50:54 2012 ++[detail] returns ok rlm_counter: We only run on Accounting-Stop packets. ++[daily] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[weekly] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[monthly] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[forever] returns noop ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) ?? Evaluating (request:Acct-Status-Type == Stop) -> FALSE ?? Evaluating (request:Acct-Status-Type == Interim-Update) -> FALSE ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> FALSE ++[unix] returns ok [radutmp] expand: /var/log/radutmp -> /var/log/radutmp [radutmp] expand: %{User-Name} -> alice rlm_radutmp: Login entry for NAS cp port 2 wrong order ++[radutmp] returns ok ++[exec] returns noop [attr_filter.accounting_response] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 12 ++[attr_filter.accounting_response] returns updated Sending Accounting-Response of id 104 to 172.16.1.1 port 28985 Finished request 9. Cleaning up request 9 ID 104 with timestamp +322 Going to the next request Ready to process requests. rad_recv: Access-Request packet from host 172.16.1.1 port 23549, id=172, length=127 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" User-Password = "test" Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Framed-IP-Address = 172.16.1.102 Called-Station-Id = "172.16.1.1" Calling-Station-Id = "54:04:a6:01:cd:07" # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop [files] users: Matched entry alice at line 4 ++[files] returns ok rlm_counter: Entering module authorize code rlm_counter: Searching the database for key 'alice' rlm_counter: Key Found. rlm_counter: Check item = 420, Count = 341 rlm_counter: res is greater than zero rlm_counter: (Check item - counter) is greater than zero rlm_counter: Authorized user alice, check_item=420, counter=341 rlm_counter: Sent Reply-Item for user alice, Type=Session-Timeout, value=79 ++[daily] returns ok rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[weekly] returns noop rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[monthly] returns noop rlm_counter: Entering module authorize code rlm_counter: Could not find Check item value pair ++[forever] returns noop rlm_checkval: Item Name: Calling-Station-Id, Value: 54:04:a6:01:cd:07 rlm_checkval: Could not find attribute named Calling-Station-Id in check pairs ++[checkval] returns notfound ++[expiration] returns noop ++[logintime] returns noop ++[pap] returns updated Found Auth-Type = PAP # Executing group from file /usr/local/etc/raddb/sites-enabled/default +- entering group PAP {...} [pap] login attempt with password "test" [pap] Using clear text password "test" [pap] User authenticated successfully ++[pap] returns ok expand: -> Login OK: [alice] (from client cp port 2 cli 54:04:a6:01:cd:07) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default +- entering group post-auth {...} ++[exec] returns noop Sending Access-Accept of id 172 to 172.16.1.1 port 23549 Session-Timeout = 79 Finished request 10. Going to the next request Waking up in 4.9 seconds. Cleaning up request 10 ID 172 with timestamp +322 Ready to process requests. ###4 [datacountermonthly] expand: %{request:Acct-Input-Octets} -> 1417004 [datacountermonthly] expand: %{request:Acct-Output-Octets} -> 12553245 Exec-Program output: Exec-Program: returned: 0 +++[datacountermonthly] returns ok [datacounterforever] expand: %{request:User-Name} -> alice [datacounterforever] expand: %{request:Acct-Input-Octets} -> 1417004 [datacounterforever] expand: %{request:Acct-Output-Octets} -> 12553245 Exec-Program output: Exec-Program: returned: 0 +++[datacounterforever] returns ok ++- if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) returns ok ++[unix] returns ok [radutmp] expand: /var/log/radutmp -> /var/log/radutmp [radutmp] expand: %{User-Name} -> alice rlm_radutmp: Logout for NAS cp port 2, but no Login record ++[radutmp] returns ok ++[exec] returns noop [attr_filter.accounting_response] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 12 ++[attr_filter.accounting_response] returns updated Sending Accounting-Response of id 227 to 172.16.1.1 port 11781 Finished request 11. Cleaning up request 11 ID 227 with timestamp +383 Going to the next request Ready to process requests. rad_recv: Accounting-Request packet from host 172.16.1.1 port 59486, id=109, length=139 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" Acct-Status-Type = Start Acct-Authentic = RADIUS Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Acct-Session-Id = "d2cce1a73a657a14" Framed-IP-Address = 172.16.1.102 Called-Station-Id = "172.16.1.1" Calling-Station-Id = "54:04:a6:01:cd:07" # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default +- entering group preacct {...} ++[preprocess] returns ok expand: %{Acct-Session-Time} -> ... expanding second conditional expand: %{Acct-Delay-Time} -> ... expanding second conditional expand: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0} -> 1354117915 - 0 - 0 expand: %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}} -> 1354117915 ++[request] returns ok [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop ++[files] returns noop # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default +- entering group accounting {...} [detail] expand: %{Packet-Src-IP-Address} -> 172.16.1.1 [detail] expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/172.16.1.1/detail-20121128 [detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/172.16.1.1/detail-20121128 [detail] expand: %t -> Wed Nov 28 07:51:55 2012 ++[detail] returns ok rlm_counter: We only run on Accounting-Stop packets. ++[daily] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[weekly] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[monthly] returns noop rlm_counter: We only run on Accounting-Stop packets. ++[forever] returns noop ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) ?? Evaluating (request:Acct-Status-Type == Stop) -> FALSE ?? Evaluating (request:Acct-Status-Type == Interim-Update) -> FALSE ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> FALSE ++[unix] returns ok [radutmp] expand: /var/log/radutmp -> /var/log/radutmp [radutmp] expand: %{User-Name} -> alice ++[radutmp] returns ok ++[exec] returns noop [attr_filter.accounting_response] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 12 ++[attr_filter.accounting_response] returns updated Sending Accounting-Response of id 109 to 172.16.1.1 port 59486 Finished request 12. Cleaning up request 12 ID 109 with timestamp +383 Going to the next request Ready to process requests. rad_recv: Access-Request packet from host 172.16.1.1 port 13183, id=21, length=127 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" User-Password = "test" Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Framed-IP-Address = 172.16.1.102 Called-Station-Id = "172.16.1.1" Calling-Station-Id = "54:04:a6:01:cd:07" # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default +- entering group authorize {...} ++[preprocess] returns ok ++[chap] returns noop ++[mschap] returns noop ++[digest] returns noop [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop [eap] No EAP-Message, not doing EAP ++[eap] returns noop [files] users: Matched entry alice at line 4 ++[files] returns ok rlm_counter: Entering module authorize code rlm_counter: Searching the database for key 'alice' rlm_counter: Key Found. rlm_counter: Check item = 420, Count = 578 rlm_counter: Rejected user alice, check_item=420, counter=578 ++[daily] returns reject expand: -> Invalid user (rlm_counter: Maximum daily usage time reached): [alice] (from client cp port 2 cli 54:04:a6:01:cd:07) Using Post-Auth-Type Reject # Executing group from file /usr/local/etc/raddb/sites-enabled/default +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 13 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reject for request 13 Sending Access-Reject of id 21 to 172.16.1.1 port 13183 Reply-Message = "Your maximum daily usage time has been reached" Waking up in 4.9 seconds. rad_recv: Accounting-Request packet from host 172.16.1.1 port 60198, id=142, length=198 NAS-IP-Address = 172.16.1.1 NAS-Identifier = "pfsense.localdomain" User-Name = "alice" Acct-Status-Type = Stop Acct-Session-Time = 238 Acct-Authentic = RADIUS Service-Type = Login-User NAS-Port-Type = Ethernet NAS-Port = 2 Acct-Session-Id = "d2cce1a73a657a14" Framed-IP-Address = 172.16.1.102 Called-Station-Id = "187.184.128.194" Calling-Station-Id = "54:04:a6:01:cd:07" Acct-Input-Packets = 6066 Acct-Input-Octets = 1430176 Acct-Input-Gigawords = 0 Acct-Output-Packets = 5303 Acct-Output-Octets = 12642623 Acct-Output-Gigawords = 0 Acct-Session-Time = 238 Acct-Terminate-Cause = User-Error # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default +- entering group preacct {...} ++[preprocess] returns ok expand: %{Acct-Session-Time} -> 238 expand: %{Acct-Delay-Time} -> ... expanding second conditional expand: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0} -> 1354117916 - 238 - 0 expand: %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}} -> 1354117678 ++[request] returns ok [suffix] No '@' in User-Name = "alice", skipping NULL due to config. ++[suffix] returns noop [ntdomain] No '\' in User-Name = "alice", skipping NULL due to config. ++[ntdomain] returns noop ++[files] returns noop # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default +- entering group accounting {...} [detail] expand: %{Packet-Src-IP-Address} -> 172.16.1.1 [detail] expand: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d -> /var/log/radacct/172.16.1.1/detail-20121128 [detail] /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/172.16.1.1/detail-20121128 [detail] expand: %t -> Wed Nov 28 07:51:56 2012 ++[detail] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=578. rlm_counter: User=alice, New Counter=816. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[daily] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=578. rlm_counter: User=alice, New Counter=816. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[weekly] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=578. rlm_counter: User=alice, New Counter=816. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[monthly] returns ok rlm_counter: Searching the database for key 'alice' rlm_counter: Key found. rlm_counter: Counter Unique ID = '' rlm_counter: User=alice, Counter=578. rlm_counter: User=alice, New Counter=816. rlm_counter: Storing new value in database. rlm_counter: New value stored successfully. ++[forever] returns ok ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) ?? Evaluating (request:Acct-Status-Type == Stop) -> TRUE ?? Skipping (request:Acct-Status-Type == Interim-Update) ++? if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE ++- entering if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {...} [datacounterdaily] expand: %{request:User-Name} -> alice [datacounterdaily] expand: %{request:Acct-Input-Octets} -> 1430176 [datacounterdaily] expand: %{request:Acct-Output-Octets} -> 12642623 Exec-Program output: Exec-Program: returned: 0 +++[datacounterdaily] returns ok [datacounterweekly] expand: %{request:User-Name} -> alice [datacounterweekly] expand: %{request:Acct-Input-Octets} -> 1430176 [datacounterweekly] expand: %{request:Acct-Output-Octets} -> 12642623 Exec-Program output: Exec-Program: returned: 0 +++[datacounterweekly] returns ok [datacountermonthly] expand: %{request:User-Name} -> alice [datacountermonthly] expand: %{request:Acct-Input-Octets} -> 1430176 [datacountermonthly] expand: %{request:Acct-Output-Octets} -> 12642623 Exec-Program output: Exec-Program: returned: 0 +++[datacountermonthly] returns ok [datacounterforever] expand: %{request:User-Name} -> alice [datacounterforever] expand: %{request:Acct-Input-Octets} -> 1430176 [datacounterforever] expand: %{request:Acct-Output-Octets} -> 12642623 Exec-Program output: Exec-Program: returned: 0 +++[datacounterforever] returns ok ++- if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) returns ok ++[unix] returns ok [radutmp] expand: /var/log/radutmp -> /var/log/radutmp [radutmp] expand: %{User-Name} -> alice ++[radutmp] returns ok ++[exec] returns noop [attr_filter.accounting_response] expand: %{User-Name} -> alice attr_filter: Matched entry DEFAULT at line 12 ++[attr_filter.accounting_response] returns updated Sending Accounting-Response of id 142 to 172.16.1.1 port 60198 Finished request 14. Cleaning up request 14 ID 142 with timestamp +384 Going to the next request Waking up in 4.5 seconds. Cleaning up request 13 ID 21 with timestamp +383 Ready to process requests. end date 7:53AM User data: "alice" Cleartext-Password := "test", Max-Daily-Session := 420