Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- libssl version mismatch. built: 1000214f linked: 100020ff
- FreeRADIUS Version 3.0.20
- Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
- There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
- PARTICULAR PURPOSE
- You may redistribute copies of FreeRADIUS under the terms of the
- GNU General Public License
- For more information about these matters, see the file named COPYRIGHT
- Starting - reading configuration files ...
- including dictionary file /usr/local/share/freeradius/dictionary
- including dictionary file /usr/local/share/freeradius/dictionary.dhcp
- including dictionary file /usr/local/share/freeradius/dictionary.vqp
- including dictionary file /usr/local/etc/raddb/dictionary
- including configuration file /usr/local/etc/raddb/radiusd.conf
- including configuration file /usr/local/etc/raddb/clients.conf
- including files in directory /usr/local/etc/raddb/mods-enabled/
- including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter
- including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap
- including configuration file /usr/local/etc/raddb/mods-enabled/chap
- including configuration file /usr/local/etc/raddb/mods-enabled/date
- including configuration file /usr/local/etc/raddb/mods-enabled/detail
- including configuration file /usr/local/etc/raddb/mods-enabled/detail.log
- including configuration file /usr/local/etc/raddb/mods-enabled/digest
- including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients
- including configuration file /usr/local/etc/raddb/mods-enabled/eap
- including configuration file /usr/local/etc/raddb/mods-enabled/echo
- including configuration file /usr/local/etc/raddb/mods-enabled/exec
- including configuration file /usr/local/etc/raddb/mods-enabled/expiration
- including configuration file /usr/local/etc/raddb/mods-enabled/expr
- including configuration file /usr/local/etc/raddb/mods-enabled/files
- including configuration file /usr/local/etc/raddb/mods-enabled/linelog
- including configuration file /usr/local/etc/raddb/mods-enabled/logintime
- including configuration file /usr/local/etc/raddb/mods-enabled/mschap
- including configuration file /usr/local/etc/raddb/mods-enabled/realm
- including configuration file /usr/local/etc/raddb/mods-enabled/pap
- including configuration file /usr/local/etc/raddb/mods-enabled/passwd
- including configuration file /usr/local/etc/raddb/mods-enabled/preprocess
- including configuration file /usr/local/etc/raddb/mods-enabled/radutmp
- including configuration file /usr/local/etc/raddb/mods-enabled/counter
- including configuration file /usr/local/etc/raddb/mods-enabled/replicate
- including configuration file /usr/local/etc/raddb/mods-enabled/soh
- including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp
- including configuration file /usr/local/etc/raddb/mods-enabled/unix
- including configuration file /usr/local/etc/raddb/mods-enabled/always
- including configuration file /usr/local/etc/raddb/mods-enabled/unpack
- including configuration file /usr/local/etc/raddb/mods-enabled/utf8
- including configuration file /usr/local/etc/raddb/mods-enabled/motp
- including configuration file /usr/local/etc/raddb/mods-enabled/googleauth
- including configuration file /usr/local/etc/raddb/mods-enabled/datacounter_acct
- including files in directory /usr/local/etc/raddb/policy.d/
- including configuration file /usr/local/etc/raddb/policy.d/accounting
- including configuration file /usr/local/etc/raddb/policy.d/canonicalization
- including configuration file /usr/local/etc/raddb/policy.d/control
- including configuration file /usr/local/etc/raddb/policy.d/cui
- including configuration file /usr/local/etc/raddb/policy.d/debug
- including configuration file /usr/local/etc/raddb/policy.d/dhcp
- including configuration file /usr/local/etc/raddb/policy.d/eap
- including configuration file /usr/local/etc/raddb/policy.d/filter
- including configuration file /usr/local/etc/raddb/policy.d/moonshot-targeted-ids
- including configuration file /usr/local/etc/raddb/policy.d/operator-name
- including configuration file /usr/local/etc/raddb/policy.d/rfc7542
- including configuration file /usr/local/etc/raddb/policy.d/abfab-tr
- including configuration file /usr/local/etc/raddb/policy.d/pfs_custom_policies
- including files in directory /usr/local/etc/raddb/sites-enabled/
- including configuration file /usr/local/etc/raddb/sites-enabled/default
- including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel-ttls
- including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel-peap
- main {
- security {
- allow_core_dumps = no
- }
- name = "radiusd"
- prefix = "/usr/local"
- localstatedir = "/var"
- logdir = "/var/log"
- run_dir = "/var/run"
- }
- main {
- name = "radiusd"
- prefix = "/usr/local"
- localstatedir = "/var"
- sbindir = "/usr/local/sbin"
- logdir = "/var/log"
- run_dir = "/var/run"
- libdir = "/usr/local/lib/freeradius-3.0.20"
- radacctdir = "/var/log/radacct"
- hostname_lookups = yes
- max_request_time = 30
- cleanup_delay = 5
- max_requests = 1024
- pidfile = "/var/run/radiusd.pid"
- checkrad = "/usr/local/sbin/checkrad"
- debug_level = 0
- proxy_requests = yes
- log {
- stripped_names = yes
- auth = yes
- auth_badpass = yes
- auth_goodpass = yes
- msg_badpass = ""
- msg_goodpass = ""
- colourise = yes
- msg_denied = "You are already logged in - access denied"
- }
- resources {
- }
- security {
- max_attributes = 200
- reject_delay = 1.000000
- status_server = no
- }
- }
- radiusd: #### Loading Realms and Home Servers ####
- radiusd: #### Loading Clients ####
- client captive_portal {
- ipaddr = 192.168.200.1
- require_message_authenticator = no
- secret = <<< secret >>>
- nas_type = "other"
- proto = "udp"
- limit {
- max_connections = 16
- lifetime = 0
- idle_timeout = 30
- }
- }
- Debugger not attached
- # Creating Auth-Type = mschap
- # Creating Auth-Type = digest
- # Creating Auth-Type = eap
- # Creating Auth-Type = PAP
- # Creating Auth-Type = CHAP
- # Creating Auth-Type = MS-CHAP
- # Creating Auth-Type = MOTP
- # Creating Auth-Type = GOOGLEAUTH
- # Creating Autz-Type = Status-Server
- # Creating Acct-Type = Status-Server
- radiusd: #### Instantiating modules ####
- modules {
- # Loaded module rlm_attr_filter
- # Loading module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
- attr_filter attr_filter.post-proxy {
- filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy"
- key = "%{Realm}"
- relaxed = no
- }
- # Loading module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
- attr_filter attr_filter.pre-proxy {
- filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy"
- key = "%{Realm}"
- relaxed = no
- }
- # Loading module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter
- attr_filter attr_filter.access_reject {
- filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject"
- key = "%{User-Name}"
- relaxed = no
- }
- # Loading module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter
- attr_filter attr_filter.access_challenge {
- filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge"
- key = "%{User-Name}"
- relaxed = no
- }
- # Loading module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter
- attr_filter attr_filter.accounting_response {
- filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response"
- key = "%{User-Name}"
- relaxed = no
- }
- # Loaded module rlm_cache
- # Loading module "cache_eap" from file /usr/local/etc/raddb/mods-enabled/cache_eap
- cache cache_eap {
- driver = "rlm_cache_rbtree"
- key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
- ttl = 15
- max_entries = 0
- epoch = 0
- add_stats = no
- }
- # Loaded module rlm_chap
- # Loading module "chap" from file /usr/local/etc/raddb/mods-enabled/chap
- # Loaded module rlm_date
- # Loading module "date" from file /usr/local/etc/raddb/mods-enabled/date
- date {
- format = "%b %e %Y %H:%M:%S %Z"
- utc = no
- }
- # Loading module "wispr2date" from file /usr/local/etc/raddb/mods-enabled/date
- date wispr2date {
- format = "%Y-%m-%dT%H:%M:%S"
- utc = no
- }
- # Loaded module rlm_detail
- # Loading module "detail" from file /usr/local/etc/raddb/mods-enabled/detail
- detail {
- filename = "/var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
- header = "%t"
- permissions = 384
- locking = no
- escape_filenames = no
- log_packet_header = no
- }
- # Loading module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
- detail auth_log {
- filename = "/var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
- header = "%t"
- permissions = 384
- locking = no
- escape_filenames = no
- log_packet_header = no
- }
- # Loading module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
- detail reply_log {
- filename = "/var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
- header = "%t"
- permissions = 384
- locking = no
- escape_filenames = no
- log_packet_header = no
- }
- # Loading module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
- detail pre_proxy_log {
- filename = "/var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
- header = "%t"
- permissions = 384
- locking = no
- escape_filenames = no
- log_packet_header = no
- }
- # Loading module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
- detail post_proxy_log {
- filename = "/var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
- header = "%t"
- permissions = 384
- locking = no
- escape_filenames = no
- log_packet_header = no
- }
- # Loaded module rlm_digest
- # Loading module "digest" from file /usr/local/etc/raddb/mods-enabled/digest
- # Loaded module rlm_dynamic_clients
- # Loading module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients
- # Loaded module rlm_eap
- # Loading module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
- eap {
- default_eap_type = "md5"
- timer_expire = 60
- ignore_unknown_eap_types = no
- cisco_accounting_username_bug = no
- max_sessions = 4096
- }
- # Loaded module rlm_exec
- # Loading module "echo" from file /usr/local/etc/raddb/mods-enabled/echo
- exec echo {
- wait = yes
- program = "/bin/echo %{User-Name}"
- input_pairs = "request"
- output_pairs = "reply"
- shell_escape = yes
- }
- # Loading module "exec" from file /usr/local/etc/raddb/mods-enabled/exec
- exec {
- wait = no
- input_pairs = "request"
- shell_escape = yes
- timeout = 10
- }
- # Loaded module rlm_expiration
- # Loading module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration
- # Loaded module rlm_expr
- # Loading module "expr" from file /usr/local/etc/raddb/mods-enabled/expr
- expr {
- safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
- }
- # Loaded module rlm_files
- # Loading module "files" from file /usr/local/etc/raddb/mods-enabled/files
- files {
- filename = "/usr/local/etc/raddb/mods-config/files/authorize"
- acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting"
- preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy"
- }
- # Loaded module rlm_linelog
- # Loading module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog
- linelog {
- filename = "/var/log/linelog"
- escape_filenames = no
- syslog_severity = "info"
- permissions = 384
- format = "This is a log message for %{User-Name}"
- reference = "messages.%{%{reply:Packet-Type}:-default}"
- }
- # Loading module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog
- linelog log_accounting {
- filename = "/var/log/linelog-accounting"
- escape_filenames = no
- syslog_severity = "info"
- permissions = 384
- format = ""
- reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
- }
- # Loaded module rlm_logintime
- # Loading module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime
- logintime {
- minimum_timeout = 60
- }
- # Loaded module rlm_mschap
- # Loading module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap
- mschap {
- use_mppe = yes
- require_encryption = no
- require_strong = no
- with_ntdomain_hack = yes
- passchange {
- }
- allow_retry = yes
- winbind_retry_with_normalised_username = no
- }
- # Loaded module rlm_realm
- # Loading module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
- realm IPASS {
- format = "prefix"
- delimiter = "/"
- ignore_default = no
- ignore_null = yes
- }
- # Loading module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm
- realm suffix {
- format = "suffix"
- delimiter = "@"
- ignore_default = no
- ignore_null = yes
- }
- # Loading module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm
- realm realmpercent {
- format = "suffix"
- delimiter = "%"
- ignore_default = no
- ignore_null = yes
- }
- # Loading module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm
- realm ntdomain {
- format = "prefix"
- delimiter = "\"
- ignore_default = no
- ignore_null = yes
- }
- # Loaded module rlm_pap
- # Loading module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
- pap {
- normalise = yes
- }
- # Loaded module rlm_passwd
- # Loading module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd
- passwd etc_passwd {
- filename = "/etc/passwd"
- format = "*User-Name:Crypt-Password:"
- delimiter = ":"
- ignore_nislike = no
- ignore_empty = yes
- allow_multiple_keys = no
- hash_size = 100
- }
- # Loaded module rlm_preprocess
- # Loading module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess
- preprocess {
- huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups"
- hints = "/usr/local/etc/raddb/mods-config/preprocess/hints"
- with_ascend_hack = no
- ascend_channels_per_line = 23
- with_ntdomain_hack = no
- with_specialix_jetstream_hack = no
- with_cisco_vsa_hack = no
- with_alvarion_vsa_hack = no
- }
- # Loaded module rlm_radutmp
- # Loading module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp
- radutmp {
- filename = "/var/log/radutmp"
- username = "%{User-Name}"
- case_sensitive = yes
- check_with_nas = yes
- permissions = 384
- caller_id = yes
- }
- # Loaded module rlm_counter
- # Loading module "daily" from file /usr/local/etc/raddb/mods-enabled/counter
- counter daily {
- filename = "/var/log/radacct/timecounter/db.daily"
- key = "User-Name"
- reset = "daily"
- count_attribute = "Acct-Session-Time"
- counter_name = "Daily-Session-Time"
- check_name = "Max-Daily-Session"
- reply_name = "Session-Timeout"
- cache_size = 5000
- }
- # Loading module "weekly" from file /usr/local/etc/raddb/mods-enabled/counter
- counter weekly {
- filename = "/var/log/radacct/timecounter/db.weekly"
- key = "User-Name"
- reset = "weekly"
- count_attribute = "Acct-Session-Time"
- counter_name = "Weekly-Session-Time"
- check_name = "Max-Weekly-Session"
- reply_name = "Session-Timeout"
- cache_size = 5000
- }
- # Loading module "monthly" from file /usr/local/etc/raddb/mods-enabled/counter
- counter monthly {
- filename = "/var/log/radacct/timecounter/db.monthly"
- key = "User-Name"
- reset = "monthly"
- count_attribute = "Acct-Session-Time"
- counter_name = "Monthly-Session-Time"
- check_name = "Max-Monthly-Session"
- reply_name = "Session-Timeout"
- cache_size = 5000
- }
- # Loading module "forever" from file /usr/local/etc/raddb/mods-enabled/counter
- counter forever {
- filename = "/var/log/radacct/timecounter/db.forever"
- key = "User-Name"
- reset = "never"
- count_attribute = "Acct-Session-Time"
- counter_name = "Forever-Session-Time"
- check_name = "Max-Forever-Session"
- reply_name = "Session-Timeout"
- cache_size = 5000
- }
- # Loaded module rlm_replicate
- # Loading module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate
- # Loaded module rlm_soh
- # Loading module "soh" from file /usr/local/etc/raddb/mods-enabled/soh
- soh {
- dhcp = yes
- }
- # Loading module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp
- radutmp sradutmp {
- filename = "/var/log/sradutmp"
- username = "%{User-Name}"
- case_sensitive = yes
- check_with_nas = yes
- permissions = 420
- caller_id = no
- }
- # Loaded module rlm_unix
- # Loading module "unix" from file /usr/local/etc/raddb/mods-enabled/unix
- unix {
- radwtmp = "/var/log/radwtmp"
- }
- Creating attribute Unix-Group
- # Loaded module rlm_always
- # Loading module "reject" from file /usr/local/etc/raddb/mods-enabled/always
- always reject {
- rcode = "reject"
- simulcount = 0
- mpp = no
- }
- # Loading module "fail" from file /usr/local/etc/raddb/mods-enabled/always
- always fail {
- rcode = "fail"
- simulcount = 0
- mpp = no
- }
- # Loading module "ok" from file /usr/local/etc/raddb/mods-enabled/always
- always ok {
- rcode = "ok"
- simulcount = 0
- mpp = no
- }
- # Loading module "handled" from file /usr/local/etc/raddb/mods-enabled/always
- always handled {
- rcode = "handled"
- simulcount = 0
- mpp = no
- }
- # Loading module "invalid" from file /usr/local/etc/raddb/mods-enabled/always
- always invalid {
- rcode = "invalid"
- simulcount = 0
- mpp = no
- }
- # Loading module "userlock" from file /usr/local/etc/raddb/mods-enabled/always
- always userlock {
- rcode = "userlock"
- simulcount = 0
- mpp = no
- }
- # Loading module "notfound" from file /usr/local/etc/raddb/mods-enabled/always
- always notfound {
- rcode = "notfound"
- simulcount = 0
- mpp = no
- }
- # Loading module "noop" from file /usr/local/etc/raddb/mods-enabled/always
- always noop {
- rcode = "noop"
- simulcount = 0
- mpp = no
- }
- # Loading module "updated" from file /usr/local/etc/raddb/mods-enabled/always
- always updated {
- rcode = "updated"
- simulcount = 0
- mpp = no
- }
- # Loaded module rlm_unpack
- # Loading module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack
- # Loaded module rlm_utf8
- # Loading module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8
- # Loading module "motp" from file /usr/local/etc/raddb/mods-enabled/motp
- exec motp {
- wait = yes
- program = "/usr/local/bin/bash /usr/local/etc/raddb/scripts/otpverify.sh %{request:User-Name} %{request:User-Password} %{reply:MOTP-Init-Secret} %{reply:MOTP-PIN} %{reply:MOTP-Offset}"
- shell_escape = yes
- }
- # Loading module "googleauth" from file /usr/local/etc/raddb/mods-enabled/googleauth
- exec googleauth {
- wait = yes
- program = "/usr/local/etc/raddb/scripts/googleauth.py %{request:User-Name} %{reply:MOTP-Init-Secret} %{reply:MOTP-PIN} %{request:User-Password}"
- shell_escape = yes
- }
- # Loading module "datacounterdaily" from file /usr/local/etc/raddb/mods-enabled/datacounter_acct
- exec datacounterdaily {
- wait = yes
- program = "/bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}"
- shell_escape = yes
- }
- # Loading module "datacounterweekly" from file /usr/local/etc/raddb/mods-enabled/datacounter_acct
- exec datacounterweekly {
- wait = yes
- program = "/bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}"
- shell_escape = yes
- }
- # Loading module "datacountermonthly" from file /usr/local/etc/raddb/mods-enabled/datacounter_acct
- exec datacountermonthly {
- wait = yes
- program = "/bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}"
- shell_escape = yes
- }
- # Loading module "datacounterforever" from file /usr/local/etc/raddb/mods-enabled/datacounter_acct
- exec datacounterforever {
- wait = yes
- program = "/bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}"
- shell_escape = yes
- }
- instantiate {
- # Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration
- # Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime
- # Instantiating module "daily" from file /usr/local/etc/raddb/mods-enabled/counter
- rlm_counter: Current Time: 1586901140 [2020-04-15 03:22:20], Next reset 1586975400 [2020-04-16 00:00:00]
- rlm_counter: add_defaults: Start
- rlm_counter: DEFAULT1 set to 1586975400
- rlm_counter: DEFAULT2 set to 1586901140
- rlm_counter: add_defaults: End
- # Instantiating module "weekly" from file /usr/local/etc/raddb/mods-enabled/counter
- rlm_counter: Current Time: 1586901140 [2020-04-15 03:22:20], Next reset 1587234600 [2020-04-19 00:00:00]
- rlm_counter: add_defaults: Start
- rlm_counter: DEFAULT1 set to 1587234600
- rlm_counter: DEFAULT2 set to 1586901140
- rlm_counter: add_defaults: End
- # Instantiating module "monthly" from file /usr/local/etc/raddb/mods-enabled/counter
- rlm_counter: Current Time: 1586901140 [2020-04-15 03:22:20], Next reset 1588271400 [2020-05-01 00:00:00]
- rlm_counter: add_defaults: Start
- rlm_counter: DEFAULT1 set to 1588271400
- rlm_counter: DEFAULT2 set to 1586901140
- rlm_counter: add_defaults: End
- # Instantiating module "forever" from file /usr/local/etc/raddb/mods-enabled/counter
- rlm_counter: Current Time: 1586901140 [2020-04-15 03:22:20], Next reset 0 [2020-04-15 03:00:00]
- rlm_counter: add_defaults: Start
- rlm_counter: DEFAULT1 set to 0
- rlm_counter: DEFAULT2 set to 1586901140
- rlm_counter: add_defaults: End
- }
- # Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
- reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy
- # Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
- reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy
- # Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter
- reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject
- # Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter
- reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge
- # Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter
- reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response
- # Instantiating module "cache_eap" from file /usr/local/etc/raddb/mods-enabled/cache_eap
- rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
- # Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail
- # Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
- rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
- # Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
- # Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
- # Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
- # Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
- # Linked to sub-module rlm_eap_md5
- # Linked to sub-module rlm_eap_leap
- # Linked to sub-module rlm_eap_gtc
- gtc {
- challenge = "Password: "
- auth_type = "PAP"
- }
- # Linked to sub-module rlm_eap_tls
- tls {
- tls = "tls-common"
- }
- tls-config tls-common {
- verify_depth = 0
- ca_path = "/usr/local/etc/raddb/certs"
- pem_file_type = yes
- private_key_file = "/usr/local/etc/raddb/certs/server_key.pem"
- certificate_file = "/usr/local/etc/raddb/certs/server_cert.pem"
- ca_file = "/usr/local/etc/raddb/certs/ca_cert.pem"
- dh_file = "/usr/local/etc/raddb/certs/dh"
- random_file = "/dev/urandom"
- fragment_size = 1024
- include_length = yes
- auto_chain = yes
- check_crl = no
- check_all_crl = no
- cipher_list = "DEFAULT"
- cipher_server_preference = no
- ecdh_curve = "prime256v1"
- tls_max_version = ""
- tls_min_version = "1.0"
- cache {
- enable = no
- lifetime = 24
- max_entries = 255
- }
- verify {
- skip_if_ocsp_ok = no
- }
- ocsp {
- enable = no
- override_cert_url = no
- url = "http://127.0.0.1/ocsp/"
- use_nonce = yes
- timeout = 0
- softfail = no
- }
- }
- The configuration allows TLS 1.0 and/or TLS 1.1. We STRONGLY recommned using only TLS 1.2 for security
- Please set: min_tls_version = "1.2"
- # Linked to sub-module rlm_eap_ttls
- ttls {
- tls = "tls-common"
- default_eap_type = "md5"
- copy_request_to_tunnel = no
- use_tunneled_reply = no
- virtual_server = "inner-tunnel-ttls"
- include_length = yes
- require_client_cert = no
- }
- tls: Using cached TLS configuration from previous invocation
- # Linked to sub-module rlm_eap_peap
- peap {
- tls = "tls-common"
- default_eap_type = "mschapv2"
- copy_request_to_tunnel = no
- use_tunneled_reply = no
- proxy_tunneled_request_as_eap = yes
- virtual_server = "inner-tunnel-peap"
- soh = no
- require_client_cert = no
- }
- tls: Using cached TLS configuration from previous invocation
- # Linked to sub-module rlm_eap_mschapv2
- mschapv2 {
- with_ntdomain_hack = no
- send_error = no
- }
- # Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files
- reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize
- reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting
- reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy
- # Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog
- # Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog
- # Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap
- rlm_mschap (mschap): using internal authentication
- # Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
- # Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm
- # Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm
- # Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm
- # Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
- # Instantiating module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd
- rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
- # Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess
- reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups
- reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints
- # Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always
- # Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always
- # Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always
- # Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always
- # Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always
- # Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always
- # Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always
- # Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always
- # Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always
- } # modules
- radiusd: #### Loading Virtual Servers ####
- server { # from file /usr/local/etc/raddb/radiusd.conf
- } # server
- server default { # from file /usr/local/etc/raddb/sites-enabled/default
- # Loading authenticate {...}
- # Loading authorize {...}
- # Loading preacct {...}
- # Loading accounting {...}
- # Loading session {...}
- # Loading pre-proxy {...}
- # Loading post-proxy {...}
- # Loading post-auth {...}
- } # server default
- server inner-tunnel-ttls { # from file /usr/local/etc/raddb/sites-enabled/inner-tunnel-ttls
- # Loading authenticate {...}
- # Loading authorize {...}
- Ignoring "sql" (see raddb/mods-available/README.rst)
- Ignoring "ldap" (see raddb/mods-available/README.rst)
- # Loading session {...}
- # Loading post-proxy {...}
- # Loading post-auth {...}
- # Skipping contents of 'if' as it is always 'false' -- /usr/local/etc/raddb/sites-enabled/inner-tunnel-ttls:63
- } # server inner-tunnel-ttls
- server inner-tunnel-peap { # from file /usr/local/etc/raddb/sites-enabled/inner-tunnel-peap
- # Loading authenticate {...}
- # Loading authorize {...}
- # Loading session {...}
- # Loading post-proxy {...}
- # Loading post-auth {...}
- # Skipping contents of 'if' as it is always 'false' -- /usr/local/etc/raddb/sites-enabled/inner-tunnel-peap:63
- } # server inner-tunnel-peap
- radiusd: #### Opening IP addresses and Ports ####
- listen {
- type = "auth"
- ipaddr = *
- port = 1812
- }
- listen {
- type = "acct"
- ipaddr = *
- port = 1813
- }
- listen {
- type = "auth"
- ipaddr = 127.0.0.1
- port = 18127
- }
- listen {
- type = "auth"
- ipaddr = 127.0.0.1
- port = 18128
- }
- Listening on auth address * port 1812 bound to server default
- Listening on acct address * port 1813 bound to server default
- Listening on auth address 127.0.0.1 port 18127 bound to server inner-tunnel-ttls
- Listening on auth address 127.0.0.1 port 18128 bound to server inner-tunnel-peap
- Ready to process requests
- (0) Received Access-Request Id 181 from 192.168.200.1:53970 to 192.168.200.1:1812 length 160
- (0) Service-Type = Login-User
- (0) User-Name = "anand"
- (0) User-Password = "9829012834"
- (0) NAS-IP-Address = 192.168.200.1
- (0) NAS-Identifier = "CaptivePortal-office_zone"
- (0) Calling-Station-Id = "e6:8f:99:48:85:89"
- (0) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (0) NAS-Port-Type = Ethernet
- (0) NAS-Port = 2000
- (0) Framed-IP-Address = 192.168.200.201
- (0) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (0) authorize {
- (0) [preprocess] = ok
- (0) [chap] = noop
- (0) [mschap] = noop
- (0) [digest] = noop
- (0) suffix: Checking for suffix after "@"
- (0) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (0) [suffix] = noop
- (0) ntdomain: Checking for prefix before "\"
- (0) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (0) [ntdomain] = noop
- (0) eap: No EAP-Message, not doing EAP
- (0) [eap] = noop
- (0) files: users: Matched entry DEFAULT at line 1
- (0) files: users: Matched entry anand at line 4
- (0) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (0) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (0) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (0) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (0) [forever] = noop
- (0) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (0) ERROR: Failed retrieving values required to evaluate condition
- (0) [expiration] = noop
- (0) [logintime] = noop
- (0) [pap] = updated
- (0) } # authorize = updated
- (0) Found Auth-Type = PAP
- (0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (0) Auth-Type PAP {
- (0) pap: Login attempt with password
- (0) pap: Comparing with "known good" Cleartext-Password
- (0) pap: User authenticated successfully
- (0) [pap] = ok
- (0) } # Auth-Type PAP = ok
- (0) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (0) session {
- (0) radutmp: EXPAND /var/log/radutmp
- (0) radutmp: --> /var/log/radutmp
- (0) radutmp: EXPAND %{User-Name}
- (0) radutmp: --> anand
- (0) [radutmp] = ok
- (0) } # session = ok
- (0) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (0) post-auth {
- (0) update {
- (0) No attributes updated for RHS &session-state:
- (0) } # update = noop
- (0) [exec] = noop
- (0) policy remove_reply_message_if_eap {
- (0) if (&reply:EAP-Message && &reply:Reply-Message) {
- (0) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (0) else {
- (0) [noop] = noop
- (0) } # else = noop
- (0) } # policy remove_reply_message_if_eap = noop
- (0) } # post-auth = noop
- (0) Login OK: [anand/9829012834] (from client captive_portal port 2000 cli e6:8f:99:48:85:89)
- (0) Sent Access-Accept Id 181 from 192.168.200.1:1812 to 192.168.200.1:53970 length 0
- (0) Finished request
- Waking up in 4.9 seconds.
- (1) Received Accounting-Request Id 93 from 192.168.200.1:55794 to 192.168.200.1:1813 length 172
- (1) Service-Type = Login-User
- (1) User-Name = "anand"
- (1) Acct-Status-Type = Start
- (1) Acct-Authentic = RADIUS
- (1) NAS-IP-Address = 192.168.200.1
- (1) NAS-Identifier = "CaptivePortal-office_zone"
- (1) NAS-Port-Type = Ethernet
- (1) NAS-Port = 2000
- (1) Acct-Session-Id = "874681d3614b1b36"
- (1) Framed-IP-Address = 192.168.200.201
- (1) Calling-Station-Id = "e6:8f:99:48:85:89"
- (1) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (1) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (1) preacct {
- (1) [preprocess] = ok
- (1) update request {
- (1) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (1) --> 1586901159
- (1) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:22:39 IST
- (1) } # update request = noop
- (1) policy acct_unique {
- (1) update request {
- (1) &Tmp-String-9 := "ai:"
- (1) } # update request = noop
- (1) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (1) EXPAND %{hex:&Class}
- (1) -->
- (1) EXPAND ^%{hex:&Tmp-String-9}
- (1) --> ^61693a
- (1) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (1) else {
- (1) update request {
- (1) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (1) --> e2bf9a1906461b593a1e0e2eb83e1d42
- (1) &Acct-Unique-Session-Id := e2bf9a1906461b593a1e0e2eb83e1d42
- (1) } # update request = noop
- (1) } # else = noop
- (1) } # policy acct_unique = noop
- (1) suffix: Checking for suffix after "@"
- (1) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (1) [suffix] = noop
- (1) ntdomain: Checking for prefix before "\"
- (1) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (1) [ntdomain] = noop
- (1) [files] = noop
- (1) } # preacct = ok
- (1) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (1) accounting {
- (1) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (1) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (1) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (1) detail: EXPAND %t
- (1) detail: --> Wed Apr 15 03:22:39 2020
- (1) [detail] = ok
- (1) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (1) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> FALSE
- (1) radutmp: EXPAND /var/log/radutmp
- (1) radutmp: --> /var/log/radutmp
- (1) radutmp: EXPAND %{User-Name}
- (1) radutmp: --> anand
- (1) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (1) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (1) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (1) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (1) [forever] = noop
- (1) [exec] = noop
- (1) attr_filter.accounting_response: EXPAND %{User-Name}
- (1) attr_filter.accounting_response: --> anand
- (1) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (1) [attr_filter.accounting_response] = updated
- (1) } # accounting = updated
- (1) Sent Accounting-Response Id 93 from 192.168.200.1:1813 to 192.168.200.1:55794 length 0
- (1) Finished request
- (1) Cleaning up request packet ID 93 with timestamp +19
- Waking up in 4.9 seconds.
- (0) Cleaning up request packet ID 181 with timestamp +19
- Ready to process requests
- (2) Received Accounting-Request Id 237 from 192.168.200.1:20016 to 192.168.200.1:1813 length 214
- (2) Service-Type = Login-User
- (2) User-Name = "anand"
- (2) Acct-Status-Type = Interim-Update
- (2) Acct-Authentic = RADIUS
- (2) NAS-IP-Address = 192.168.200.1
- (2) NAS-Identifier = "CaptivePortal-office_zone"
- (2) NAS-Port-Type = Ethernet
- (2) NAS-Port = 2000
- (2) Acct-Session-Id = "874681d3614b1b36"
- (2) Framed-IP-Address = 192.168.200.201
- (2) Calling-Station-Id = "e6:8f:99:48:85:89"
- (2) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (2) Acct-Input-Packets = 98
- (2) Acct-Input-Octets = 15336
- (2) Acct-Output-Packets = 115
- (2) Acct-Output-Octets = 55158
- (2) Acct-Session-Time = 8
- (2) Acct-Output-Gigawords = 0
- (2) Acct-Input-Gigawords = 0
- (2) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (2) preacct {
- (2) [preprocess] = ok
- (2) update request {
- (2) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (2) --> 1586901159
- (2) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:22:39 IST
- (2) } # update request = noop
- (2) policy acct_unique {
- (2) update request {
- (2) &Tmp-String-9 := "ai:"
- (2) } # update request = noop
- (2) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (2) EXPAND %{hex:&Class}
- (2) -->
- (2) EXPAND ^%{hex:&Tmp-String-9}
- (2) --> ^61693a
- (2) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (2) else {
- (2) update request {
- (2) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (2) --> e2bf9a1906461b593a1e0e2eb83e1d42
- (2) &Acct-Unique-Session-Id := e2bf9a1906461b593a1e0e2eb83e1d42
- (2) } # update request = noop
- (2) } # else = noop
- (2) } # policy acct_unique = noop
- (2) suffix: Checking for suffix after "@"
- (2) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (2) [suffix] = noop
- (2) ntdomain: Checking for prefix before "\"
- (2) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (2) [ntdomain] = noop
- (2) [files] = noop
- (2) } # preacct = ok
- (2) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (2) accounting {
- (2) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (2) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (2) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (2) detail: EXPAND %t
- (2) detail: --> Wed Apr 15 03:22:47 2020
- (2) [detail] = ok
- (2) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (2) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (2) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (2) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (2) datacounterdaily: EXPAND %{request:User-Name}
- (2) datacounterdaily: --> anand
- (2) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (2) datacounterdaily: --> 15336
- (2) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (2) datacounterdaily: --> 55158
- (2) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (2) datacounterdaily: --> Interim-Update
- (2) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (2) datacounterdaily: --> 874681d3614b1b36
- (2) datacounterdaily: Program returned code (0) and output ''
- (2) datacounterdaily: Program executed successfully
- (2) [datacounterdaily] = ok
- (2) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (2) datacounterweekly: EXPAND %{request:User-Name}
- (2) datacounterweekly: --> anand
- (2) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (2) datacounterweekly: --> 15336
- (2) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (2) datacounterweekly: --> 55158
- (2) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (2) datacounterweekly: --> Interim-Update
- (2) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (2) datacounterweekly: --> 874681d3614b1b36
- (2) datacounterweekly: Program returned code (0) and output ''
- (2) datacounterweekly: Program executed successfully
- (2) [datacounterweekly] = ok
- (2) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (2) datacountermonthly: EXPAND %{request:User-Name}
- (2) datacountermonthly: --> anand
- (2) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (2) datacountermonthly: --> 15336
- (2) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (2) datacountermonthly: --> 55158
- (2) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (2) datacountermonthly: --> Interim-Update
- (2) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (2) datacountermonthly: --> 874681d3614b1b36
- (2) datacountermonthly: Program returned code (0) and output ''
- (2) datacountermonthly: Program executed successfully
- (2) [datacountermonthly] = ok
- (2) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (2) datacounterforever: EXPAND %{request:User-Name}
- (2) datacounterforever: --> anand
- (2) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (2) datacounterforever: --> 15336
- (2) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (2) datacounterforever: --> 55158
- (2) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (2) datacounterforever: --> Interim-Update
- (2) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (2) datacounterforever: --> 874681d3614b1b36
- (2) datacounterforever: Program returned code (0) and output ''
- (2) datacounterforever: Program executed successfully
- (2) [datacounterforever] = ok
- (2) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (2) radutmp: EXPAND /var/log/radutmp
- (2) radutmp: --> /var/log/radutmp
- (2) radutmp: EXPAND %{User-Name}
- (2) radutmp: --> anand
- (2) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (2) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (2) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (2) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (2) [forever] = noop
- (2) [exec] = noop
- (2) attr_filter.accounting_response: EXPAND %{User-Name}
- (2) attr_filter.accounting_response: --> anand
- (2) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (2) [attr_filter.accounting_response] = updated
- (2) } # accounting = updated
- (2) Sent Accounting-Response Id 237 from 192.168.200.1:1813 to 192.168.200.1:20016 length 0
- (2) Finished request
- (2) Cleaning up request packet ID 237 with timestamp +27
- Ready to process requests
- (3) Received Access-Request Id 207 from 192.168.200.1:44523 to 192.168.200.1:1812 length 160
- (3) Service-Type = Login-User
- (3) User-Name = "anand"
- (3) User-Password = "9829012834"
- (3) NAS-IP-Address = 192.168.200.1
- (3) NAS-Identifier = "CaptivePortal-office_zone"
- (3) Calling-Station-Id = "e6:8f:99:48:85:89"
- (3) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (3) NAS-Port-Type = Ethernet
- (3) NAS-Port = 2000
- (3) Framed-IP-Address = 192.168.200.201
- (3) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (3) authorize {
- (3) [preprocess] = ok
- (3) [chap] = noop
- (3) [mschap] = noop
- (3) [digest] = noop
- (3) suffix: Checking for suffix after "@"
- (3) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (3) [suffix] = noop
- (3) ntdomain: Checking for prefix before "\"
- (3) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (3) [ntdomain] = noop
- (3) eap: No EAP-Message, not doing EAP
- (3) [eap] = noop
- (3) files: users: Matched entry DEFAULT at line 1
- (3) files: users: Matched entry anand at line 4
- (3) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (3) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (3) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (3) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (3) [forever] = noop
- (3) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (3) ERROR: Failed retrieving values required to evaluate condition
- (3) [expiration] = noop
- (3) [logintime] = noop
- (3) [pap] = updated
- (3) } # authorize = updated
- (3) Found Auth-Type = PAP
- (3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (3) Auth-Type PAP {
- (3) pap: Login attempt with password
- (3) pap: Comparing with "known good" Cleartext-Password
- (3) pap: User authenticated successfully
- (3) [pap] = ok
- (3) } # Auth-Type PAP = ok
- (3) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (3) session {
- (3) radutmp: EXPAND /var/log/radutmp
- (3) radutmp: --> /var/log/radutmp
- (3) radutmp: EXPAND %{User-Name}
- (3) radutmp: --> anand
- (3) [radutmp] = ok
- (3) } # session = ok
- (3) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (3) post-auth {
- (3) update {
- (3) No attributes updated for RHS &session-state:
- (3) } # update = noop
- (3) [exec] = noop
- (3) policy remove_reply_message_if_eap {
- (3) if (&reply:EAP-Message && &reply:Reply-Message) {
- (3) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (3) else {
- (3) [noop] = noop
- (3) } # else = noop
- (3) } # policy remove_reply_message_if_eap = noop
- (3) } # post-auth = noop
- (3) Login OK: [anand/9829012834] (from client captive_portal port 2000 cli e6:8f:99:48:85:89)
- (3) Sent Access-Accept Id 207 from 192.168.200.1:1812 to 192.168.200.1:44523 length 0
- (3) Finished request
- Waking up in 4.9 seconds.
- (3) Cleaning up request packet ID 207 with timestamp +27
- Ready to process requests
- (4) Received Access-Request Id 157 from 192.168.200.1:29067 to 192.168.200.1:1812 length 160
- (4) Service-Type = Login-User
- (4) User-Name = "anand"
- (4) User-Password = "9829012834"
- (4) NAS-IP-Address = 192.168.200.1
- (4) NAS-Identifier = "CaptivePortal-office_zone"
- (4) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (4) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (4) NAS-Port-Type = Ethernet
- (4) NAS-Port = 2002
- (4) Framed-IP-Address = 192.168.200.202
- (4) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (4) authorize {
- (4) [preprocess] = ok
- (4) [chap] = noop
- (4) [mschap] = noop
- (4) [digest] = noop
- (4) suffix: Checking for suffix after "@"
- (4) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (4) [suffix] = noop
- (4) ntdomain: Checking for prefix before "\"
- (4) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (4) [ntdomain] = noop
- (4) eap: No EAP-Message, not doing EAP
- (4) [eap] = noop
- (4) files: users: Matched entry DEFAULT at line 1
- (4) files: users: Matched entry anand at line 4
- (4) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (4) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (4) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (4) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (4) [forever] = noop
- (4) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (4) ERROR: Failed retrieving values required to evaluate condition
- (4) [expiration] = noop
- (4) [logintime] = noop
- (4) [pap] = updated
- (4) } # authorize = updated
- (4) Found Auth-Type = PAP
- (4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (4) Auth-Type PAP {
- (4) pap: Login attempt with password
- (4) pap: Comparing with "known good" Cleartext-Password
- (4) pap: User authenticated successfully
- (4) [pap] = ok
- (4) } # Auth-Type PAP = ok
- (4) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (4) session {
- (4) radutmp: EXPAND /var/log/radutmp
- (4) radutmp: --> /var/log/radutmp
- (4) radutmp: EXPAND %{User-Name}
- (4) radutmp: --> anand
- (4) [radutmp] = ok
- (4) } # session = ok
- (4) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (4) post-auth {
- (4) update {
- (4) No attributes updated for RHS &session-state:
- (4) } # update = noop
- (4) [exec] = noop
- (4) policy remove_reply_message_if_eap {
- (4) if (&reply:EAP-Message && &reply:Reply-Message) {
- (4) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (4) else {
- (4) [noop] = noop
- (4) } # else = noop
- (4) } # policy remove_reply_message_if_eap = noop
- (4) } # post-auth = noop
- (4) Login OK: [anand/9829012834] (from client captive_portal port 2002 cli b6:e7:02:97:a6:23)
- (4) Sent Access-Accept Id 157 from 192.168.200.1:1812 to 192.168.200.1:29067 length 0
- (4) Finished request
- Waking up in 4.9 seconds.
- (5) Received Accounting-Request Id 23 from 192.168.200.1:42894 to 192.168.200.1:1813 length 172
- (5) Service-Type = Login-User
- (5) User-Name = "anand"
- (5) Acct-Status-Type = Start
- (5) Acct-Authentic = RADIUS
- (5) NAS-IP-Address = 192.168.200.1
- (5) NAS-Identifier = "CaptivePortal-office_zone"
- (5) NAS-Port-Type = Ethernet
- (5) NAS-Port = 2002
- (5) Acct-Session-Id = "6974b7d556ed613e"
- (5) Framed-IP-Address = 192.168.200.202
- (5) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (5) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (5) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (5) preacct {
- (5) [preprocess] = ok
- (5) update request {
- (5) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (5) --> 1586901190
- (5) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:10 IST
- (5) } # update request = noop
- (5) policy acct_unique {
- (5) update request {
- (5) &Tmp-String-9 := "ai:"
- (5) } # update request = noop
- (5) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (5) EXPAND %{hex:&Class}
- (5) -->
- (5) EXPAND ^%{hex:&Tmp-String-9}
- (5) --> ^61693a
- (5) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (5) else {
- (5) update request {
- (5) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (5) --> 9a9488f2d0124a4aa7feb209bced26bb
- (5) &Acct-Unique-Session-Id := 9a9488f2d0124a4aa7feb209bced26bb
- (5) } # update request = noop
- (5) } # else = noop
- (5) } # policy acct_unique = noop
- (5) suffix: Checking for suffix after "@"
- (5) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (5) [suffix] = noop
- (5) ntdomain: Checking for prefix before "\"
- (5) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (5) [ntdomain] = noop
- (5) [files] = noop
- (5) } # preacct = ok
- (5) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (5) accounting {
- (5) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (5) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (5) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (5) detail: EXPAND %t
- (5) detail: --> Wed Apr 15 03:23:10 2020
- (5) [detail] = ok
- (5) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (5) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> FALSE
- (5) radutmp: EXPAND /var/log/radutmp
- (5) radutmp: --> /var/log/radutmp
- (5) radutmp: EXPAND %{User-Name}
- (5) radutmp: --> anand
- (5) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (5) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (5) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (5) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (5) [forever] = noop
- (5) [exec] = noop
- (5) attr_filter.accounting_response: EXPAND %{User-Name}
- (5) attr_filter.accounting_response: --> anand
- (5) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (5) [attr_filter.accounting_response] = updated
- (5) } # accounting = updated
- (5) Sent Accounting-Response Id 23 from 192.168.200.1:1813 to 192.168.200.1:42894 length 0
- (5) Finished request
- (5) Cleaning up request packet ID 23 with timestamp +50
- Waking up in 4.9 seconds.
- (4) Cleaning up request packet ID 157 with timestamp +50
- Ready to process requests
- (6) Received Access-Request Id 145 from 192.168.200.1:33414 to 192.168.200.1:1812 length 160
- (6) Service-Type = Login-User
- (6) User-Name = "anand"
- (6) User-Password = "9829012834"
- (6) NAS-IP-Address = 192.168.200.1
- (6) NAS-Identifier = "CaptivePortal-office_zone"
- (6) Calling-Station-Id = "da:54:db:27:ae:2b"
- (6) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (6) NAS-Port-Type = Ethernet
- (6) NAS-Port = 2004
- (6) Framed-IP-Address = 192.168.200.203
- (6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (6) authorize {
- (6) [preprocess] = ok
- (6) [chap] = noop
- (6) [mschap] = noop
- (6) [digest] = noop
- (6) suffix: Checking for suffix after "@"
- (6) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (6) [suffix] = noop
- (6) ntdomain: Checking for prefix before "\"
- (6) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (6) [ntdomain] = noop
- (6) eap: No EAP-Message, not doing EAP
- (6) [eap] = noop
- (6) files: users: Matched entry DEFAULT at line 1
- (6) files: users: Matched entry anand at line 4
- (6) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (6) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (6) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (6) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (6) [forever] = noop
- (6) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (6) ERROR: Failed retrieving values required to evaluate condition
- (6) [expiration] = noop
- (6) [logintime] = noop
- (6) [pap] = updated
- (6) } # authorize = updated
- (6) Found Auth-Type = PAP
- (6) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (6) Auth-Type PAP {
- (6) pap: Login attempt with password
- (6) pap: Comparing with "known good" Cleartext-Password
- (6) pap: User authenticated successfully
- (6) [pap] = ok
- (6) } # Auth-Type PAP = ok
- (6) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (6) session {
- (6) radutmp: EXPAND /var/log/radutmp
- (6) radutmp: --> /var/log/radutmp
- (6) radutmp: EXPAND %{User-Name}
- (6) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (6) [radutmp] = fail
- (6) } # session = fail
- (6) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (6) post-auth {
- (6) update {
- (6) No attributes updated for RHS &session-state:
- (6) } # update = noop
- (6) [exec] = noop
- (6) policy remove_reply_message_if_eap {
- (6) if (&reply:EAP-Message && &reply:Reply-Message) {
- (6) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (6) else {
- (6) [noop] = noop
- (6) } # else = noop
- (6) } # policy remove_reply_message_if_eap = noop
- (6) } # post-auth = noop
- (6) Login OK: [anand/9829012834] (from client captive_portal port 2004 cli da:54:db:27:ae:2b)
- (6) Sent Access-Accept Id 145 from 192.168.200.1:1812 to 192.168.200.1:33414 length 0
- (6) Finished request
- Waking up in 4.9 seconds.
- (7) Received Accounting-Request Id 97 from 192.168.200.1:62807 to 192.168.200.1:1813 length 172
- (7) Service-Type = Login-User
- (7) User-Name = "anand"
- (7) Acct-Status-Type = Start
- (7) Acct-Authentic = RADIUS
- (7) NAS-IP-Address = 192.168.200.1
- (7) NAS-Identifier = "CaptivePortal-office_zone"
- (7) NAS-Port-Type = Ethernet
- (7) NAS-Port = 2004
- (7) Acct-Session-Id = "d4f8574cf15bdf9b"
- (7) Framed-IP-Address = 192.168.200.203
- (7) Calling-Station-Id = "da:54:db:27:ae:2b"
- (7) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (7) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (7) preacct {
- (7) [preprocess] = ok
- (7) update request {
- (7) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (7) --> 1586901203
- (7) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:23 IST
- (7) } # update request = noop
- (7) policy acct_unique {
- (7) update request {
- (7) &Tmp-String-9 := "ai:"
- (7) } # update request = noop
- (7) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (7) EXPAND %{hex:&Class}
- (7) -->
- (7) EXPAND ^%{hex:&Tmp-String-9}
- (7) --> ^61693a
- (7) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (7) else {
- (7) update request {
- (7) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (7) --> 8540a37c864a86b96f7917819f3d70c9
- (7) &Acct-Unique-Session-Id := 8540a37c864a86b96f7917819f3d70c9
- (7) } # update request = noop
- (7) } # else = noop
- (7) } # policy acct_unique = noop
- (7) suffix: Checking for suffix after "@"
- (7) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (7) [suffix] = noop
- (7) ntdomain: Checking for prefix before "\"
- (7) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (7) [ntdomain] = noop
- (7) [files] = noop
- (7) } # preacct = ok
- (7) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (7) accounting {
- (7) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (7) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (7) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (7) detail: EXPAND %t
- (7) detail: --> Wed Apr 15 03:23:23 2020
- (7) [detail] = ok
- (7) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (7) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> FALSE
- (7) radutmp: EXPAND /var/log/radutmp
- (7) radutmp: --> /var/log/radutmp
- (7) radutmp: EXPAND %{User-Name}
- (7) radutmp: --> anand
- (7) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (7) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (7) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (7) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (7) [forever] = noop
- (7) [exec] = noop
- (7) attr_filter.accounting_response: EXPAND %{User-Name}
- (7) attr_filter.accounting_response: --> anand
- (7) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (7) [attr_filter.accounting_response] = updated
- (7) } # accounting = updated
- (7) Sent Accounting-Response Id 97 from 192.168.200.1:1813 to 192.168.200.1:62807 length 0
- (7) Finished request
- (7) Cleaning up request packet ID 97 with timestamp +63
- Waking up in 4.9 seconds.
- (6) Cleaning up request packet ID 145 with timestamp +63
- Ready to process requests
- (8) Received Accounting-Request Id 57 from 192.168.200.1:10100 to 192.168.200.1:1813 length 214
- (8) Service-Type = Login-User
- (8) User-Name = "anand"
- (8) Acct-Status-Type = Interim-Update
- (8) Acct-Authentic = RADIUS
- (8) NAS-IP-Address = 192.168.200.1
- (8) NAS-Identifier = "CaptivePortal-office_zone"
- (8) NAS-Port-Type = Ethernet
- (8) NAS-Port = 2000
- (8) Acct-Session-Id = "874681d3614b1b36"
- (8) Framed-IP-Address = 192.168.200.201
- (8) Calling-Station-Id = "e6:8f:99:48:85:89"
- (8) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (8) Acct-Input-Packets = 418
- (8) Acct-Input-Octets = 74035
- (8) Acct-Output-Packets = 525
- (8) Acct-Output-Octets = 357634
- (8) Acct-Session-Time = 69
- (8) Acct-Output-Gigawords = 0
- (8) Acct-Input-Gigawords = 0
- (8) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (8) preacct {
- (8) [preprocess] = ok
- (8) update request {
- (8) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (8) --> 1586901159
- (8) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:22:39 IST
- (8) } # update request = noop
- (8) policy acct_unique {
- (8) update request {
- (8) &Tmp-String-9 := "ai:"
- (8) } # update request = noop
- (8) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (8) EXPAND %{hex:&Class}
- (8) -->
- (8) EXPAND ^%{hex:&Tmp-String-9}
- (8) --> ^61693a
- (8) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (8) else {
- (8) update request {
- (8) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (8) --> e2bf9a1906461b593a1e0e2eb83e1d42
- (8) &Acct-Unique-Session-Id := e2bf9a1906461b593a1e0e2eb83e1d42
- (8) } # update request = noop
- (8) } # else = noop
- (8) } # policy acct_unique = noop
- (8) suffix: Checking for suffix after "@"
- (8) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (8) [suffix] = noop
- (8) ntdomain: Checking for prefix before "\"
- (8) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (8) [ntdomain] = noop
- (8) [files] = noop
- (8) } # preacct = ok
- (8) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (8) accounting {
- (8) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (8) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (8) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (8) detail: EXPAND %t
- (8) detail: --> Wed Apr 15 03:23:48 2020
- (8) [detail] = ok
- (8) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (8) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (8) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (8) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (8) datacounterdaily: EXPAND %{request:User-Name}
- (8) datacounterdaily: --> anand
- (8) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (8) datacounterdaily: --> 74035
- (8) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (8) datacounterdaily: --> 357634
- (8) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (8) datacounterdaily: --> Interim-Update
- (8) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (8) datacounterdaily: --> 874681d3614b1b36
- (8) datacounterdaily: Program returned code (0) and output ''
- (8) datacounterdaily: Program executed successfully
- (8) [datacounterdaily] = ok
- (8) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (8) datacounterweekly: EXPAND %{request:User-Name}
- (8) datacounterweekly: --> anand
- (8) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (8) datacounterweekly: --> 74035
- (8) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (8) datacounterweekly: --> 357634
- (8) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (8) datacounterweekly: --> Interim-Update
- (8) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (8) datacounterweekly: --> 874681d3614b1b36
- (8) datacounterweekly: Program returned code (0) and output ''
- (8) datacounterweekly: Program executed successfully
- (8) [datacounterweekly] = ok
- (8) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (8) datacountermonthly: EXPAND %{request:User-Name}
- (8) datacountermonthly: --> anand
- (8) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (8) datacountermonthly: --> 74035
- (8) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (8) datacountermonthly: --> 357634
- (8) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (8) datacountermonthly: --> Interim-Update
- (8) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (8) datacountermonthly: --> 874681d3614b1b36
- (8) datacountermonthly: Program returned code (0) and output ''
- (8) datacountermonthly: Program executed successfully
- (8) [datacountermonthly] = ok
- (8) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (8) datacounterforever: EXPAND %{request:User-Name}
- (8) datacounterforever: --> anand
- (8) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (8) datacounterforever: --> 74035
- (8) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (8) datacounterforever: --> 357634
- (8) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (8) datacounterforever: --> Interim-Update
- (8) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (8) datacounterforever: --> 874681d3614b1b36
- (8) datacounterforever: Program returned code (0) and output ''
- (8) datacounterforever: Program executed successfully
- (8) [datacounterforever] = ok
- (8) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (8) radutmp: EXPAND /var/log/radutmp
- (8) radutmp: --> /var/log/radutmp
- (8) radutmp: EXPAND %{User-Name}
- (8) radutmp: --> anand
- (8) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (8) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (8) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (8) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (8) [forever] = noop
- (8) [exec] = noop
- (8) attr_filter.accounting_response: EXPAND %{User-Name}
- (8) attr_filter.accounting_response: --> anand
- (8) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (8) [attr_filter.accounting_response] = updated
- (8) } # accounting = updated
- (8) Sent Accounting-Response Id 57 from 192.168.200.1:1813 to 192.168.200.1:10100 length 0
- (8) Finished request
- (8) Cleaning up request packet ID 57 with timestamp +88
- Ready to process requests
- (9) Received Access-Request Id 28 from 192.168.200.1:14004 to 192.168.200.1:1812 length 160
- (9) Service-Type = Login-User
- (9) User-Name = "anand"
- (9) User-Password = "9829012834"
- (9) NAS-IP-Address = 192.168.200.1
- (9) NAS-Identifier = "CaptivePortal-office_zone"
- (9) Calling-Station-Id = "e6:8f:99:48:85:89"
- (9) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (9) NAS-Port-Type = Ethernet
- (9) NAS-Port = 2000
- (9) Framed-IP-Address = 192.168.200.201
- (9) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (9) authorize {
- (9) [preprocess] = ok
- (9) [chap] = noop
- (9) [mschap] = noop
- (9) [digest] = noop
- (9) suffix: Checking for suffix after "@"
- (9) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (9) [suffix] = noop
- (9) ntdomain: Checking for prefix before "\"
- (9) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (9) [ntdomain] = noop
- (9) eap: No EAP-Message, not doing EAP
- (9) [eap] = noop
- (9) files: users: Matched entry DEFAULT at line 1
- (9) files: users: Matched entry anand at line 4
- (9) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (9) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (9) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (9) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (9) [forever] = noop
- (9) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (9) ERROR: Failed retrieving values required to evaluate condition
- (9) [expiration] = noop
- (9) [logintime] = noop
- (9) [pap] = updated
- (9) } # authorize = updated
- (9) Found Auth-Type = PAP
- (9) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (9) Auth-Type PAP {
- (9) pap: Login attempt with password
- (9) pap: Comparing with "known good" Cleartext-Password
- (9) pap: User authenticated successfully
- (9) [pap] = ok
- (9) } # Auth-Type PAP = ok
- (9) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (9) session {
- (9) radutmp: EXPAND /var/log/radutmp
- (9) radutmp: --> /var/log/radutmp
- (9) radutmp: EXPAND %{User-Name}
- (9) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (9) [radutmp] = fail
- (9) } # session = fail
- (9) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (9) post-auth {
- (9) update {
- (9) No attributes updated for RHS &session-state:
- (9) } # update = noop
- (9) [exec] = noop
- (9) policy remove_reply_message_if_eap {
- (9) if (&reply:EAP-Message && &reply:Reply-Message) {
- (9) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (9) else {
- (9) [noop] = noop
- (9) } # else = noop
- (9) } # policy remove_reply_message_if_eap = noop
- (9) } # post-auth = noop
- (9) Login OK: [anand/9829012834] (from client captive_portal port 2000 cli e6:8f:99:48:85:89)
- (9) Sent Access-Accept Id 28 from 192.168.200.1:1812 to 192.168.200.1:14004 length 0
- (9) Finished request
- Waking up in 4.9 seconds.
- (10) Received Accounting-Request Id 4 from 192.168.200.1:1860 to 192.168.200.1:1813 length 214
- (10) Service-Type = Login-User
- (10) User-Name = "anand"
- (10) Acct-Status-Type = Interim-Update
- (10) Acct-Authentic = RADIUS
- (10) NAS-IP-Address = 192.168.200.1
- (10) NAS-Identifier = "CaptivePortal-office_zone"
- (10) NAS-Port-Type = Ethernet
- (10) NAS-Port = 2002
- (10) Acct-Session-Id = "6974b7d556ed613e"
- (10) Framed-IP-Address = 192.168.200.202
- (10) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (10) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (10) Acct-Input-Packets = 136
- (10) Acct-Input-Octets = 11656
- (10) Acct-Output-Packets = 117
- (10) Acct-Output-Octets = 35330
- (10) Acct-Session-Time = 38
- (10) Acct-Output-Gigawords = 0
- (10) Acct-Input-Gigawords = 0
- (10) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (10) preacct {
- (10) [preprocess] = ok
- (10) update request {
- (10) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (10) --> 1586901190
- (10) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:10 IST
- (10) } # update request = noop
- (10) policy acct_unique {
- (10) update request {
- (10) &Tmp-String-9 := "ai:"
- (10) } # update request = noop
- (10) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (10) EXPAND %{hex:&Class}
- (10) -->
- (10) EXPAND ^%{hex:&Tmp-String-9}
- (10) --> ^61693a
- (10) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (10) else {
- (10) update request {
- (10) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (10) --> 9a9488f2d0124a4aa7feb209bced26bb
- (10) &Acct-Unique-Session-Id := 9a9488f2d0124a4aa7feb209bced26bb
- (10) } # update request = noop
- (10) } # else = noop
- (10) } # policy acct_unique = noop
- (10) suffix: Checking for suffix after "@"
- (10) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (10) [suffix] = noop
- (10) ntdomain: Checking for prefix before "\"
- (10) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (10) [ntdomain] = noop
- (10) [files] = noop
- (10) } # preacct = ok
- (10) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (10) accounting {
- (10) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (10) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (10) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (10) detail: EXPAND %t
- (10) detail: --> Wed Apr 15 03:23:48 2020
- (10) [detail] = ok
- (10) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (10) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (10) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (10) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (10) datacounterdaily: EXPAND %{request:User-Name}
- (10) datacounterdaily: --> anand
- (10) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (10) datacounterdaily: --> 11656
- (10) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (10) datacounterdaily: --> 35330
- (10) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (10) datacounterdaily: --> Interim-Update
- (10) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (10) datacounterdaily: --> 6974b7d556ed613e
- (10) datacounterdaily: Program returned code (0) and output ''
- (10) datacounterdaily: Program executed successfully
- (10) [datacounterdaily] = ok
- (10) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (10) datacounterweekly: EXPAND %{request:User-Name}
- (10) datacounterweekly: --> anand
- (10) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (10) datacounterweekly: --> 11656
- (10) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (10) datacounterweekly: --> 35330
- (10) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (10) datacounterweekly: --> Interim-Update
- (10) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (10) datacounterweekly: --> 6974b7d556ed613e
- (10) datacounterweekly: Program returned code (0) and output ''
- (10) datacounterweekly: Program executed successfully
- (10) [datacounterweekly] = ok
- (10) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (10) datacountermonthly: EXPAND %{request:User-Name}
- (10) datacountermonthly: --> anand
- (10) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (10) datacountermonthly: --> 11656
- (10) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (10) datacountermonthly: --> 35330
- (10) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (10) datacountermonthly: --> Interim-Update
- (10) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (10) datacountermonthly: --> 6974b7d556ed613e
- (10) datacountermonthly: Program returned code (0) and output ''
- (10) datacountermonthly: Program executed successfully
- (10) [datacountermonthly] = ok
- (10) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (10) datacounterforever: EXPAND %{request:User-Name}
- (10) datacounterforever: --> anand
- (10) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (10) datacounterforever: --> 11656
- (10) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (10) datacounterforever: --> 35330
- (10) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (10) datacounterforever: --> Interim-Update
- (10) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (10) datacounterforever: --> 6974b7d556ed613e
- (10) datacounterforever: Program returned code (0) and output ''
- (10) datacounterforever: Program executed successfully
- (10) [datacounterforever] = ok
- (10) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (10) radutmp: EXPAND /var/log/radutmp
- (10) radutmp: --> /var/log/radutmp
- (10) radutmp: EXPAND %{User-Name}
- (10) radutmp: --> anand
- (10) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (10) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (10) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (10) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (10) [forever] = noop
- (10) [exec] = noop
- (10) attr_filter.accounting_response: EXPAND %{User-Name}
- (10) attr_filter.accounting_response: --> anand
- (10) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (10) [attr_filter.accounting_response] = updated
- (10) } # accounting = updated
- (10) Sent Accounting-Response Id 4 from 192.168.200.1:1813 to 192.168.200.1:1860 length 0
- (10) Finished request
- (10) Cleaning up request packet ID 4 with timestamp +88
- Waking up in 4.9 seconds.
- (11) Received Access-Request Id 184 from 192.168.200.1:5989 to 192.168.200.1:1812 length 160
- (11) Service-Type = Login-User
- (11) User-Name = "anand"
- (11) User-Password = "9829012834"
- (11) NAS-IP-Address = 192.168.200.1
- (11) NAS-Identifier = "CaptivePortal-office_zone"
- (11) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (11) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (11) NAS-Port-Type = Ethernet
- (11) NAS-Port = 2002
- (11) Framed-IP-Address = 192.168.200.202
- (11) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (11) authorize {
- (11) [preprocess] = ok
- (11) [chap] = noop
- (11) [mschap] = noop
- (11) [digest] = noop
- (11) suffix: Checking for suffix after "@"
- (11) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (11) [suffix] = noop
- (11) ntdomain: Checking for prefix before "\"
- (11) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (11) [ntdomain] = noop
- (11) eap: No EAP-Message, not doing EAP
- (11) [eap] = noop
- (11) files: users: Matched entry DEFAULT at line 1
- (11) files: users: Matched entry anand at line 4
- (11) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (11) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (11) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (11) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (11) [forever] = noop
- (11) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (11) ERROR: Failed retrieving values required to evaluate condition
- (11) [expiration] = noop
- (11) [logintime] = noop
- (11) [pap] = updated
- (11) } # authorize = updated
- (11) Found Auth-Type = PAP
- (11) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (11) Auth-Type PAP {
- (11) pap: Login attempt with password
- (11) pap: Comparing with "known good" Cleartext-Password
- (11) pap: User authenticated successfully
- (11) [pap] = ok
- (11) } # Auth-Type PAP = ok
- (11) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (11) session {
- (11) radutmp: EXPAND /var/log/radutmp
- (11) radutmp: --> /var/log/radutmp
- (11) radutmp: EXPAND %{User-Name}
- (11) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (11) [radutmp] = fail
- (11) } # session = fail
- (11) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (11) post-auth {
- (11) update {
- (11) No attributes updated for RHS &session-state:
- (11) } # update = noop
- (11) [exec] = noop
- (11) policy remove_reply_message_if_eap {
- (11) if (&reply:EAP-Message && &reply:Reply-Message) {
- (11) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (11) else {
- (11) [noop] = noop
- (11) } # else = noop
- (11) } # policy remove_reply_message_if_eap = noop
- (11) } # post-auth = noop
- (11) Login OK: [anand/9829012834] (from client captive_portal port 2002 cli b6:e7:02:97:a6:23)
- (11) Sent Access-Accept Id 184 from 192.168.200.1:1812 to 192.168.200.1:5989 length 0
- (11) Finished request
- Waking up in 4.9 seconds.
- (12) Received Accounting-Request Id 144 from 192.168.200.1:41832 to 192.168.200.1:1813 length 214
- (12) Service-Type = Login-User
- (12) User-Name = "anand"
- (12) Acct-Status-Type = Interim-Update
- (12) Acct-Authentic = RADIUS
- (12) NAS-IP-Address = 192.168.200.1
- (12) NAS-Identifier = "CaptivePortal-office_zone"
- (12) NAS-Port-Type = Ethernet
- (12) NAS-Port = 2004
- (12) Acct-Session-Id = "d4f8574cf15bdf9b"
- (12) Framed-IP-Address = 192.168.200.203
- (12) Calling-Station-Id = "da:54:db:27:ae:2b"
- (12) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (12) Acct-Input-Packets = 43
- (12) Acct-Input-Octets = 14206
- (12) Acct-Output-Packets = 27
- (12) Acct-Output-Octets = 6393
- (12) Acct-Session-Time = 25
- (12) Acct-Output-Gigawords = 0
- (12) Acct-Input-Gigawords = 0
- (12) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (12) preacct {
- (12) [preprocess] = ok
- (12) update request {
- (12) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (12) --> 1586901203
- (12) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:23 IST
- (12) } # update request = noop
- (12) policy acct_unique {
- (12) update request {
- (12) &Tmp-String-9 := "ai:"
- (12) } # update request = noop
- (12) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (12) EXPAND %{hex:&Class}
- (12) -->
- (12) EXPAND ^%{hex:&Tmp-String-9}
- (12) --> ^61693a
- (12) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (12) else {
- (12) update request {
- (12) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (12) --> 8540a37c864a86b96f7917819f3d70c9
- (12) &Acct-Unique-Session-Id := 8540a37c864a86b96f7917819f3d70c9
- (12) } # update request = noop
- (12) } # else = noop
- (12) } # policy acct_unique = noop
- (12) suffix: Checking for suffix after "@"
- (12) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (12) [suffix] = noop
- (12) ntdomain: Checking for prefix before "\"
- (12) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (12) [ntdomain] = noop
- (12) [files] = noop
- (12) } # preacct = ok
- (12) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (12) accounting {
- (12) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (12) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (12) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (12) detail: EXPAND %t
- (12) detail: --> Wed Apr 15 03:23:48 2020
- (12) [detail] = ok
- (12) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (12) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (12) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (12) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (12) datacounterdaily: EXPAND %{request:User-Name}
- (12) datacounterdaily: --> anand
- (12) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (12) datacounterdaily: --> 14206
- (12) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (12) datacounterdaily: --> 6393
- (12) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (12) datacounterdaily: --> Interim-Update
- (12) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (12) datacounterdaily: --> d4f8574cf15bdf9b
- (12) datacounterdaily: Program returned code (0) and output ''
- (12) datacounterdaily: Program executed successfully
- (12) [datacounterdaily] = ok
- (12) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (12) datacounterweekly: EXPAND %{request:User-Name}
- (12) datacounterweekly: --> anand
- (12) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (12) datacounterweekly: --> 14206
- (12) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (12) datacounterweekly: --> 6393
- (12) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (12) datacounterweekly: --> Interim-Update
- (12) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (12) datacounterweekly: --> d4f8574cf15bdf9b
- (12) datacounterweekly: Program returned code (0) and output ''
- (12) datacounterweekly: Program executed successfully
- (12) [datacounterweekly] = ok
- (12) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (12) datacountermonthly: EXPAND %{request:User-Name}
- (12) datacountermonthly: --> anand
- (12) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (12) datacountermonthly: --> 14206
- (12) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (12) datacountermonthly: --> 6393
- (12) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (12) datacountermonthly: --> Interim-Update
- (12) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (12) datacountermonthly: --> d4f8574cf15bdf9b
- (12) datacountermonthly: Program returned code (0) and output ''
- (12) datacountermonthly: Program executed successfully
- (12) [datacountermonthly] = ok
- (12) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (12) datacounterforever: EXPAND %{request:User-Name}
- (12) datacounterforever: --> anand
- (12) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (12) datacounterforever: --> 14206
- (12) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (12) datacounterforever: --> 6393
- (12) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (12) datacounterforever: --> Interim-Update
- (12) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (12) datacounterforever: --> d4f8574cf15bdf9b
- (12) datacounterforever: Program returned code (0) and output ''
- (12) datacounterforever: Program executed successfully
- (12) [datacounterforever] = ok
- (12) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (12) radutmp: EXPAND /var/log/radutmp
- (12) radutmp: --> /var/log/radutmp
- (12) radutmp: EXPAND %{User-Name}
- (12) radutmp: --> anand
- (12) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (12) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (12) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (12) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (12) [forever] = noop
- (12) [exec] = noop
- (12) attr_filter.accounting_response: EXPAND %{User-Name}
- (12) attr_filter.accounting_response: --> anand
- (12) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (12) [attr_filter.accounting_response] = updated
- (12) } # accounting = updated
- (12) Sent Accounting-Response Id 144 from 192.168.200.1:1813 to 192.168.200.1:41832 length 0
- (12) Finished request
- (12) Cleaning up request packet ID 144 with timestamp +88
- Waking up in 4.8 seconds.
- (13) Received Access-Request Id 199 from 192.168.200.1:42037 to 192.168.200.1:1812 length 160
- (13) Service-Type = Login-User
- (13) User-Name = "anand"
- (13) User-Password = "9829012834"
- (13) NAS-IP-Address = 192.168.200.1
- (13) NAS-Identifier = "CaptivePortal-office_zone"
- (13) Calling-Station-Id = "da:54:db:27:ae:2b"
- (13) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (13) NAS-Port-Type = Ethernet
- (13) NAS-Port = 2004
- (13) Framed-IP-Address = 192.168.200.203
- (13) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (13) authorize {
- (13) [preprocess] = ok
- (13) [chap] = noop
- (13) [mschap] = noop
- (13) [digest] = noop
- (13) suffix: Checking for suffix after "@"
- (13) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (13) [suffix] = noop
- (13) ntdomain: Checking for prefix before "\"
- (13) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (13) [ntdomain] = noop
- (13) eap: No EAP-Message, not doing EAP
- (13) [eap] = noop
- (13) files: users: Matched entry DEFAULT at line 1
- (13) files: users: Matched entry anand at line 4
- (13) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (13) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (13) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (13) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (13) [forever] = noop
- (13) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (13) ERROR: Failed retrieving values required to evaluate condition
- (13) [expiration] = noop
- (13) [logintime] = noop
- (13) [pap] = updated
- (13) } # authorize = updated
- (13) Found Auth-Type = PAP
- (13) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (13) Auth-Type PAP {
- (13) pap: Login attempt with password
- (13) pap: Comparing with "known good" Cleartext-Password
- (13) pap: User authenticated successfully
- (13) [pap] = ok
- (13) } # Auth-Type PAP = ok
- (13) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (13) session {
- (13) radutmp: EXPAND /var/log/radutmp
- (13) radutmp: --> /var/log/radutmp
- (13) radutmp: EXPAND %{User-Name}
- (13) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (13) [radutmp] = fail
- (13) } # session = fail
- (13) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (13) post-auth {
- (13) update {
- (13) No attributes updated for RHS &session-state:
- (13) } # update = noop
- (13) [exec] = noop
- (13) policy remove_reply_message_if_eap {
- (13) if (&reply:EAP-Message && &reply:Reply-Message) {
- (13) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (13) else {
- (13) [noop] = noop
- (13) } # else = noop
- (13) } # policy remove_reply_message_if_eap = noop
- (13) } # post-auth = noop
- (13) Login OK: [anand/9829012834] (from client captive_portal port 2004 cli da:54:db:27:ae:2b)
- (13) Sent Access-Accept Id 199 from 192.168.200.1:1812 to 192.168.200.1:42037 length 0
- (13) Finished request
- Waking up in 4.8 seconds.
- (9) Cleaning up request packet ID 28 with timestamp +88
- (11) Cleaning up request packet ID 184 with timestamp +88
- Waking up in 0.1 seconds.
- (13) Cleaning up request packet ID 199 with timestamp +88
- Ready to process requests
- (14) Received Accounting-Request Id 193 from 192.168.200.1:64422 to 192.168.200.1:1813 length 214
- (14) Service-Type = Login-User
- (14) User-Name = "anand"
- (14) Acct-Status-Type = Interim-Update
- (14) Acct-Authentic = RADIUS
- (14) NAS-IP-Address = 192.168.200.1
- (14) NAS-Identifier = "CaptivePortal-office_zone"
- (14) NAS-Port-Type = Ethernet
- (14) NAS-Port = 2000
- (14) Acct-Session-Id = "874681d3614b1b36"
- (14) Framed-IP-Address = 192.168.200.201
- (14) Calling-Station-Id = "e6:8f:99:48:85:89"
- (14) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (14) Acct-Input-Packets = 521
- (14) Acct-Input-Octets = 78963
- (14) Acct-Output-Packets = 630
- (14) Acct-Output-Octets = 363622
- (14) Acct-Session-Time = 130
- (14) Acct-Output-Gigawords = 0
- (14) Acct-Input-Gigawords = 0
- (14) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (14) preacct {
- (14) [preprocess] = ok
- (14) update request {
- (14) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (14) --> 1586901159
- (14) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:22:39 IST
- (14) } # update request = noop
- (14) policy acct_unique {
- (14) update request {
- (14) &Tmp-String-9 := "ai:"
- (14) } # update request = noop
- (14) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (14) EXPAND %{hex:&Class}
- (14) -->
- (14) EXPAND ^%{hex:&Tmp-String-9}
- (14) --> ^61693a
- (14) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (14) else {
- (14) update request {
- (14) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (14) --> e2bf9a1906461b593a1e0e2eb83e1d42
- (14) &Acct-Unique-Session-Id := e2bf9a1906461b593a1e0e2eb83e1d42
- (14) } # update request = noop
- (14) } # else = noop
- (14) } # policy acct_unique = noop
- (14) suffix: Checking for suffix after "@"
- (14) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (14) [suffix] = noop
- (14) ntdomain: Checking for prefix before "\"
- (14) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (14) [ntdomain] = noop
- (14) [files] = noop
- (14) } # preacct = ok
- (14) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (14) accounting {
- (14) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (14) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (14) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (14) detail: EXPAND %t
- (14) detail: --> Wed Apr 15 03:24:49 2020
- (14) [detail] = ok
- (14) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (14) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (14) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (14) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (14) datacounterdaily: EXPAND %{request:User-Name}
- (14) datacounterdaily: --> anand
- (14) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (14) datacounterdaily: --> 78963
- (14) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (14) datacounterdaily: --> 363622
- (14) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (14) datacounterdaily: --> Interim-Update
- (14) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (14) datacounterdaily: --> 874681d3614b1b36
- (14) datacounterdaily: Program returned code (0) and output ''
- (14) datacounterdaily: Program executed successfully
- (14) [datacounterdaily] = ok
- (14) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (14) datacounterweekly: EXPAND %{request:User-Name}
- (14) datacounterweekly: --> anand
- (14) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (14) datacounterweekly: --> 78963
- (14) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (14) datacounterweekly: --> 363622
- (14) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (14) datacounterweekly: --> Interim-Update
- (14) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (14) datacounterweekly: --> 874681d3614b1b36
- (14) datacounterweekly: Program returned code (0) and output ''
- (14) datacounterweekly: Program executed successfully
- (14) [datacounterweekly] = ok
- (14) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (14) datacountermonthly: EXPAND %{request:User-Name}
- (14) datacountermonthly: --> anand
- (14) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (14) datacountermonthly: --> 78963
- (14) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (14) datacountermonthly: --> 363622
- (14) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (14) datacountermonthly: --> Interim-Update
- (14) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (14) datacountermonthly: --> 874681d3614b1b36
- (14) datacountermonthly: Program returned code (0) and output ''
- (14) datacountermonthly: Program executed successfully
- (14) [datacountermonthly] = ok
- (14) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (14) datacounterforever: EXPAND %{request:User-Name}
- (14) datacounterforever: --> anand
- (14) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (14) datacounterforever: --> 78963
- (14) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (14) datacounterforever: --> 363622
- (14) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (14) datacounterforever: --> Interim-Update
- (14) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (14) datacounterforever: --> 874681d3614b1b36
- (14) datacounterforever: Program returned code (0) and output ''
- (14) datacounterforever: Program executed successfully
- (14) [datacounterforever] = ok
- (14) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (14) radutmp: EXPAND /var/log/radutmp
- (14) radutmp: --> /var/log/radutmp
- (14) radutmp: EXPAND %{User-Name}
- (14) radutmp: --> anand
- (14) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (14) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (14) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (14) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (14) [forever] = noop
- (14) [exec] = noop
- (14) attr_filter.accounting_response: EXPAND %{User-Name}
- (14) attr_filter.accounting_response: --> anand
- (14) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (14) [attr_filter.accounting_response] = updated
- (14) } # accounting = updated
- (14) Sent Accounting-Response Id 193 from 192.168.200.1:1813 to 192.168.200.1:64422 length 0
- (14) Finished request
- (14) Cleaning up request packet ID 193 with timestamp +149
- Ready to process requests
- (15) Received Access-Request Id 91 from 192.168.200.1:5429 to 192.168.200.1:1812 length 160
- (15) Service-Type = Login-User
- (15) User-Name = "anand"
- (15) User-Password = "9829012834"
- (15) NAS-IP-Address = 192.168.200.1
- (15) NAS-Identifier = "CaptivePortal-office_zone"
- (15) Calling-Station-Id = "e6:8f:99:48:85:89"
- (15) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (15) NAS-Port-Type = Ethernet
- (15) NAS-Port = 2000
- (15) Framed-IP-Address = 192.168.200.201
- (15) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (15) authorize {
- (15) [preprocess] = ok
- (15) [chap] = noop
- (15) [mschap] = noop
- (15) [digest] = noop
- (15) suffix: Checking for suffix after "@"
- (15) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (15) [suffix] = noop
- (15) ntdomain: Checking for prefix before "\"
- (15) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (15) [ntdomain] = noop
- (15) eap: No EAP-Message, not doing EAP
- (15) [eap] = noop
- (15) files: users: Matched entry DEFAULT at line 1
- (15) files: users: Matched entry anand at line 4
- (15) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (15) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (15) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (15) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (15) [forever] = noop
- (15) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (15) ERROR: Failed retrieving values required to evaluate condition
- (15) [expiration] = noop
- (15) [logintime] = noop
- (15) [pap] = updated
- (15) } # authorize = updated
- (15) Found Auth-Type = PAP
- (15) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (15) Auth-Type PAP {
- (15) pap: Login attempt with password
- (15) pap: Comparing with "known good" Cleartext-Password
- (15) pap: User authenticated successfully
- (15) [pap] = ok
- (15) } # Auth-Type PAP = ok
- (15) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (15) session {
- (15) radutmp: EXPAND /var/log/radutmp
- (15) radutmp: --> /var/log/radutmp
- (15) radutmp: EXPAND %{User-Name}
- (15) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (15) [radutmp] = fail
- (15) } # session = fail
- (15) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (15) post-auth {
- (15) update {
- (15) No attributes updated for RHS &session-state:
- (15) } # update = noop
- (15) [exec] = noop
- (15) policy remove_reply_message_if_eap {
- (15) if (&reply:EAP-Message && &reply:Reply-Message) {
- (15) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (15) else {
- (15) [noop] = noop
- (15) } # else = noop
- (15) } # policy remove_reply_message_if_eap = noop
- (15) } # post-auth = noop
- (15) Login OK: [anand/9829012834] (from client captive_portal port 2000 cli e6:8f:99:48:85:89)
- (15) Sent Access-Accept Id 91 from 192.168.200.1:1812 to 192.168.200.1:5429 length 0
- (15) Finished request
- Waking up in 4.9 seconds.
- (16) Received Accounting-Request Id 69 from 192.168.200.1:10987 to 192.168.200.1:1813 length 214
- (16) Service-Type = Login-User
- (16) User-Name = "anand"
- (16) Acct-Status-Type = Interim-Update
- (16) Acct-Authentic = RADIUS
- (16) NAS-IP-Address = 192.168.200.1
- (16) NAS-Identifier = "CaptivePortal-office_zone"
- (16) NAS-Port-Type = Ethernet
- (16) NAS-Port = 2002
- (16) Acct-Session-Id = "6974b7d556ed613e"
- (16) Framed-IP-Address = 192.168.200.202
- (16) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (16) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (16) Acct-Input-Packets = 744
- (16) Acct-Input-Octets = 346255
- (16) Acct-Output-Packets = 784
- (16) Acct-Output-Octets = 399253
- (16) Acct-Session-Time = 99
- (16) Acct-Output-Gigawords = 0
- (16) Acct-Input-Gigawords = 0
- (16) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (16) preacct {
- (16) [preprocess] = ok
- (16) update request {
- (16) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (16) --> 1586901190
- (16) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:10 IST
- (16) } # update request = noop
- (16) policy acct_unique {
- (16) update request {
- (16) &Tmp-String-9 := "ai:"
- (16) } # update request = noop
- (16) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (16) EXPAND %{hex:&Class}
- (16) -->
- (16) EXPAND ^%{hex:&Tmp-String-9}
- (16) --> ^61693a
- (16) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (16) else {
- (16) update request {
- (16) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (16) --> 9a9488f2d0124a4aa7feb209bced26bb
- (16) &Acct-Unique-Session-Id := 9a9488f2d0124a4aa7feb209bced26bb
- (16) } # update request = noop
- (16) } # else = noop
- (16) } # policy acct_unique = noop
- (16) suffix: Checking for suffix after "@"
- (16) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (16) [suffix] = noop
- (16) ntdomain: Checking for prefix before "\"
- (16) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (16) [ntdomain] = noop
- (16) [files] = noop
- (16) } # preacct = ok
- (16) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (16) accounting {
- (16) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (16) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (16) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (16) detail: EXPAND %t
- (16) detail: --> Wed Apr 15 03:24:49 2020
- (16) [detail] = ok
- (16) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (16) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (16) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (16) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (16) datacounterdaily: EXPAND %{request:User-Name}
- (16) datacounterdaily: --> anand
- (16) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (16) datacounterdaily: --> 346255
- (16) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (16) datacounterdaily: --> 399253
- (16) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (16) datacounterdaily: --> Interim-Update
- (16) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (16) datacounterdaily: --> 6974b7d556ed613e
- (16) datacounterdaily: Program returned code (0) and output ''
- (16) datacounterdaily: Program executed successfully
- (16) [datacounterdaily] = ok
- (16) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (16) datacounterweekly: EXPAND %{request:User-Name}
- (16) datacounterweekly: --> anand
- (16) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (16) datacounterweekly: --> 346255
- (16) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (16) datacounterweekly: --> 399253
- (16) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (16) datacounterweekly: --> Interim-Update
- (16) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (16) datacounterweekly: --> 6974b7d556ed613e
- (16) datacounterweekly: Program returned code (0) and output ''
- (16) datacounterweekly: Program executed successfully
- (16) [datacounterweekly] = ok
- (16) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (16) datacountermonthly: EXPAND %{request:User-Name}
- (16) datacountermonthly: --> anand
- (16) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (16) datacountermonthly: --> 346255
- (16) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (16) datacountermonthly: --> 399253
- (16) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (16) datacountermonthly: --> Interim-Update
- (16) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (16) datacountermonthly: --> 6974b7d556ed613e
- (16) datacountermonthly: Program returned code (0) and output ''
- (16) datacountermonthly: Program executed successfully
- (16) [datacountermonthly] = ok
- (16) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (16) datacounterforever: EXPAND %{request:User-Name}
- (16) datacounterforever: --> anand
- (16) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (16) datacounterforever: --> 346255
- (16) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (16) datacounterforever: --> 399253
- (16) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (16) datacounterforever: --> Interim-Update
- (16) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (16) datacounterforever: --> 6974b7d556ed613e
- (16) datacounterforever: Program returned code (0) and output ''
- (16) datacounterforever: Program executed successfully
- (16) [datacounterforever] = ok
- (16) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (16) radutmp: EXPAND /var/log/radutmp
- (16) radutmp: --> /var/log/radutmp
- (16) radutmp: EXPAND %{User-Name}
- (16) radutmp: --> anand
- (16) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (16) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (16) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (16) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (16) [forever] = noop
- (16) [exec] = noop
- (16) attr_filter.accounting_response: EXPAND %{User-Name}
- (16) attr_filter.accounting_response: --> anand
- (16) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (16) [attr_filter.accounting_response] = updated
- (16) } # accounting = updated
- (16) Sent Accounting-Response Id 69 from 192.168.200.1:1813 to 192.168.200.1:10987 length 0
- (16) Finished request
- (16) Cleaning up request packet ID 69 with timestamp +149
- Waking up in 4.8 seconds.
- (17) Received Access-Request Id 185 from 192.168.200.1:5623 to 192.168.200.1:1812 length 160
- (17) Service-Type = Login-User
- (17) User-Name = "anand"
- (17) User-Password = "9829012834"
- (17) NAS-IP-Address = 192.168.200.1
- (17) NAS-Identifier = "CaptivePortal-office_zone"
- (17) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (17) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (17) NAS-Port-Type = Ethernet
- (17) NAS-Port = 2002
- (17) Framed-IP-Address = 192.168.200.202
- (17) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (17) authorize {
- (17) [preprocess] = ok
- (17) [chap] = noop
- (17) [mschap] = noop
- (17) [digest] = noop
- (17) suffix: Checking for suffix after "@"
- (17) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (17) [suffix] = noop
- (17) ntdomain: Checking for prefix before "\"
- (17) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (17) [ntdomain] = noop
- (17) eap: No EAP-Message, not doing EAP
- (17) [eap] = noop
- (17) files: users: Matched entry DEFAULT at line 1
- (17) files: users: Matched entry anand at line 4
- (17) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (17) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (17) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (17) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (17) [forever] = noop
- (17) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (17) ERROR: Failed retrieving values required to evaluate condition
- (17) [expiration] = noop
- (17) [logintime] = noop
- (17) [pap] = updated
- (17) } # authorize = updated
- (17) Found Auth-Type = PAP
- (17) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (17) Auth-Type PAP {
- (17) pap: Login attempt with password
- (17) pap: Comparing with "known good" Cleartext-Password
- (17) pap: User authenticated successfully
- (17) [pap] = ok
- (17) } # Auth-Type PAP = ok
- (17) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (17) session {
- (17) radutmp: EXPAND /var/log/radutmp
- (17) radutmp: --> /var/log/radutmp
- (17) radutmp: EXPAND %{User-Name}
- (17) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (17) [radutmp] = fail
- (17) } # session = fail
- (17) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (17) post-auth {
- (17) update {
- (17) No attributes updated for RHS &session-state:
- (17) } # update = noop
- (17) [exec] = noop
- (17) policy remove_reply_message_if_eap {
- (17) if (&reply:EAP-Message && &reply:Reply-Message) {
- (17) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (17) else {
- (17) [noop] = noop
- (17) } # else = noop
- (17) } # policy remove_reply_message_if_eap = noop
- (17) } # post-auth = noop
- (17) Login OK: [anand/9829012834] (from client captive_portal port 2002 cli b6:e7:02:97:a6:23)
- (17) Sent Access-Accept Id 185 from 192.168.200.1:1812 to 192.168.200.1:5623 length 0
- (17) Finished request
- Waking up in 4.8 seconds.
- (18) Received Accounting-Request Id 213 from 192.168.200.1:22052 to 192.168.200.1:1813 length 214
- (18) Service-Type = Login-User
- (18) User-Name = "anand"
- (18) Acct-Status-Type = Interim-Update
- (18) Acct-Authentic = RADIUS
- (18) NAS-IP-Address = 192.168.200.1
- (18) NAS-Identifier = "CaptivePortal-office_zone"
- (18) NAS-Port-Type = Ethernet
- (18) NAS-Port = 2004
- (18) Acct-Session-Id = "d4f8574cf15bdf9b"
- (18) Framed-IP-Address = 192.168.200.203
- (18) Calling-Station-Id = "da:54:db:27:ae:2b"
- (18) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (18) Acct-Input-Packets = 43
- (18) Acct-Input-Octets = 14206
- (18) Acct-Output-Packets = 31
- (18) Acct-Output-Octets = 6553
- (18) Acct-Session-Time = 86
- (18) Acct-Output-Gigawords = 0
- (18) Acct-Input-Gigawords = 0
- (18) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (18) preacct {
- (18) [preprocess] = ok
- (18) update request {
- (18) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (18) --> 1586901203
- (18) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:23 IST
- (18) } # update request = noop
- (18) policy acct_unique {
- (18) update request {
- (18) &Tmp-String-9 := "ai:"
- (18) } # update request = noop
- (18) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (18) EXPAND %{hex:&Class}
- (18) -->
- (18) EXPAND ^%{hex:&Tmp-String-9}
- (18) --> ^61693a
- (18) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (18) else {
- (18) update request {
- (18) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (18) --> 8540a37c864a86b96f7917819f3d70c9
- (18) &Acct-Unique-Session-Id := 8540a37c864a86b96f7917819f3d70c9
- (18) } # update request = noop
- (18) } # else = noop
- (18) } # policy acct_unique = noop
- (18) suffix: Checking for suffix after "@"
- (18) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (18) [suffix] = noop
- (18) ntdomain: Checking for prefix before "\"
- (18) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (18) [ntdomain] = noop
- (18) [files] = noop
- (18) } # preacct = ok
- (18) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (18) accounting {
- (18) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (18) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (18) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (18) detail: EXPAND %t
- (18) detail: --> Wed Apr 15 03:24:49 2020
- (18) [detail] = ok
- (18) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (18) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (18) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (18) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (18) datacounterdaily: EXPAND %{request:User-Name}
- (18) datacounterdaily: --> anand
- (18) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (18) datacounterdaily: --> 14206
- (18) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (18) datacounterdaily: --> 6553
- (18) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (18) datacounterdaily: --> Interim-Update
- (18) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (18) datacounterdaily: --> d4f8574cf15bdf9b
- (18) datacounterdaily: Program returned code (0) and output ''
- (18) datacounterdaily: Program executed successfully
- (18) [datacounterdaily] = ok
- (18) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (18) datacounterweekly: EXPAND %{request:User-Name}
- (18) datacounterweekly: --> anand
- (18) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (18) datacounterweekly: --> 14206
- (18) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (18) datacounterweekly: --> 6553
- (18) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (18) datacounterweekly: --> Interim-Update
- (18) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (18) datacounterweekly: --> d4f8574cf15bdf9b
- (18) datacounterweekly: Program returned code (0) and output ''
- (18) datacounterweekly: Program executed successfully
- (18) [datacounterweekly] = ok
- (18) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (18) datacountermonthly: EXPAND %{request:User-Name}
- (18) datacountermonthly: --> anand
- (18) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (18) datacountermonthly: --> 14206
- (18) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (18) datacountermonthly: --> 6553
- (18) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (18) datacountermonthly: --> Interim-Update
- (18) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (18) datacountermonthly: --> d4f8574cf15bdf9b
- (18) datacountermonthly: Program returned code (0) and output ''
- (18) datacountermonthly: Program executed successfully
- (18) [datacountermonthly] = ok
- (18) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (18) datacounterforever: EXPAND %{request:User-Name}
- (18) datacounterforever: --> anand
- (18) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (18) datacounterforever: --> 14206
- (18) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (18) datacounterforever: --> 6553
- (18) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (18) datacounterforever: --> Interim-Update
- (18) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (18) datacounterforever: --> d4f8574cf15bdf9b
- (18) datacounterforever: Program returned code (0) and output ''
- (18) datacounterforever: Program executed successfully
- (18) [datacounterforever] = ok
- (18) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (18) radutmp: EXPAND /var/log/radutmp
- (18) radutmp: --> /var/log/radutmp
- (18) radutmp: EXPAND %{User-Name}
- (18) radutmp: --> anand
- (18) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (18) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (18) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (18) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (18) [forever] = noop
- (18) [exec] = noop
- (18) attr_filter.accounting_response: EXPAND %{User-Name}
- (18) attr_filter.accounting_response: --> anand
- (18) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (18) [attr_filter.accounting_response] = updated
- (18) } # accounting = updated
- (18) Sent Accounting-Response Id 213 from 192.168.200.1:1813 to 192.168.200.1:22052 length 0
- (18) Finished request
- (18) Cleaning up request packet ID 213 with timestamp +149
- Waking up in 4.7 seconds.
- (19) Received Access-Request Id 34 from 192.168.200.1:52471 to 192.168.200.1:1812 length 160
- (19) Service-Type = Login-User
- (19) User-Name = "anand"
- (19) User-Password = "9829012834"
- (19) NAS-IP-Address = 192.168.200.1
- (19) NAS-Identifier = "CaptivePortal-office_zone"
- (19) Calling-Station-Id = "da:54:db:27:ae:2b"
- (19) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (19) NAS-Port-Type = Ethernet
- (19) NAS-Port = 2004
- (19) Framed-IP-Address = 192.168.200.203
- (19) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (19) authorize {
- (19) [preprocess] = ok
- (19) [chap] = noop
- (19) [mschap] = noop
- (19) [digest] = noop
- (19) suffix: Checking for suffix after "@"
- (19) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (19) [suffix] = noop
- (19) ntdomain: Checking for prefix before "\"
- (19) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (19) [ntdomain] = noop
- (19) eap: No EAP-Message, not doing EAP
- (19) [eap] = noop
- (19) files: users: Matched entry DEFAULT at line 1
- (19) files: users: Matched entry anand at line 4
- (19) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (19) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (19) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (19) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (19) [forever] = noop
- (19) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (19) ERROR: Failed retrieving values required to evaluate condition
- (19) [expiration] = noop
- (19) [logintime] = noop
- (19) [pap] = updated
- (19) } # authorize = updated
- (19) Found Auth-Type = PAP
- (19) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (19) Auth-Type PAP {
- (19) pap: Login attempt with password
- (19) pap: Comparing with "known good" Cleartext-Password
- (19) pap: User authenticated successfully
- (19) [pap] = ok
- (19) } # Auth-Type PAP = ok
- (19) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (19) session {
- (19) radutmp: EXPAND /var/log/radutmp
- (19) radutmp: --> /var/log/radutmp
- (19) radutmp: EXPAND %{User-Name}
- (19) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (19) [radutmp] = fail
- (19) } # session = fail
- (19) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (19) post-auth {
- (19) update {
- (19) No attributes updated for RHS &session-state:
- (19) } # update = noop
- (19) [exec] = noop
- (19) policy remove_reply_message_if_eap {
- (19) if (&reply:EAP-Message && &reply:Reply-Message) {
- (19) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (19) else {
- (19) [noop] = noop
- (19) } # else = noop
- (19) } # policy remove_reply_message_if_eap = noop
- (19) } # post-auth = noop
- (19) Login OK: [anand/9829012834] (from client captive_portal port 2004 cli da:54:db:27:ae:2b)
- (19) Sent Access-Accept Id 34 from 192.168.200.1:1812 to 192.168.200.1:52471 length 0
- (19) Finished request
- Waking up in 4.7 seconds.
- (15) Cleaning up request packet ID 91 with timestamp +149
- (17) Cleaning up request packet ID 185 with timestamp +149
- Waking up in 0.1 seconds.
- (19) Cleaning up request packet ID 34 with timestamp +149
- Ready to process requests
- (20) Received Accounting-Request Id 126 from 192.168.200.1:32691 to 192.168.200.1:1813 length 214
- (20) Service-Type = Login-User
- (20) User-Name = "anand"
- (20) Acct-Status-Type = Interim-Update
- (20) Acct-Authentic = RADIUS
- (20) NAS-IP-Address = 192.168.200.1
- (20) NAS-Identifier = "CaptivePortal-office_zone"
- (20) NAS-Port-Type = Ethernet
- (20) NAS-Port = 2000
- (20) Acct-Session-Id = "874681d3614b1b36"
- (20) Framed-IP-Address = 192.168.200.201
- (20) Calling-Station-Id = "e6:8f:99:48:85:89"
- (20) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (20) Acct-Input-Packets = 598
- (20) Acct-Input-Octets = 82909
- (20) Acct-Output-Packets = 705
- (20) Acct-Output-Octets = 367990
- (20) Acct-Session-Time = 190
- (20) Acct-Output-Gigawords = 0
- (20) Acct-Input-Gigawords = 0
- (20) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (20) preacct {
- (20) [preprocess] = ok
- (20) update request {
- (20) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (20) --> 1586901159
- (20) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:22:39 IST
- (20) } # update request = noop
- (20) policy acct_unique {
- (20) update request {
- (20) &Tmp-String-9 := "ai:"
- (20) } # update request = noop
- (20) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (20) EXPAND %{hex:&Class}
- (20) -->
- (20) EXPAND ^%{hex:&Tmp-String-9}
- (20) --> ^61693a
- (20) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (20) else {
- (20) update request {
- (20) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (20) --> e2bf9a1906461b593a1e0e2eb83e1d42
- (20) &Acct-Unique-Session-Id := e2bf9a1906461b593a1e0e2eb83e1d42
- (20) } # update request = noop
- (20) } # else = noop
- (20) } # policy acct_unique = noop
- (20) suffix: Checking for suffix after "@"
- (20) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (20) [suffix] = noop
- (20) ntdomain: Checking for prefix before "\"
- (20) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (20) [ntdomain] = noop
- (20) [files] = noop
- (20) } # preacct = ok
- (20) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (20) accounting {
- (20) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (20) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (20) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (20) detail: EXPAND %t
- (20) detail: --> Wed Apr 15 03:25:49 2020
- (20) [detail] = ok
- (20) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (20) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (20) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (20) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (20) datacounterdaily: EXPAND %{request:User-Name}
- (20) datacounterdaily: --> anand
- (20) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (20) datacounterdaily: --> 82909
- (20) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (20) datacounterdaily: --> 367990
- (20) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (20) datacounterdaily: --> Interim-Update
- (20) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (20) datacounterdaily: --> 874681d3614b1b36
- (20) datacounterdaily: Program returned code (0) and output ''
- (20) datacounterdaily: Program executed successfully
- (20) [datacounterdaily] = ok
- (20) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (20) datacounterweekly: EXPAND %{request:User-Name}
- (20) datacounterweekly: --> anand
- (20) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (20) datacounterweekly: --> 82909
- (20) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (20) datacounterweekly: --> 367990
- (20) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (20) datacounterweekly: --> Interim-Update
- (20) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (20) datacounterweekly: --> 874681d3614b1b36
- (20) datacounterweekly: Program returned code (0) and output ''
- (20) datacounterweekly: Program executed successfully
- (20) [datacounterweekly] = ok
- (20) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (20) datacountermonthly: EXPAND %{request:User-Name}
- (20) datacountermonthly: --> anand
- (20) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (20) datacountermonthly: --> 82909
- (20) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (20) datacountermonthly: --> 367990
- (20) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (20) datacountermonthly: --> Interim-Update
- (20) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (20) datacountermonthly: --> 874681d3614b1b36
- (20) datacountermonthly: Program returned code (0) and output ''
- (20) datacountermonthly: Program executed successfully
- (20) [datacountermonthly] = ok
- (20) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (20) datacounterforever: EXPAND %{request:User-Name}
- (20) datacounterforever: --> anand
- (20) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (20) datacounterforever: --> 82909
- (20) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (20) datacounterforever: --> 367990
- (20) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (20) datacounterforever: --> Interim-Update
- (20) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (20) datacounterforever: --> 874681d3614b1b36
- (20) datacounterforever: Program returned code (0) and output ''
- (20) datacounterforever: Program executed successfully
- (20) [datacounterforever] = ok
- (20) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (20) radutmp: EXPAND /var/log/radutmp
- (20) radutmp: --> /var/log/radutmp
- (20) radutmp: EXPAND %{User-Name}
- (20) radutmp: --> anand
- (20) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (20) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (20) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (20) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (20) [forever] = noop
- (20) [exec] = noop
- (20) attr_filter.accounting_response: EXPAND %{User-Name}
- (20) attr_filter.accounting_response: --> anand
- (20) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (20) [attr_filter.accounting_response] = updated
- (20) } # accounting = updated
- (20) Sent Accounting-Response Id 126 from 192.168.200.1:1813 to 192.168.200.1:32691 length 0
- (20) Finished request
- (20) Cleaning up request packet ID 126 with timestamp +209
- Ready to process requests
- (21) Received Access-Request Id 166 from 192.168.200.1:59728 to 192.168.200.1:1812 length 160
- (21) Service-Type = Login-User
- (21) User-Name = "anand"
- (21) User-Password = "9829012834"
- (21) NAS-IP-Address = 192.168.200.1
- (21) NAS-Identifier = "CaptivePortal-office_zone"
- (21) Calling-Station-Id = "e6:8f:99:48:85:89"
- (21) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (21) NAS-Port-Type = Ethernet
- (21) NAS-Port = 2000
- (21) Framed-IP-Address = 192.168.200.201
- (21) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (21) authorize {
- (21) [preprocess] = ok
- (21) [chap] = noop
- (21) [mschap] = noop
- (21) [digest] = noop
- (21) suffix: Checking for suffix after "@"
- (21) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (21) [suffix] = noop
- (21) ntdomain: Checking for prefix before "\"
- (21) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (21) [ntdomain] = noop
- (21) eap: No EAP-Message, not doing EAP
- (21) [eap] = noop
- (21) files: users: Matched entry DEFAULT at line 1
- (21) files: users: Matched entry anand at line 4
- (21) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (21) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (21) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (21) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (21) [forever] = noop
- (21) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (21) ERROR: Failed retrieving values required to evaluate condition
- (21) [expiration] = noop
- (21) [logintime] = noop
- (21) [pap] = updated
- (21) } # authorize = updated
- (21) Found Auth-Type = PAP
- (21) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (21) Auth-Type PAP {
- (21) pap: Login attempt with password
- (21) pap: Comparing with "known good" Cleartext-Password
- (21) pap: User authenticated successfully
- (21) [pap] = ok
- (21) } # Auth-Type PAP = ok
- (21) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (21) session {
- (21) radutmp: EXPAND /var/log/radutmp
- (21) radutmp: --> /var/log/radutmp
- (21) radutmp: EXPAND %{User-Name}
- (21) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (21) [radutmp] = fail
- (21) } # session = fail
- (21) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (21) post-auth {
- (21) update {
- (21) No attributes updated for RHS &session-state:
- (21) } # update = noop
- (21) [exec] = noop
- (21) policy remove_reply_message_if_eap {
- (21) if (&reply:EAP-Message && &reply:Reply-Message) {
- (21) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (21) else {
- (21) [noop] = noop
- (21) } # else = noop
- (21) } # policy remove_reply_message_if_eap = noop
- (21) } # post-auth = noop
- (21) Login OK: [anand/9829012834] (from client captive_portal port 2000 cli e6:8f:99:48:85:89)
- (21) Sent Access-Accept Id 166 from 192.168.200.1:1812 to 192.168.200.1:59728 length 0
- (21) Finished request
- Waking up in 4.9 seconds.
- (22) Received Accounting-Request Id 110 from 192.168.200.1:34618 to 192.168.200.1:1813 length 214
- (22) Service-Type = Login-User
- (22) User-Name = "anand"
- (22) Acct-Status-Type = Interim-Update
- (22) Acct-Authentic = RADIUS
- (22) NAS-IP-Address = 192.168.200.1
- (22) NAS-Identifier = "CaptivePortal-office_zone"
- (22) NAS-Port-Type = Ethernet
- (22) NAS-Port = 2002
- (22) Acct-Session-Id = "6974b7d556ed613e"
- (22) Framed-IP-Address = 192.168.200.202
- (22) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (22) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (22) Acct-Input-Packets = 1479
- (22) Acct-Input-Octets = 644395
- (22) Acct-Output-Packets = 1644
- (22) Acct-Output-Octets = 978832
- (22) Acct-Session-Time = 160
- (22) Acct-Output-Gigawords = 0
- (22) Acct-Input-Gigawords = 0
- (22) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (22) preacct {
- (22) [preprocess] = ok
- (22) update request {
- (22) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (22) --> 1586901190
- (22) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:10 IST
- (22) } # update request = noop
- (22) policy acct_unique {
- (22) update request {
- (22) &Tmp-String-9 := "ai:"
- (22) } # update request = noop
- (22) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (22) EXPAND %{hex:&Class}
- (22) -->
- (22) EXPAND ^%{hex:&Tmp-String-9}
- (22) --> ^61693a
- (22) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (22) else {
- (22) update request {
- (22) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (22) --> 9a9488f2d0124a4aa7feb209bced26bb
- (22) &Acct-Unique-Session-Id := 9a9488f2d0124a4aa7feb209bced26bb
- (22) } # update request = noop
- (22) } # else = noop
- (22) } # policy acct_unique = noop
- (22) suffix: Checking for suffix after "@"
- (22) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (22) [suffix] = noop
- (22) ntdomain: Checking for prefix before "\"
- (22) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (22) [ntdomain] = noop
- (22) [files] = noop
- (22) } # preacct = ok
- (22) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (22) accounting {
- (22) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (22) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (22) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (22) detail: EXPAND %t
- (22) detail: --> Wed Apr 15 03:25:50 2020
- (22) [detail] = ok
- (22) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (22) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (22) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (22) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (22) datacounterdaily: EXPAND %{request:User-Name}
- (22) datacounterdaily: --> anand
- (22) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (22) datacounterdaily: --> 644395
- (22) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (22) datacounterdaily: --> 978832
- (22) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (22) datacounterdaily: --> Interim-Update
- (22) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (22) datacounterdaily: --> 6974b7d556ed613e
- (22) datacounterdaily: Program returned code (0) and output ''
- (22) datacounterdaily: Program executed successfully
- (22) [datacounterdaily] = ok
- (22) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (22) datacounterweekly: EXPAND %{request:User-Name}
- (22) datacounterweekly: --> anand
- (22) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (22) datacounterweekly: --> 644395
- (22) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (22) datacounterweekly: --> 978832
- (22) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (22) datacounterweekly: --> Interim-Update
- (22) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (22) datacounterweekly: --> 6974b7d556ed613e
- (22) datacounterweekly: Program returned code (0) and output ''
- (22) datacounterweekly: Program executed successfully
- (22) [datacounterweekly] = ok
- (22) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (22) datacountermonthly: EXPAND %{request:User-Name}
- (22) datacountermonthly: --> anand
- (22) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (22) datacountermonthly: --> 644395
- (22) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (22) datacountermonthly: --> 978832
- (22) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (22) datacountermonthly: --> Interim-Update
- (22) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (22) datacountermonthly: --> 6974b7d556ed613e
- (22) datacountermonthly: Program returned code (0) and output ''
- (22) datacountermonthly: Program executed successfully
- (22) [datacountermonthly] = ok
- (22) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (22) datacounterforever: EXPAND %{request:User-Name}
- (22) datacounterforever: --> anand
- (22) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (22) datacounterforever: --> 644395
- (22) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (22) datacounterforever: --> 978832
- (22) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (22) datacounterforever: --> Interim-Update
- (22) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (22) datacounterforever: --> 6974b7d556ed613e
- (22) datacounterforever: Program returned code (0) and output ''
- (22) datacounterforever: Program executed successfully
- (22) [datacounterforever] = ok
- (22) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (22) radutmp: EXPAND /var/log/radutmp
- (22) radutmp: --> /var/log/radutmp
- (22) radutmp: EXPAND %{User-Name}
- (22) radutmp: --> anand
- (22) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (22) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (22) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (22) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (22) [forever] = noop
- (22) [exec] = noop
- (22) attr_filter.accounting_response: EXPAND %{User-Name}
- (22) attr_filter.accounting_response: --> anand
- (22) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (22) [attr_filter.accounting_response] = updated
- (22) } # accounting = updated
- (22) Sent Accounting-Response Id 110 from 192.168.200.1:1813 to 192.168.200.1:34618 length 0
- (22) Finished request
- (22) Cleaning up request packet ID 110 with timestamp +210
- Waking up in 4.8 seconds.
- (23) Received Access-Request Id 128 from 192.168.200.1:61565 to 192.168.200.1:1812 length 160
- (23) Service-Type = Login-User
- (23) User-Name = "anand"
- (23) User-Password = "9829012834"
- (23) NAS-IP-Address = 192.168.200.1
- (23) NAS-Identifier = "CaptivePortal-office_zone"
- (23) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (23) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (23) NAS-Port-Type = Ethernet
- (23) NAS-Port = 2002
- (23) Framed-IP-Address = 192.168.200.202
- (23) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (23) authorize {
- (23) [preprocess] = ok
- (23) [chap] = noop
- (23) [mschap] = noop
- (23) [digest] = noop
- (23) suffix: Checking for suffix after "@"
- (23) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (23) [suffix] = noop
- (23) ntdomain: Checking for prefix before "\"
- (23) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (23) [ntdomain] = noop
- (23) eap: No EAP-Message, not doing EAP
- (23) [eap] = noop
- (23) files: users: Matched entry DEFAULT at line 1
- (23) files: users: Matched entry anand at line 4
- (23) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (23) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (23) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (23) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (23) [forever] = noop
- (23) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (23) ERROR: Failed retrieving values required to evaluate condition
- (23) [expiration] = noop
- (23) [logintime] = noop
- (23) [pap] = updated
- (23) } # authorize = updated
- (23) Found Auth-Type = PAP
- (23) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (23) Auth-Type PAP {
- (23) pap: Login attempt with password
- (23) pap: Comparing with "known good" Cleartext-Password
- (23) pap: User authenticated successfully
- (23) [pap] = ok
- (23) } # Auth-Type PAP = ok
- (23) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (23) session {
- (23) radutmp: EXPAND /var/log/radutmp
- (23) radutmp: --> /var/log/radutmp
- (23) radutmp: EXPAND %{User-Name}
- (23) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (23) [radutmp] = fail
- (23) } # session = fail
- (23) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (23) post-auth {
- (23) update {
- (23) No attributes updated for RHS &session-state:
- (23) } # update = noop
- (23) [exec] = noop
- (23) policy remove_reply_message_if_eap {
- (23) if (&reply:EAP-Message && &reply:Reply-Message) {
- (23) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (23) else {
- (23) [noop] = noop
- (23) } # else = noop
- (23) } # policy remove_reply_message_if_eap = noop
- (23) } # post-auth = noop
- (23) Login OK: [anand/9829012834] (from client captive_portal port 2002 cli b6:e7:02:97:a6:23)
- (23) Sent Access-Accept Id 128 from 192.168.200.1:1812 to 192.168.200.1:61565 length 0
- (23) Finished request
- Waking up in 4.8 seconds.
- (24) Received Accounting-Request Id 133 from 192.168.200.1:33325 to 192.168.200.1:1813 length 214
- (24) Service-Type = Login-User
- (24) User-Name = "anand"
- (24) Acct-Status-Type = Interim-Update
- (24) Acct-Authentic = RADIUS
- (24) NAS-IP-Address = 192.168.200.1
- (24) NAS-Identifier = "CaptivePortal-office_zone"
- (24) NAS-Port-Type = Ethernet
- (24) NAS-Port = 2004
- (24) Acct-Session-Id = "d4f8574cf15bdf9b"
- (24) Framed-IP-Address = 192.168.200.203
- (24) Calling-Station-Id = "da:54:db:27:ae:2b"
- (24) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (24) Acct-Input-Packets = 45
- (24) Acct-Input-Octets = 14312
- (24) Acct-Output-Packets = 32
- (24) Acct-Output-Octets = 6593
- (24) Acct-Session-Time = 147
- (24) Acct-Output-Gigawords = 0
- (24) Acct-Input-Gigawords = 0
- (24) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (24) preacct {
- (24) [preprocess] = ok
- (24) update request {
- (24) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (24) --> 1586901203
- (24) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:23 IST
- (24) } # update request = noop
- (24) policy acct_unique {
- (24) update request {
- (24) &Tmp-String-9 := "ai:"
- (24) } # update request = noop
- (24) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (24) EXPAND %{hex:&Class}
- (24) -->
- (24) EXPAND ^%{hex:&Tmp-String-9}
- (24) --> ^61693a
- (24) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (24) else {
- (24) update request {
- (24) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (24) --> 8540a37c864a86b96f7917819f3d70c9
- (24) &Acct-Unique-Session-Id := 8540a37c864a86b96f7917819f3d70c9
- (24) } # update request = noop
- (24) } # else = noop
- (24) } # policy acct_unique = noop
- (24) suffix: Checking for suffix after "@"
- (24) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (24) [suffix] = noop
- (24) ntdomain: Checking for prefix before "\"
- (24) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (24) [ntdomain] = noop
- (24) [files] = noop
- (24) } # preacct = ok
- (24) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (24) accounting {
- (24) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (24) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (24) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (24) detail: EXPAND %t
- (24) detail: --> Wed Apr 15 03:25:50 2020
- (24) [detail] = ok
- (24) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (24) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (24) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (24) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (24) datacounterdaily: EXPAND %{request:User-Name}
- (24) datacounterdaily: --> anand
- (24) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (24) datacounterdaily: --> 14312
- (24) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (24) datacounterdaily: --> 6593
- (24) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (24) datacounterdaily: --> Interim-Update
- (24) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (24) datacounterdaily: --> d4f8574cf15bdf9b
- (24) datacounterdaily: Program returned code (0) and output ''
- (24) datacounterdaily: Program executed successfully
- (24) [datacounterdaily] = ok
- (24) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (24) datacounterweekly: EXPAND %{request:User-Name}
- (24) datacounterweekly: --> anand
- (24) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (24) datacounterweekly: --> 14312
- (24) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (24) datacounterweekly: --> 6593
- (24) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (24) datacounterweekly: --> Interim-Update
- (24) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (24) datacounterweekly: --> d4f8574cf15bdf9b
- (24) datacounterweekly: Program returned code (0) and output ''
- (24) datacounterweekly: Program executed successfully
- (24) [datacounterweekly] = ok
- (24) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (24) datacountermonthly: EXPAND %{request:User-Name}
- (24) datacountermonthly: --> anand
- (24) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (24) datacountermonthly: --> 14312
- (24) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (24) datacountermonthly: --> 6593
- (24) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (24) datacountermonthly: --> Interim-Update
- (24) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (24) datacountermonthly: --> d4f8574cf15bdf9b
- (24) datacountermonthly: Program returned code (0) and output ''
- (24) datacountermonthly: Program executed successfully
- (24) [datacountermonthly] = ok
- (24) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (24) datacounterforever: EXPAND %{request:User-Name}
- (24) datacounterforever: --> anand
- (24) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (24) datacounterforever: --> 14312
- (24) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (24) datacounterforever: --> 6593
- (24) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (24) datacounterforever: --> Interim-Update
- (24) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (24) datacounterforever: --> d4f8574cf15bdf9b
- (24) datacounterforever: Program returned code (0) and output ''
- (24) datacounterforever: Program executed successfully
- (24) [datacounterforever] = ok
- (24) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (24) radutmp: EXPAND /var/log/radutmp
- (24) radutmp: --> /var/log/radutmp
- (24) radutmp: EXPAND %{User-Name}
- (24) radutmp: --> anand
- (24) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (24) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (24) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (24) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (24) [forever] = noop
- (24) [exec] = noop
- (24) attr_filter.accounting_response: EXPAND %{User-Name}
- (24) attr_filter.accounting_response: --> anand
- (24) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (24) [attr_filter.accounting_response] = updated
- (24) } # accounting = updated
- (24) Sent Accounting-Response Id 133 from 192.168.200.1:1813 to 192.168.200.1:33325 length 0
- (24) Finished request
- (24) Cleaning up request packet ID 133 with timestamp +210
- Waking up in 4.6 seconds.
- (25) Received Access-Request Id 105 from 192.168.200.1:59791 to 192.168.200.1:1812 length 160
- (25) Service-Type = Login-User
- (25) User-Name = "anand"
- (25) User-Password = "9829012834"
- (25) NAS-IP-Address = 192.168.200.1
- (25) NAS-Identifier = "CaptivePortal-office_zone"
- (25) Calling-Station-Id = "da:54:db:27:ae:2b"
- (25) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (25) NAS-Port-Type = Ethernet
- (25) NAS-Port = 2004
- (25) Framed-IP-Address = 192.168.200.203
- (25) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (25) authorize {
- (25) [preprocess] = ok
- (25) [chap] = noop
- (25) [mschap] = noop
- (25) [digest] = noop
- (25) suffix: Checking for suffix after "@"
- (25) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (25) [suffix] = noop
- (25) ntdomain: Checking for prefix before "\"
- (25) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (25) [ntdomain] = noop
- (25) eap: No EAP-Message, not doing EAP
- (25) [eap] = noop
- (25) files: users: Matched entry DEFAULT at line 1
- (25) files: users: Matched entry anand at line 4
- (25) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (25) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (25) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (25) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (25) [forever] = noop
- (25) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (25) ERROR: Failed retrieving values required to evaluate condition
- (25) [expiration] = noop
- (25) [logintime] = noop
- (25) [pap] = updated
- (25) } # authorize = updated
- (25) Found Auth-Type = PAP
- (25) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (25) Auth-Type PAP {
- (25) pap: Login attempt with password
- (25) pap: Comparing with "known good" Cleartext-Password
- (25) pap: User authenticated successfully
- (25) [pap] = ok
- (25) } # Auth-Type PAP = ok
- (25) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (25) session {
- (25) radutmp: EXPAND /var/log/radutmp
- (25) radutmp: --> /var/log/radutmp
- (25) radutmp: EXPAND %{User-Name}
- (25) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (25) [radutmp] = fail
- (25) } # session = fail
- (25) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (25) post-auth {
- (25) update {
- (25) No attributes updated for RHS &session-state:
- (25) } # update = noop
- (25) [exec] = noop
- (25) policy remove_reply_message_if_eap {
- (25) if (&reply:EAP-Message && &reply:Reply-Message) {
- (25) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (25) else {
- (25) [noop] = noop
- (25) } # else = noop
- (25) } # policy remove_reply_message_if_eap = noop
- (25) } # post-auth = noop
- (25) Login OK: [anand/9829012834] (from client captive_portal port 2004 cli da:54:db:27:ae:2b)
- (25) Sent Access-Accept Id 105 from 192.168.200.1:1812 to 192.168.200.1:59791 length 0
- (25) Finished request
- Waking up in 4.6 seconds.
- (21) Cleaning up request packet ID 166 with timestamp +209
- Waking up in 0.1 seconds.
- (23) Cleaning up request packet ID 128 with timestamp +210
- Waking up in 0.1 seconds.
- (25) Cleaning up request packet ID 105 with timestamp +210
- Ready to process requests
- (26) Received Accounting-Request Id 106 from 192.168.200.1:2448 to 192.168.200.1:1813 length 214
- (26) Service-Type = Login-User
- (26) User-Name = "anand"
- (26) Acct-Status-Type = Interim-Update
- (26) Acct-Authentic = RADIUS
- (26) NAS-IP-Address = 192.168.200.1
- (26) NAS-Identifier = "CaptivePortal-office_zone"
- (26) NAS-Port-Type = Ethernet
- (26) NAS-Port = 2000
- (26) Acct-Session-Id = "874681d3614b1b36"
- (26) Framed-IP-Address = 192.168.200.201
- (26) Calling-Station-Id = "e6:8f:99:48:85:89"
- (26) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (26) Acct-Input-Packets = 612
- (26) Acct-Input-Octets = 84078
- (26) Acct-Output-Packets = 719
- (26) Acct-Output-Octets = 369438
- (26) Acct-Session-Time = 251
- (26) Acct-Output-Gigawords = 0
- (26) Acct-Input-Gigawords = 0
- (26) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (26) preacct {
- (26) [preprocess] = ok
- (26) update request {
- (26) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (26) --> 1586901159
- (26) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:22:39 IST
- (26) } # update request = noop
- (26) policy acct_unique {
- (26) update request {
- (26) &Tmp-String-9 := "ai:"
- (26) } # update request = noop
- (26) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (26) EXPAND %{hex:&Class}
- (26) -->
- (26) EXPAND ^%{hex:&Tmp-String-9}
- (26) --> ^61693a
- (26) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (26) else {
- (26) update request {
- (26) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (26) --> e2bf9a1906461b593a1e0e2eb83e1d42
- (26) &Acct-Unique-Session-Id := e2bf9a1906461b593a1e0e2eb83e1d42
- (26) } # update request = noop
- (26) } # else = noop
- (26) } # policy acct_unique = noop
- (26) suffix: Checking for suffix after "@"
- (26) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (26) [suffix] = noop
- (26) ntdomain: Checking for prefix before "\"
- (26) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (26) [ntdomain] = noop
- (26) [files] = noop
- (26) } # preacct = ok
- (26) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (26) accounting {
- (26) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (26) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (26) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (26) detail: EXPAND %t
- (26) detail: --> Wed Apr 15 03:26:50 2020
- (26) [detail] = ok
- (26) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (26) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (26) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (26) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (26) datacounterdaily: EXPAND %{request:User-Name}
- (26) datacounterdaily: --> anand
- (26) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (26) datacounterdaily: --> 84078
- (26) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (26) datacounterdaily: --> 369438
- (26) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (26) datacounterdaily: --> Interim-Update
- (26) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (26) datacounterdaily: --> 874681d3614b1b36
- (26) datacounterdaily: Program returned code (0) and output ''
- (26) datacounterdaily: Program executed successfully
- (26) [datacounterdaily] = ok
- (26) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (26) datacounterweekly: EXPAND %{request:User-Name}
- (26) datacounterweekly: --> anand
- (26) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (26) datacounterweekly: --> 84078
- (26) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (26) datacounterweekly: --> 369438
- (26) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (26) datacounterweekly: --> Interim-Update
- (26) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (26) datacounterweekly: --> 874681d3614b1b36
- (26) datacounterweekly: Program returned code (0) and output ''
- (26) datacounterweekly: Program executed successfully
- (26) [datacounterweekly] = ok
- (26) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (26) datacountermonthly: EXPAND %{request:User-Name}
- (26) datacountermonthly: --> anand
- (26) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (26) datacountermonthly: --> 84078
- (26) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (26) datacountermonthly: --> 369438
- (26) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (26) datacountermonthly: --> Interim-Update
- (26) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (26) datacountermonthly: --> 874681d3614b1b36
- (26) datacountermonthly: Program returned code (0) and output ''
- (26) datacountermonthly: Program executed successfully
- (26) [datacountermonthly] = ok
- (26) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (26) datacounterforever: EXPAND %{request:User-Name}
- (26) datacounterforever: --> anand
- (26) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (26) datacounterforever: --> 84078
- (26) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (26) datacounterforever: --> 369438
- (26) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (26) datacounterforever: --> Interim-Update
- (26) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (26) datacounterforever: --> 874681d3614b1b36
- (26) datacounterforever: Program returned code (0) and output ''
- (26) datacounterforever: Program executed successfully
- (26) [datacounterforever] = ok
- (26) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (26) radutmp: EXPAND /var/log/radutmp
- (26) radutmp: --> /var/log/radutmp
- (26) radutmp: EXPAND %{User-Name}
- (26) radutmp: --> anand
- (26) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (26) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (26) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (26) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (26) [forever] = noop
- (26) [exec] = noop
- (26) attr_filter.accounting_response: EXPAND %{User-Name}
- (26) attr_filter.accounting_response: --> anand
- (26) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (26) [attr_filter.accounting_response] = updated
- (26) } # accounting = updated
- (26) Sent Accounting-Response Id 106 from 192.168.200.1:1813 to 192.168.200.1:2448 length 0
- (26) Finished request
- (26) Cleaning up request packet ID 106 with timestamp +270
- Ready to process requests
- (27) Received Access-Request Id 241 from 192.168.200.1:8392 to 192.168.200.1:1812 length 160
- (27) Service-Type = Login-User
- (27) User-Name = "anand"
- (27) User-Password = "9829012834"
- (27) NAS-IP-Address = 192.168.200.1
- (27) NAS-Identifier = "CaptivePortal-office_zone"
- (27) Calling-Station-Id = "e6:8f:99:48:85:89"
- (27) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (27) NAS-Port-Type = Ethernet
- (27) NAS-Port = 2000
- (27) Framed-IP-Address = 192.168.200.201
- (27) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (27) authorize {
- (27) [preprocess] = ok
- (27) [chap] = noop
- (27) [mschap] = noop
- (27) [digest] = noop
- (27) suffix: Checking for suffix after "@"
- (27) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (27) [suffix] = noop
- (27) ntdomain: Checking for prefix before "\"
- (27) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (27) [ntdomain] = noop
- (27) eap: No EAP-Message, not doing EAP
- (27) [eap] = noop
- (27) files: users: Matched entry DEFAULT at line 1
- (27) files: users: Matched entry anand at line 4
- (27) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (27) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (27) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (27) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (27) [forever] = noop
- (27) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (27) ERROR: Failed retrieving values required to evaluate condition
- (27) [expiration] = noop
- (27) [logintime] = noop
- (27) [pap] = updated
- (27) } # authorize = updated
- (27) Found Auth-Type = PAP
- (27) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (27) Auth-Type PAP {
- (27) pap: Login attempt with password
- (27) pap: Comparing with "known good" Cleartext-Password
- (27) pap: User authenticated successfully
- (27) [pap] = ok
- (27) } # Auth-Type PAP = ok
- (27) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (27) session {
- (27) radutmp: EXPAND /var/log/radutmp
- (27) radutmp: --> /var/log/radutmp
- (27) radutmp: EXPAND %{User-Name}
- (27) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (27) [radutmp] = fail
- (27) } # session = fail
- (27) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (27) post-auth {
- (27) update {
- (27) No attributes updated for RHS &session-state:
- (27) } # update = noop
- (27) [exec] = noop
- (27) policy remove_reply_message_if_eap {
- (27) if (&reply:EAP-Message && &reply:Reply-Message) {
- (27) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (27) else {
- (27) [noop] = noop
- (27) } # else = noop
- (27) } # policy remove_reply_message_if_eap = noop
- (27) } # post-auth = noop
- (27) Login OK: [anand/9829012834] (from client captive_portal port 2000 cli e6:8f:99:48:85:89)
- (27) Sent Access-Accept Id 241 from 192.168.200.1:1812 to 192.168.200.1:8392 length 0
- (27) Finished request
- Waking up in 4.9 seconds.
- (28) Received Accounting-Request Id 166 from 192.168.200.1:2771 to 192.168.200.1:1813 length 214
- (28) Service-Type = Login-User
- (28) User-Name = "anand"
- (28) Acct-Status-Type = Interim-Update
- (28) Acct-Authentic = RADIUS
- (28) NAS-IP-Address = 192.168.200.1
- (28) NAS-Identifier = "CaptivePortal-office_zone"
- (28) NAS-Port-Type = Ethernet
- (28) NAS-Port = 2002
- (28) Acct-Session-Id = "6974b7d556ed613e"
- (28) Framed-IP-Address = 192.168.200.202
- (28) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (28) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (28) Acct-Input-Packets = 2262
- (28) Acct-Input-Octets = 684720
- (28) Acct-Output-Packets = 3863
- (28) Acct-Output-Octets = 4108625
- (28) Acct-Session-Time = 220
- (28) Acct-Output-Gigawords = 0
- (28) Acct-Input-Gigawords = 0
- (28) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (28) preacct {
- (28) [preprocess] = ok
- (28) update request {
- (28) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (28) --> 1586901190
- (28) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:10 IST
- (28) } # update request = noop
- (28) policy acct_unique {
- (28) update request {
- (28) &Tmp-String-9 := "ai:"
- (28) } # update request = noop
- (28) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (28) EXPAND %{hex:&Class}
- (28) -->
- (28) EXPAND ^%{hex:&Tmp-String-9}
- (28) --> ^61693a
- (28) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (28) else {
- (28) update request {
- (28) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (28) --> 9a9488f2d0124a4aa7feb209bced26bb
- (28) &Acct-Unique-Session-Id := 9a9488f2d0124a4aa7feb209bced26bb
- (28) } # update request = noop
- (28) } # else = noop
- (28) } # policy acct_unique = noop
- (28) suffix: Checking for suffix after "@"
- (28) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (28) [suffix] = noop
- (28) ntdomain: Checking for prefix before "\"
- (28) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (28) [ntdomain] = noop
- (28) [files] = noop
- (28) } # preacct = ok
- (28) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (28) accounting {
- (28) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (28) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (28) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (28) detail: EXPAND %t
- (28) detail: --> Wed Apr 15 03:26:50 2020
- (28) [detail] = ok
- (28) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (28) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (28) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (28) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (28) datacounterdaily: EXPAND %{request:User-Name}
- (28) datacounterdaily: --> anand
- (28) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (28) datacounterdaily: --> 684720
- (28) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (28) datacounterdaily: --> 4108625
- (28) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (28) datacounterdaily: --> Interim-Update
- (28) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (28) datacounterdaily: --> 6974b7d556ed613e
- (28) datacounterdaily: Program returned code (0) and output ''
- (28) datacounterdaily: Program executed successfully
- (28) [datacounterdaily] = ok
- (28) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (28) datacounterweekly: EXPAND %{request:User-Name}
- (28) datacounterweekly: --> anand
- (28) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (28) datacounterweekly: --> 684720
- (28) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (28) datacounterweekly: --> 4108625
- (28) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (28) datacounterweekly: --> Interim-Update
- (28) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (28) datacounterweekly: --> 6974b7d556ed613e
- (28) datacounterweekly: Program returned code (0) and output ''
- (28) datacounterweekly: Program executed successfully
- (28) [datacounterweekly] = ok
- (28) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (28) datacountermonthly: EXPAND %{request:User-Name}
- (28) datacountermonthly: --> anand
- (28) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (28) datacountermonthly: --> 684720
- (28) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (28) datacountermonthly: --> 4108625
- (28) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (28) datacountermonthly: --> Interim-Update
- (28) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (28) datacountermonthly: --> 6974b7d556ed613e
- (28) datacountermonthly: Program returned code (0) and output ''
- (28) datacountermonthly: Program executed successfully
- (28) [datacountermonthly] = ok
- (28) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (28) datacounterforever: EXPAND %{request:User-Name}
- (28) datacounterforever: --> anand
- (28) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (28) datacounterforever: --> 684720
- (28) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (28) datacounterforever: --> 4108625
- (28) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (28) datacounterforever: --> Interim-Update
- (28) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (28) datacounterforever: --> 6974b7d556ed613e
- (28) datacounterforever: Program returned code (0) and output ''
- (28) datacounterforever: Program executed successfully
- (28) [datacounterforever] = ok
- (28) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (28) radutmp: EXPAND /var/log/radutmp
- (28) radutmp: --> /var/log/radutmp
- (28) radutmp: EXPAND %{User-Name}
- (28) radutmp: --> anand
- (28) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (28) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (28) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (28) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (28) [forever] = noop
- (28) [exec] = noop
- (28) attr_filter.accounting_response: EXPAND %{User-Name}
- (28) attr_filter.accounting_response: --> anand
- (28) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (28) [attr_filter.accounting_response] = updated
- (28) } # accounting = updated
- (28) Sent Accounting-Response Id 166 from 192.168.200.1:1813 to 192.168.200.1:2771 length 0
- (28) Finished request
- (28) Cleaning up request packet ID 166 with timestamp +270
- Waking up in 4.9 seconds.
- (29) Received Access-Request Id 121 from 192.168.200.1:31589 to 192.168.200.1:1812 length 160
- (29) Service-Type = Login-User
- (29) User-Name = "anand"
- (29) User-Password = "9829012834"
- (29) NAS-IP-Address = 192.168.200.1
- (29) NAS-Identifier = "CaptivePortal-office_zone"
- (29) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (29) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (29) NAS-Port-Type = Ethernet
- (29) NAS-Port = 2002
- (29) Framed-IP-Address = 192.168.200.202
- (29) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (29) authorize {
- (29) [preprocess] = ok
- (29) [chap] = noop
- (29) [mschap] = noop
- (29) [digest] = noop
- (29) suffix: Checking for suffix after "@"
- (29) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (29) [suffix] = noop
- (29) ntdomain: Checking for prefix before "\"
- (29) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (29) [ntdomain] = noop
- (29) eap: No EAP-Message, not doing EAP
- (29) [eap] = noop
- (29) files: users: Matched entry DEFAULT at line 1
- (29) files: users: Matched entry anand at line 4
- (29) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (29) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (29) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (29) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (29) [forever] = noop
- (29) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (29) ERROR: Failed retrieving values required to evaluate condition
- (29) [expiration] = noop
- (29) [logintime] = noop
- (29) [pap] = updated
- (29) } # authorize = updated
- (29) Found Auth-Type = PAP
- (29) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (29) Auth-Type PAP {
- (29) pap: Login attempt with password
- (29) pap: Comparing with "known good" Cleartext-Password
- (29) pap: User authenticated successfully
- (29) [pap] = ok
- (29) } # Auth-Type PAP = ok
- (29) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (29) session {
- (29) radutmp: EXPAND /var/log/radutmp
- (29) radutmp: --> /var/log/radutmp
- (29) radutmp: EXPAND %{User-Name}
- (29) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (29) [radutmp] = fail
- (29) } # session = fail
- (29) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (29) post-auth {
- (29) update {
- (29) No attributes updated for RHS &session-state:
- (29) } # update = noop
- (29) [exec] = noop
- (29) policy remove_reply_message_if_eap {
- (29) if (&reply:EAP-Message && &reply:Reply-Message) {
- (29) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (29) else {
- (29) [noop] = noop
- (29) } # else = noop
- (29) } # policy remove_reply_message_if_eap = noop
- (29) } # post-auth = noop
- (29) Login OK: [anand/9829012834] (from client captive_portal port 2002 cli b6:e7:02:97:a6:23)
- (29) Sent Access-Accept Id 121 from 192.168.200.1:1812 to 192.168.200.1:31589 length 0
- (29) Finished request
- Waking up in 4.9 seconds.
- (30) Received Accounting-Request Id 188 from 192.168.200.1:36742 to 192.168.200.1:1813 length 214
- (30) Service-Type = Login-User
- (30) User-Name = "anand"
- (30) Acct-Status-Type = Interim-Update
- (30) Acct-Authentic = RADIUS
- (30) NAS-IP-Address = 192.168.200.1
- (30) NAS-Identifier = "CaptivePortal-office_zone"
- (30) NAS-Port-Type = Ethernet
- (30) NAS-Port = 2004
- (30) Acct-Session-Id = "d4f8574cf15bdf9b"
- (30) Framed-IP-Address = 192.168.200.203
- (30) Calling-Station-Id = "da:54:db:27:ae:2b"
- (30) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (30) Acct-Input-Packets = 45
- (30) Acct-Input-Octets = 14312
- (30) Acct-Output-Packets = 33
- (30) Acct-Output-Octets = 6633
- (30) Acct-Session-Time = 207
- (30) Acct-Output-Gigawords = 0
- (30) Acct-Input-Gigawords = 0
- (30) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (30) preacct {
- (30) [preprocess] = ok
- (30) update request {
- (30) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (30) --> 1586901203
- (30) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:23 IST
- (30) } # update request = noop
- (30) policy acct_unique {
- (30) update request {
- (30) &Tmp-String-9 := "ai:"
- (30) } # update request = noop
- (30) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (30) EXPAND %{hex:&Class}
- (30) -->
- (30) EXPAND ^%{hex:&Tmp-String-9}
- (30) --> ^61693a
- (30) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (30) else {
- (30) update request {
- (30) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (30) --> 8540a37c864a86b96f7917819f3d70c9
- (30) &Acct-Unique-Session-Id := 8540a37c864a86b96f7917819f3d70c9
- (30) } # update request = noop
- (30) } # else = noop
- (30) } # policy acct_unique = noop
- (30) suffix: Checking for suffix after "@"
- (30) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (30) [suffix] = noop
- (30) ntdomain: Checking for prefix before "\"
- (30) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (30) [ntdomain] = noop
- (30) [files] = noop
- (30) } # preacct = ok
- (30) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (30) accounting {
- (30) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (30) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (30) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (30) detail: EXPAND %t
- (30) detail: --> Wed Apr 15 03:26:50 2020
- (30) [detail] = ok
- (30) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (30) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (30) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (30) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (30) datacounterdaily: EXPAND %{request:User-Name}
- (30) datacounterdaily: --> anand
- (30) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (30) datacounterdaily: --> 14312
- (30) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (30) datacounterdaily: --> 6633
- (30) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (30) datacounterdaily: --> Interim-Update
- (30) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (30) datacounterdaily: --> d4f8574cf15bdf9b
- (30) datacounterdaily: Program returned code (0) and output ''
- (30) datacounterdaily: Program executed successfully
- (30) [datacounterdaily] = ok
- (30) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (30) datacounterweekly: EXPAND %{request:User-Name}
- (30) datacounterweekly: --> anand
- (30) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (30) datacounterweekly: --> 14312
- (30) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (30) datacounterweekly: --> 6633
- (30) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (30) datacounterweekly: --> Interim-Update
- (30) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (30) datacounterweekly: --> d4f8574cf15bdf9b
- (30) datacounterweekly: Program returned code (0) and output ''
- (30) datacounterweekly: Program executed successfully
- (30) [datacounterweekly] = ok
- (30) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (30) datacountermonthly: EXPAND %{request:User-Name}
- (30) datacountermonthly: --> anand
- (30) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (30) datacountermonthly: --> 14312
- (30) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (30) datacountermonthly: --> 6633
- (30) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (30) datacountermonthly: --> Interim-Update
- (30) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (30) datacountermonthly: --> d4f8574cf15bdf9b
- (30) datacountermonthly: Program returned code (0) and output ''
- (30) datacountermonthly: Program executed successfully
- (30) [datacountermonthly] = ok
- (30) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (30) datacounterforever: EXPAND %{request:User-Name}
- (30) datacounterforever: --> anand
- (30) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (30) datacounterforever: --> 14312
- (30) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (30) datacounterforever: --> 6633
- (30) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (30) datacounterforever: --> Interim-Update
- (30) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (30) datacounterforever: --> d4f8574cf15bdf9b
- (30) datacounterforever: Program returned code (0) and output ''
- (30) datacounterforever: Program executed successfully
- (30) [datacounterforever] = ok
- (30) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (30) radutmp: EXPAND /var/log/radutmp
- (30) radutmp: --> /var/log/radutmp
- (30) radutmp: EXPAND %{User-Name}
- (30) radutmp: --> anand
- (30) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (30) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (30) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (30) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (30) [forever] = noop
- (30) [exec] = noop
- (30) attr_filter.accounting_response: EXPAND %{User-Name}
- (30) attr_filter.accounting_response: --> anand
- (30) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (30) [attr_filter.accounting_response] = updated
- (30) } # accounting = updated
- (30) Sent Accounting-Response Id 188 from 192.168.200.1:1813 to 192.168.200.1:36742 length 0
- (30) Finished request
- (30) Cleaning up request packet ID 188 with timestamp +270
- Waking up in 4.8 seconds.
- (31) Received Access-Request Id 183 from 192.168.200.1:36053 to 192.168.200.1:1812 length 160
- (31) Service-Type = Login-User
- (31) User-Name = "anand"
- (31) User-Password = "9829012834"
- (31) NAS-IP-Address = 192.168.200.1
- (31) NAS-Identifier = "CaptivePortal-office_zone"
- (31) Calling-Station-Id = "da:54:db:27:ae:2b"
- (31) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (31) NAS-Port-Type = Ethernet
- (31) NAS-Port = 2004
- (31) Framed-IP-Address = 192.168.200.203
- (31) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (31) authorize {
- (31) [preprocess] = ok
- (31) [chap] = noop
- (31) [mschap] = noop
- (31) [digest] = noop
- (31) suffix: Checking for suffix after "@"
- (31) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (31) [suffix] = noop
- (31) ntdomain: Checking for prefix before "\"
- (31) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (31) [ntdomain] = noop
- (31) eap: No EAP-Message, not doing EAP
- (31) [eap] = noop
- (31) files: users: Matched entry DEFAULT at line 1
- (31) files: users: Matched entry anand at line 4
- (31) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (31) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (31) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (31) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (31) [forever] = noop
- (31) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (31) ERROR: Failed retrieving values required to evaluate condition
- (31) [expiration] = noop
- (31) [logintime] = noop
- (31) [pap] = updated
- (31) } # authorize = updated
- (31) Found Auth-Type = PAP
- (31) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (31) Auth-Type PAP {
- (31) pap: Login attempt with password
- (31) pap: Comparing with "known good" Cleartext-Password
- (31) pap: User authenticated successfully
- (31) [pap] = ok
- (31) } # Auth-Type PAP = ok
- (31) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (31) session {
- (31) radutmp: EXPAND /var/log/radutmp
- (31) radutmp: --> /var/log/radutmp
- (31) radutmp: EXPAND %{User-Name}
- (31) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (31) [radutmp] = fail
- (31) } # session = fail
- (31) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (31) post-auth {
- (31) update {
- (31) No attributes updated for RHS &session-state:
- (31) } # update = noop
- (31) [exec] = noop
- (31) policy remove_reply_message_if_eap {
- (31) if (&reply:EAP-Message && &reply:Reply-Message) {
- (31) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (31) else {
- (31) [noop] = noop
- (31) } # else = noop
- (31) } # policy remove_reply_message_if_eap = noop
- (31) } # post-auth = noop
- (31) Login OK: [anand/9829012834] (from client captive_portal port 2004 cli da:54:db:27:ae:2b)
- (31) Sent Access-Accept Id 183 from 192.168.200.1:1812 to 192.168.200.1:36053 length 0
- (31) Finished request
- Waking up in 4.8 seconds.
- (27) Cleaning up request packet ID 241 with timestamp +270
- (29) Cleaning up request packet ID 121 with timestamp +270
- (31) Cleaning up request packet ID 183 with timestamp +271
- Ready to process requests
- (32) Received Accounting-Request Id 134 from 192.168.200.1:10322 to 192.168.200.1:1813 length 214
- (32) Service-Type = Login-User
- (32) User-Name = "anand"
- (32) Acct-Status-Type = Interim-Update
- (32) Acct-Authentic = RADIUS
- (32) NAS-IP-Address = 192.168.200.1
- (32) NAS-Identifier = "CaptivePortal-office_zone"
- (32) NAS-Port-Type = Ethernet
- (32) NAS-Port = 2000
- (32) Acct-Session-Id = "874681d3614b1b36"
- (32) Framed-IP-Address = 192.168.200.201
- (32) Calling-Station-Id = "e6:8f:99:48:85:89"
- (32) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (32) Acct-Input-Packets = 626
- (32) Acct-Input-Octets = 85247
- (32) Acct-Output-Packets = 733
- (32) Acct-Output-Octets = 370886
- (32) Acct-Session-Time = 312
- (32) Acct-Output-Gigawords = 0
- (32) Acct-Input-Gigawords = 0
- (32) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (32) preacct {
- (32) [preprocess] = ok
- (32) update request {
- (32) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (32) --> 1586901159
- (32) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:22:39 IST
- (32) } # update request = noop
- (32) policy acct_unique {
- (32) update request {
- (32) &Tmp-String-9 := "ai:"
- (32) } # update request = noop
- (32) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (32) EXPAND %{hex:&Class}
- (32) -->
- (32) EXPAND ^%{hex:&Tmp-String-9}
- (32) --> ^61693a
- (32) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (32) else {
- (32) update request {
- (32) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (32) --> e2bf9a1906461b593a1e0e2eb83e1d42
- (32) &Acct-Unique-Session-Id := e2bf9a1906461b593a1e0e2eb83e1d42
- (32) } # update request = noop
- (32) } # else = noop
- (32) } # policy acct_unique = noop
- (32) suffix: Checking for suffix after "@"
- (32) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (32) [suffix] = noop
- (32) ntdomain: Checking for prefix before "\"
- (32) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (32) [ntdomain] = noop
- (32) [files] = noop
- (32) } # preacct = ok
- (32) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (32) accounting {
- (32) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (32) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (32) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (32) detail: EXPAND %t
- (32) detail: --> Wed Apr 15 03:27:51 2020
- (32) [detail] = ok
- (32) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (32) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (32) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (32) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (32) datacounterdaily: EXPAND %{request:User-Name}
- (32) datacounterdaily: --> anand
- (32) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (32) datacounterdaily: --> 85247
- (32) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (32) datacounterdaily: --> 370886
- (32) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (32) datacounterdaily: --> Interim-Update
- (32) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (32) datacounterdaily: --> 874681d3614b1b36
- (32) datacounterdaily: Program returned code (0) and output ''
- (32) datacounterdaily: Program executed successfully
- (32) [datacounterdaily] = ok
- (32) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (32) datacounterweekly: EXPAND %{request:User-Name}
- (32) datacounterweekly: --> anand
- (32) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (32) datacounterweekly: --> 85247
- (32) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (32) datacounterweekly: --> 370886
- (32) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (32) datacounterweekly: --> Interim-Update
- (32) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (32) datacounterweekly: --> 874681d3614b1b36
- (32) datacounterweekly: Program returned code (0) and output ''
- (32) datacounterweekly: Program executed successfully
- (32) [datacounterweekly] = ok
- (32) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (32) datacountermonthly: EXPAND %{request:User-Name}
- (32) datacountermonthly: --> anand
- (32) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (32) datacountermonthly: --> 85247
- (32) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (32) datacountermonthly: --> 370886
- (32) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (32) datacountermonthly: --> Interim-Update
- (32) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (32) datacountermonthly: --> 874681d3614b1b36
- (32) datacountermonthly: Program returned code (0) and output ''
- (32) datacountermonthly: Program executed successfully
- (32) [datacountermonthly] = ok
- (32) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (32) datacounterforever: EXPAND %{request:User-Name}
- (32) datacounterforever: --> anand
- (32) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (32) datacounterforever: --> 85247
- (32) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (32) datacounterforever: --> 370886
- (32) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (32) datacounterforever: --> Interim-Update
- (32) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (32) datacounterforever: --> 874681d3614b1b36
- (32) datacounterforever: Program returned code (0) and output ''
- (32) datacounterforever: Program executed successfully
- (32) [datacounterforever] = ok
- (32) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (32) radutmp: EXPAND /var/log/radutmp
- (32) radutmp: --> /var/log/radutmp
- (32) radutmp: EXPAND %{User-Name}
- (32) radutmp: --> anand
- (32) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (32) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (32) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (32) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (32) [forever] = noop
- (32) [exec] = noop
- (32) attr_filter.accounting_response: EXPAND %{User-Name}
- (32) attr_filter.accounting_response: --> anand
- (32) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (32) [attr_filter.accounting_response] = updated
- (32) } # accounting = updated
- (32) Sent Accounting-Response Id 134 from 192.168.200.1:1813 to 192.168.200.1:10322 length 0
- (32) Finished request
- (32) Cleaning up request packet ID 134 with timestamp +331
- Ready to process requests
- (33) Received Access-Request Id 49 from 192.168.200.1:31470 to 192.168.200.1:1812 length 160
- (33) Service-Type = Login-User
- (33) User-Name = "anand"
- (33) User-Password = "9829012834"
- (33) NAS-IP-Address = 192.168.200.1
- (33) NAS-Identifier = "CaptivePortal-office_zone"
- (33) Calling-Station-Id = "e6:8f:99:48:85:89"
- (33) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (33) NAS-Port-Type = Ethernet
- (33) NAS-Port = 2000
- (33) Framed-IP-Address = 192.168.200.201
- (33) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (33) authorize {
- (33) [preprocess] = ok
- (33) [chap] = noop
- (33) [mschap] = noop
- (33) [digest] = noop
- (33) suffix: Checking for suffix after "@"
- (33) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (33) [suffix] = noop
- (33) ntdomain: Checking for prefix before "\"
- (33) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (33) [ntdomain] = noop
- (33) eap: No EAP-Message, not doing EAP
- (33) [eap] = noop
- (33) files: users: Matched entry DEFAULT at line 1
- (33) files: users: Matched entry anand at line 4
- (33) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (33) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (33) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (33) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (33) [forever] = noop
- (33) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (33) ERROR: Failed retrieving values required to evaluate condition
- (33) [expiration] = noop
- (33) [logintime] = noop
- (33) [pap] = updated
- (33) } # authorize = updated
- (33) Found Auth-Type = PAP
- (33) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (33) Auth-Type PAP {
- (33) pap: Login attempt with password
- (33) pap: Comparing with "known good" Cleartext-Password
- (33) pap: User authenticated successfully
- (33) [pap] = ok
- (33) } # Auth-Type PAP = ok
- (33) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (33) session {
- (33) radutmp: EXPAND /var/log/radutmp
- (33) radutmp: --> /var/log/radutmp
- (33) radutmp: EXPAND %{User-Name}
- (33) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (33) [radutmp] = fail
- (33) } # session = fail
- (33) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (33) post-auth {
- (33) update {
- (33) No attributes updated for RHS &session-state:
- (33) } # update = noop
- (33) [exec] = noop
- (33) policy remove_reply_message_if_eap {
- (33) if (&reply:EAP-Message && &reply:Reply-Message) {
- (33) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (33) else {
- (33) [noop] = noop
- (33) } # else = noop
- (33) } # policy remove_reply_message_if_eap = noop
- (33) } # post-auth = noop
- (33) Login OK: [anand/9829012834] (from client captive_portal port 2000 cli e6:8f:99:48:85:89)
- (33) Sent Access-Accept Id 49 from 192.168.200.1:1812 to 192.168.200.1:31470 length 0
- (33) Finished request
- Waking up in 4.9 seconds.
- (34) Received Accounting-Request Id 186 from 192.168.200.1:52030 to 192.168.200.1:1813 length 214
- (34) Service-Type = Login-User
- (34) User-Name = "anand"
- (34) Acct-Status-Type = Interim-Update
- (34) Acct-Authentic = RADIUS
- (34) NAS-IP-Address = 192.168.200.1
- (34) NAS-Identifier = "CaptivePortal-office_zone"
- (34) NAS-Port-Type = Ethernet
- (34) NAS-Port = 2002
- (34) Acct-Session-Id = "6974b7d556ed613e"
- (34) Framed-IP-Address = 192.168.200.202
- (34) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (34) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (34) Acct-Input-Packets = 2398
- (34) Acct-Input-Octets = 702589
- (34) Acct-Output-Packets = 4005
- (34) Acct-Output-Octets = 4129498
- (34) Acct-Session-Time = 281
- (34) Acct-Output-Gigawords = 0
- (34) Acct-Input-Gigawords = 0
- (34) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (34) preacct {
- (34) [preprocess] = ok
- (34) update request {
- (34) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (34) --> 1586901190
- (34) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:10 IST
- (34) } # update request = noop
- (34) policy acct_unique {
- (34) update request {
- (34) &Tmp-String-9 := "ai:"
- (34) } # update request = noop
- (34) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (34) EXPAND %{hex:&Class}
- (34) -->
- (34) EXPAND ^%{hex:&Tmp-String-9}
- (34) --> ^61693a
- (34) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (34) else {
- (34) update request {
- (34) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (34) --> 9a9488f2d0124a4aa7feb209bced26bb
- (34) &Acct-Unique-Session-Id := 9a9488f2d0124a4aa7feb209bced26bb
- (34) } # update request = noop
- (34) } # else = noop
- (34) } # policy acct_unique = noop
- (34) suffix: Checking for suffix after "@"
- (34) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (34) [suffix] = noop
- (34) ntdomain: Checking for prefix before "\"
- (34) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (34) [ntdomain] = noop
- (34) [files] = noop
- (34) } # preacct = ok
- (34) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (34) accounting {
- (34) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (34) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (34) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (34) detail: EXPAND %t
- (34) detail: --> Wed Apr 15 03:27:51 2020
- (34) [detail] = ok
- (34) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (34) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (34) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (34) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (34) datacounterdaily: EXPAND %{request:User-Name}
- (34) datacounterdaily: --> anand
- (34) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (34) datacounterdaily: --> 702589
- (34) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (34) datacounterdaily: --> 4129498
- (34) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (34) datacounterdaily: --> Interim-Update
- (34) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (34) datacounterdaily: --> 6974b7d556ed613e
- (34) datacounterdaily: Program returned code (0) and output ''
- (34) datacounterdaily: Program executed successfully
- (34) [datacounterdaily] = ok
- (34) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (34) datacounterweekly: EXPAND %{request:User-Name}
- (34) datacounterweekly: --> anand
- (34) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (34) datacounterweekly: --> 702589
- (34) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (34) datacounterweekly: --> 4129498
- (34) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (34) datacounterweekly: --> Interim-Update
- (34) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (34) datacounterweekly: --> 6974b7d556ed613e
- (34) datacounterweekly: Program returned code (0) and output ''
- (34) datacounterweekly: Program executed successfully
- (34) [datacounterweekly] = ok
- (34) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (34) datacountermonthly: EXPAND %{request:User-Name}
- (34) datacountermonthly: --> anand
- (34) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (34) datacountermonthly: --> 702589
- (34) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (34) datacountermonthly: --> 4129498
- (34) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (34) datacountermonthly: --> Interim-Update
- (34) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (34) datacountermonthly: --> 6974b7d556ed613e
- (34) datacountermonthly: Program returned code (0) and output ''
- (34) datacountermonthly: Program executed successfully
- (34) [datacountermonthly] = ok
- (34) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (34) datacounterforever: EXPAND %{request:User-Name}
- (34) datacounterforever: --> anand
- (34) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (34) datacounterforever: --> 702589
- (34) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (34) datacounterforever: --> 4129498
- (34) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (34) datacounterforever: --> Interim-Update
- (34) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (34) datacounterforever: --> 6974b7d556ed613e
- (34) datacounterforever: Program returned code (0) and output ''
- (34) datacounterforever: Program executed successfully
- (34) [datacounterforever] = ok
- (34) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (34) radutmp: EXPAND /var/log/radutmp
- (34) radutmp: --> /var/log/radutmp
- (34) radutmp: EXPAND %{User-Name}
- (34) radutmp: --> anand
- (34) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (34) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (34) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (34) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (34) [forever] = noop
- (34) [exec] = noop
- (34) attr_filter.accounting_response: EXPAND %{User-Name}
- (34) attr_filter.accounting_response: --> anand
- (34) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (34) [attr_filter.accounting_response] = updated
- (34) } # accounting = updated
- (34) Sent Accounting-Response Id 186 from 192.168.200.1:1813 to 192.168.200.1:52030 length 0
- (34) Finished request
- (34) Cleaning up request packet ID 186 with timestamp +331
- Waking up in 4.8 seconds.
- (35) Received Access-Request Id 144 from 192.168.200.1:30286 to 192.168.200.1:1812 length 160
- (35) Service-Type = Login-User
- (35) User-Name = "anand"
- (35) User-Password = "9829012834"
- (35) NAS-IP-Address = 192.168.200.1
- (35) NAS-Identifier = "CaptivePortal-office_zone"
- (35) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (35) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (35) NAS-Port-Type = Ethernet
- (35) NAS-Port = 2002
- (35) Framed-IP-Address = 192.168.200.202
- (35) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (35) authorize {
- (35) [preprocess] = ok
- (35) [chap] = noop
- (35) [mschap] = noop
- (35) [digest] = noop
- (35) suffix: Checking for suffix after "@"
- (35) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (35) [suffix] = noop
- (35) ntdomain: Checking for prefix before "\"
- (35) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (35) [ntdomain] = noop
- (35) eap: No EAP-Message, not doing EAP
- (35) [eap] = noop
- (35) files: users: Matched entry DEFAULT at line 1
- (35) files: users: Matched entry anand at line 4
- (35) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (35) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (35) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (35) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (35) [forever] = noop
- (35) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (35) ERROR: Failed retrieving values required to evaluate condition
- (35) [expiration] = noop
- (35) [logintime] = noop
- (35) [pap] = updated
- (35) } # authorize = updated
- (35) Found Auth-Type = PAP
- (35) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (35) Auth-Type PAP {
- (35) pap: Login attempt with password
- (35) pap: Comparing with "known good" Cleartext-Password
- (35) pap: User authenticated successfully
- (35) [pap] = ok
- (35) } # Auth-Type PAP = ok
- (35) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (35) session {
- (35) radutmp: EXPAND /var/log/radutmp
- (35) radutmp: --> /var/log/radutmp
- (35) radutmp: EXPAND %{User-Name}
- (35) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (35) [radutmp] = fail
- (35) } # session = fail
- (35) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (35) post-auth {
- (35) update {
- (35) No attributes updated for RHS &session-state:
- (35) } # update = noop
- (35) [exec] = noop
- (35) policy remove_reply_message_if_eap {
- (35) if (&reply:EAP-Message && &reply:Reply-Message) {
- (35) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (35) else {
- (35) [noop] = noop
- (35) } # else = noop
- (35) } # policy remove_reply_message_if_eap = noop
- (35) } # post-auth = noop
- (35) Login OK: [anand/9829012834] (from client captive_portal port 2002 cli b6:e7:02:97:a6:23)
- (35) Sent Access-Accept Id 144 from 192.168.200.1:1812 to 192.168.200.1:30286 length 0
- (35) Finished request
- Waking up in 4.8 seconds.
- (36) Received Accounting-Request Id 12 from 192.168.200.1:45460 to 192.168.200.1:1813 length 214
- (36) Service-Type = Login-User
- (36) User-Name = "anand"
- (36) Acct-Status-Type = Interim-Update
- (36) Acct-Authentic = RADIUS
- (36) NAS-IP-Address = 192.168.200.1
- (36) NAS-Identifier = "CaptivePortal-office_zone"
- (36) NAS-Port-Type = Ethernet
- (36) NAS-Port = 2004
- (36) Acct-Session-Id = "d4f8574cf15bdf9b"
- (36) Framed-IP-Address = 192.168.200.203
- (36) Calling-Station-Id = "da:54:db:27:ae:2b"
- (36) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (36) Acct-Input-Packets = 45
- (36) Acct-Input-Octets = 14312
- (36) Acct-Output-Packets = 34
- (36) Acct-Output-Octets = 6673
- (36) Acct-Session-Time = 268
- (36) Acct-Output-Gigawords = 0
- (36) Acct-Input-Gigawords = 0
- (36) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (36) preacct {
- (36) [preprocess] = ok
- (36) update request {
- (36) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (36) --> 1586901203
- (36) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:23 IST
- (36) } # update request = noop
- (36) policy acct_unique {
- (36) update request {
- (36) &Tmp-String-9 := "ai:"
- (36) } # update request = noop
- (36) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (36) EXPAND %{hex:&Class}
- (36) -->
- (36) EXPAND ^%{hex:&Tmp-String-9}
- (36) --> ^61693a
- (36) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (36) else {
- (36) update request {
- (36) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (36) --> 8540a37c864a86b96f7917819f3d70c9
- (36) &Acct-Unique-Session-Id := 8540a37c864a86b96f7917819f3d70c9
- (36) } # update request = noop
- (36) } # else = noop
- (36) } # policy acct_unique = noop
- (36) suffix: Checking for suffix after "@"
- (36) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (36) [suffix] = noop
- (36) ntdomain: Checking for prefix before "\"
- (36) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (36) [ntdomain] = noop
- (36) [files] = noop
- (36) } # preacct = ok
- (36) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (36) accounting {
- (36) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (36) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (36) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (36) detail: EXPAND %t
- (36) detail: --> Wed Apr 15 03:27:51 2020
- (36) [detail] = ok
- (36) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (36) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (36) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (36) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (36) datacounterdaily: EXPAND %{request:User-Name}
- (36) datacounterdaily: --> anand
- (36) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (36) datacounterdaily: --> 14312
- (36) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (36) datacounterdaily: --> 6673
- (36) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (36) datacounterdaily: --> Interim-Update
- (36) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (36) datacounterdaily: --> d4f8574cf15bdf9b
- (36) datacounterdaily: Program returned code (0) and output ''
- (36) datacounterdaily: Program executed successfully
- (36) [datacounterdaily] = ok
- (36) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (36) datacounterweekly: EXPAND %{request:User-Name}
- (36) datacounterweekly: --> anand
- (36) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (36) datacounterweekly: --> 14312
- (36) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (36) datacounterweekly: --> 6673
- (36) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (36) datacounterweekly: --> Interim-Update
- (36) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (36) datacounterweekly: --> d4f8574cf15bdf9b
- (36) datacounterweekly: Program returned code (0) and output ''
- (36) datacounterweekly: Program executed successfully
- (36) [datacounterweekly] = ok
- (36) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (36) datacountermonthly: EXPAND %{request:User-Name}
- (36) datacountermonthly: --> anand
- (36) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (36) datacountermonthly: --> 14312
- (36) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (36) datacountermonthly: --> 6673
- (36) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (36) datacountermonthly: --> Interim-Update
- (36) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (36) datacountermonthly: --> d4f8574cf15bdf9b
- (36) datacountermonthly: Program returned code (0) and output ''
- (36) datacountermonthly: Program executed successfully
- (36) [datacountermonthly] = ok
- (36) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (36) datacounterforever: EXPAND %{request:User-Name}
- (36) datacounterforever: --> anand
- (36) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (36) datacounterforever: --> 14312
- (36) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (36) datacounterforever: --> 6673
- (36) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (36) datacounterforever: --> Interim-Update
- (36) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (36) datacounterforever: --> d4f8574cf15bdf9b
- (36) datacounterforever: Program returned code (0) and output ''
- (36) datacounterforever: Program executed successfully
- (36) [datacounterforever] = ok
- (36) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (36) radutmp: EXPAND /var/log/radutmp
- (36) radutmp: --> /var/log/radutmp
- (36) radutmp: EXPAND %{User-Name}
- (36) radutmp: --> anand
- (36) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (36) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (36) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (36) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (36) [forever] = noop
- (36) [exec] = noop
- (36) attr_filter.accounting_response: EXPAND %{User-Name}
- (36) attr_filter.accounting_response: --> anand
- (36) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (36) [attr_filter.accounting_response] = updated
- (36) } # accounting = updated
- (36) Sent Accounting-Response Id 12 from 192.168.200.1:1813 to 192.168.200.1:45460 length 0
- (36) Finished request
- (36) Cleaning up request packet ID 12 with timestamp +331
- Waking up in 4.7 seconds.
- (37) Received Access-Request Id 224 from 192.168.200.1:1311 to 192.168.200.1:1812 length 160
- (37) Service-Type = Login-User
- (37) User-Name = "anand"
- (37) User-Password = "9829012834"
- (37) NAS-IP-Address = 192.168.200.1
- (37) NAS-Identifier = "CaptivePortal-office_zone"
- (37) Calling-Station-Id = "da:54:db:27:ae:2b"
- (37) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (37) NAS-Port-Type = Ethernet
- (37) NAS-Port = 2004
- (37) Framed-IP-Address = 192.168.200.203
- (37) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (37) authorize {
- (37) [preprocess] = ok
- (37) [chap] = noop
- (37) [mschap] = noop
- (37) [digest] = noop
- (37) suffix: Checking for suffix after "@"
- (37) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (37) [suffix] = noop
- (37) ntdomain: Checking for prefix before "\"
- (37) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (37) [ntdomain] = noop
- (37) eap: No EAP-Message, not doing EAP
- (37) [eap] = noop
- (37) files: users: Matched entry DEFAULT at line 1
- (37) files: users: Matched entry anand at line 4
- (37) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (37) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (37) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (37) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (37) [forever] = noop
- (37) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (37) ERROR: Failed retrieving values required to evaluate condition
- (37) [expiration] = noop
- (37) [logintime] = noop
- (37) [pap] = updated
- (37) } # authorize = updated
- (37) Found Auth-Type = PAP
- (37) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (37) Auth-Type PAP {
- (37) pap: Login attempt with password
- (37) pap: Comparing with "known good" Cleartext-Password
- (37) pap: User authenticated successfully
- (37) [pap] = ok
- (37) } # Auth-Type PAP = ok
- (37) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (37) session {
- (37) radutmp: EXPAND /var/log/radutmp
- (37) radutmp: --> /var/log/radutmp
- (37) radutmp: EXPAND %{User-Name}
- (37) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (37) [radutmp] = fail
- (37) } # session = fail
- (37) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (37) post-auth {
- (37) update {
- (37) No attributes updated for RHS &session-state:
- (37) } # update = noop
- (37) [exec] = noop
- (37) policy remove_reply_message_if_eap {
- (37) if (&reply:EAP-Message && &reply:Reply-Message) {
- (37) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (37) else {
- (37) [noop] = noop
- (37) } # else = noop
- (37) } # policy remove_reply_message_if_eap = noop
- (37) } # post-auth = noop
- (37) Login OK: [anand/9829012834] (from client captive_portal port 2004 cli da:54:db:27:ae:2b)
- (37) Sent Access-Accept Id 224 from 192.168.200.1:1812 to 192.168.200.1:1311 length 0
- (37) Finished request
- Waking up in 4.7 seconds.
- (33) Cleaning up request packet ID 49 with timestamp +331
- Waking up in 0.1 seconds.
- (35) Cleaning up request packet ID 144 with timestamp +331
- Waking up in 0.1 seconds.
- (37) Cleaning up request packet ID 224 with timestamp +331
- Ready to process requests
- (38) Received Accounting-Request Id 10 from 192.168.200.1:19561 to 192.168.200.1:1813 length 214
- (38) Service-Type = Login-User
- (38) User-Name = "anand"
- (38) Acct-Status-Type = Interim-Update
- (38) Acct-Authentic = RADIUS
- (38) NAS-IP-Address = 192.168.200.1
- (38) NAS-Identifier = "CaptivePortal-office_zone"
- (38) NAS-Port-Type = Ethernet
- (38) NAS-Port = 2000
- (38) Acct-Session-Id = "874681d3614b1b36"
- (38) Framed-IP-Address = 192.168.200.201
- (38) Calling-Station-Id = "e6:8f:99:48:85:89"
- (38) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (38) Acct-Input-Packets = 641
- (38) Acct-Input-Octets = 86491
- (38) Acct-Output-Packets = 749
- (38) Acct-Output-Octets = 372445
- (38) Acct-Session-Time = 373
- (38) Acct-Output-Gigawords = 0
- (38) Acct-Input-Gigawords = 0
- (38) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (38) preacct {
- (38) [preprocess] = ok
- (38) update request {
- (38) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (38) --> 1586901159
- (38) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:22:39 IST
- (38) } # update request = noop
- (38) policy acct_unique {
- (38) update request {
- (38) &Tmp-String-9 := "ai:"
- (38) } # update request = noop
- (38) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (38) EXPAND %{hex:&Class}
- (38) -->
- (38) EXPAND ^%{hex:&Tmp-String-9}
- (38) --> ^61693a
- (38) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (38) else {
- (38) update request {
- (38) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (38) --> e2bf9a1906461b593a1e0e2eb83e1d42
- (38) &Acct-Unique-Session-Id := e2bf9a1906461b593a1e0e2eb83e1d42
- (38) } # update request = noop
- (38) } # else = noop
- (38) } # policy acct_unique = noop
- (38) suffix: Checking for suffix after "@"
- (38) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (38) [suffix] = noop
- (38) ntdomain: Checking for prefix before "\"
- (38) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (38) [ntdomain] = noop
- (38) [files] = noop
- (38) } # preacct = ok
- (38) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (38) accounting {
- (38) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (38) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (38) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (38) detail: EXPAND %t
- (38) detail: --> Wed Apr 15 03:28:52 2020
- (38) [detail] = ok
- (38) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (38) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (38) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (38) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (38) datacounterdaily: EXPAND %{request:User-Name}
- (38) datacounterdaily: --> anand
- (38) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (38) datacounterdaily: --> 86491
- (38) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (38) datacounterdaily: --> 372445
- (38) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (38) datacounterdaily: --> Interim-Update
- (38) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (38) datacounterdaily: --> 874681d3614b1b36
- (38) datacounterdaily: Program returned code (0) and output ''
- (38) datacounterdaily: Program executed successfully
- (38) [datacounterdaily] = ok
- (38) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (38) datacounterweekly: EXPAND %{request:User-Name}
- (38) datacounterweekly: --> anand
- (38) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (38) datacounterweekly: --> 86491
- (38) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (38) datacounterweekly: --> 372445
- (38) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (38) datacounterweekly: --> Interim-Update
- (38) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (38) datacounterweekly: --> 874681d3614b1b36
- (38) datacounterweekly: Program returned code (0) and output ''
- (38) datacounterweekly: Program executed successfully
- (38) [datacounterweekly] = ok
- (38) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (38) datacountermonthly: EXPAND %{request:User-Name}
- (38) datacountermonthly: --> anand
- (38) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (38) datacountermonthly: --> 86491
- (38) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (38) datacountermonthly: --> 372445
- (38) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (38) datacountermonthly: --> Interim-Update
- (38) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (38) datacountermonthly: --> 874681d3614b1b36
- (38) datacountermonthly: Program returned code (0) and output ''
- (38) datacountermonthly: Program executed successfully
- (38) [datacountermonthly] = ok
- (38) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (38) datacounterforever: EXPAND %{request:User-Name}
- (38) datacounterforever: --> anand
- (38) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (38) datacounterforever: --> 86491
- (38) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (38) datacounterforever: --> 372445
- (38) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (38) datacounterforever: --> Interim-Update
- (38) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (38) datacounterforever: --> 874681d3614b1b36
- (38) datacounterforever: Program returned code (0) and output ''
- (38) datacounterforever: Program executed successfully
- (38) [datacounterforever] = ok
- (38) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (38) radutmp: EXPAND /var/log/radutmp
- (38) radutmp: --> /var/log/radutmp
- (38) radutmp: EXPAND %{User-Name}
- (38) radutmp: --> anand
- (38) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (38) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (38) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (38) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (38) [forever] = noop
- (38) [exec] = noop
- (38) attr_filter.accounting_response: EXPAND %{User-Name}
- (38) attr_filter.accounting_response: --> anand
- (38) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (38) [attr_filter.accounting_response] = updated
- (38) } # accounting = updated
- (38) Sent Accounting-Response Id 10 from 192.168.200.1:1813 to 192.168.200.1:19561 length 0
- (38) Finished request
- (38) Cleaning up request packet ID 10 with timestamp +392
- Ready to process requests
- (39) Received Access-Request Id 33 from 192.168.200.1:38974 to 192.168.200.1:1812 length 160
- (39) Service-Type = Login-User
- (39) User-Name = "anand"
- (39) User-Password = "9829012834"
- (39) NAS-IP-Address = 192.168.200.1
- (39) NAS-Identifier = "CaptivePortal-office_zone"
- (39) Calling-Station-Id = "e6:8f:99:48:85:89"
- (39) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (39) NAS-Port-Type = Ethernet
- (39) NAS-Port = 2000
- (39) Framed-IP-Address = 192.168.200.201
- (39) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (39) authorize {
- (39) [preprocess] = ok
- (39) [chap] = noop
- (39) [mschap] = noop
- (39) [digest] = noop
- (39) suffix: Checking for suffix after "@"
- (39) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (39) [suffix] = noop
- (39) ntdomain: Checking for prefix before "\"
- (39) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (39) [ntdomain] = noop
- (39) eap: No EAP-Message, not doing EAP
- (39) [eap] = noop
- (39) files: users: Matched entry DEFAULT at line 1
- (39) files: users: Matched entry anand at line 4
- (39) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (39) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (39) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (39) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (39) [forever] = noop
- (39) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (39) ERROR: Failed retrieving values required to evaluate condition
- (39) [expiration] = noop
- (39) [logintime] = noop
- (39) [pap] = updated
- (39) } # authorize = updated
- (39) Found Auth-Type = PAP
- (39) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (39) Auth-Type PAP {
- (39) pap: Login attempt with password
- (39) pap: Comparing with "known good" Cleartext-Password
- (39) pap: User authenticated successfully
- (39) [pap] = ok
- (39) } # Auth-Type PAP = ok
- (39) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (39) session {
- (39) radutmp: EXPAND /var/log/radutmp
- (39) radutmp: --> /var/log/radutmp
- (39) radutmp: EXPAND %{User-Name}
- (39) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (39) [radutmp] = fail
- (39) } # session = fail
- (39) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (39) post-auth {
- (39) update {
- (39) No attributes updated for RHS &session-state:
- (39) } # update = noop
- (39) [exec] = noop
- (39) policy remove_reply_message_if_eap {
- (39) if (&reply:EAP-Message && &reply:Reply-Message) {
- (39) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (39) else {
- (39) [noop] = noop
- (39) } # else = noop
- (39) } # policy remove_reply_message_if_eap = noop
- (39) } # post-auth = noop
- (39) Login OK: [anand/9829012834] (from client captive_portal port 2000 cli e6:8f:99:48:85:89)
- (39) Sent Access-Accept Id 33 from 192.168.200.1:1812 to 192.168.200.1:38974 length 0
- (39) Finished request
- Waking up in 4.9 seconds.
- (40) Received Accounting-Request Id 6 from 192.168.200.1:25026 to 192.168.200.1:1813 length 214
- (40) Service-Type = Login-User
- (40) User-Name = "anand"
- (40) Acct-Status-Type = Interim-Update
- (40) Acct-Authentic = RADIUS
- (40) NAS-IP-Address = 192.168.200.1
- (40) NAS-Identifier = "CaptivePortal-office_zone"
- (40) NAS-Port-Type = Ethernet
- (40) NAS-Port = 2002
- (40) Acct-Session-Id = "6974b7d556ed613e"
- (40) Framed-IP-Address = 192.168.200.202
- (40) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (40) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (40) Acct-Input-Packets = 3006
- (40) Acct-Input-Octets = 756289
- (40) Acct-Output-Packets = 6211
- (40) Acct-Output-Octets = 7278405
- (40) Acct-Session-Time = 342
- (40) Acct-Output-Gigawords = 0
- (40) Acct-Input-Gigawords = 0
- (40) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (40) preacct {
- (40) [preprocess] = ok
- (40) update request {
- (40) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (40) --> 1586901190
- (40) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:10 IST
- (40) } # update request = noop
- (40) policy acct_unique {
- (40) update request {
- (40) &Tmp-String-9 := "ai:"
- (40) } # update request = noop
- (40) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (40) EXPAND %{hex:&Class}
- (40) -->
- (40) EXPAND ^%{hex:&Tmp-String-9}
- (40) --> ^61693a
- (40) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (40) else {
- (40) update request {
- (40) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (40) --> 9a9488f2d0124a4aa7feb209bced26bb
- (40) &Acct-Unique-Session-Id := 9a9488f2d0124a4aa7feb209bced26bb
- (40) } # update request = noop
- (40) } # else = noop
- (40) } # policy acct_unique = noop
- (40) suffix: Checking for suffix after "@"
- (40) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (40) [suffix] = noop
- (40) ntdomain: Checking for prefix before "\"
- (40) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (40) [ntdomain] = noop
- (40) [files] = noop
- (40) } # preacct = ok
- (40) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (40) accounting {
- (40) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (40) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (40) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (40) detail: EXPAND %t
- (40) detail: --> Wed Apr 15 03:28:52 2020
- (40) [detail] = ok
- (40) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (40) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (40) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (40) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (40) datacounterdaily: EXPAND %{request:User-Name}
- (40) datacounterdaily: --> anand
- (40) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (40) datacounterdaily: --> 756289
- (40) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (40) datacounterdaily: --> 7278405
- (40) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (40) datacounterdaily: --> Interim-Update
- (40) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (40) datacounterdaily: --> 6974b7d556ed613e
- (40) datacounterdaily: Program returned code (0) and output ''
- (40) datacounterdaily: Program executed successfully
- (40) [datacounterdaily] = ok
- (40) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (40) datacounterweekly: EXPAND %{request:User-Name}
- (40) datacounterweekly: --> anand
- (40) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (40) datacounterweekly: --> 756289
- (40) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (40) datacounterweekly: --> 7278405
- (40) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (40) datacounterweekly: --> Interim-Update
- (40) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (40) datacounterweekly: --> 6974b7d556ed613e
- (40) datacounterweekly: Program returned code (0) and output ''
- (40) datacounterweekly: Program executed successfully
- (40) [datacounterweekly] = ok
- (40) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (40) datacountermonthly: EXPAND %{request:User-Name}
- (40) datacountermonthly: --> anand
- (40) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (40) datacountermonthly: --> 756289
- (40) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (40) datacountermonthly: --> 7278405
- (40) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (40) datacountermonthly: --> Interim-Update
- (40) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (40) datacountermonthly: --> 6974b7d556ed613e
- (40) datacountermonthly: Program returned code (0) and output ''
- (40) datacountermonthly: Program executed successfully
- (40) [datacountermonthly] = ok
- (40) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (40) datacounterforever: EXPAND %{request:User-Name}
- (40) datacounterforever: --> anand
- (40) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (40) datacounterforever: --> 756289
- (40) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (40) datacounterforever: --> 7278405
- (40) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (40) datacounterforever: --> Interim-Update
- (40) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (40) datacounterforever: --> 6974b7d556ed613e
- (40) datacounterforever: Program returned code (0) and output ''
- (40) datacounterforever: Program executed successfully
- (40) [datacounterforever] = ok
- (40) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (40) radutmp: EXPAND /var/log/radutmp
- (40) radutmp: --> /var/log/radutmp
- (40) radutmp: EXPAND %{User-Name}
- (40) radutmp: --> anand
- (40) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (40) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (40) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (40) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (40) [forever] = noop
- (40) [exec] = noop
- (40) attr_filter.accounting_response: EXPAND %{User-Name}
- (40) attr_filter.accounting_response: --> anand
- (40) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (40) [attr_filter.accounting_response] = updated
- (40) } # accounting = updated
- (40) Sent Accounting-Response Id 6 from 192.168.200.1:1813 to 192.168.200.1:25026 length 0
- (40) Finished request
- (40) Cleaning up request packet ID 6 with timestamp +392
- Waking up in 4.9 seconds.
- (41) Received Access-Request Id 163 from 192.168.200.1:5702 to 192.168.200.1:1812 length 160
- (41) Service-Type = Login-User
- (41) User-Name = "anand"
- (41) User-Password = "9829012834"
- (41) NAS-IP-Address = 192.168.200.1
- (41) NAS-Identifier = "CaptivePortal-office_zone"
- (41) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (41) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (41) NAS-Port-Type = Ethernet
- (41) NAS-Port = 2002
- (41) Framed-IP-Address = 192.168.200.202
- (41) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (41) authorize {
- (41) [preprocess] = ok
- (41) [chap] = noop
- (41) [mschap] = noop
- (41) [digest] = noop
- (41) suffix: Checking for suffix after "@"
- (41) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (41) [suffix] = noop
- (41) ntdomain: Checking for prefix before "\"
- (41) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (41) [ntdomain] = noop
- (41) eap: No EAP-Message, not doing EAP
- (41) [eap] = noop
- (41) files: users: Matched entry DEFAULT at line 1
- (41) files: users: Matched entry anand at line 4
- (41) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (41) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (41) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (41) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (41) [forever] = noop
- (41) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (41) ERROR: Failed retrieving values required to evaluate condition
- (41) [expiration] = noop
- (41) [logintime] = noop
- (41) [pap] = updated
- (41) } # authorize = updated
- (41) Found Auth-Type = PAP
- (41) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (41) Auth-Type PAP {
- (41) pap: Login attempt with password
- (41) pap: Comparing with "known good" Cleartext-Password
- (41) pap: User authenticated successfully
- (41) [pap] = ok
- (41) } # Auth-Type PAP = ok
- (41) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (41) session {
- (41) radutmp: EXPAND /var/log/radutmp
- (41) radutmp: --> /var/log/radutmp
- (41) radutmp: EXPAND %{User-Name}
- (41) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (41) [radutmp] = fail
- (41) } # session = fail
- (41) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (41) post-auth {
- (41) update {
- (41) No attributes updated for RHS &session-state:
- (41) } # update = noop
- (41) [exec] = noop
- (41) policy remove_reply_message_if_eap {
- (41) if (&reply:EAP-Message && &reply:Reply-Message) {
- (41) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (41) else {
- (41) [noop] = noop
- (41) } # else = noop
- (41) } # policy remove_reply_message_if_eap = noop
- (41) } # post-auth = noop
- (41) Login OK: [anand/9829012834] (from client captive_portal port 2002 cli b6:e7:02:97:a6:23)
- (41) Sent Access-Accept Id 163 from 192.168.200.1:1812 to 192.168.200.1:5702 length 0
- (41) Finished request
- Waking up in 4.8 seconds.
- (42) Received Accounting-Request Id 107 from 192.168.200.1:7634 to 192.168.200.1:1813 length 214
- (42) Service-Type = Login-User
- (42) User-Name = "anand"
- (42) Acct-Status-Type = Interim-Update
- (42) Acct-Authentic = RADIUS
- (42) NAS-IP-Address = 192.168.200.1
- (42) NAS-Identifier = "CaptivePortal-office_zone"
- (42) NAS-Port-Type = Ethernet
- (42) NAS-Port = 2004
- (42) Acct-Session-Id = "d4f8574cf15bdf9b"
- (42) Framed-IP-Address = 192.168.200.203
- (42) Calling-Station-Id = "da:54:db:27:ae:2b"
- (42) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (42) Acct-Input-Packets = 45
- (42) Acct-Input-Octets = 14312
- (42) Acct-Output-Packets = 35
- (42) Acct-Output-Octets = 6713
- (42) Acct-Session-Time = 329
- (42) Acct-Output-Gigawords = 0
- (42) Acct-Input-Gigawords = 0
- (42) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (42) preacct {
- (42) [preprocess] = ok
- (42) update request {
- (42) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (42) --> 1586901203
- (42) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:23 IST
- (42) } # update request = noop
- (42) policy acct_unique {
- (42) update request {
- (42) &Tmp-String-9 := "ai:"
- (42) } # update request = noop
- (42) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (42) EXPAND %{hex:&Class}
- (42) -->
- (42) EXPAND ^%{hex:&Tmp-String-9}
- (42) --> ^61693a
- (42) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (42) else {
- (42) update request {
- (42) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (42) --> 8540a37c864a86b96f7917819f3d70c9
- (42) &Acct-Unique-Session-Id := 8540a37c864a86b96f7917819f3d70c9
- (42) } # update request = noop
- (42) } # else = noop
- (42) } # policy acct_unique = noop
- (42) suffix: Checking for suffix after "@"
- (42) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (42) [suffix] = noop
- (42) ntdomain: Checking for prefix before "\"
- (42) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (42) [ntdomain] = noop
- (42) [files] = noop
- (42) } # preacct = ok
- (42) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (42) accounting {
- (42) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (42) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (42) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (42) detail: EXPAND %t
- (42) detail: --> Wed Apr 15 03:28:52 2020
- (42) [detail] = ok
- (42) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (42) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (42) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (42) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (42) datacounterdaily: EXPAND %{request:User-Name}
- (42) datacounterdaily: --> anand
- (42) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (42) datacounterdaily: --> 14312
- (42) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (42) datacounterdaily: --> 6713
- (42) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (42) datacounterdaily: --> Interim-Update
- (42) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (42) datacounterdaily: --> d4f8574cf15bdf9b
- (42) datacounterdaily: Program returned code (0) and output ''
- (42) datacounterdaily: Program executed successfully
- (42) [datacounterdaily] = ok
- (42) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (42) datacounterweekly: EXPAND %{request:User-Name}
- (42) datacounterweekly: --> anand
- (42) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (42) datacounterweekly: --> 14312
- (42) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (42) datacounterweekly: --> 6713
- (42) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (42) datacounterweekly: --> Interim-Update
- (42) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (42) datacounterweekly: --> d4f8574cf15bdf9b
- (42) datacounterweekly: Program returned code (0) and output ''
- (42) datacounterweekly: Program executed successfully
- (42) [datacounterweekly] = ok
- (42) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (42) datacountermonthly: EXPAND %{request:User-Name}
- (42) datacountermonthly: --> anand
- (42) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (42) datacountermonthly: --> 14312
- (42) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (42) datacountermonthly: --> 6713
- (42) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (42) datacountermonthly: --> Interim-Update
- (42) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (42) datacountermonthly: --> d4f8574cf15bdf9b
- (42) datacountermonthly: Program returned code (0) and output ''
- (42) datacountermonthly: Program executed successfully
- (42) [datacountermonthly] = ok
- (42) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (42) datacounterforever: EXPAND %{request:User-Name}
- (42) datacounterforever: --> anand
- (42) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (42) datacounterforever: --> 14312
- (42) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (42) datacounterforever: --> 6713
- (42) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (42) datacounterforever: --> Interim-Update
- (42) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (42) datacounterforever: --> d4f8574cf15bdf9b
- (42) datacounterforever: Program returned code (0) and output ''
- (42) datacounterforever: Program executed successfully
- (42) [datacounterforever] = ok
- (42) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (42) radutmp: EXPAND /var/log/radutmp
- (42) radutmp: --> /var/log/radutmp
- (42) radutmp: EXPAND %{User-Name}
- (42) radutmp: --> anand
- (42) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (42) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (42) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (42) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (42) [forever] = noop
- (42) [exec] = noop
- (42) attr_filter.accounting_response: EXPAND %{User-Name}
- (42) attr_filter.accounting_response: --> anand
- (42) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (42) [attr_filter.accounting_response] = updated
- (42) } # accounting = updated
- (42) Sent Accounting-Response Id 107 from 192.168.200.1:1813 to 192.168.200.1:7634 length 0
- (42) Finished request
- (42) Cleaning up request packet ID 107 with timestamp +392
- Waking up in 4.8 seconds.
- (43) Received Access-Request Id 60 from 192.168.200.1:30503 to 192.168.200.1:1812 length 160
- (43) Service-Type = Login-User
- (43) User-Name = "anand"
- (43) User-Password = "9829012834"
- (43) NAS-IP-Address = 192.168.200.1
- (43) NAS-Identifier = "CaptivePortal-office_zone"
- (43) Calling-Station-Id = "da:54:db:27:ae:2b"
- (43) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (43) NAS-Port-Type = Ethernet
- (43) NAS-Port = 2004
- (43) Framed-IP-Address = 192.168.200.203
- (43) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (43) authorize {
- (43) [preprocess] = ok
- (43) [chap] = noop
- (43) [mschap] = noop
- (43) [digest] = noop
- (43) suffix: Checking for suffix after "@"
- (43) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (43) [suffix] = noop
- (43) ntdomain: Checking for prefix before "\"
- (43) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (43) [ntdomain] = noop
- (43) eap: No EAP-Message, not doing EAP
- (43) [eap] = noop
- (43) files: users: Matched entry DEFAULT at line 1
- (43) files: users: Matched entry anand at line 4
- (43) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (43) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (43) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (43) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (43) [forever] = noop
- (43) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (43) ERROR: Failed retrieving values required to evaluate condition
- (43) [expiration] = noop
- (43) [logintime] = noop
- (43) [pap] = updated
- (43) } # authorize = updated
- (43) Found Auth-Type = PAP
- (43) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (43) Auth-Type PAP {
- (43) pap: Login attempt with password
- (43) pap: Comparing with "known good" Cleartext-Password
- (43) pap: User authenticated successfully
- (43) [pap] = ok
- (43) } # Auth-Type PAP = ok
- (43) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (43) session {
- (43) radutmp: EXPAND /var/log/radutmp
- (43) radutmp: --> /var/log/radutmp
- (43) radutmp: EXPAND %{User-Name}
- (43) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (43) [radutmp] = fail
- (43) } # session = fail
- (43) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (43) post-auth {
- (43) update {
- (43) No attributes updated for RHS &session-state:
- (43) } # update = noop
- (43) [exec] = noop
- (43) policy remove_reply_message_if_eap {
- (43) if (&reply:EAP-Message && &reply:Reply-Message) {
- (43) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (43) else {
- (43) [noop] = noop
- (43) } # else = noop
- (43) } # policy remove_reply_message_if_eap = noop
- (43) } # post-auth = noop
- (43) Login OK: [anand/9829012834] (from client captive_portal port 2004 cli da:54:db:27:ae:2b)
- (43) Sent Access-Accept Id 60 from 192.168.200.1:1812 to 192.168.200.1:30503 length 0
- (43) Finished request
- Waking up in 4.8 seconds.
- (39) Cleaning up request packet ID 33 with timestamp +392
- (41) Cleaning up request packet ID 163 with timestamp +392
- (43) Cleaning up request packet ID 60 with timestamp +392
- Ready to process requests
- (44) Received Accounting-Request Id 156 from 192.168.200.1:33311 to 192.168.200.1:1813 length 214
- (44) Service-Type = Login-User
- (44) User-Name = "anand"
- (44) Acct-Status-Type = Interim-Update
- (44) Acct-Authentic = RADIUS
- (44) NAS-IP-Address = 192.168.200.1
- (44) NAS-Identifier = "CaptivePortal-office_zone"
- (44) NAS-Port-Type = Ethernet
- (44) NAS-Port = 2000
- (44) Acct-Session-Id = "874681d3614b1b36"
- (44) Framed-IP-Address = 192.168.200.201
- (44) Calling-Station-Id = "e6:8f:99:48:85:89"
- (44) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (44) Acct-Input-Packets = 657
- (44) Acct-Input-Octets = 87742
- (44) Acct-Output-Packets = 765
- (44) Acct-Output-Octets = 373997
- (44) Acct-Session-Time = 434
- (44) Acct-Output-Gigawords = 0
- (44) Acct-Input-Gigawords = 0
- (44) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (44) preacct {
- (44) [preprocess] = ok
- (44) update request {
- (44) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (44) --> 1586901159
- (44) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:22:39 IST
- (44) } # update request = noop
- (44) policy acct_unique {
- (44) update request {
- (44) &Tmp-String-9 := "ai:"
- (44) } # update request = noop
- (44) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (44) EXPAND %{hex:&Class}
- (44) -->
- (44) EXPAND ^%{hex:&Tmp-String-9}
- (44) --> ^61693a
- (44) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (44) else {
- (44) update request {
- (44) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (44) --> e2bf9a1906461b593a1e0e2eb83e1d42
- (44) &Acct-Unique-Session-Id := e2bf9a1906461b593a1e0e2eb83e1d42
- (44) } # update request = noop
- (44) } # else = noop
- (44) } # policy acct_unique = noop
- (44) suffix: Checking for suffix after "@"
- (44) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (44) [suffix] = noop
- (44) ntdomain: Checking for prefix before "\"
- (44) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (44) [ntdomain] = noop
- (44) [files] = noop
- (44) } # preacct = ok
- (44) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (44) accounting {
- (44) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (44) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (44) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (44) detail: EXPAND %t
- (44) detail: --> Wed Apr 15 03:29:53 2020
- (44) [detail] = ok
- (44) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (44) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (44) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (44) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (44) datacounterdaily: EXPAND %{request:User-Name}
- (44) datacounterdaily: --> anand
- (44) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (44) datacounterdaily: --> 87742
- (44) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (44) datacounterdaily: --> 373997
- (44) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (44) datacounterdaily: --> Interim-Update
- (44) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (44) datacounterdaily: --> 874681d3614b1b36
- (44) datacounterdaily: Program returned code (0) and output ''
- (44) datacounterdaily: Program executed successfully
- (44) [datacounterdaily] = ok
- (44) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (44) datacounterweekly: EXPAND %{request:User-Name}
- (44) datacounterweekly: --> anand
- (44) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (44) datacounterweekly: --> 87742
- (44) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (44) datacounterweekly: --> 373997
- (44) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (44) datacounterweekly: --> Interim-Update
- (44) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (44) datacounterweekly: --> 874681d3614b1b36
- (44) datacounterweekly: Program returned code (0) and output ''
- (44) datacounterweekly: Program executed successfully
- (44) [datacounterweekly] = ok
- (44) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (44) datacountermonthly: EXPAND %{request:User-Name}
- (44) datacountermonthly: --> anand
- (44) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (44) datacountermonthly: --> 87742
- (44) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (44) datacountermonthly: --> 373997
- (44) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (44) datacountermonthly: --> Interim-Update
- (44) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (44) datacountermonthly: --> 874681d3614b1b36
- (44) datacountermonthly: Program returned code (0) and output ''
- (44) datacountermonthly: Program executed successfully
- (44) [datacountermonthly] = ok
- (44) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (44) datacounterforever: EXPAND %{request:User-Name}
- (44) datacounterforever: --> anand
- (44) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (44) datacounterforever: --> 87742
- (44) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (44) datacounterforever: --> 373997
- (44) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (44) datacounterforever: --> Interim-Update
- (44) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (44) datacounterforever: --> 874681d3614b1b36
- (44) datacounterforever: Program returned code (0) and output ''
- (44) datacounterforever: Program executed successfully
- (44) [datacounterforever] = ok
- (44) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (44) radutmp: EXPAND /var/log/radutmp
- (44) radutmp: --> /var/log/radutmp
- (44) radutmp: EXPAND %{User-Name}
- (44) radutmp: --> anand
- (44) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (44) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (44) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (44) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (44) [forever] = noop
- (44) [exec] = noop
- (44) attr_filter.accounting_response: EXPAND %{User-Name}
- (44) attr_filter.accounting_response: --> anand
- (44) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (44) [attr_filter.accounting_response] = updated
- (44) } # accounting = updated
- (44) Sent Accounting-Response Id 156 from 192.168.200.1:1813 to 192.168.200.1:33311 length 0
- (44) Finished request
- (44) Cleaning up request packet ID 156 with timestamp +453
- Ready to process requests
- (45) Received Access-Request Id 225 from 192.168.200.1:49980 to 192.168.200.1:1812 length 160
- (45) Service-Type = Login-User
- (45) User-Name = "anand"
- (45) User-Password = "9829012834"
- (45) NAS-IP-Address = 192.168.200.1
- (45) NAS-Identifier = "CaptivePortal-office_zone"
- (45) Calling-Station-Id = "e6:8f:99:48:85:89"
- (45) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (45) NAS-Port-Type = Ethernet
- (45) NAS-Port = 2000
- (45) Framed-IP-Address = 192.168.200.201
- (45) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (45) authorize {
- (45) [preprocess] = ok
- (45) [chap] = noop
- (45) [mschap] = noop
- (45) [digest] = noop
- (45) suffix: Checking for suffix after "@"
- (45) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (45) [suffix] = noop
- (45) ntdomain: Checking for prefix before "\"
- (45) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (45) [ntdomain] = noop
- (45) eap: No EAP-Message, not doing EAP
- (45) [eap] = noop
- (45) files: users: Matched entry DEFAULT at line 1
- (45) files: users: Matched entry anand at line 4
- (45) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (45) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (45) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (45) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (45) [forever] = noop
- (45) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (45) ERROR: Failed retrieving values required to evaluate condition
- (45) [expiration] = noop
- (45) [logintime] = noop
- (45) [pap] = updated
- (45) } # authorize = updated
- (45) Found Auth-Type = PAP
- (45) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (45) Auth-Type PAP {
- (45) pap: Login attempt with password
- (45) pap: Comparing with "known good" Cleartext-Password
- (45) pap: User authenticated successfully
- (45) [pap] = ok
- (45) } # Auth-Type PAP = ok
- (45) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (45) session {
- (45) radutmp: EXPAND /var/log/radutmp
- (45) radutmp: --> /var/log/radutmp
- (45) radutmp: EXPAND %{User-Name}
- (45) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (45) [radutmp] = fail
- (45) } # session = fail
- (45) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (45) post-auth {
- (45) update {
- (45) No attributes updated for RHS &session-state:
- (45) } # update = noop
- (45) [exec] = noop
- (45) policy remove_reply_message_if_eap {
- (45) if (&reply:EAP-Message && &reply:Reply-Message) {
- (45) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (45) else {
- (45) [noop] = noop
- (45) } # else = noop
- (45) } # policy remove_reply_message_if_eap = noop
- (45) } # post-auth = noop
- (45) Login OK: [anand/9829012834] (from client captive_portal port 2000 cli e6:8f:99:48:85:89)
- (45) Sent Access-Accept Id 225 from 192.168.200.1:1812 to 192.168.200.1:49980 length 0
- (45) Finished request
- Waking up in 4.9 seconds.
- (46) Received Accounting-Request Id 165 from 192.168.200.1:17192 to 192.168.200.1:1813 length 214
- (46) Service-Type = Login-User
- (46) User-Name = "anand"
- (46) Acct-Status-Type = Interim-Update
- (46) Acct-Authentic = RADIUS
- (46) NAS-IP-Address = 192.168.200.1
- (46) NAS-Identifier = "CaptivePortal-office_zone"
- (46) NAS-Port-Type = Ethernet
- (46) NAS-Port = 2002
- (46) Acct-Session-Id = "6974b7d556ed613e"
- (46) Framed-IP-Address = 192.168.200.202
- (46) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (46) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (46) Acct-Input-Packets = 3495
- (46) Acct-Input-Octets = 787060
- (46) Acct-Output-Packets = 8378
- (46) Acct-Output-Octets = 10400969
- (46) Acct-Session-Time = 403
- (46) Acct-Output-Gigawords = 0
- (46) Acct-Input-Gigawords = 0
- (46) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (46) preacct {
- (46) [preprocess] = ok
- (46) update request {
- (46) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (46) --> 1586901190
- (46) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:10 IST
- (46) } # update request = noop
- (46) policy acct_unique {
- (46) update request {
- (46) &Tmp-String-9 := "ai:"
- (46) } # update request = noop
- (46) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (46) EXPAND %{hex:&Class}
- (46) -->
- (46) EXPAND ^%{hex:&Tmp-String-9}
- (46) --> ^61693a
- (46) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (46) else {
- (46) update request {
- (46) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (46) --> 9a9488f2d0124a4aa7feb209bced26bb
- (46) &Acct-Unique-Session-Id := 9a9488f2d0124a4aa7feb209bced26bb
- (46) } # update request = noop
- (46) } # else = noop
- (46) } # policy acct_unique = noop
- (46) suffix: Checking for suffix after "@"
- (46) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (46) [suffix] = noop
- (46) ntdomain: Checking for prefix before "\"
- (46) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (46) [ntdomain] = noop
- (46) [files] = noop
- (46) } # preacct = ok
- (46) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (46) accounting {
- (46) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (46) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (46) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (46) detail: EXPAND %t
- (46) detail: --> Wed Apr 15 03:29:53 2020
- (46) [detail] = ok
- (46) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (46) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (46) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (46) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (46) datacounterdaily: EXPAND %{request:User-Name}
- (46) datacounterdaily: --> anand
- (46) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (46) datacounterdaily: --> 787060
- (46) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (46) datacounterdaily: --> 10400969
- (46) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (46) datacounterdaily: --> Interim-Update
- (46) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (46) datacounterdaily: --> 6974b7d556ed613e
- (46) datacounterdaily: Program returned code (0) and output ''
- (46) datacounterdaily: Program executed successfully
- (46) [datacounterdaily] = ok
- (46) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (46) datacounterweekly: EXPAND %{request:User-Name}
- (46) datacounterweekly: --> anand
- (46) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (46) datacounterweekly: --> 787060
- (46) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (46) datacounterweekly: --> 10400969
- (46) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (46) datacounterweekly: --> Interim-Update
- (46) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (46) datacounterweekly: --> 6974b7d556ed613e
- (46) datacounterweekly: Program returned code (0) and output ''
- (46) datacounterweekly: Program executed successfully
- (46) [datacounterweekly] = ok
- (46) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (46) datacountermonthly: EXPAND %{request:User-Name}
- (46) datacountermonthly: --> anand
- (46) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (46) datacountermonthly: --> 787060
- (46) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (46) datacountermonthly: --> 10400969
- (46) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (46) datacountermonthly: --> Interim-Update
- (46) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (46) datacountermonthly: --> 6974b7d556ed613e
- (46) datacountermonthly: Program returned code (0) and output ''
- (46) datacountermonthly: Program executed successfully
- (46) [datacountermonthly] = ok
- (46) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (46) datacounterforever: EXPAND %{request:User-Name}
- (46) datacounterforever: --> anand
- (46) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (46) datacounterforever: --> 787060
- (46) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (46) datacounterforever: --> 10400969
- (46) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (46) datacounterforever: --> Interim-Update
- (46) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (46) datacounterforever: --> 6974b7d556ed613e
- (46) datacounterforever: Program returned code (0) and output ''
- (46) datacounterforever: Program executed successfully
- (46) [datacounterforever] = ok
- (46) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (46) radutmp: EXPAND /var/log/radutmp
- (46) radutmp: --> /var/log/radutmp
- (46) radutmp: EXPAND %{User-Name}
- (46) radutmp: --> anand
- (46) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (46) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (46) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (46) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (46) [forever] = noop
- (46) [exec] = noop
- (46) attr_filter.accounting_response: EXPAND %{User-Name}
- (46) attr_filter.accounting_response: --> anand
- (46) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (46) [attr_filter.accounting_response] = updated
- (46) } # accounting = updated
- (46) Sent Accounting-Response Id 165 from 192.168.200.1:1813 to 192.168.200.1:17192 length 0
- (46) Finished request
- (46) Cleaning up request packet ID 165 with timestamp +453
- Waking up in 4.8 seconds.
- (47) Received Access-Request Id 111 from 192.168.200.1:31941 to 192.168.200.1:1812 length 160
- (47) Service-Type = Login-User
- (47) User-Name = "anand"
- (47) User-Password = "9829012834"
- (47) NAS-IP-Address = 192.168.200.1
- (47) NAS-Identifier = "CaptivePortal-office_zone"
- (47) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (47) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (47) NAS-Port-Type = Ethernet
- (47) NAS-Port = 2002
- (47) Framed-IP-Address = 192.168.200.202
- (47) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (47) authorize {
- (47) [preprocess] = ok
- (47) [chap] = noop
- (47) [mschap] = noop
- (47) [digest] = noop
- (47) suffix: Checking for suffix after "@"
- (47) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (47) [suffix] = noop
- (47) ntdomain: Checking for prefix before "\"
- (47) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (47) [ntdomain] = noop
- (47) eap: No EAP-Message, not doing EAP
- (47) [eap] = noop
- (47) files: users: Matched entry DEFAULT at line 1
- (47) files: users: Matched entry anand at line 4
- (47) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (47) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (47) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (47) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (47) [forever] = noop
- (47) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (47) ERROR: Failed retrieving values required to evaluate condition
- (47) [expiration] = noop
- (47) [logintime] = noop
- (47) [pap] = updated
- (47) } # authorize = updated
- (47) Found Auth-Type = PAP
- (47) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (47) Auth-Type PAP {
- (47) pap: Login attempt with password
- (47) pap: Comparing with "known good" Cleartext-Password
- (47) pap: User authenticated successfully
- (47) [pap] = ok
- (47) } # Auth-Type PAP = ok
- (47) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (47) session {
- (47) radutmp: EXPAND /var/log/radutmp
- (47) radutmp: --> /var/log/radutmp
- (47) radutmp: EXPAND %{User-Name}
- (47) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (47) [radutmp] = fail
- (47) } # session = fail
- (47) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (47) post-auth {
- (47) update {
- (47) No attributes updated for RHS &session-state:
- (47) } # update = noop
- (47) [exec] = noop
- (47) policy remove_reply_message_if_eap {
- (47) if (&reply:EAP-Message && &reply:Reply-Message) {
- (47) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (47) else {
- (47) [noop] = noop
- (47) } # else = noop
- (47) } # policy remove_reply_message_if_eap = noop
- (47) } # post-auth = noop
- (47) Login OK: [anand/9829012834] (from client captive_portal port 2002 cli b6:e7:02:97:a6:23)
- (47) Sent Access-Accept Id 111 from 192.168.200.1:1812 to 192.168.200.1:31941 length 0
- (47) Finished request
- Waking up in 4.8 seconds.
- (48) Received Accounting-Request Id 202 from 192.168.200.1:22855 to 192.168.200.1:1813 length 214
- (48) Service-Type = Login-User
- (48) User-Name = "anand"
- (48) Acct-Status-Type = Interim-Update
- (48) Acct-Authentic = RADIUS
- (48) NAS-IP-Address = 192.168.200.1
- (48) NAS-Identifier = "CaptivePortal-office_zone"
- (48) NAS-Port-Type = Ethernet
- (48) NAS-Port = 2004
- (48) Acct-Session-Id = "d4f8574cf15bdf9b"
- (48) Framed-IP-Address = 192.168.200.203
- (48) Calling-Station-Id = "da:54:db:27:ae:2b"
- (48) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (48) Acct-Input-Packets = 45
- (48) Acct-Input-Octets = 14312
- (48) Acct-Output-Packets = 36
- (48) Acct-Output-Octets = 6753
- (48) Acct-Session-Time = 390
- (48) Acct-Output-Gigawords = 0
- (48) Acct-Input-Gigawords = 0
- (48) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (48) preacct {
- (48) [preprocess] = ok
- (48) update request {
- (48) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (48) --> 1586901203
- (48) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:23 IST
- (48) } # update request = noop
- (48) policy acct_unique {
- (48) update request {
- (48) &Tmp-String-9 := "ai:"
- (48) } # update request = noop
- (48) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (48) EXPAND %{hex:&Class}
- (48) -->
- (48) EXPAND ^%{hex:&Tmp-String-9}
- (48) --> ^61693a
- (48) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (48) else {
- (48) update request {
- (48) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (48) --> 8540a37c864a86b96f7917819f3d70c9
- (48) &Acct-Unique-Session-Id := 8540a37c864a86b96f7917819f3d70c9
- (48) } # update request = noop
- (48) } # else = noop
- (48) } # policy acct_unique = noop
- (48) suffix: Checking for suffix after "@"
- (48) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (48) [suffix] = noop
- (48) ntdomain: Checking for prefix before "\"
- (48) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (48) [ntdomain] = noop
- (48) [files] = noop
- (48) } # preacct = ok
- (48) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (48) accounting {
- (48) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (48) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (48) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (48) detail: EXPAND %t
- (48) detail: --> Wed Apr 15 03:29:53 2020
- (48) [detail] = ok
- (48) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (48) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (48) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (48) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (48) datacounterdaily: EXPAND %{request:User-Name}
- (48) datacounterdaily: --> anand
- (48) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (48) datacounterdaily: --> 14312
- (48) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (48) datacounterdaily: --> 6753
- (48) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (48) datacounterdaily: --> Interim-Update
- (48) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (48) datacounterdaily: --> d4f8574cf15bdf9b
- (48) datacounterdaily: Program returned code (0) and output ''
- (48) datacounterdaily: Program executed successfully
- (48) [datacounterdaily] = ok
- (48) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (48) datacounterweekly: EXPAND %{request:User-Name}
- (48) datacounterweekly: --> anand
- (48) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (48) datacounterweekly: --> 14312
- (48) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (48) datacounterweekly: --> 6753
- (48) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (48) datacounterweekly: --> Interim-Update
- (48) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (48) datacounterweekly: --> d4f8574cf15bdf9b
- (48) datacounterweekly: Program returned code (0) and output ''
- (48) datacounterweekly: Program executed successfully
- (48) [datacounterweekly] = ok
- (48) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (48) datacountermonthly: EXPAND %{request:User-Name}
- (48) datacountermonthly: --> anand
- (48) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (48) datacountermonthly: --> 14312
- (48) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (48) datacountermonthly: --> 6753
- (48) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (48) datacountermonthly: --> Interim-Update
- (48) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (48) datacountermonthly: --> d4f8574cf15bdf9b
- (48) datacountermonthly: Program returned code (0) and output ''
- (48) datacountermonthly: Program executed successfully
- (48) [datacountermonthly] = ok
- (48) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (48) datacounterforever: EXPAND %{request:User-Name}
- (48) datacounterforever: --> anand
- (48) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (48) datacounterforever: --> 14312
- (48) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (48) datacounterforever: --> 6753
- (48) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (48) datacounterforever: --> Interim-Update
- (48) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (48) datacounterforever: --> d4f8574cf15bdf9b
- (48) datacounterforever: Program returned code (0) and output ''
- (48) datacounterforever: Program executed successfully
- (48) [datacounterforever] = ok
- (48) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (48) radutmp: EXPAND /var/log/radutmp
- (48) radutmp: --> /var/log/radutmp
- (48) radutmp: EXPAND %{User-Name}
- (48) radutmp: --> anand
- (48) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (48) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (48) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (48) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (48) [forever] = noop
- (48) [exec] = noop
- (48) attr_filter.accounting_response: EXPAND %{User-Name}
- (48) attr_filter.accounting_response: --> anand
- (48) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (48) [attr_filter.accounting_response] = updated
- (48) } # accounting = updated
- (48) Sent Accounting-Response Id 202 from 192.168.200.1:1813 to 192.168.200.1:22855 length 0
- (48) Finished request
- (48) Cleaning up request packet ID 202 with timestamp +453
- Waking up in 4.6 seconds.
- (49) Received Access-Request Id 12 from 192.168.200.1:31244 to 192.168.200.1:1812 length 160
- (49) Service-Type = Login-User
- (49) User-Name = "anand"
- (49) User-Password = "9829012834"
- (49) NAS-IP-Address = 192.168.200.1
- (49) NAS-Identifier = "CaptivePortal-office_zone"
- (49) Calling-Station-Id = "da:54:db:27:ae:2b"
- (49) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (49) NAS-Port-Type = Ethernet
- (49) NAS-Port = 2004
- (49) Framed-IP-Address = 192.168.200.203
- (49) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (49) authorize {
- (49) [preprocess] = ok
- (49) [chap] = noop
- (49) [mschap] = noop
- (49) [digest] = noop
- (49) suffix: Checking for suffix after "@"
- (49) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (49) [suffix] = noop
- (49) ntdomain: Checking for prefix before "\"
- (49) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (49) [ntdomain] = noop
- (49) eap: No EAP-Message, not doing EAP
- (49) [eap] = noop
- (49) files: users: Matched entry DEFAULT at line 1
- (49) files: users: Matched entry anand at line 4
- (49) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (49) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (49) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (49) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (49) [forever] = noop
- (49) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (49) ERROR: Failed retrieving values required to evaluate condition
- (49) [expiration] = noop
- (49) [logintime] = noop
- (49) [pap] = updated
- (49) } # authorize = updated
- (49) Found Auth-Type = PAP
- (49) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (49) Auth-Type PAP {
- (49) pap: Login attempt with password
- (49) pap: Comparing with "known good" Cleartext-Password
- (49) pap: User authenticated successfully
- (49) [pap] = ok
- (49) } # Auth-Type PAP = ok
- (49) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (49) session {
- (49) radutmp: EXPAND /var/log/radutmp
- (49) radutmp: --> /var/log/radutmp
- (49) radutmp: EXPAND %{User-Name}
- (49) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (49) [radutmp] = fail
- (49) } # session = fail
- (49) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (49) post-auth {
- (49) update {
- (49) No attributes updated for RHS &session-state:
- (49) } # update = noop
- (49) [exec] = noop
- (49) policy remove_reply_message_if_eap {
- (49) if (&reply:EAP-Message && &reply:Reply-Message) {
- (49) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (49) else {
- (49) [noop] = noop
- (49) } # else = noop
- (49) } # policy remove_reply_message_if_eap = noop
- (49) } # post-auth = noop
- (49) Login OK: [anand/9829012834] (from client captive_portal port 2004 cli da:54:db:27:ae:2b)
- (49) Sent Access-Accept Id 12 from 192.168.200.1:1812 to 192.168.200.1:31244 length 0
- (49) Finished request
- Waking up in 4.6 seconds.
- (45) Cleaning up request packet ID 225 with timestamp +453
- Waking up in 0.1 seconds.
- (47) Cleaning up request packet ID 111 with timestamp +453
- Waking up in 0.1 seconds.
- (49) Cleaning up request packet ID 12 with timestamp +453
- Ready to process requests
- (50) Received Accounting-Request Id 3 from 192.168.200.1:51532 to 192.168.200.1:1813 length 214
- (50) Service-Type = Login-User
- (50) User-Name = "anand"
- (50) Acct-Status-Type = Interim-Update
- (50) Acct-Authentic = RADIUS
- (50) NAS-IP-Address = 192.168.200.1
- (50) NAS-Identifier = "CaptivePortal-office_zone"
- (50) NAS-Port-Type = Ethernet
- (50) NAS-Port = 2000
- (50) Acct-Session-Id = "874681d3614b1b36"
- (50) Framed-IP-Address = 192.168.200.201
- (50) Calling-Station-Id = "e6:8f:99:48:85:89"
- (50) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (50) Acct-Input-Packets = 689
- (50) Acct-Input-Octets = 91424
- (50) Acct-Output-Packets = 800
- (50) Acct-Output-Octets = 385425
- (50) Acct-Session-Time = 495
- (50) Acct-Output-Gigawords = 0
- (50) Acct-Input-Gigawords = 0
- (50) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (50) preacct {
- (50) [preprocess] = ok
- (50) update request {
- (50) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (50) --> 1586901159
- (50) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:22:39 IST
- (50) } # update request = noop
- (50) policy acct_unique {
- (50) update request {
- (50) &Tmp-String-9 := "ai:"
- (50) } # update request = noop
- (50) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (50) EXPAND %{hex:&Class}
- (50) -->
- (50) EXPAND ^%{hex:&Tmp-String-9}
- (50) --> ^61693a
- (50) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (50) else {
- (50) update request {
- (50) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (50) --> e2bf9a1906461b593a1e0e2eb83e1d42
- (50) &Acct-Unique-Session-Id := e2bf9a1906461b593a1e0e2eb83e1d42
- (50) } # update request = noop
- (50) } # else = noop
- (50) } # policy acct_unique = noop
- (50) suffix: Checking for suffix after "@"
- (50) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (50) [suffix] = noop
- (50) ntdomain: Checking for prefix before "\"
- (50) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (50) [ntdomain] = noop
- (50) [files] = noop
- (50) } # preacct = ok
- (50) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (50) accounting {
- (50) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (50) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (50) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (50) detail: EXPAND %t
- (50) detail: --> Wed Apr 15 03:30:54 2020
- (50) [detail] = ok
- (50) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (50) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (50) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (50) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (50) datacounterdaily: EXPAND %{request:User-Name}
- (50) datacounterdaily: --> anand
- (50) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (50) datacounterdaily: --> 91424
- (50) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (50) datacounterdaily: --> 385425
- (50) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (50) datacounterdaily: --> Interim-Update
- (50) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (50) datacounterdaily: --> 874681d3614b1b36
- (50) datacounterdaily: Program returned code (0) and output ''
- (50) datacounterdaily: Program executed successfully
- (50) [datacounterdaily] = ok
- (50) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (50) datacounterweekly: EXPAND %{request:User-Name}
- (50) datacounterweekly: --> anand
- (50) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (50) datacounterweekly: --> 91424
- (50) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (50) datacounterweekly: --> 385425
- (50) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (50) datacounterweekly: --> Interim-Update
- (50) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (50) datacounterweekly: --> 874681d3614b1b36
- (50) datacounterweekly: Program returned code (0) and output ''
- (50) datacounterweekly: Program executed successfully
- (50) [datacounterweekly] = ok
- (50) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (50) datacountermonthly: EXPAND %{request:User-Name}
- (50) datacountermonthly: --> anand
- (50) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (50) datacountermonthly: --> 91424
- (50) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (50) datacountermonthly: --> 385425
- (50) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (50) datacountermonthly: --> Interim-Update
- (50) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (50) datacountermonthly: --> 874681d3614b1b36
- (50) datacountermonthly: Program returned code (0) and output ''
- (50) datacountermonthly: Program executed successfully
- (50) [datacountermonthly] = ok
- (50) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (50) datacounterforever: EXPAND %{request:User-Name}
- (50) datacounterforever: --> anand
- (50) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (50) datacounterforever: --> 91424
- (50) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (50) datacounterforever: --> 385425
- (50) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (50) datacounterforever: --> Interim-Update
- (50) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (50) datacounterforever: --> 874681d3614b1b36
- (50) datacounterforever: Program returned code (0) and output ''
- (50) datacounterforever: Program executed successfully
- (50) [datacounterforever] = ok
- (50) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (50) radutmp: EXPAND /var/log/radutmp
- (50) radutmp: --> /var/log/radutmp
- (50) radutmp: EXPAND %{User-Name}
- (50) radutmp: --> anand
- (50) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (50) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (50) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (50) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (50) [forever] = noop
- (50) [exec] = noop
- (50) attr_filter.accounting_response: EXPAND %{User-Name}
- (50) attr_filter.accounting_response: --> anand
- (50) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (50) [attr_filter.accounting_response] = updated
- (50) } # accounting = updated
- (50) Sent Accounting-Response Id 3 from 192.168.200.1:1813 to 192.168.200.1:51532 length 0
- (50) Finished request
- (50) Cleaning up request packet ID 3 with timestamp +514
- Ready to process requests
- (51) Received Access-Request Id 19 from 192.168.200.1:50870 to 192.168.200.1:1812 length 160
- (51) Service-Type = Login-User
- (51) User-Name = "anand"
- (51) User-Password = "9829012834"
- (51) NAS-IP-Address = 192.168.200.1
- (51) NAS-Identifier = "CaptivePortal-office_zone"
- (51) Calling-Station-Id = "e6:8f:99:48:85:89"
- (51) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (51) NAS-Port-Type = Ethernet
- (51) NAS-Port = 2000
- (51) Framed-IP-Address = 192.168.200.201
- (51) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (51) authorize {
- (51) [preprocess] = ok
- (51) [chap] = noop
- (51) [mschap] = noop
- (51) [digest] = noop
- (51) suffix: Checking for suffix after "@"
- (51) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (51) [suffix] = noop
- (51) ntdomain: Checking for prefix before "\"
- (51) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (51) [ntdomain] = noop
- (51) eap: No EAP-Message, not doing EAP
- (51) [eap] = noop
- (51) files: users: Matched entry DEFAULT at line 1
- (51) files: users: Matched entry anand at line 4
- (51) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (51) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (51) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (51) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (51) [forever] = noop
- (51) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (51) ERROR: Failed retrieving values required to evaluate condition
- (51) [expiration] = noop
- (51) [logintime] = noop
- (51) [pap] = updated
- (51) } # authorize = updated
- (51) Found Auth-Type = PAP
- (51) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (51) Auth-Type PAP {
- (51) pap: Login attempt with password
- (51) pap: Comparing with "known good" Cleartext-Password
- (51) pap: User authenticated successfully
- (51) [pap] = ok
- (51) } # Auth-Type PAP = ok
- (51) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (51) session {
- (51) radutmp: EXPAND /var/log/radutmp
- (51) radutmp: --> /var/log/radutmp
- (51) radutmp: EXPAND %{User-Name}
- (51) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (51) [radutmp] = fail
- (51) } # session = fail
- (51) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (51) post-auth {
- (51) update {
- (51) No attributes updated for RHS &session-state:
- (51) } # update = noop
- (51) [exec] = noop
- (51) policy remove_reply_message_if_eap {
- (51) if (&reply:EAP-Message && &reply:Reply-Message) {
- (51) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (51) else {
- (51) [noop] = noop
- (51) } # else = noop
- (51) } # policy remove_reply_message_if_eap = noop
- (51) } # post-auth = noop
- (51) Login OK: [anand/9829012834] (from client captive_portal port 2000 cli e6:8f:99:48:85:89)
- (51) Sent Access-Accept Id 19 from 192.168.200.1:1812 to 192.168.200.1:50870 length 0
- (51) Finished request
- Waking up in 4.9 seconds.
- (52) Received Accounting-Request Id 50 from 192.168.200.1:36910 to 192.168.200.1:1813 length 214
- (52) Service-Type = Login-User
- (52) User-Name = "anand"
- (52) Acct-Status-Type = Interim-Update
- (52) Acct-Authentic = RADIUS
- (52) NAS-IP-Address = 192.168.200.1
- (52) NAS-Identifier = "CaptivePortal-office_zone"
- (52) NAS-Port-Type = Ethernet
- (52) NAS-Port = 2002
- (52) Acct-Session-Id = "6974b7d556ed613e"
- (52) Framed-IP-Address = 192.168.200.202
- (52) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (52) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (52) Acct-Input-Packets = 4586
- (52) Acct-Input-Octets = 880077
- (52) Acct-Output-Packets = 10755
- (52) Acct-Output-Octets = 13576264
- (52) Acct-Session-Time = 464
- (52) Acct-Output-Gigawords = 0
- (52) Acct-Input-Gigawords = 0
- (52) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (52) preacct {
- (52) [preprocess] = ok
- (52) update request {
- (52) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (52) --> 1586901190
- (52) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:10 IST
- (52) } # update request = noop
- (52) policy acct_unique {
- (52) update request {
- (52) &Tmp-String-9 := "ai:"
- (52) } # update request = noop
- (52) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (52) EXPAND %{hex:&Class}
- (52) -->
- (52) EXPAND ^%{hex:&Tmp-String-9}
- (52) --> ^61693a
- (52) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (52) else {
- (52) update request {
- (52) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (52) --> 9a9488f2d0124a4aa7feb209bced26bb
- (52) &Acct-Unique-Session-Id := 9a9488f2d0124a4aa7feb209bced26bb
- (52) } # update request = noop
- (52) } # else = noop
- (52) } # policy acct_unique = noop
- (52) suffix: Checking for suffix after "@"
- (52) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (52) [suffix] = noop
- (52) ntdomain: Checking for prefix before "\"
- (52) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (52) [ntdomain] = noop
- (52) [files] = noop
- (52) } # preacct = ok
- (52) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (52) accounting {
- (52) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (52) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (52) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (52) detail: EXPAND %t
- (52) detail: --> Wed Apr 15 03:30:54 2020
- (52) [detail] = ok
- (52) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (52) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (52) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (52) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (52) datacounterdaily: EXPAND %{request:User-Name}
- (52) datacounterdaily: --> anand
- (52) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (52) datacounterdaily: --> 880077
- (52) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (52) datacounterdaily: --> 13576264
- (52) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (52) datacounterdaily: --> Interim-Update
- (52) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (52) datacounterdaily: --> 6974b7d556ed613e
- (52) datacounterdaily: Program returned code (0) and output ''
- (52) datacounterdaily: Program executed successfully
- (52) [datacounterdaily] = ok
- (52) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (52) datacounterweekly: EXPAND %{request:User-Name}
- (52) datacounterweekly: --> anand
- (52) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (52) datacounterweekly: --> 880077
- (52) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (52) datacounterweekly: --> 13576264
- (52) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (52) datacounterweekly: --> Interim-Update
- (52) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (52) datacounterweekly: --> 6974b7d556ed613e
- (52) datacounterweekly: Program returned code (0) and output ''
- (52) datacounterweekly: Program executed successfully
- (52) [datacounterweekly] = ok
- (52) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (52) datacountermonthly: EXPAND %{request:User-Name}
- (52) datacountermonthly: --> anand
- (52) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (52) datacountermonthly: --> 880077
- (52) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (52) datacountermonthly: --> 13576264
- (52) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (52) datacountermonthly: --> Interim-Update
- (52) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (52) datacountermonthly: --> 6974b7d556ed613e
- (52) datacountermonthly: Program returned code (0) and output ''
- (52) datacountermonthly: Program executed successfully
- (52) [datacountermonthly] = ok
- (52) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (52) datacounterforever: EXPAND %{request:User-Name}
- (52) datacounterforever: --> anand
- (52) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (52) datacounterforever: --> 880077
- (52) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (52) datacounterforever: --> 13576264
- (52) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (52) datacounterforever: --> Interim-Update
- (52) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (52) datacounterforever: --> 6974b7d556ed613e
- (52) datacounterforever: Program returned code (0) and output ''
- (52) datacounterforever: Program executed successfully
- (52) [datacounterforever] = ok
- (52) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (52) radutmp: EXPAND /var/log/radutmp
- (52) radutmp: --> /var/log/radutmp
- (52) radutmp: EXPAND %{User-Name}
- (52) radutmp: --> anand
- (52) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (52) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (52) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (52) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (52) [forever] = noop
- (52) [exec] = noop
- (52) attr_filter.accounting_response: EXPAND %{User-Name}
- (52) attr_filter.accounting_response: --> anand
- (52) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (52) [attr_filter.accounting_response] = updated
- (52) } # accounting = updated
- (52) Sent Accounting-Response Id 50 from 192.168.200.1:1813 to 192.168.200.1:36910 length 0
- (52) Finished request
- (52) Cleaning up request packet ID 50 with timestamp +514
- Waking up in 4.9 seconds.
- (53) Received Access-Request Id 100 from 192.168.200.1:64857 to 192.168.200.1:1812 length 160
- (53) Service-Type = Login-User
- (53) User-Name = "anand"
- (53) User-Password = "9829012834"
- (53) NAS-IP-Address = 192.168.200.1
- (53) NAS-Identifier = "CaptivePortal-office_zone"
- (53) Calling-Station-Id = "b6:e7:02:97:a6:23"
- (53) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (53) NAS-Port-Type = Ethernet
- (53) NAS-Port = 2002
- (53) Framed-IP-Address = 192.168.200.202
- (53) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (53) authorize {
- (53) [preprocess] = ok
- (53) [chap] = noop
- (53) [mschap] = noop
- (53) [digest] = noop
- (53) suffix: Checking for suffix after "@"
- (53) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (53) [suffix] = noop
- (53) ntdomain: Checking for prefix before "\"
- (53) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (53) [ntdomain] = noop
- (53) eap: No EAP-Message, not doing EAP
- (53) [eap] = noop
- (53) files: users: Matched entry DEFAULT at line 1
- (53) files: users: Matched entry anand at line 4
- (53) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (53) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (53) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (53) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (53) [forever] = noop
- (53) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (53) ERROR: Failed retrieving values required to evaluate condition
- (53) [expiration] = noop
- (53) [logintime] = noop
- (53) [pap] = updated
- (53) } # authorize = updated
- (53) Found Auth-Type = PAP
- (53) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (53) Auth-Type PAP {
- (53) pap: Login attempt with password
- (53) pap: Comparing with "known good" Cleartext-Password
- (53) pap: User authenticated successfully
- (53) [pap] = ok
- (53) } # Auth-Type PAP = ok
- (53) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (53) session {
- (53) radutmp: EXPAND /var/log/radutmp
- (53) radutmp: --> /var/log/radutmp
- (53) radutmp: EXPAND %{User-Name}
- (53) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (53) [radutmp] = fail
- (53) } # session = fail
- (53) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (53) post-auth {
- (53) update {
- (53) No attributes updated for RHS &session-state:
- (53) } # update = noop
- (53) [exec] = noop
- (53) policy remove_reply_message_if_eap {
- (53) if (&reply:EAP-Message && &reply:Reply-Message) {
- (53) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (53) else {
- (53) [noop] = noop
- (53) } # else = noop
- (53) } # policy remove_reply_message_if_eap = noop
- (53) } # post-auth = noop
- (53) Login OK: [anand/9829012834] (from client captive_portal port 2002 cli b6:e7:02:97:a6:23)
- (53) Sent Access-Accept Id 100 from 192.168.200.1:1812 to 192.168.200.1:64857 length 0
- (53) Finished request
- Waking up in 4.9 seconds.
- (54) Received Accounting-Request Id 232 from 192.168.200.1:28518 to 192.168.200.1:1813 length 214
- (54) Service-Type = Login-User
- (54) User-Name = "anand"
- (54) Acct-Status-Type = Interim-Update
- (54) Acct-Authentic = RADIUS
- (54) NAS-IP-Address = 192.168.200.1
- (54) NAS-Identifier = "CaptivePortal-office_zone"
- (54) NAS-Port-Type = Ethernet
- (54) NAS-Port = 2004
- (54) Acct-Session-Id = "d4f8574cf15bdf9b"
- (54) Framed-IP-Address = 192.168.200.203
- (54) Calling-Station-Id = "da:54:db:27:ae:2b"
- (54) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (54) Acct-Input-Packets = 45
- (54) Acct-Input-Octets = 14312
- (54) Acct-Output-Packets = 37
- (54) Acct-Output-Octets = 6793
- (54) Acct-Session-Time = 451
- (54) Acct-Output-Gigawords = 0
- (54) Acct-Input-Gigawords = 0
- (54) # Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
- (54) preacct {
- (54) [preprocess] = ok
- (54) update request {
- (54) EXPAND %{expr: %l - %{%{Acct-Session-Time}:-0} - %{%{Acct-Delay-Time}:-0}}
- (54) --> 1586901203
- (54) &FreeRADIUS-Acct-Session-Start-Time = Apr 15 2020 03:23:23 IST
- (54) } # update request = noop
- (54) policy acct_unique {
- (54) update request {
- (54) &Tmp-String-9 := "ai:"
- (54) } # update request = noop
- (54) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) {
- (54) EXPAND %{hex:&Class}
- (54) -->
- (54) EXPAND ^%{hex:&Tmp-String-9}
- (54) --> ^61693a
- (54) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE
- (54) else {
- (54) update request {
- (54) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}}
- (54) --> 8540a37c864a86b96f7917819f3d70c9
- (54) &Acct-Unique-Session-Id := 8540a37c864a86b96f7917819f3d70c9
- (54) } # update request = noop
- (54) } # else = noop
- (54) } # policy acct_unique = noop
- (54) suffix: Checking for suffix after "@"
- (54) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (54) [suffix] = noop
- (54) ntdomain: Checking for prefix before "\"
- (54) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (54) [ntdomain] = noop
- (54) [files] = noop
- (54) } # preacct = ok
- (54) # Executing section accounting from file /usr/local/etc/raddb/sites-enabled/default
- (54) accounting {
- (54) detail: EXPAND /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d
- (54) detail: --> /var/log/radacct/192.168.200.1/detail-20200415
- (54) detail: /var/log/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radacct/192.168.200.1/detail-20200415
- (54) detail: EXPAND %t
- (54) detail: --> Wed Apr 15 03:30:54 2020
- (54) [detail] = ok
- (54) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (54) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) -> TRUE
- (54) if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) {
- (54) datacounterdaily: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} daily %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (54) datacounterdaily: EXPAND %{request:User-Name}
- (54) datacounterdaily: --> anand
- (54) datacounterdaily: EXPAND %{request:Acct-Input-Octets}
- (54) datacounterdaily: --> 14312
- (54) datacounterdaily: EXPAND %{request:Acct-Output-Octets}
- (54) datacounterdaily: --> 6793
- (54) datacounterdaily: EXPAND %{request:Acct-Status-Type}
- (54) datacounterdaily: --> Interim-Update
- (54) datacounterdaily: EXPAND %{request:Acct-Session-Id}
- (54) datacounterdaily: --> d4f8574cf15bdf9b
- (54) datacounterdaily: Program returned code (0) and output ''
- (54) datacounterdaily: Program executed successfully
- (54) [datacounterdaily] = ok
- (54) datacounterweekly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} weekly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (54) datacounterweekly: EXPAND %{request:User-Name}
- (54) datacounterweekly: --> anand
- (54) datacounterweekly: EXPAND %{request:Acct-Input-Octets}
- (54) datacounterweekly: --> 14312
- (54) datacounterweekly: EXPAND %{request:Acct-Output-Octets}
- (54) datacounterweekly: --> 6793
- (54) datacounterweekly: EXPAND %{request:Acct-Status-Type}
- (54) datacounterweekly: --> Interim-Update
- (54) datacounterweekly: EXPAND %{request:Acct-Session-Id}
- (54) datacounterweekly: --> d4f8574cf15bdf9b
- (54) datacounterweekly: Program returned code (0) and output ''
- (54) datacounterweekly: Program executed successfully
- (54) [datacounterweekly] = ok
- (54) datacountermonthly: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} monthly %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (54) datacountermonthly: EXPAND %{request:User-Name}
- (54) datacountermonthly: --> anand
- (54) datacountermonthly: EXPAND %{request:Acct-Input-Octets}
- (54) datacountermonthly: --> 14312
- (54) datacountermonthly: EXPAND %{request:Acct-Output-Octets}
- (54) datacountermonthly: --> 6793
- (54) datacountermonthly: EXPAND %{request:Acct-Status-Type}
- (54) datacountermonthly: --> Interim-Update
- (54) datacountermonthly: EXPAND %{request:Acct-Session-Id}
- (54) datacountermonthly: --> d4f8574cf15bdf9b
- (54) datacountermonthly: Program returned code (0) and output ''
- (54) datacountermonthly: Program executed successfully
- (54) [datacountermonthly] = ok
- (54) datacounterforever: Executing: /bin/sh /usr/local/etc/raddb/scripts/datacounter_acct.sh %{request:User-Name} forever %{request:Acct-Input-Octets} %{request:Acct-Output-Octets} %{request:Acct-Status-Type} %{request:Acct-Session-Id}:
- (54) datacounterforever: EXPAND %{request:User-Name}
- (54) datacounterforever: --> anand
- (54) datacounterforever: EXPAND %{request:Acct-Input-Octets}
- (54) datacounterforever: --> 14312
- (54) datacounterforever: EXPAND %{request:Acct-Output-Octets}
- (54) datacounterforever: --> 6793
- (54) datacounterforever: EXPAND %{request:Acct-Status-Type}
- (54) datacounterforever: --> Interim-Update
- (54) datacounterforever: EXPAND %{request:Acct-Session-Id}
- (54) datacounterforever: --> d4f8574cf15bdf9b
- (54) datacounterforever: Program returned code (0) and output ''
- (54) datacounterforever: Program executed successfully
- (54) [datacounterforever] = ok
- (54) } # if ((request:Acct-Status-Type == Stop) || (request:Acct-Status-Type == Interim-Update)) = ok
- (54) radutmp: EXPAND /var/log/radutmp
- (54) radutmp: --> /var/log/radutmp
- (54) radutmp: EXPAND %{User-Name}
- (54) radutmp: --> anand
- (54) [radutmp] = ok
- rlm_counter: We only run on Accounting-Stop packets
- (54) [daily] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (54) [weekly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (54) [monthly] = noop
- rlm_counter: We only run on Accounting-Stop packets
- (54) [forever] = noop
- (54) [exec] = noop
- (54) attr_filter.accounting_response: EXPAND %{User-Name}
- (54) attr_filter.accounting_response: --> anand
- (54) attr_filter.accounting_response: Matched entry DEFAULT at line 12
- (54) [attr_filter.accounting_response] = updated
- (54) } # accounting = updated
- (54) Sent Accounting-Response Id 232 from 192.168.200.1:1813 to 192.168.200.1:28518 length 0
- (54) Finished request
- (54) Cleaning up request packet ID 232 with timestamp +514
- Waking up in 4.7 seconds.
- (55) Received Access-Request Id 50 from 192.168.200.1:28856 to 192.168.200.1:1812 length 160
- (55) Service-Type = Login-User
- (55) User-Name = "anand"
- (55) User-Password = "9829012834"
- (55) NAS-IP-Address = 192.168.200.1
- (55) NAS-Identifier = "CaptivePortal-office_zone"
- (55) Calling-Station-Id = "da:54:db:27:ae:2b"
- (55) Called-Station-Id = "f6:86:8e:69:d4:24:pfSense.localdomain"
- (55) NAS-Port-Type = Ethernet
- (55) NAS-Port = 2004
- (55) Framed-IP-Address = 192.168.200.203
- (55) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
- (55) authorize {
- (55) [preprocess] = ok
- (55) [chap] = noop
- (55) [mschap] = noop
- (55) [digest] = noop
- (55) suffix: Checking for suffix after "@"
- (55) suffix: No '@' in User-Name = "anand", skipping NULL due to config.
- (55) [suffix] = noop
- (55) ntdomain: Checking for prefix before "\"
- (55) ntdomain: No '\' in User-Name = "anand", skipping NULL due to config.
- (55) [ntdomain] = noop
- (55) eap: No EAP-Message, not doing EAP
- (55) [eap] = noop
- (55) files: users: Matched entry DEFAULT at line 1
- (55) files: users: Matched entry anand at line 4
- (55) [files] = ok
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (55) [daily] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (55) [weekly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (55) [monthly] = noop
- rlm_counter: Entering module authorize code
- rlm_counter: Could not find Check item value pair
- (55) [forever] = noop
- (55) if (&request:Calling-Station-Id == &control:Calling-Station-Id) {
- (55) ERROR: Failed retrieving values required to evaluate condition
- (55) [expiration] = noop
- (55) [logintime] = noop
- (55) [pap] = updated
- (55) } # authorize = updated
- (55) Found Auth-Type = PAP
- (55) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
- (55) Auth-Type PAP {
- (55) pap: Login attempt with password
- (55) pap: Comparing with "known good" Cleartext-Password
- (55) pap: User authenticated successfully
- (55) [pap] = ok
- (55) } # Auth-Type PAP = ok
- (55) # Executing section session from file /usr/local/etc/raddb/sites-enabled/default
- (55) session {
- (55) radutmp: EXPAND /var/log/radutmp
- (55) radutmp: --> /var/log/radutmp
- (55) radutmp: EXPAND %{User-Name}
- (55) radutmp: --> anand
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- checkrad: No NAS type, or type "other" not checking
- (55) [radutmp] = fail
- (55) } # session = fail
- (55) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
- (55) post-auth {
- (55) update {
- (55) No attributes updated for RHS &session-state:
- (55) } # update = noop
- (55) [exec] = noop
- (55) policy remove_reply_message_if_eap {
- (55) if (&reply:EAP-Message && &reply:Reply-Message) {
- (55) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
- (55) else {
- (55) [noop] = noop
- (55) } # else = noop
- (55) } # policy remove_reply_message_if_eap = noop
- (55) } # post-auth = noop
- (55) Login OK: [anand/9829012834] (from client captive_portal port 2004 cli da:54:db:27:ae:2b)
- (55) Sent Access-Accept Id 50 from 192.168.200.1:1812 to 192.168.200.1:28856 length 0
- (55) Finished request
- Waking up in 4.7 seconds.
- (51) Cleaning up request packet ID 19 with timestamp +514
- (53) Cleaning up request packet ID 100 with timestamp +514
- Waking up in 0.1 seconds.
- (55) Cleaning up request packet ID 50 with timestamp +514
- Ready to process requests
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement