FreeRADIUS Version 3.0.26 Copyright (C) 1999-2021 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/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp including dictionary file /etc/freeradius/3.0/dictionary including configuration file /etc/freeradius/3.0/radiusd.conf including configuration file /etc/freeradius/3.0/proxy.conf including configuration file /etc/freeradius/3.0/clients.conf including files in directory /etc/freeradius/3.0/mods-enabled/ including configuration file /etc/freeradius/3.0/mods-enabled/utf8 including configuration file /etc/freeradius/3.0/mods-enabled/expr including configuration file /etc/freeradius/3.0/mods-enabled/passwd including configuration file /etc/freeradius/3.0/mods-enabled/unpack including configuration file /etc/freeradius/3.0/mods-enabled/sradutmp including configuration file /etc/freeradius/3.0/mods-enabled/replicate including configuration file /etc/freeradius/3.0/mods-enabled/chap including configuration file /etc/freeradius/3.0/mods-enabled/sql including configuration file /etc/freeradius/3.0/mods-config/sql/main/mysql/queries.conf including configuration file /etc/freeradius/3.0/mods-enabled/cache_eap including configuration file /etc/freeradius/3.0/mods-enabled/echo including configuration file /etc/freeradius/3.0/mods-enabled/expiration including configuration file /etc/freeradius/3.0/mods-enabled/preprocess including configuration file /etc/freeradius/3.0/mods-enabled/ntlm_auth including configuration file /etc/freeradius/3.0/mods-enabled/radutmp including configuration file /etc/freeradius/3.0/mods-enabled/attr_filter including configuration file /etc/freeradius/3.0/mods-enabled/digest including configuration file /etc/freeradius/3.0/mods-enabled/detail including configuration file /etc/freeradius/3.0/mods-enabled/linelog including configuration file /etc/freeradius/3.0/mods-enabled/eap including configuration file /etc/freeradius/3.0/mods-enabled/always including configuration file /etc/freeradius/3.0/mods-enabled/mschap including configuration file /etc/freeradius/3.0/mods-enabled/logintime including configuration file /etc/freeradius/3.0/mods-enabled/dynamic_clients including configuration file /etc/freeradius/3.0/mods-enabled/soh including configuration file /etc/freeradius/3.0/mods-enabled/files including configuration file /etc/freeradius/3.0/mods-enabled/realm including configuration file /etc/freeradius/3.0/mods-enabled/pap including configuration file /etc/freeradius/3.0/mods-enabled/unix including configuration file /etc/freeradius/3.0/mods-enabled/detail.log including configuration file /etc/freeradius/3.0/mods-enabled/exec including files in directory /etc/freeradius/3.0/policy.d/ including configuration file /etc/freeradius/3.0/policy.d/dhcp including configuration file /etc/freeradius/3.0/policy.d/moonshot-targeted-ids including configuration file /etc/freeradius/3.0/policy.d/debug including configuration file /etc/freeradius/3.0/policy.d/operator-name including configuration file /etc/freeradius/3.0/policy.d/filter including configuration file /etc/freeradius/3.0/policy.d/cui including configuration file /etc/freeradius/3.0/policy.d/eap including configuration file /etc/freeradius/3.0/policy.d/canonicalization including configuration file /etc/freeradius/3.0/policy.d/abfab-tr including configuration file /etc/freeradius/3.0/policy.d/accounting including configuration file /etc/freeradius/3.0/policy.d/control including configuration file /etc/freeradius/3.0/policy.d/rfc7542 including files in directory /etc/freeradius/3.0/sites-enabled/ including configuration file /etc/freeradius/3.0/sites-enabled/default including configuration file /etc/freeradius/3.0/sites-enabled/inner-tunnel main { security { user = "freerad" group = "freerad" allow_core_dumps = no } name = "freeradius" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/freeradius" run_dir = "/var/run/freeradius" } main { name = "freeradius" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/freeradius" run_dir = "/var/run/freeradius" libdir = "/usr/lib/freeradius" radacctdir = "/var/log/freeradius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 2 max_requests = 5000 postauth_client_lost = no pidfile = "/var/run/freeradius/freeradius.pid" checkrad = "/usr/sbin/checkrad" debug_level = 0 proxy_requests = yes log { stripped_names = no auth = no auth_badpass = no auth_goodpass = no colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 0.000000 status_server = yes require_message_authenticator = "auto" limit_proxy_state = "yes" } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = "no" limit_proxy_state = "yes" secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client localhost_ipv6 { ipv6addr = ::1 secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Debugger not attached systemd watchdog is disabled # 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 Autz-Type = New-TLS-Connection radiusd: #### Instantiating modules #### modules { # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/freeradius/3.0/mods-enabled/utf8 # Loaded module rlm_expr # Loading module "expr" from file /etc/freeradius/3.0/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/freeradius/3.0/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_unpack # Loading module "unpack" from file /etc/freeradius/3.0/mods-enabled/unpack # Loaded module rlm_radutmp # Loading module "sradutmp" from file /etc/freeradius/3.0/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/freeradius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/freeradius/3.0/mods-enabled/replicate # Loaded module rlm_chap # Loading module "chap" from file /etc/freeradius/3.0/mods-enabled/chap # Loaded module rlm_sql # Loading module "sql" from file /etc/freeradius/3.0/mods-enabled/sql sql { driver = "rlm_sql_mysql" server = "localhost" port = 3306 login = "radius_user" password = <<< secret >>> radius_db = "radius" read_groups = yes read_profiles = yes read_clients = yes delete_stale_sessions = yes sql_user_name = "%{User-Name}" default_user_profile = "" client_query = "SELECT id, nasname, shortname, type, secret, server FROM nas" authorize_check_query = "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id" authorize_reply_query = "SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id" authorize_group_check_query = "SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id" authorize_group_reply_query = "SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id" group_membership_query = "SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority" simul_count_query = "SELECT COUNT(*) FROM radacct WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL" simul_verify_query = "SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL" safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" auto_escape = no accounting { reference = "%{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query}" type { accounting-on { query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = '%{%{integer:Event-Timestamp}:-%l}' - UNIX_TIMESTAMP(acctstarttime), acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})" } accounting-off { query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = '%{%{integer:Event-Timestamp}:-%l}' - UNIX_TIMESTAMP(acctstarttime), acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})" } start { query = "INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}', '%{Delegated-IPv6-Prefix}' )" } interim-update { query = "UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'" } stop { query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', acctterminatecause = '%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'" } } } post-auth { reference = ".query" query = "INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' )" } } rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked Creating attribute SQL-Group # Loaded module rlm_cache # Loading module "cache_eap" from file /etc/freeradius/3.0/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_exec # Loading module "echo" from file /etc/freeradius/3.0/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess preprocess { huntgroups = "/etc/freeradius/3.0/mods-config/preprocess/huntgroups" hints = "/etc/freeradius/3.0/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 } # Loading module "ntlm_auth" from file /etc/freeradius/3.0/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loading module "radutmp" from file /etc/freeradius/3.0/mods-enabled/radutmp radutmp { filename = "/var/log/freeradius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/freeradius/3.0/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/freeradius/3.0/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/freeradius/3.0/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/freeradius/3.0/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.coa" from file /etc/freeradius/3.0/mods-enabled/attr_filter attr_filter attr_filter.coa { filename = "/etc/freeradius/3.0/mods-config/attr_filter/coa" key = "%{User-Name}" relaxed = no } # Loaded module rlm_digest # Loading module "digest" from file /etc/freeradius/3.0/mods-enabled/digest # Loaded module rlm_detail # Loading module "detail" from file /etc/freeradius/3.0/mods-enabled/detail detail { filename = "/var/log/freeradius/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 } # Loaded module rlm_linelog # Loading module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog linelog { filename = "/var/log/freeradius/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 /etc/freeradius/3.0/mods-enabled/linelog linelog log_accounting { filename = "/var/log/freeradius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_eap # Loading module "eap" from file /etc/freeradius/3.0/mods-enabled/eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 5000 } # Loaded module rlm_always # Loading module "reject" from file /etc/freeradius/3.0/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/freeradius/3.0/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/freeradius/3.0/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/freeradius/3.0/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/freeradius/3.0/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/freeradius/3.0/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/freeradius/3.0/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/freeradius/3.0/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/freeradius/3.0/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/freeradius/3.0/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_logintime # Loading module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/freeradius/3.0/mods-enabled/dynamic_clients # Loaded module rlm_soh # Loading module "soh" from file /etc/freeradius/3.0/mods-enabled/soh soh { dhcp = yes } # Loaded module rlm_files # Loading module "files" from file /etc/freeradius/3.0/mods-enabled/files files { filename = "/etc/freeradius/3.0/mods-config/files/authorize" acctusersfile = "/etc/freeradius/3.0/mods-config/files/accounting" preproxy_usersfile = "/etc/freeradius/3.0/mods-config/files/pre-proxy" } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "bangpath" from file /etc/freeradius/3.0/mods-enabled/realm realm bangpath { format = "prefix" delimiter = "!" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_pap # Loading module "pap" from file /etc/freeradius/3.0/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_unix # Loading module "unix" from file /etc/freeradius/3.0/mods-enabled/unix unix { radwtmp = "/var/log/freeradius/radwtmp" } Creating attribute Unix-Group # Loading module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log detail auth_log { filename = "/var/log/freeradius/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 /etc/freeradius/3.0/mods-enabled/detail.log detail reply_log { filename = "/var/log/freeradius/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 /etc/freeradius/3.0/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/freeradius/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 /etc/freeradius/3.0/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/freeradius/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 } # Loading module "exec" from file /etc/freeradius/3.0/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } instantiate { } # Instantiating module "etc_passwd" from file /etc/freeradius/3.0/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "sql" from file /etc/freeradius/3.0/mods-enabled/sql rlm_sql_mysql: libmysql version: 8.0.45 mysql { tls { tls_required = no check_cert = no check_cert_cn = no } warnings = "auto" } rlm_sql (sql): Attempting to connect to database "radius" rlm_sql (sql): Initialising connection pool pool { start = 5 min = 3 max = 32 spare = 10 uses = 1 lifetime = 10 cleanup_interval = 30 idle_timeout = 10 retry_delay = 30 spread = no } Ignoring "cleanup_interval = 30", forcing to "cleanup_interval = 10" rlm_sql (sql): Opening additional connection (0), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Opening additional connection (1), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Opening additional connection (2), 1 of 30 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Opening additional connection (3), 1 of 29 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Opening additional connection (4), 1 of 28 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Processing generate_sql_clients rlm_sql (sql) in generate_sql_clients: query is SELECT id, nasname, shortname, type, secret, server FROM nas rlm_sql (sql): Reserved connection (0) rlm_sql (sql): Executing select query: SELECT id, nasname, shortname, type, secret, server FROM nas rlm_sql (sql): Adding client 103.185.242.6 (Digiana) to global clients list rlm_sql (103.185.242.6): Client "Digiana" (sql) added rlm_sql (sql): Adding client 103.190.8.10 (MIKROTIK) to global clients list rlm_sql (103.190.8.10): Client "MIKROTIK" (sql) added rlm_sql (sql): Adding client 103.66.73.17 (mld_nas) to global clients list rlm_sql (103.66.73.17): Client "mld_nas" (sql) added rlm_sql (sql): Adding client 103.204.70.56 (Mikrtik ) to global clients list rlm_sql (103.204.70.56): Client "Mikrtik " (sql) added rlm_sql (sql): Adding client 27.100.14.6 (mld_main_nas) to global clients list rlm_sql (27.100.14.6): Client "mld_main_nas" (sql) added rlm_sql (sql): Adding client 103.204.70.56 (NASFIBERNET) to global clients list Failed to add duplicate client NASFIBERNET Failed to add client, possible duplicate? rlm_sql (sql): Released connection (0) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (5), 1 of 27 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Closing expired connection (0) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket # Instantiating module "cache_eap" from file /etc/freeradius/3.0/mods-enabled/cache_eap rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "expiration" from file /etc/freeradius/3.0/mods-enabled/expiration # Instantiating module "preprocess" from file /etc/freeradius/3.0/mods-enabled/preprocess reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/huntgroups reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/hints # Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/accounting_response # Instantiating module "attr_filter.coa" from file /etc/freeradius/3.0/mods-enabled/attr_filter reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/coa # Instantiating module "detail" from file /etc/freeradius/3.0/mods-enabled/detail # Instantiating module "linelog" from file /etc/freeradius/3.0/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/freeradius/3.0/mods-enabled/linelog # Instantiating module "eap" from file /etc/freeradius/3.0/mods-enabled/eap # Linked to sub-module rlm_eap_md5 # 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 = "/etc/freeradius/3.0/certs" pem_file_type = yes private_key_file = "/etc/ssl/private/ssl-cert-snakeoil.key" certificate_file = "/etc/ssl/certs/ssl-cert-snakeoil.pem" ca_file = "/etc/ssl/certs/ca-certificates.crt" private_key_password = <<< secret >>> fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no ca_path_reload_interval = 0 cipher_list = "DEFAULT" cipher_server_preference = no reject_unknown_intermediate_ca = no ecdh_curve = "" tls_max_version = "1.2" tls_min_version = "1.2" cache { enable = no lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" use_nonce = yes timeout = 0 softfail = no } } # 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" 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" 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 "reject" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "fail" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "ok" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "handled" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "invalid" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "userlock" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "notfound" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "noop" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "updated" from file /etc/freeradius/3.0/mods-enabled/always # Instantiating module "mschap" from file /etc/freeradius/3.0/mods-enabled/mschap rlm_mschap (mschap): using internal authentication # Instantiating module "logintime" from file /etc/freeradius/3.0/mods-enabled/logintime # Instantiating module "files" from file /etc/freeradius/3.0/mods-enabled/files reading pairlist file /etc/freeradius/3.0/mods-config/files/authorize reading pairlist file /etc/freeradius/3.0/mods-config/files/accounting reading pairlist file /etc/freeradius/3.0/mods-config/files/pre-proxy # Instantiating module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm # Instantiating module "suffix" from file /etc/freeradius/3.0/mods-enabled/realm # Instantiating module "bangpath" from file /etc/freeradius/3.0/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/freeradius/3.0/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/freeradius/3.0/mods-enabled/realm # Instantiating module "pap" from file /etc/freeradius/3.0/mods-enabled/pap # Instantiating module "auth_log" from file /etc/freeradius/3.0/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/freeradius/3.0/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/freeradius/3.0/mods-enabled/detail.log } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/freeradius/3.0/radiusd.conf } # server server default { # from file /etc/freeradius/3.0/sites-enabled/default # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type # Loading authorize {...} Ignoring "ldap" (see raddb/mods-available/README.rst) Compiling Autz-Type New-TLS-Connection for attr Autz-Type # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} Compiling Post-Auth-Type REJECT for attr Post-Auth-Type Compiling Post-Auth-Type Challenge for attr Post-Auth-Type Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type } # server default server inner-tunnel { # from file /etc/freeradius/3.0/sites-enabled/inner-tunnel # Loading authenticate {...} Compiling Auth-Type PAP for attr Auth-Type Compiling Auth-Type CHAP for attr Auth-Type Compiling Auth-Type MS-CHAP for attr Auth-Type # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} # Skipping contents of 'if' as it is always 'false' -- /etc/freeradius/3.0/sites-enabled/inner-tunnel:336 Compiling Post-Auth-Type REJECT for attr Post-Auth-Type } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1812 bound to server default Listening on acct address * port 1813 bound to server default 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 18120 bound to server inner-tunnel Listening on proxy address * port 56209 Listening on proxy address :: port 54065 Ready to process requests (0) Received Accounting-Request Id 206 from 103.190.8.10:51880 to 103.204.70.55:1813 length 242 (0) Service-Type = Framed-User (0) Framed-Protocol = PPP (0) NAS-Port = 16091090 (0) NAS-Port-Type = Ethernet (0) User-Name = "ONGC49B" (0) Calling-Station-Id = "B4:3D:08:95:01:99" (0) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (0) Acct-Session-Id = "81557cd1" (0) Framed-IP-Address = 172.16.3.150 (0) Acct-Authentic = RADIUS (0) Event-Timestamp = "Mar 27 2026 04:22:51 IST" (0) Acct-Session-Time = 55121 (0) Idle-Timeout = 0 (0) Session-Timeout = 2112950 (0) X-Ascend-Data-Rate = 105000000 (0) Ascend-Xmit-Rate = 105000000 (0) Mikrotik-Rate-Limit = "105M/105M" (0) Acct-Input-Octets = 858176 (0) Acct-Input-Gigawords = 0 (0) Acct-Input-Packets = 14638 (0) Acct-Output-Octets = 3812249 (0) Acct-Output-Gigawords = 0 (0) Acct-Output-Packets = 14601 (0) Acct-Status-Type = Interim-Update (0) NAS-Identifier = "CORE-ROUTER" (0) Acct-Delay-Time = 0 (0) NAS-IP-Address = 103.190.8.10 (0) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (0) preacct { (0) [preprocess] = ok (0) policy acct_unique { (0) update request { (0) &Tmp-String-9 := "ai:" (0) } # update request = noop (0) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (0) EXPAND %{hex:&Class} (0) --> (0) EXPAND ^%{hex:&Tmp-String-9} (0) --> ^61693a (0) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (0) else { (0) update request { (0) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (0) --> 54df2f6a60b710be95353d2d9aff45e2 (0) &Acct-Unique-Session-Id := 54df2f6a60b710be95353d2d9aff45e2 (0) } # update request = noop (0) } # else = noop (0) update request { (0) &Tmp-String-9 !* ANY (0) } # update request = noop (0) } # policy acct_unique = noop (0) suffix: Checking for suffix after "@" (0) suffix: No '@' in User-Name = "ONGC49B", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) [files] = noop (0) } # preacct = ok (0) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (0) accounting { (0) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (0) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (0) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (0) detail: EXPAND %t (0) detail: --> Fri Mar 27 04:22:54 2026 (0) [detail] = ok (0) [unix] = noop (0) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (0) sql: --> type.interim-update.query (0) sql: Using query template 'query' rlm_sql (sql): Reserved connection (1) (0) sql: EXPAND %{User-Name} (0) sql: --> ONGC49B (0) sql: SQL-User-Name set to 'ONGC49B' (0) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (0) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565571), acctinterval = 1774565571 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.150', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55121, acctinputoctets = '0' << 32 | '858176', acctoutputoctets = '0' << 32 | '3812249' WHERE AcctUniqueId = '54df2f6a60b710be95353d2d9aff45e2' (0) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565571), acctinterval = 1774565571 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.150', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55121, acctinputoctets = '0' << 32 | '858176', acctoutputoctets = '0' << 32 | '3812249' WHERE AcctUniqueId = '54df2f6a60b710be95353d2d9aff45e2' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (0) sql: SQL query returned: success (0) sql: 1 record(s) updated rlm_sql (sql): Released connection (1) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (6), 1 of 27 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Closing expired connection (1) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (0) [sql] = ok (0) [exec] = noop (0) attr_filter.accounting_response: EXPAND %{User-Name} (0) attr_filter.accounting_response: --> ONGC49B (0) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (0) [attr_filter.accounting_response] = updated (0) } # accounting = updated (0) Sent Accounting-Response Id 206 from 103.204.70.55:1813 to 103.190.8.10:51880 length 20 (0) Finished request (0) Cleaning up request packet ID 206 with timestamp +0 due to done Ready to process requests (1) Received Accounting-Request Id 207 from 103.190.8.10:46396 to 103.204.70.55:1813 length 242 (1) Service-Type = Framed-User (1) Framed-Protocol = PPP (1) NAS-Port = 16091063 (1) NAS-Port-Type = Ethernet (1) User-Name = "HARI102" (1) Calling-Station-Id = "78:17:35:1A:F8:94" (1) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (1) Acct-Session-Id = "81557cb6" (1) Framed-IP-Address = 172.16.3.160 (1) Acct-Authentic = RADIUS (1) Event-Timestamp = "Mar 27 2026 04:22:51 IST" (1) Acct-Session-Time = 55254 (1) Idle-Timeout = 0 (1) Session-Timeout = 7210680 (1) X-Ascend-Data-Rate = 105000000 (1) Ascend-Xmit-Rate = 105000000 (1) Mikrotik-Rate-Limit = "105M/105M" (1) Acct-Input-Octets = 234023655 (1) Acct-Input-Gigawords = 0 (1) Acct-Input-Packets = 894542 (1) Acct-Output-Octets = 295186139 (1) Acct-Output-Gigawords = 1 (1) Acct-Output-Packets = 3968357 (1) Acct-Status-Type = Interim-Update (1) NAS-Identifier = "CORE-ROUTER" (1) Acct-Delay-Time = 0 (1) NAS-IP-Address = 103.190.8.10 (1) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (1) preacct { (1) [preprocess] = ok (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) --> 1c3d95c6fbc743ceb572119408570165 (1) &Acct-Unique-Session-Id := 1c3d95c6fbc743ceb572119408570165 (1) } # update request = noop (1) } # else = noop (1) update request { (1) &Tmp-String-9 !* ANY (1) } # update request = noop (1) } # policy acct_unique = noop (1) suffix: Checking for suffix after "@" (1) suffix: No '@' in User-Name = "HARI102", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) [files] = noop (1) } # preacct = ok (1) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (1) accounting { (1) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (1) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (1) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (1) detail: EXPAND %t (1) detail: --> Fri Mar 27 04:22:54 2026 (1) [detail] = ok (1) [unix] = noop (1) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (1) sql: --> type.interim-update.query (1) sql: Using query template 'query' rlm_sql (sql): Reserved connection (2) (1) sql: EXPAND %{User-Name} (1) sql: --> HARI102 (1) sql: SQL-User-Name set to 'HARI102' (1) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (1) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565571), acctinterval = 1774565571 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.160', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55254, acctinputoctets = '0' << 32 | '234023655', acctoutputoctets = '1' << 32 | '295186139' WHERE AcctUniqueId = '1c3d95c6fbc743ceb572119408570165' (1) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565571), acctinterval = 1774565571 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.160', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55254, acctinputoctets = '0' << 32 | '234023655', acctoutputoctets = '1' << 32 | '295186139' WHERE AcctUniqueId = '1c3d95c6fbc743ceb572119408570165' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (1) sql: SQL query returned: success (1) sql: 1 record(s) updated rlm_sql (sql): Released connection (2) (1) [sql] = ok (1) [exec] = noop (1) attr_filter.accounting_response: EXPAND %{User-Name} (1) attr_filter.accounting_response: --> HARI102 (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 207 from 103.204.70.55:1813 to 103.190.8.10:46396 length 20 (1) Finished request (1) Cleaning up request packet ID 207 with timestamp +0 due to done Ready to process requests (2) Received Accounting-Request Id 208 from 103.190.8.10:58327 to 103.204.70.55:1813 length 240 (2) Service-Type = Framed-User (2) Framed-Protocol = PPP (2) NAS-Port = 16088060 (2) NAS-Port-Type = Ethernet (2) User-Name = "ARUN321" (2) Calling-Station-Id = "50:2B:73:6D:A1:C8" (2) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (2) Acct-Session-Id = "815571c9" (2) Framed-IP-Address = 172.16.3.65 (2) Acct-Authentic = RADIUS (2) Event-Timestamp = "Mar 27 2026 04:22:51 IST" (2) Acct-Session-Time = 68901 (2) Idle-Timeout = 0 (2) Session-Timeout = 3422730 (2) X-Ascend-Data-Rate = 62000000 (2) Ascend-Xmit-Rate = 62000000 (2) Mikrotik-Rate-Limit = "62M/62M" (2) Acct-Input-Octets = 554848180 (2) Acct-Input-Gigawords = 0 (2) Acct-Input-Packets = 2712459 (2) Acct-Output-Octets = 875946640 (2) Acct-Output-Gigawords = 4 (2) Acct-Output-Packets = 14538689 (2) Acct-Status-Type = Interim-Update (2) NAS-Identifier = "CORE-ROUTER" (2) Acct-Delay-Time = 0 (2) NAS-IP-Address = 103.190.8.10 (2) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (2) preacct { (2) [preprocess] = ok (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) --> bf3501547c99e3804fc2bc7b8df7d76e (2) &Acct-Unique-Session-Id := bf3501547c99e3804fc2bc7b8df7d76e (2) } # update request = noop (2) } # else = noop (2) update request { (2) &Tmp-String-9 !* ANY (2) } # update request = noop (2) } # policy acct_unique = noop (2) suffix: Checking for suffix after "@" (2) suffix: No '@' in User-Name = "ARUN321", looking up realm NULL (2) suffix: No such realm "NULL" (2) [suffix] = noop (2) [files] = noop (2) } # preacct = ok (2) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (2) accounting { (2) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (2) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (2) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (2) detail: EXPAND %t (2) detail: --> Fri Mar 27 04:22:54 2026 (2) [detail] = ok (2) [unix] = noop (2) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (2) sql: --> type.interim-update.query (2) sql: Using query template 'query' rlm_sql (sql): Reserved connection (3) (2) sql: EXPAND %{User-Name} (2) sql: --> ARUN321 (2) sql: SQL-User-Name set to 'ARUN321' (2) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (2) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565571), acctinterval = 1774565571 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.65', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 68901, acctinputoctets = '0' << 32 | '554848180', acctoutputoctets = '4' << 32 | '875946640' WHERE AcctUniqueId = 'bf3501547c99e3804fc2bc7b8df7d76e' (2) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565571), acctinterval = 1774565571 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.65', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 68901, acctinputoctets = '0' << 32 | '554848180', acctoutputoctets = '4' << 32 | '875946640' WHERE AcctUniqueId = 'bf3501547c99e3804fc2bc7b8df7d76e' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (2) sql: SQL query returned: success (2) sql: 1 record(s) updated rlm_sql (sql): Released connection (3) (2) [sql] = ok (2) [exec] = noop (2) attr_filter.accounting_response: EXPAND %{User-Name} (2) attr_filter.accounting_response: --> ARUN321 (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 208 from 103.204.70.55:1813 to 103.190.8.10:58327 length 20 (2) Finished request (2) Cleaning up request packet ID 208 with timestamp +0 due to done Ready to process requests (3) Received Accounting-Request Id 223 from 103.190.8.10:41325 to 103.204.70.55:1813 length 246 (3) Service-Type = Framed-User (3) Framed-Protocol = PPP (3) NAS-Port = 16091225 (3) NAS-Port-Type = Ethernet (3) User-Name = "RAVIPANWAR306" (3) Calling-Station-Id = "E8:48:B8:C3:AB:89" (3) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (3) Acct-Session-Id = "81557d57" (3) Framed-IP-Address = 172.16.3.26 (3) Acct-Authentic = RADIUS (3) Event-Timestamp = "Mar 27 2026 04:22:54 IST" (3) Acct-Session-Time = 54601 (3) Idle-Timeout = 0 (3) Session-Timeout = 816426 (3) X-Ascend-Data-Rate = 62000000 (3) Ascend-Xmit-Rate = 62000000 (3) Mikrotik-Rate-Limit = "62M/62M" (3) Acct-Input-Octets = 394810634 (3) Acct-Input-Gigawords = 0 (3) Acct-Input-Packets = 2345196 (3) Acct-Output-Octets = 1265890267 (3) Acct-Output-Gigawords = 4 (3) Acct-Output-Packets = 14566336 (3) Acct-Status-Type = Interim-Update (3) NAS-Identifier = "CORE-ROUTER" (3) Acct-Delay-Time = 0 (3) NAS-IP-Address = 103.190.8.10 (3) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (3) preacct { (3) [preprocess] = ok (3) policy acct_unique { (3) update request { (3) &Tmp-String-9 := "ai:" (3) } # update request = noop (3) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (3) EXPAND %{hex:&Class} (3) --> (3) EXPAND ^%{hex:&Tmp-String-9} (3) --> ^61693a (3) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (3) else { (3) update request { (3) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (3) --> d04f80c80bd68c9ecc068c2e9ed4bbf2 (3) &Acct-Unique-Session-Id := d04f80c80bd68c9ecc068c2e9ed4bbf2 (3) } # update request = noop (3) } # else = noop (3) update request { (3) &Tmp-String-9 !* ANY (3) } # update request = noop (3) } # policy acct_unique = noop (3) suffix: Checking for suffix after "@" (3) suffix: No '@' in User-Name = "RAVIPANWAR306", looking up realm NULL (3) suffix: No such realm "NULL" (3) [suffix] = noop (3) [files] = noop (3) } # preacct = ok (3) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (3) accounting { (3) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (3) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (3) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (3) detail: EXPAND %t (3) detail: --> Fri Mar 27 04:22:54 2026 (3) [detail] = ok (3) [unix] = noop (3) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (3) sql: --> type.interim-update.query (3) sql: Using query template 'query' rlm_sql (sql): Reserved connection (4) (3) sql: EXPAND %{User-Name} (3) sql: --> RAVIPANWAR306 (3) sql: SQL-User-Name set to 'RAVIPANWAR306' (3) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (3) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565574), acctinterval = 1774565574 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.26', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54601, acctinputoctets = '0' << 32 | '394810634', acctoutputoctets = '4' << 32 | '1265890267' WHERE AcctUniqueId = 'd04f80c80bd68c9ecc068c2e9ed4bbf2' (3) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565574), acctinterval = 1774565574 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.26', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54601, acctinputoctets = '0' << 32 | '394810634', acctoutputoctets = '4' << 32 | '1265890267' WHERE AcctUniqueId = 'd04f80c80bd68c9ecc068c2e9ed4bbf2' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (3) sql: SQL query returned: success (3) sql: 1 record(s) updated rlm_sql (sql): Released connection (4) (3) [sql] = ok (3) [exec] = noop (3) attr_filter.accounting_response: EXPAND %{User-Name} (3) attr_filter.accounting_response: --> RAVIPANWAR306 (3) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (3) [attr_filter.accounting_response] = updated (3) } # accounting = updated (3) Sent Accounting-Response Id 223 from 103.204.70.55:1813 to 103.190.8.10:41325 length 20 (3) Finished request (3) Cleaning up request packet ID 223 with timestamp +0 due to done Ready to process requests (4) Received Accounting-Request Id 224 from 103.190.8.10:48761 to 103.204.70.55:1813 length 244 (4) Service-Type = Framed-User (4) Framed-Protocol = PPP (4) NAS-Port = 16099448 (4) NAS-Port-Type = Ethernet (4) User-Name = "VINOD493" (4) Calling-Station-Id = "4C:06:17:3F:77:3E" (4) NAS-Port-Id = "VLAN-100--GENEXIS OLT" (4) Acct-Session-Id = "81559d04" (4) Framed-IP-Address = 172.16.4.227 (4) Acct-Authentic = RADIUS (4) Event-Timestamp = "Mar 27 2026 04:22:54 IST" (4) Acct-Session-Time = 20930 (4) Idle-Timeout = 0 (4) Session-Timeout = 19185955 (4) X-Ascend-Data-Rate = 105000000 (4) Ascend-Xmit-Rate = 105000000 (4) Mikrotik-Rate-Limit = "105M/105M" (4) Acct-Input-Octets = 126893126 (4) Acct-Input-Gigawords = 0 (4) Acct-Input-Packets = 383104 (4) Acct-Output-Octets = 1209051506 (4) Acct-Output-Gigawords = 0 (4) Acct-Output-Packets = 1126898 (4) Acct-Status-Type = Interim-Update (4) NAS-Identifier = "CORE-ROUTER" (4) Acct-Delay-Time = 0 (4) NAS-IP-Address = 103.190.8.10 (4) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (4) preacct { (4) [preprocess] = ok (4) policy acct_unique { (4) update request { (4) &Tmp-String-9 := "ai:" (4) } # update request = noop (4) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (4) EXPAND %{hex:&Class} (4) --> (4) EXPAND ^%{hex:&Tmp-String-9} (4) --> ^61693a (4) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (4) else { (4) update request { (4) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (4) --> d9ac4fc26ed0818f56a43a344c4a93fe (4) &Acct-Unique-Session-Id := d9ac4fc26ed0818f56a43a344c4a93fe (4) } # update request = noop (4) } # else = noop (4) update request { (4) &Tmp-String-9 !* ANY (4) } # update request = noop (4) } # policy acct_unique = noop (4) suffix: Checking for suffix after "@" (4) suffix: No '@' in User-Name = "VINOD493", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) [files] = noop (4) } # preacct = ok (4) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (4) accounting { (4) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (4) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (4) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (4) detail: EXPAND %t (4) detail: --> Fri Mar 27 04:22:54 2026 (4) [detail] = ok (4) [unix] = noop (4) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (4) sql: --> type.interim-update.query (4) sql: Using query template 'query' rlm_sql (sql): Reserved connection (5) (4) sql: EXPAND %{User-Name} (4) sql: --> VINOD493 (4) sql: SQL-User-Name set to 'VINOD493' (4) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (4) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565574), acctinterval = 1774565574 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.227', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 20930, acctinputoctets = '0' << 32 | '126893126', acctoutputoctets = '0' << 32 | '1209051506' WHERE AcctUniqueId = 'd9ac4fc26ed0818f56a43a344c4a93fe' (4) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565574), acctinterval = 1774565574 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.227', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 20930, acctinputoctets = '0' << 32 | '126893126', acctoutputoctets = '0' << 32 | '1209051506' WHERE AcctUniqueId = 'd9ac4fc26ed0818f56a43a344c4a93fe' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (4) sql: SQL query returned: success (4) sql: 1 record(s) updated rlm_sql (sql): Released connection (5) (4) [sql] = ok (4) [exec] = noop (4) attr_filter.accounting_response: EXPAND %{User-Name} (4) attr_filter.accounting_response: --> VINOD493 (4) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (4) [attr_filter.accounting_response] = updated (4) } # accounting = updated (4) Sent Accounting-Response Id 224 from 103.204.70.55:1813 to 103.190.8.10:48761 length 20 (4) Finished request (4) Cleaning up request packet ID 224 with timestamp +0 due to done Ready to process requests (5) Received Accounting-Request Id 225 from 103.190.8.10:39219 to 103.204.70.55:1813 length 243 (5) Service-Type = Framed-User (5) Framed-Protocol = PPP (5) NAS-Port = 16095883 (5) NAS-Port-Type = Ethernet (5) User-Name = "ASHOK417" (5) Calling-Station-Id = "8C:A3:99:01:AF:29" (5) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (5) Acct-Session-Id = "81558f89" (5) Framed-IP-Address = 172.16.4.4 (5) Acct-Authentic = RADIUS (5) Event-Timestamp = "Mar 27 2026 04:22:54 IST" (5) Acct-Session-Time = 37961 (5) Idle-Timeout = 0 (5) Session-Timeout = 15314985 (5) X-Ascend-Data-Rate = 105000000 (5) Ascend-Xmit-Rate = 105000000 (5) Mikrotik-Rate-Limit = "105M/105M" (5) Acct-Input-Octets = 36167018 (5) Acct-Input-Gigawords = 0 (5) Acct-Input-Packets = 199682 (5) Acct-Output-Octets = 1320626592 (5) Acct-Output-Gigawords = 0 (5) Acct-Output-Packets = 1066255 (5) Acct-Status-Type = Interim-Update (5) NAS-Identifier = "CORE-ROUTER" (5) Acct-Delay-Time = 0 (5) NAS-IP-Address = 103.190.8.10 (5) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (5) preacct { (5) [preprocess] = ok (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) --> 63fc01cd5ba59ec32e611530cc5f08a4 (5) &Acct-Unique-Session-Id := 63fc01cd5ba59ec32e611530cc5f08a4 (5) } # update request = noop (5) } # else = noop (5) update request { (5) &Tmp-String-9 !* ANY (5) } # update request = noop (5) } # policy acct_unique = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "ASHOK417", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) [files] = noop (5) } # preacct = ok (5) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (5) accounting { (5) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (5) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (5) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (5) detail: EXPAND %t (5) detail: --> Fri Mar 27 04:22:54 2026 (5) [detail] = ok (5) [unix] = noop (5) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (5) sql: --> type.interim-update.query (5) sql: Using query template 'query' rlm_sql (sql): Reserved connection (6) (5) sql: EXPAND %{User-Name} (5) sql: --> ASHOK417 (5) sql: SQL-User-Name set to 'ASHOK417' (5) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (5) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565574), acctinterval = 1774565574 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.4', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 37961, acctinputoctets = '0' << 32 | '36167018', acctoutputoctets = '0' << 32 | '1320626592' WHERE AcctUniqueId = '63fc01cd5ba59ec32e611530cc5f08a4' (5) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565574), acctinterval = 1774565574 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.4', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 37961, acctinputoctets = '0' << 32 | '36167018', acctoutputoctets = '0' << 32 | '1320626592' WHERE AcctUniqueId = '63fc01cd5ba59ec32e611530cc5f08a4' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (5) sql: SQL query returned: success (5) sql: 1 record(s) updated rlm_sql (sql): Released connection (6) (5) [sql] = ok (5) [exec] = noop (5) attr_filter.accounting_response: EXPAND %{User-Name} (5) attr_filter.accounting_response: --> ASHOK417 (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 225 from 103.204.70.55:1813 to 103.190.8.10:39219 length 20 (5) Finished request (5) Cleaning up request packet ID 225 with timestamp +0 due to done Ready to process requests (6) Received Accounting-Request Id 226 from 103.190.8.10:37436 to 103.204.70.55:1813 length 245 (6) Service-Type = Framed-User (6) Framed-Protocol = PPP (6) NAS-Port = 16091155 (6) NAS-Port-Type = Ethernet (6) User-Name = "SANTANU158" (6) Calling-Station-Id = "54:37:BB:AA:23:96" (6) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (6) Acct-Session-Id = "81557d12" (6) Framed-IP-Address = 172.16.3.10 (6) Acct-Authentic = RADIUS (6) Event-Timestamp = "Mar 27 2026 04:22:55 IST" (6) Acct-Session-Time = 54861 (6) Idle-Timeout = 0 (6) Session-Timeout = 13085485 (6) X-Ascend-Data-Rate = 105000000 (6) Ascend-Xmit-Rate = 105000000 (6) Mikrotik-Rate-Limit = "105M/105M" (6) Acct-Input-Octets = 758783658 (6) Acct-Input-Gigawords = 0 (6) Acct-Input-Packets = 3091503 (6) Acct-Output-Octets = 1713600575 (6) Acct-Output-Gigawords = 4 (6) Acct-Output-Packets = 15228408 (6) Acct-Status-Type = Interim-Update (6) NAS-Identifier = "CORE-ROUTER" (6) Acct-Delay-Time = 0 (6) NAS-IP-Address = 103.190.8.10 (6) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (6) preacct { (6) [preprocess] = ok (6) policy acct_unique { (6) update request { (6) &Tmp-String-9 := "ai:" (6) } # update request = noop (6) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (6) EXPAND %{hex:&Class} (6) --> (6) EXPAND ^%{hex:&Tmp-String-9} (6) --> ^61693a (6) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (6) else { (6) update request { (6) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (6) --> 37dd99a587e7cb42ab65cea940790a6c (6) &Acct-Unique-Session-Id := 37dd99a587e7cb42ab65cea940790a6c (6) } # update request = noop (6) } # else = noop (6) update request { (6) &Tmp-String-9 !* ANY (6) } # update request = noop (6) } # policy acct_unique = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "SANTANU158", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) [files] = noop (6) } # preacct = ok (6) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (6) accounting { (6) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (6) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (6) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (6) detail: EXPAND %t (6) detail: --> Fri Mar 27 04:22:55 2026 (6) [detail] = ok (6) [unix] = noop (6) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (6) sql: --> type.interim-update.query (6) sql: Using query template 'query' rlm_sql (sql): Closing expired connection (2) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): Closing expired connection (3) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (4) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (5) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (6) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (7), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (7) (6) sql: EXPAND %{User-Name} (6) sql: --> SANTANU158 (6) sql: SQL-User-Name set to 'SANTANU158' (6) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (6) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565575), acctinterval = 1774565575 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.10', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54861, acctinputoctets = '0' << 32 | '758783658', acctoutputoctets = '4' << 32 | '1713600575' WHERE AcctUniqueId = '37dd99a587e7cb42ab65cea940790a6c' (6) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565575), acctinterval = 1774565575 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.10', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54861, acctinputoctets = '0' << 32 | '758783658', acctoutputoctets = '4' << 32 | '1713600575' WHERE AcctUniqueId = '37dd99a587e7cb42ab65cea940790a6c' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (6) sql: SQL query returned: success (6) sql: 1 record(s) updated rlm_sql (sql): Released connection (7) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (8), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (7) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (6) [sql] = ok (6) [exec] = noop (6) attr_filter.accounting_response: EXPAND %{User-Name} (6) attr_filter.accounting_response: --> SANTANU158 (6) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (6) [attr_filter.accounting_response] = updated (6) } # accounting = updated (6) Sent Accounting-Response Id 226 from 103.204.70.55:1813 to 103.190.8.10:37436 length 20 (6) Finished request (6) Cleaning up request packet ID 226 with timestamp +1 due to done Ready to process requests (7) Received Accounting-Request Id 227 from 103.190.8.10:56582 to 103.204.70.55:1813 length 241 (7) Service-Type = Framed-User (7) Framed-Protocol = PPP (7) NAS-Port = 16091181 (7) NAS-Port-Type = Ethernet (7) User-Name = "AJAY5A" (7) Calling-Station-Id = "B0:8B:92:D4:4A:E4" (7) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (7) Acct-Session-Id = "81557d2d" (7) Framed-IP-Address = 172.16.5.49 (7) Acct-Authentic = RADIUS (7) Event-Timestamp = "Mar 27 2026 04:22:55 IST" (7) Acct-Session-Time = 54731 (7) Idle-Timeout = 0 (7) Session-Timeout = 3408555 (7) X-Ascend-Data-Rate = 205000000 (7) Ascend-Xmit-Rate = 205000000 (7) Mikrotik-Rate-Limit = "205M/205M" (7) Acct-Input-Octets = 178616252 (7) Acct-Input-Gigawords = 0 (7) Acct-Input-Packets = 1607026 (7) Acct-Output-Octets = 1390915044 (7) Acct-Output-Gigawords = 1 (7) Acct-Output-Packets = 4178425 (7) Acct-Status-Type = Interim-Update (7) NAS-Identifier = "CORE-ROUTER" (7) Acct-Delay-Time = 0 (7) NAS-IP-Address = 103.190.8.10 (7) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (7) preacct { (7) [preprocess] = ok (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) --> d81625614f21e3cf49a0df8db520a83e (7) &Acct-Unique-Session-Id := d81625614f21e3cf49a0df8db520a83e (7) } # update request = noop (7) } # else = noop (7) update request { (7) &Tmp-String-9 !* ANY (7) } # update request = noop (7) } # policy acct_unique = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "AJAY5A", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) [files] = noop (7) } # preacct = ok (7) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (7) accounting { (7) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (7) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (7) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (7) detail: EXPAND %t (7) detail: --> Fri Mar 27 04:22:55 2026 (7) [detail] = ok (7) [unix] = noop (7) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (7) sql: --> type.interim-update.query (7) sql: Using query template 'query' rlm_sql (sql): Reserved connection (8) (7) sql: EXPAND %{User-Name} (7) sql: --> AJAY5A (7) sql: SQL-User-Name set to 'AJAY5A' (7) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (7) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565575), acctinterval = 1774565575 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.49', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54731, acctinputoctets = '0' << 32 | '178616252', acctoutputoctets = '1' << 32 | '1390915044' WHERE AcctUniqueId = 'd81625614f21e3cf49a0df8db520a83e' (7) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565575), acctinterval = 1774565575 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.49', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54731, acctinputoctets = '0' << 32 | '178616252', acctoutputoctets = '1' << 32 | '1390915044' WHERE AcctUniqueId = 'd81625614f21e3cf49a0df8db520a83e' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (7) sql: SQL query returned: success (7) sql: 1 record(s) updated rlm_sql (sql): Released connection (8) (7) [sql] = ok (7) [exec] = noop (7) attr_filter.accounting_response: EXPAND %{User-Name} (7) attr_filter.accounting_response: --> AJAY5A (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 227 from 103.204.70.55:1813 to 103.190.8.10:56582 length 20 (7) Finished request (7) Cleaning up request packet ID 227 with timestamp +1 due to done Ready to process requests (8) Received Access-Request Id 210 from 103.190.8.10:60065 to 103.204.70.55:1812 length 178 (8) Service-Type = Framed-User (8) Framed-Protocol = PPP (8) NAS-Port = 16116431 (8) NAS-Port-Type = Ethernet (8) User-Name = "B883_Mukesh" (8) Calling-Station-Id = "C0:25:2F:D3:FD:3F" (8) NAS-Port-Id = "VLAN-83-SK VISON" (8) Acct-Session-Id = "8155ddbb" (8) CHAP-Challenge = 0x5a8c1021977893164b52e149a935a84f (8) CHAP-Password = 0x0133b18d874e5375f912054ec82a02d449 (8) NAS-Identifier = "CORE-ROUTER" (8) NAS-IP-Address = 103.190.8.10 (8) Message-Authenticator = 0x7aed878a3dff57d814d8757c3e06dfa9 (8) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (8) authorize { (8) [preprocess] = ok (8) chap: &control:Auth-Type := CHAP (8) [chap] = ok (8) [mschap] = noop (8) [digest] = noop (8) suffix: Checking for suffix after "@" (8) suffix: No '@' in User-Name = "B883_Mukesh", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: No EAP-Message, not doing EAP (8) [eap] = noop (8) files: users: Matched entry DEFAULT at line 167 (8) [files] = ok (8) sql: EXPAND %{User-Name} (8) sql: --> B883_Mukesh (8) sql: SQL-User-Name set to 'B883_Mukesh' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (8) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (9), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (9) (8) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (8) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'B883_Mukesh' ORDER BY id (8) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'B883_Mukesh' ORDER BY id (8) sql: User found in radcheck table (8) sql: Conditional check items matched, merging assignment check items (8) sql: Cleartext-Password := "B883_Mukesh" (8) sql: Expiration := "Mar 26 2026 23:59:59 IST" (8) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (8) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'B883_Mukesh' ORDER BY id (8) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'B883_Mukesh' ORDER BY id (8) sql: User found in radreply table, merging reply items (8) sql: Mikrotik-Address-List := "EXPIRED" (8) sql: Framed-Pool := "EXPIRED_POOL" (8) sql: Mikrotik-Rate-Limit := "64k/64k" (8) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (8) sql: --> SELECT groupname FROM radusergroup WHERE username = 'B883_Mukesh' ORDER BY priority (8) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'B883_Mukesh' ORDER BY priority (8) sql: User found in the group table (8) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (8) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (8) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (8) sql: Group "REELTIME-100-Mbps-Rs-100": Conditional check items matched (8) sql: Group "REELTIME-100-Mbps-Rs-100": Merging assignment check items (8) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (8) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (8) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (8) sql: Group "REELTIME-100-Mbps-Rs-100": Merging reply items (8) sql: Mikrotik-Rate-Limit := "105M/105M" rlm_sql (sql): Released connection (9) (8) [sql] = ok (8) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (8) [expiration] = userlock (8) } # authorize = userlock (8) Using Post-Auth-Type Reject (8) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (8) Post-Auth-Type REJECT { (8) sql: EXPAND .query (8) sql: --> .query (8) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (9) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (10), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (10) (8) sql: EXPAND %{User-Name} (8) sql: --> B883_Mukesh (8) sql: SQL-User-Name set to 'B883_Mukesh' (8) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (8) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'B883_Mukesh', '0x0133b18d874e5375f912054ec82a02d449', 'Access-Reject', '2026-03-27 04:22:55.691419' ) (8) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'B883_Mukesh', '0x0133b18d874e5375f912054ec82a02d449', 'Access-Reject', '2026-03-27 04:22:55.691419' ) (8) sql: SQL query returned: success (8) sql: 1 record(s) updated rlm_sql (sql): Released connection (10) (8) [sql] = ok (8) attr_filter.access_reject: EXPAND %{User-Name} (8) attr_filter.access_reject: --> B883_Mukesh (8) attr_filter.access_reject: Matched entry DEFAULT at line 11 (8) [attr_filter.access_reject] = updated (8) [eap] = noop (8) policy remove_reply_message_if_eap { (8) if (&reply:EAP-Message && &reply:Reply-Message) { (8) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (8) else { (8) [noop] = noop (8) } # else = noop (8) } # policy remove_reply_message_if_eap = noop (8) } # Post-Auth-Type REJECT = updated (8) Sent Access-Reject Id 210 from 103.204.70.55:1812 to 103.190.8.10:60065 length 38 (8) Finished request Waking up in 1.9 seconds. (9) Received Accounting-Request Id 211 from 103.190.8.10:54973 to 103.204.70.55:1813 length 241 (9) Service-Type = Framed-User (9) Framed-Protocol = PPP (9) NAS-Port = 16114528 (9) NAS-Port-Type = Ethernet (9) User-Name = "TABREZ36" (9) Calling-Station-Id = "50:2B:73:3E:59:48" (9) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (9) Acct-Session-Id = "8155d682" (9) Framed-IP-Address = 172.16.5.7 (9) Acct-Authentic = RADIUS (9) Event-Timestamp = "Mar 27 2026 04:22:52 IST" (9) Acct-Session-Time = 1820 (9) Idle-Timeout = 0 (9) Session-Timeout = 2491647 (9) X-Ascend-Data-Rate = 62000000 (9) Ascend-Xmit-Rate = 62000000 (9) Mikrotik-Rate-Limit = "62M/62M" (9) Acct-Input-Octets = 45966 (9) Acct-Input-Gigawords = 0 (9) Acct-Input-Packets = 519 (9) Acct-Output-Octets = 33128 (9) Acct-Output-Gigawords = 0 (9) Acct-Output-Packets = 432 (9) Acct-Status-Type = Interim-Update (9) NAS-Identifier = "CORE-ROUTER" (9) Acct-Delay-Time = 0 (9) NAS-IP-Address = 103.190.8.10 (9) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (9) preacct { (9) [preprocess] = ok (9) policy acct_unique { (9) update request { (9) &Tmp-String-9 := "ai:" (9) } # update request = noop (9) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (9) EXPAND %{hex:&Class} (9) --> (9) EXPAND ^%{hex:&Tmp-String-9} (9) --> ^61693a (9) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (9) else { (9) update request { (9) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (9) --> cd82cc762d5cd825f7b2f63e91e5903b (9) &Acct-Unique-Session-Id := cd82cc762d5cd825f7b2f63e91e5903b (9) } # update request = noop (9) } # else = noop (9) update request { (9) &Tmp-String-9 !* ANY (9) } # update request = noop (9) } # policy acct_unique = noop (9) suffix: Checking for suffix after "@" (9) suffix: No '@' in User-Name = "TABREZ36", looking up realm NULL (9) suffix: No such realm "NULL" (9) [suffix] = noop (9) [files] = noop (9) } # preacct = ok (9) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (9) accounting { (9) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (9) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (9) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (9) detail: EXPAND %t (9) detail: --> Fri Mar 27 04:22:55 2026 (9) [detail] = ok (9) [unix] = noop (9) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (9) sql: --> type.interim-update.query (9) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (10) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (11), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (11) (9) sql: EXPAND %{User-Name} (9) sql: --> TABREZ36 (9) sql: SQL-User-Name set to 'TABREZ36' (9) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (9) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565572), acctinterval = 1774565572 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.7', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 1820, acctinputoctets = '0' << 32 | '45966', acctoutputoctets = '0' << 32 | '33128' WHERE AcctUniqueId = 'cd82cc762d5cd825f7b2f63e91e5903b' (9) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565572), acctinterval = 1774565572 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.7', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 1820, acctinputoctets = '0' << 32 | '45966', acctoutputoctets = '0' << 32 | '33128' WHERE AcctUniqueId = 'cd82cc762d5cd825f7b2f63e91e5903b' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (9) sql: SQL query returned: success (9) sql: 1 record(s) updated rlm_sql (sql): Released connection (11) (9) [sql] = ok (9) [exec] = noop (9) attr_filter.accounting_response: EXPAND %{User-Name} (9) attr_filter.accounting_response: --> TABREZ36 (9) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (9) [attr_filter.accounting_response] = updated (9) } # accounting = updated (9) Sent Accounting-Response Id 211 from 103.204.70.55:1813 to 103.190.8.10:54973 length 20 (9) Finished request (9) Cleaning up request packet ID 211 with timestamp +1 due to done Waking up in 1.9 seconds. (10) Received Accounting-Request Id 212 from 103.190.8.10:43126 to 103.204.70.55:1813 length 245 (10) Service-Type = Framed-User (10) Framed-Protocol = PPP (10) NAS-Port = 16096034 (10) NAS-Port-Type = Ethernet (10) User-Name = "PRADEEP139" (10) Calling-Station-Id = "74:3C:18:D7:78:94" (10) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (10) Acct-Session-Id = "8155901f" (10) Framed-IP-Address = 172.16.5.24 (10) Acct-Authentic = RADIUS (10) Event-Timestamp = "Mar 27 2026 04:22:52 IST" (10) Acct-Session-Time = 37441 (10) Idle-Timeout = 0 (10) Session-Timeout = 1231268 (10) X-Ascend-Data-Rate = 105000000 (10) Ascend-Xmit-Rate = 105000000 (10) Mikrotik-Rate-Limit = "105M/105M" (10) Acct-Input-Octets = 704329189 (10) Acct-Input-Gigawords = 0 (10) Acct-Input-Packets = 1881818 (10) Acct-Output-Octets = 267634044 (10) Acct-Output-Gigawords = 2 (10) Acct-Output-Packets = 7626350 (10) Acct-Status-Type = Interim-Update (10) NAS-Identifier = "CORE-ROUTER" (10) Acct-Delay-Time = 0 (10) NAS-IP-Address = 103.190.8.10 (10) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (10) preacct { (10) [preprocess] = ok (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) --> 32b69c4a607555c6c18deb7b9ce0a411 (10) &Acct-Unique-Session-Id := 32b69c4a607555c6c18deb7b9ce0a411 (10) } # update request = noop (10) } # else = noop (10) update request { (10) &Tmp-String-9 !* ANY (10) } # update request = noop (10) } # policy acct_unique = noop (10) suffix: Checking for suffix after "@" (10) suffix: No '@' in User-Name = "PRADEEP139", looking up realm NULL (10) suffix: No such realm "NULL" (10) [suffix] = noop (10) [files] = noop (10) } # preacct = ok (10) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (10) accounting { (10) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (10) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (10) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (10) detail: EXPAND %t (10) detail: --> Fri Mar 27 04:22:55 2026 (10) [detail] = ok (10) [unix] = noop (10) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (10) sql: --> type.interim-update.query (10) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (11) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (12), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (12) (10) sql: EXPAND %{User-Name} (10) sql: --> PRADEEP139 (10) sql: SQL-User-Name set to 'PRADEEP139' (10) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (10) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565572), acctinterval = 1774565572 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.24', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 37441, acctinputoctets = '0' << 32 | '704329189', acctoutputoctets = '2' << 32 | '267634044' WHERE AcctUniqueId = '32b69c4a607555c6c18deb7b9ce0a411' (10) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565572), acctinterval = 1774565572 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.24', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 37441, acctinputoctets = '0' << 32 | '704329189', acctoutputoctets = '2' << 32 | '267634044' WHERE AcctUniqueId = '32b69c4a607555c6c18deb7b9ce0a411' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (10) sql: SQL query returned: success (10) sql: 1 record(s) updated rlm_sql (sql): Released connection (12) (10) [sql] = ok (10) [exec] = noop (10) attr_filter.accounting_response: EXPAND %{User-Name} (10) attr_filter.accounting_response: --> PRADEEP139 (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 212 from 103.204.70.55:1813 to 103.190.8.10:43126 length 20 (10) Finished request (10) Cleaning up request packet ID 212 with timestamp +1 due to done Waking up in 1.8 seconds. (11) Received Access-Request Id 213 from 103.190.8.10:37060 to 103.204.70.55:1812 length 170 (11) Service-Type = Framed-User (11) Framed-Protocol = PPP (11) NAS-Port = 16116432 (11) NAS-Port-Type = Ethernet (11) User-Name = "Mala@" (11) Calling-Station-Id = "04:95:E6:A7:C7:C0" (11) NAS-Port-Id = "RB_INTERNET-71" (11) Acct-Session-Id = "8155ddbc" (11) CHAP-Challenge = 0xccb742cdbdb7e0243ab09efb6b2c6c93 (11) CHAP-Password = 0x0131f1e20cc729fd3bdd9432c295883499 (11) NAS-Identifier = "CORE-ROUTER" (11) NAS-IP-Address = 103.190.8.10 (11) Message-Authenticator = 0x4c3ea4d96eb947c8f25e52e6d0e35a4c (11) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (11) authorize { (11) [preprocess] = ok (11) chap: &control:Auth-Type := CHAP (11) [chap] = ok (11) [mschap] = noop (11) [digest] = noop (11) suffix: Checking for suffix after "@" (11) suffix: Looking up realm "" for User-Name = "Mala@" (11) suffix: No such realm "" (11) [suffix] = noop (11) eap: No EAP-Message, not doing EAP (11) [eap] = noop (11) files: users: Matched entry DEFAULT at line 167 (11) [files] = ok (11) sql: EXPAND %{User-Name} (11) sql: --> Mala@ (11) sql: SQL-User-Name set to 'Mala@' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (12) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (13), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (13) (11) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (11) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'Mala@' ORDER BY id (11) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'Mala@' ORDER BY id (11) sql: User found in radcheck table (11) sql: Conditional check items matched, merging assignment check items (11) sql: Cleartext-Password := "123456" (11) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (11) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'Mala@' ORDER BY id (11) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'Mala@' ORDER BY id (11) sql: User found in radreply table, merging reply items (11) sql: Mikrotik-Rate-Limit := "105M/105M" (11) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (11) sql: --> SELECT groupname FROM radusergroup WHERE username = 'Mala@' ORDER BY priority (11) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'Mala@' ORDER BY priority (11) sql: User found in the group table (11) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (11) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (11) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (11) sql: Group "REELTIME-100-Mbps-Rs-100": Conditional check items matched (11) sql: Group "REELTIME-100-Mbps-Rs-100": Merging assignment check items (11) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (11) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (11) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (11) sql: Group "REELTIME-100-Mbps-Rs-100": Merging reply items (11) sql: Mikrotik-Rate-Limit := "105M/105M" rlm_sql (sql): Released connection (13) (11) [sql] = ok (11) [expiration] = noop (11) [logintime] = noop (11) pap: WARNING: Auth-Type already set. Not setting to PAP (11) [pap] = noop (11) } # authorize = ok (11) Found Auth-Type = CHAP (11) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (11) Auth-Type CHAP { (11) chap: Comparing with "known good" Cleartext-Password (11) chap: CHAP user "Mala@" authenticated successfully (11) [chap] = ok (11) } # Auth-Type CHAP = ok (11) # Executing section post-auth from file /etc/freeradius/3.0/sites-enabled/default (11) post-auth { (11) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) { (11) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE (11) update { (11) No attributes updated for RHS &session-state: (11) } # update = noop (11) sql: EXPAND .query (11) sql: --> .query (11) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (13) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (14), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (14) (11) sql: EXPAND %{User-Name} (11) sql: --> Mala@ (11) sql: SQL-User-Name set to 'Mala@' (11) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (11) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'Mala@', '0x0131f1e20cc729fd3bdd9432c295883499', 'Access-Accept', '2026-03-27 04:22:55.807152' ) (11) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'Mala@', '0x0131f1e20cc729fd3bdd9432c295883499', 'Access-Accept', '2026-03-27 04:22:55.807152' ) (11) sql: SQL query returned: success (11) sql: 1 record(s) updated rlm_sql (sql): Released connection (14) (11) [sql] = ok (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) if (EAP-Key-Name && &reply:EAP-Session-Id) { (11) if (EAP-Key-Name && &reply:EAP-Session-Id) -> FALSE (11) } # post-auth = ok (11) Sent Access-Accept Id 213 from 103.204.70.55:1812 to 103.190.8.10:37060 length 67 (11) Framed-Protocol = PPP (11) Framed-Compression = Van-Jacobson-TCP-IP (11) Mikrotik-Rate-Limit = "105M/105M" (11) Finished request Waking up in 1.8 seconds. (12) Received Accounting-Request Id 228 from 103.190.8.10:60473 to 103.204.70.55:1813 length 145 (12) Service-Type = Framed-User (12) Framed-Protocol = PPP (12) NAS-Port = 16116432 (12) NAS-Port-Type = Ethernet (12) User-Name = "Mala@" (12) Calling-Station-Id = "04:95:E6:A7:C7:C0" (12) NAS-Port-Id = "RB_INTERNET-71" (12) Acct-Session-Id = "8155ddbc" (12) Framed-IP-Address = 172.16.3.243 (12) Acct-Authentic = RADIUS (12) Event-Timestamp = "Mar 27 2026 04:22:55 IST" (12) Acct-Status-Type = Start (12) NAS-Identifier = "CORE-ROUTER" (12) Acct-Delay-Time = 0 (12) NAS-IP-Address = 103.190.8.10 (12) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (12) preacct { (12) [preprocess] = ok (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) --> a83c757bf48c7625379aac260632ef17 (12) &Acct-Unique-Session-Id := a83c757bf48c7625379aac260632ef17 (12) } # update request = noop (12) } # else = noop (12) update request { (12) &Tmp-String-9 !* ANY (12) } # update request = noop (12) } # policy acct_unique = noop (12) suffix: Checking for suffix after "@" (12) suffix: Looking up realm "" for User-Name = "Mala@" (12) suffix: No such realm "" (12) [suffix] = noop (12) [files] = noop (12) } # preacct = ok (12) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (12) accounting { (12) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (12) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (12) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (12) detail: EXPAND %t (12) detail: --> Fri Mar 27 04:22:55 2026 (12) [detail] = ok (12) [unix] = ok (12) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (12) sql: --> type.start.query (12) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (14) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (15), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (15) (12) sql: EXPAND %{User-Name} (12) sql: --> Mala@ (12) sql: SQL-User-Name set to 'Mala@' (12) sql: EXPAND INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}', '%{Delegated-IPv6-Prefix}' ) (12) sql: --> INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('8155ddbc', 'a83c757bf48c7625379aac260632ef17', 'Mala@', '', '103.190.8.10', 'RB_INTERNET-71', 'Ethernet', FROM_UNIXTIME(1774565575), FROM_UNIXTIME(1774565575), NULL, '0', 'RADIUS', '', '', '0', '0', '', '04:95:E6:A7:C7:C0', '', 'Framed-User', 'PPP', '172.16.3.243', '', '', '', '' ) (12) sql: Executing query: INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('8155ddbc', 'a83c757bf48c7625379aac260632ef17', 'Mala@', '', '103.190.8.10', 'RB_INTERNET-71', 'Ethernet', FROM_UNIXTIME(1774565575), FROM_UNIXTIME(1774565575), NULL, '0', 'RADIUS', '', '', '0', '0', '', '04:95:E6:A7:C7:C0', '', 'Framed-User', 'PPP', '172.16.3.243', '', '', '', '' ) (12) sql: SQL query returned: success (12) sql: 1 record(s) updated rlm_sql (sql): Released connection (15) (12) [sql] = ok (12) [exec] = noop (12) attr_filter.accounting_response: EXPAND %{User-Name} (12) attr_filter.accounting_response: --> Mala@ (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 228 from 103.204.70.55:1813 to 103.190.8.10:60473 length 20 (12) Finished request (12) Cleaning up request packet ID 228 with timestamp +1 due to done Waking up in 1.8 seconds. (13) Received Accounting-Request Id 214 from 103.190.8.10:56014 to 103.204.70.55:1813 length 237 (13) Service-Type = Framed-User (13) Framed-Protocol = PPP (13) NAS-Port = 16099501 (13) NAS-Port-Type = Ethernet (13) User-Name = "SKDEMO" (13) Calling-Station-Id = "30:CC:21:E2:53:B0" (13) NAS-Port-Id = "VLAN-83-SK VISON" (13) Acct-Session-Id = "81559d33" (13) Framed-IP-Address = 172.16.4.110 (13) Acct-Authentic = RADIUS (13) Event-Timestamp = "Mar 27 2026 04:22:52 IST" (13) Acct-Session-Time = 20670 (13) Idle-Timeout = 0 (13) Session-Timeout = 8644897 (13) X-Ascend-Data-Rate = 105000000 (13) Ascend-Xmit-Rate = 105000000 (13) Mikrotik-Rate-Limit = "105M/105M" (13) Acct-Input-Octets = 65289925 (13) Acct-Input-Gigawords = 0 (13) Acct-Input-Packets = 293941 (13) Acct-Output-Octets = 1679426703 (13) Acct-Output-Gigawords = 0 (13) Acct-Output-Packets = 1201869 (13) Acct-Status-Type = Interim-Update (13) NAS-Identifier = "CORE-ROUTER" (13) Acct-Delay-Time = 0 (13) NAS-IP-Address = 103.190.8.10 (13) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (13) preacct { (13) [preprocess] = ok (13) policy acct_unique { (13) update request { (13) &Tmp-String-9 := "ai:" (13) } # update request = noop (13) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (13) EXPAND %{hex:&Class} (13) --> (13) EXPAND ^%{hex:&Tmp-String-9} (13) --> ^61693a (13) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (13) else { (13) update request { (13) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (13) --> ce8e8bdfa1b16b8369240f51cd81aa55 (13) &Acct-Unique-Session-Id := ce8e8bdfa1b16b8369240f51cd81aa55 (13) } # update request = noop (13) } # else = noop (13) update request { (13) &Tmp-String-9 !* ANY (13) } # update request = noop (13) } # policy acct_unique = noop (13) suffix: Checking for suffix after "@" (13) suffix: No '@' in User-Name = "SKDEMO", looking up realm NULL (13) suffix: No such realm "NULL" (13) [suffix] = noop (13) [files] = noop (13) } # preacct = ok (13) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (13) accounting { (13) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (13) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (13) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (13) detail: EXPAND %t (13) detail: --> Fri Mar 27 04:22:55 2026 (13) [detail] = ok (13) [unix] = noop (13) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (13) sql: --> type.interim-update.query (13) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (15) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (16), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (16) (13) sql: EXPAND %{User-Name} (13) sql: --> SKDEMO (13) sql: SQL-User-Name set to 'SKDEMO' (13) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (13) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565572), acctinterval = 1774565572 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.110', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 20670, acctinputoctets = '0' << 32 | '65289925', acctoutputoctets = '0' << 32 | '1679426703' WHERE AcctUniqueId = 'ce8e8bdfa1b16b8369240f51cd81aa55' (13) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565572), acctinterval = 1774565572 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.110', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 20670, acctinputoctets = '0' << 32 | '65289925', acctoutputoctets = '0' << 32 | '1679426703' WHERE AcctUniqueId = 'ce8e8bdfa1b16b8369240f51cd81aa55' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (13) sql: SQL query returned: success (13) sql: 1 record(s) updated rlm_sql (sql): Released connection (16) (13) [sql] = ok (13) [exec] = noop (13) attr_filter.accounting_response: EXPAND %{User-Name} (13) attr_filter.accounting_response: --> SKDEMO (13) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (13) [attr_filter.accounting_response] = updated (13) } # accounting = updated (13) Sent Accounting-Response Id 214 from 103.204.70.55:1813 to 103.190.8.10:56014 length 20 (13) Finished request (13) Cleaning up request packet ID 214 with timestamp +1 due to done Waking up in 1.8 seconds. (14) Received Accounting-Request Id 216 from 103.190.8.10:49726 to 103.204.70.55:1813 length 247 (14) Service-Type = Framed-User (14) Framed-Protocol = PPP (14) NAS-Port = 16091222 (14) NAS-Port-Type = Ethernet (14) User-Name = "DEMOSATYAVIR" (14) Calling-Station-Id = "BC:62:D2:25:C9:52" (14) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (14) Acct-Session-Id = "81557d54" (14) Framed-IP-Address = 172.16.3.230 (14) Acct-Authentic = RADIUS (14) Event-Timestamp = "Mar 27 2026 04:22:52 IST" (14) Acct-Session-Time = 54602 (14) Idle-Timeout = 0 (14) Session-Timeout = 1334828 (14) X-Ascend-Data-Rate = 105000000 (14) Ascend-Xmit-Rate = 105000000 (14) Mikrotik-Rate-Limit = "105M/105M" (14) Acct-Input-Octets = 254 (14) Acct-Input-Gigawords = 0 (14) Acct-Input-Packets = 6 (14) Acct-Output-Octets = 531 (14) Acct-Output-Gigawords = 0 (14) Acct-Output-Packets = 7 (14) Acct-Status-Type = Interim-Update (14) NAS-Identifier = "CORE-ROUTER" (14) Acct-Delay-Time = 0 (14) NAS-IP-Address = 103.190.8.10 (14) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (14) preacct { (14) [preprocess] = ok (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) --> e6d36f9609979bfbdd4af27141c78de1 (14) &Acct-Unique-Session-Id := e6d36f9609979bfbdd4af27141c78de1 (14) } # update request = noop (14) } # else = noop (14) update request { (14) &Tmp-String-9 !* ANY (14) } # update request = noop (14) } # policy acct_unique = noop (14) suffix: Checking for suffix after "@" (14) suffix: No '@' in User-Name = "DEMOSATYAVIR", looking up realm NULL (14) suffix: No such realm "NULL" (14) [suffix] = noop (14) [files] = noop (14) } # preacct = ok (14) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (14) accounting { (14) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (14) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (14) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (14) detail: EXPAND %t (14) detail: --> Fri Mar 27 04:22:55 2026 (14) [detail] = ok (14) [unix] = noop (14) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (14) sql: --> type.interim-update.query (14) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (16) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (17), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (17) (14) sql: EXPAND %{User-Name} (14) sql: --> DEMOSATYAVIR (14) sql: SQL-User-Name set to 'DEMOSATYAVIR' (14) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (14) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565572), acctinterval = 1774565572 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.230', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54602, acctinputoctets = '0' << 32 | '254', acctoutputoctets = '0' << 32 | '531' WHERE AcctUniqueId = 'e6d36f9609979bfbdd4af27141c78de1' (14) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565572), acctinterval = 1774565572 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.230', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54602, acctinputoctets = '0' << 32 | '254', acctoutputoctets = '0' << 32 | '531' WHERE AcctUniqueId = 'e6d36f9609979bfbdd4af27141c78de1' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (14) sql: SQL query returned: success (14) sql: 1 record(s) updated rlm_sql (sql): Released connection (17) (14) [sql] = ok (14) [exec] = noop (14) attr_filter.accounting_response: EXPAND %{User-Name} (14) attr_filter.accounting_response: --> DEMOSATYAVIR (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 216 from 103.204.70.55:1813 to 103.190.8.10:49726 length 20 (14) Finished request (14) Cleaning up request packet ID 216 with timestamp +1 due to done Waking up in 1.8 seconds. (15) Received Accounting-Request Id 215 from 103.190.8.10:42828 to 103.204.70.55:1813 length 241 (15) Service-Type = Framed-User (15) Framed-Protocol = PPP (15) NAS-Port = 16096275 (15) NAS-Port-Type = Ethernet (15) User-Name = "TARUN217" (15) Calling-Station-Id = "40:AE:30:A4:B0:F3" (15) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (15) Acct-Session-Id = "81559110" (15) Framed-IP-Address = 172.16.4.74 (15) Acct-Authentic = RADIUS (15) Event-Timestamp = "Mar 27 2026 04:22:52 IST" (15) Acct-Session-Time = 36531 (15) Idle-Timeout = 0 (15) Session-Timeout = 4427158 (15) X-Ascend-Data-Rate = 62000000 (15) Ascend-Xmit-Rate = 62000000 (15) Mikrotik-Rate-Limit = "62M/62M" (15) Acct-Input-Octets = 589765333 (15) Acct-Input-Gigawords = 0 (15) Acct-Input-Packets = 2951040 (15) Acct-Output-Octets = 3884846793 (15) Acct-Output-Gigawords = 2 (15) Acct-Output-Packets = 10898758 (15) Acct-Status-Type = Interim-Update (15) NAS-Identifier = "CORE-ROUTER" (15) Acct-Delay-Time = 0 (15) NAS-IP-Address = 103.190.8.10 (15) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (15) preacct { (15) [preprocess] = ok (15) policy acct_unique { (15) update request { (15) &Tmp-String-9 := "ai:" (15) } # update request = noop (15) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (15) EXPAND %{hex:&Class} (15) --> (15) EXPAND ^%{hex:&Tmp-String-9} (15) --> ^61693a (15) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (15) else { (15) update request { (15) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (15) --> 8354cf138323b5cf784d5f732e6f54ec (15) &Acct-Unique-Session-Id := 8354cf138323b5cf784d5f732e6f54ec (15) } # update request = noop (15) } # else = noop (15) update request { (15) &Tmp-String-9 !* ANY (15) } # update request = noop (15) } # policy acct_unique = noop (15) suffix: Checking for suffix after "@" (15) suffix: No '@' in User-Name = "TARUN217", looking up realm NULL (15) suffix: No such realm "NULL" (15) [suffix] = noop (15) [files] = noop (15) } # preacct = ok (15) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (15) accounting { (15) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (15) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (15) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (15) detail: EXPAND %t (15) detail: --> Fri Mar 27 04:22:55 2026 (15) [detail] = ok (15) [unix] = noop (15) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (15) sql: --> type.interim-update.query (15) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (17) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (18), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (18) (15) sql: EXPAND %{User-Name} (15) sql: --> TARUN217 (15) sql: SQL-User-Name set to 'TARUN217' (15) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (15) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565572), acctinterval = 1774565572 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.74', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 36531, acctinputoctets = '0' << 32 | '589765333', acctoutputoctets = '2' << 32 | '3884846793' WHERE AcctUniqueId = '8354cf138323b5cf784d5f732e6f54ec' (15) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565572), acctinterval = 1774565572 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.74', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 36531, acctinputoctets = '0' << 32 | '589765333', acctoutputoctets = '2' << 32 | '3884846793' WHERE AcctUniqueId = '8354cf138323b5cf784d5f732e6f54ec' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (15) sql: SQL query returned: success (15) sql: 1 record(s) updated rlm_sql (sql): Released connection (18) (15) [sql] = ok (15) [exec] = noop (15) attr_filter.accounting_response: EXPAND %{User-Name} (15) attr_filter.accounting_response: --> TARUN217 (15) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (15) [attr_filter.accounting_response] = updated (15) } # accounting = updated (15) Sent Accounting-Response Id 215 from 103.204.70.55:1813 to 103.190.8.10:42828 length 20 (15) Finished request (15) Cleaning up request packet ID 215 with timestamp +1 due to done Waking up in 1.8 seconds. (16) Received Accounting-Request Id 204 from 103.190.8.10:52172 to 103.204.70.55:1813 length 240 (16) Service-Type = Framed-User (16) Framed-Protocol = PPP (16) NAS-Port = 16096803 (16) NAS-Port-Type = Ethernet (16) User-Name = "VICKY37" (16) Calling-Station-Id = "B8:19:04:CF:12:54" (16) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (16) Acct-Session-Id = "8155931d" (16) Framed-IP-Address = 172.16.3.79 (16) Acct-Authentic = RADIUS (16) Event-Timestamp = "Mar 27 2026 04:22:50 IST" (16) Acct-Session-Time = 34322 (16) Idle-Timeout = 0 (16) Session-Timeout = 5980150 (16) X-Ascend-Data-Rate = 62000000 (16) Ascend-Xmit-Rate = 62000000 (16) Mikrotik-Rate-Limit = "62M/62M" (16) Acct-Input-Octets = 26518771 (16) Acct-Input-Gigawords = 0 (16) Acct-Input-Packets = 108493 (16) Acct-Output-Octets = 268884831 (16) Acct-Output-Gigawords = 0 (16) Acct-Output-Packets = 259797 (16) Acct-Status-Type = Interim-Update (16) NAS-Identifier = "CORE-ROUTER" (16) Acct-Delay-Time = 0 (16) NAS-IP-Address = 103.190.8.10 (16) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (16) preacct { (16) [preprocess] = ok (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) --> 160bfec45730d7b34d7f02c36df9a567 (16) &Acct-Unique-Session-Id := 160bfec45730d7b34d7f02c36df9a567 (16) } # update request = noop (16) } # else = noop (16) update request { (16) &Tmp-String-9 !* ANY (16) } # update request = noop (16) } # policy acct_unique = noop (16) suffix: Checking for suffix after "@" (16) suffix: No '@' in User-Name = "VICKY37", looking up realm NULL (16) suffix: No such realm "NULL" (16) [suffix] = noop (16) [files] = noop (16) } # preacct = ok (16) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (16) accounting { (16) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (16) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (16) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (16) detail: EXPAND %t (16) detail: --> Fri Mar 27 04:22:56 2026 (16) [detail] = ok (16) [unix] = noop (16) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (16) sql: --> type.interim-update.query (16) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (18) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (19), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (19) (16) sql: EXPAND %{User-Name} (16) sql: --> VICKY37 (16) sql: SQL-User-Name set to 'VICKY37' (16) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (16) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565570), acctinterval = 1774565570 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.79', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 34322, acctinputoctets = '0' << 32 | '26518771', acctoutputoctets = '0' << 32 | '268884831' WHERE AcctUniqueId = '160bfec45730d7b34d7f02c36df9a567' (16) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565570), acctinterval = 1774565570 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.79', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 34322, acctinputoctets = '0' << 32 | '26518771', acctoutputoctets = '0' << 32 | '268884831' WHERE AcctUniqueId = '160bfec45730d7b34d7f02c36df9a567' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (16) sql: SQL query returned: success (16) sql: 1 record(s) updated rlm_sql (sql): Released connection (19) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (20), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (19) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (16) [sql] = ok (16) [exec] = noop (16) attr_filter.accounting_response: EXPAND %{User-Name} (16) attr_filter.accounting_response: --> VICKY37 (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 204 from 103.204.70.55:1813 to 103.190.8.10:52172 length 20 (16) Finished request (16) Cleaning up request packet ID 204 with timestamp +2 due to done Waking up in 1.4 seconds. (17) Received Accounting-Request Id 205 from 103.190.8.10:49492 to 103.204.70.55:1813 length 239 (17) Service-Type = Framed-User (17) Framed-Protocol = PPP (17) NAS-Port = 16093875 (17) NAS-Port-Type = Ethernet (17) User-Name = "PAWAN866" (17) Calling-Station-Id = "C4:27:28:FD:F7:85" (17) NAS-Port-Id = "VLAN-83-SK VISON" (17) Acct-Session-Id = "815587b1" (17) Framed-IP-Address = 172.16.3.58 (17) Acct-Authentic = RADIUS (17) Event-Timestamp = "Mar 27 2026 04:22:50 IST" (17) Acct-Session-Time = 44982 (17) Idle-Timeout = 0 (17) Session-Timeout = 2102810 (17) X-Ascend-Data-Rate = 105000000 (17) Ascend-Xmit-Rate = 105000000 (17) Mikrotik-Rate-Limit = "105M/105M" (17) Acct-Input-Octets = 912870606 (17) Acct-Input-Gigawords = 0 (17) Acct-Input-Packets = 4285987 (17) Acct-Output-Octets = 645022903 (17) Acct-Output-Gigawords = 5 (17) Acct-Output-Packets = 17664765 (17) Acct-Status-Type = Interim-Update (17) NAS-Identifier = "CORE-ROUTER" (17) Acct-Delay-Time = 0 (17) NAS-IP-Address = 103.190.8.10 (17) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (17) preacct { (17) [preprocess] = ok (17) policy acct_unique { (17) update request { (17) &Tmp-String-9 := "ai:" (17) } # update request = noop (17) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (17) EXPAND %{hex:&Class} (17) --> (17) EXPAND ^%{hex:&Tmp-String-9} (17) --> ^61693a (17) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (17) else { (17) update request { (17) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (17) --> 2fbeeb767e975e2d63e5b7ca2f5f10c6 (17) &Acct-Unique-Session-Id := 2fbeeb767e975e2d63e5b7ca2f5f10c6 (17) } # update request = noop (17) } # else = noop (17) update request { (17) &Tmp-String-9 !* ANY (17) } # update request = noop (17) } # policy acct_unique = noop (17) suffix: Checking for suffix after "@" (17) suffix: No '@' in User-Name = "PAWAN866", looking up realm NULL (17) suffix: No such realm "NULL" (17) [suffix] = noop (17) [files] = noop (17) } # preacct = ok (17) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (17) accounting { (17) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (17) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (17) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (17) detail: EXPAND %t (17) detail: --> Fri Mar 27 04:22:56 2026 (17) [detail] = ok (17) [unix] = noop (17) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (17) sql: --> type.interim-update.query (17) sql: Using query template 'query' rlm_sql (sql): Reserved connection (20) (17) sql: EXPAND %{User-Name} (17) sql: --> PAWAN866 (17) sql: SQL-User-Name set to 'PAWAN866' (17) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (17) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565570), acctinterval = 1774565570 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.58', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 44982, acctinputoctets = '0' << 32 | '912870606', acctoutputoctets = '5' << 32 | '645022903' WHERE AcctUniqueId = '2fbeeb767e975e2d63e5b7ca2f5f10c6' (17) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565570), acctinterval = 1774565570 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.58', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 44982, acctinputoctets = '0' << 32 | '912870606', acctoutputoctets = '5' << 32 | '645022903' WHERE AcctUniqueId = '2fbeeb767e975e2d63e5b7ca2f5f10c6' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (17) sql: SQL query returned: success (17) sql: 1 record(s) updated rlm_sql (sql): Released connection (20) (17) [sql] = ok (17) [exec] = noop (17) attr_filter.accounting_response: EXPAND %{User-Name} (17) attr_filter.accounting_response: --> PAWAN866 (17) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (17) [attr_filter.accounting_response] = updated (17) } # accounting = updated (17) Sent Accounting-Response Id 205 from 103.204.70.55:1813 to 103.190.8.10:49492 length 20 (17) Finished request (17) Cleaning up request packet ID 205 with timestamp +2 due to done Waking up in 1.4 seconds. (18) Received Accounting-Request Id 229 from 103.190.8.10:57693 to 103.204.70.55:1813 length 246 (18) Service-Type = Framed-User (18) Framed-Protocol = PPP (18) NAS-Port = 16091475 (18) NAS-Port-Type = Ethernet (18) User-Name = "AJINKYA905" (18) Calling-Station-Id = "B8:DD:71:A7:9C:96" (18) NAS-Port-Id = "VLAN-100--GENEXIS OLT" (18) Acct-Session-Id = "81557e52" (18) Framed-IP-Address = 172.16.4.98 (18) Acct-Authentic = RADIUS (18) Event-Timestamp = "Mar 27 2026 04:22:56 IST" (18) Acct-Session-Time = 53562 (18) Idle-Timeout = 0 (18) Session-Timeout = 1592985 (18) X-Ascend-Data-Rate = 105000000 (18) Ascend-Xmit-Rate = 105000000 (18) Mikrotik-Rate-Limit = "105M/105M" (18) Acct-Input-Octets = 255505738 (18) Acct-Input-Gigawords = 0 (18) Acct-Input-Packets = 1408805 (18) Acct-Output-Octets = 1332648568 (18) Acct-Output-Gigawords = 1 (18) Acct-Output-Packets = 4602110 (18) Acct-Status-Type = Interim-Update (18) NAS-Identifier = "CORE-ROUTER" (18) Acct-Delay-Time = 0 (18) NAS-IP-Address = 103.190.8.10 (18) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (18) preacct { (18) [preprocess] = ok (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) --> 3379be0cfd02ae90952699e5e4a50eee (18) &Acct-Unique-Session-Id := 3379be0cfd02ae90952699e5e4a50eee (18) } # update request = noop (18) } # else = noop (18) update request { (18) &Tmp-String-9 !* ANY (18) } # update request = noop (18) } # policy acct_unique = noop (18) suffix: Checking for suffix after "@" (18) suffix: No '@' in User-Name = "AJINKYA905", looking up realm NULL (18) suffix: No such realm "NULL" (18) [suffix] = noop (18) [files] = noop (18) } # preacct = ok (18) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (18) accounting { (18) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (18) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (18) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (18) detail: EXPAND %t (18) detail: --> Fri Mar 27 04:22:56 2026 (18) [detail] = ok (18) [unix] = noop (18) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (18) sql: --> type.interim-update.query (18) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (20) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (21), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (21) (18) sql: EXPAND %{User-Name} (18) sql: --> AJINKYA905 (18) sql: SQL-User-Name set to 'AJINKYA905' (18) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (18) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565576), acctinterval = 1774565576 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.98', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 53562, acctinputoctets = '0' << 32 | '255505738', acctoutputoctets = '1' << 32 | '1332648568' WHERE AcctUniqueId = '3379be0cfd02ae90952699e5e4a50eee' (18) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565576), acctinterval = 1774565576 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.98', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 53562, acctinputoctets = '0' << 32 | '255505738', acctoutputoctets = '1' << 32 | '1332648568' WHERE AcctUniqueId = '3379be0cfd02ae90952699e5e4a50eee' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (18) sql: SQL query returned: success (18) sql: 1 record(s) updated rlm_sql (sql): Released connection (21) (18) [sql] = ok (18) [exec] = noop (18) attr_filter.accounting_response: EXPAND %{User-Name} (18) attr_filter.accounting_response: --> AJINKYA905 (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 229 from 103.204.70.55:1813 to 103.190.8.10:57693 length 20 (18) Finished request (18) Cleaning up request packet ID 229 with timestamp +2 due to done Waking up in 1.4 seconds. (19) Received Accounting-Request Id 78 from 27.100.14.6:41314 to 103.204.70.55:1813 length 228 (19) Service-Type = Framed-User (19) Framed-Protocol = PPP (19) NAS-Port = 15740036 (19) NAS-Port-Type = Ethernet (19) User-Name = "9050024937" (19) Calling-Station-Id = "14:A7:2B:98:51:2F" (19) NAS-Port-Id = "ether3" (19) Acct-Session-Id = "81c02794" (19) Framed-IP-Address = 10.10.10.225 (19) Acct-Authentic = RADIUS (19) Event-Timestamp = "Mar 27 2026 04:22:56 IST" (19) Acct-Session-Time = 27181 (19) Idle-Timeout = 0 (19) Session-Timeout = 30078604 (19) X-Ascend-Data-Rate = 110000000 (19) Ascend-Xmit-Rate = 110000000 (19) Mikrotik-Rate-Limit = "110M/110M" (19) Acct-Input-Octets = 270874230 (19) Acct-Input-Gigawords = 0 (19) Acct-Input-Packets = 1369887 (19) Acct-Output-Octets = 3423972728 (19) Acct-Output-Gigawords = 1 (19) Acct-Output-Packets = 6201801 (19) Acct-Status-Type = Interim-Update (19) NAS-Identifier = "MikroTik" (19) Acct-Delay-Time = 0 (19) NAS-IP-Address = 27.100.14.6 (19) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (19) preacct { (19) [preprocess] = ok (19) policy acct_unique { (19) update request { (19) &Tmp-String-9 := "ai:" (19) } # update request = noop (19) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (19) EXPAND %{hex:&Class} (19) --> (19) EXPAND ^%{hex:&Tmp-String-9} (19) --> ^61693a (19) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (19) else { (19) update request { (19) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (19) --> 0aa47dc6846a3a4bca024c545871f469 (19) &Acct-Unique-Session-Id := 0aa47dc6846a3a4bca024c545871f469 (19) } # update request = noop (19) } # else = noop (19) update request { (19) &Tmp-String-9 !* ANY (19) } # update request = noop (19) } # policy acct_unique = noop (19) suffix: Checking for suffix after "@" (19) suffix: No '@' in User-Name = "9050024937", looking up realm NULL (19) suffix: No such realm "NULL" (19) [suffix] = noop (19) [files] = noop (19) } # preacct = ok (19) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (19) accounting { (19) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (19) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (19) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (19) detail: EXPAND %t (19) detail: --> Fri Mar 27 04:22:56 2026 (19) [detail] = ok (19) [unix] = noop (19) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (19) sql: --> type.interim-update.query (19) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (21) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (22), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (22) (19) sql: EXPAND %{User-Name} (19) sql: --> 9050024937 (19) sql: SQL-User-Name set to '9050024937' (19) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (19) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565576), acctinterval = 1774565576 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.225', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 27181, acctinputoctets = '0' << 32 | '270874230', acctoutputoctets = '1' << 32 | '3423972728' WHERE AcctUniqueId = '0aa47dc6846a3a4bca024c545871f469' (19) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565576), acctinterval = 1774565576 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.225', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 27181, acctinputoctets = '0' << 32 | '270874230', acctoutputoctets = '1' << 32 | '3423972728' WHERE AcctUniqueId = '0aa47dc6846a3a4bca024c545871f469' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (19) sql: SQL query returned: success (19) sql: 1 record(s) updated rlm_sql (sql): Released connection (22) (19) [sql] = ok (19) [exec] = noop (19) attr_filter.accounting_response: EXPAND %{User-Name} (19) attr_filter.accounting_response: --> 9050024937 (19) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (19) [attr_filter.accounting_response] = updated (19) } # accounting = updated (19) Sent Accounting-Response Id 78 from 103.204.70.55:1813 to 27.100.14.6:41314 length 20 (19) Finished request (19) Cleaning up request packet ID 78 with timestamp +2 due to done Waking up in 1.1 seconds. (20) Received Accounting-Request Id 79 from 27.100.14.6:47018 to 103.204.70.55:1813 length 228 (20) Service-Type = Framed-User (20) Framed-Protocol = PPP (20) NAS-Port = 15739648 (20) NAS-Port-Type = Ethernet (20) User-Name = "1321130012" (20) Calling-Station-Id = "C4:70:0B:65:7C:B9" (20) NAS-Port-Id = "ether3" (20) Acct-Session-Id = "81c02643" (20) Framed-IP-Address = 10.10.10.212 (20) Acct-Authentic = RADIUS (20) Event-Timestamp = "Mar 27 2026 04:22:56 IST" (20) Acct-Session-Time = 30421 (20) Idle-Timeout = 0 (20) Session-Timeout = 30600244 (20) X-Ascend-Data-Rate = 110000000 (20) Ascend-Xmit-Rate = 110000000 (20) Mikrotik-Rate-Limit = "110M/110M" (20) Acct-Input-Octets = 265666656 (20) Acct-Input-Gigawords = 0 (20) Acct-Input-Packets = 1128061 (20) Acct-Output-Octets = 1213168425 (20) Acct-Output-Gigawords = 1 (20) Acct-Output-Packets = 4647605 (20) Acct-Status-Type = Interim-Update (20) NAS-Identifier = "MikroTik" (20) Acct-Delay-Time = 0 (20) NAS-IP-Address = 27.100.14.6 (20) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (20) preacct { (20) [preprocess] = ok (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) --> 435057a11c083eb21a9fdbeae13e4b80 (20) &Acct-Unique-Session-Id := 435057a11c083eb21a9fdbeae13e4b80 (20) } # update request = noop (20) } # else = noop (20) update request { (20) &Tmp-String-9 !* ANY (20) } # update request = noop (20) } # policy acct_unique = noop (20) suffix: Checking for suffix after "@" (20) suffix: No '@' in User-Name = "1321130012", looking up realm NULL (20) suffix: No such realm "NULL" (20) [suffix] = noop (20) [files] = noop (20) } # preacct = ok (20) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (20) accounting { (20) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (20) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (20) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (20) detail: EXPAND %t (20) detail: --> Fri Mar 27 04:22:56 2026 (20) [detail] = ok (20) [unix] = noop (20) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (20) sql: --> type.interim-update.query (20) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (22) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (23), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (23) (20) sql: EXPAND %{User-Name} (20) sql: --> 1321130012 (20) sql: SQL-User-Name set to '1321130012' (20) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (20) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565576), acctinterval = 1774565576 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.212', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30421, acctinputoctets = '0' << 32 | '265666656', acctoutputoctets = '1' << 32 | '1213168425' WHERE AcctUniqueId = '435057a11c083eb21a9fdbeae13e4b80' (20) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565576), acctinterval = 1774565576 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.212', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30421, acctinputoctets = '0' << 32 | '265666656', acctoutputoctets = '1' << 32 | '1213168425' WHERE AcctUniqueId = '435057a11c083eb21a9fdbeae13e4b80' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (20) sql: SQL query returned: success (20) sql: 1 record(s) updated rlm_sql (sql): Released connection (23) (20) [sql] = ok (20) [exec] = noop (20) attr_filter.accounting_response: EXPAND %{User-Name} (20) attr_filter.accounting_response: --> 1321130012 (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 79 from 103.204.70.55:1813 to 27.100.14.6:47018 length 20 (20) Finished request (20) Cleaning up request packet ID 79 with timestamp +2 due to done Waking up in 1.1 seconds. (21) Received Access-Request Id 218 from 103.190.8.10:50995 to 103.204.70.55:1812 length 179 (21) Service-Type = Framed-User (21) Framed-Protocol = PPP (21) NAS-Port = 16116433 (21) NAS-Port-Type = Ethernet (21) User-Name = "SUNNY261" (21) Calling-Station-Id = "E8:65:D4:15:37:A8" (21) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (21) Acct-Session-Id = "8155ddbd" (21) CHAP-Challenge = 0x98abc359b000f31b638f40265848eb94 (21) CHAP-Password = 0x01e1592494b157b60aa9249965004e5cdf (21) NAS-Identifier = "CORE-ROUTER" (21) NAS-IP-Address = 103.190.8.10 (21) Message-Authenticator = 0xb59aa5bdfd32a5524dd4659a94bc9a72 (21) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (21) authorize { (21) [preprocess] = ok (21) chap: &control:Auth-Type := CHAP (21) [chap] = ok (21) [mschap] = noop (21) [digest] = noop (21) suffix: Checking for suffix after "@" (21) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (21) suffix: No such realm "NULL" (21) [suffix] = noop (21) eap: No EAP-Message, not doing EAP (21) [eap] = noop (21) files: users: Matched entry DEFAULT at line 167 (21) [files] = ok (21) sql: EXPAND %{User-Name} (21) sql: --> SUNNY261 (21) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (23) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (24), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (24) (21) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (21) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (21) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (21) sql: User found in radcheck table (21) sql: Conditional check items matched, merging assignment check items (21) sql: Cleartext-Password := "123456" (21) sql: Expiration := "Mar 26 2026 23:59:59 IST" (21) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (21) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (21) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (21) sql: User found in radreply table, merging reply items (21) sql: Mikrotik-Rate-Limit := "62M/62M" (21) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (21) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (21) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (21) sql: User found in the group table (21) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (21) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (21) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (21) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (21) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (21) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (21) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (21) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (21) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (21) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (24) (21) [sql] = ok (21) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (21) [expiration] = userlock (21) } # authorize = userlock (21) Using Post-Auth-Type Reject (21) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (21) Post-Auth-Type REJECT { (21) sql: EXPAND .query (21) sql: --> .query (21) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (24) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (25), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (25) (21) sql: EXPAND %{User-Name} (21) sql: --> SUNNY261 (21) sql: SQL-User-Name set to 'SUNNY261' (21) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (21) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01e1592494b157b60aa9249965004e5cdf', 'Access-Reject', '2026-03-27 04:22:56.868839' ) (21) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01e1592494b157b60aa9249965004e5cdf', 'Access-Reject', '2026-03-27 04:22:56.868839' ) (21) sql: SQL query returned: success (21) sql: 1 record(s) updated rlm_sql (sql): Released connection (25) (21) [sql] = ok (21) attr_filter.access_reject: EXPAND %{User-Name} (21) attr_filter.access_reject: --> SUNNY261 (21) attr_filter.access_reject: Matched entry DEFAULT at line 11 (21) [attr_filter.access_reject] = updated (21) [eap] = 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-Type REJECT = updated (21) Sent Access-Reject Id 218 from 103.204.70.55:1812 to 103.190.8.10:50995 length 38 (21) Finished request Waking up in 0.8 seconds. (22) Received Accounting-Request Id 220 from 103.190.8.10:51960 to 103.204.70.55:1813 length 243 (22) Service-Type = Framed-User (22) Framed-Protocol = PPP (22) NAS-Port = 16089360 (22) NAS-Port-Type = Ethernet (22) User-Name = "KULDEEP164" (22) Calling-Station-Id = "34:24:3E:7E:7E:1E" (22) NAS-Port-Id = "Vlan-89-VIKASH_NET" (22) Acct-Session-Id = "8155764a" (22) Framed-IP-Address = 172.16.5.78 (22) Acct-Authentic = RADIUS (22) Event-Timestamp = "Mar 27 2026 04:22:53 IST" (22) Acct-Session-Time = 63702 (22) Idle-Timeout = 0 (22) Session-Timeout = 2553528 (22) X-Ascend-Data-Rate = 205000000 (22) Ascend-Xmit-Rate = 205000000 (22) Mikrotik-Rate-Limit = "205M/205M" (22) Acct-Input-Octets = 385423350 (22) Acct-Input-Gigawords = 0 (22) Acct-Input-Packets = 1078299 (22) Acct-Output-Octets = 1876576860 (22) Acct-Output-Gigawords = 1 (22) Acct-Output-Packets = 5297773 (22) Acct-Status-Type = Interim-Update (22) NAS-Identifier = "CORE-ROUTER" (22) Acct-Delay-Time = 0 (22) NAS-IP-Address = 103.190.8.10 (22) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (22) preacct { (22) [preprocess] = ok (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) --> f8df6b81f30f4e9251c2a599a36def79 (22) &Acct-Unique-Session-Id := f8df6b81f30f4e9251c2a599a36def79 (22) } # update request = noop (22) } # else = noop (22) update request { (22) &Tmp-String-9 !* ANY (22) } # update request = noop (22) } # policy acct_unique = noop (22) suffix: Checking for suffix after "@" (22) suffix: No '@' in User-Name = "KULDEEP164", looking up realm NULL (22) suffix: No such realm "NULL" (22) [suffix] = noop (22) [files] = noop (22) } # preacct = ok (22) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (22) accounting { (22) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (22) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (22) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (22) detail: EXPAND %t (22) detail: --> Fri Mar 27 04:22:56 2026 (22) [detail] = ok (22) [unix] = noop (22) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (22) sql: --> type.interim-update.query (22) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (25) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (26), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (26) (22) sql: EXPAND %{User-Name} (22) sql: --> KULDEEP164 (22) sql: SQL-User-Name set to 'KULDEEP164' (22) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (22) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565573), acctinterval = 1774565573 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.78', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 63702, acctinputoctets = '0' << 32 | '385423350', acctoutputoctets = '1' << 32 | '1876576860' WHERE AcctUniqueId = 'f8df6b81f30f4e9251c2a599a36def79' (22) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565573), acctinterval = 1774565573 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.78', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 63702, acctinputoctets = '0' << 32 | '385423350', acctoutputoctets = '1' << 32 | '1876576860' WHERE AcctUniqueId = 'f8df6b81f30f4e9251c2a599a36def79' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (22) sql: SQL query returned: success (22) sql: 1 record(s) updated rlm_sql (sql): Released connection (26) (22) [sql] = ok (22) [exec] = noop (22) attr_filter.accounting_response: EXPAND %{User-Name} (22) attr_filter.accounting_response: --> KULDEEP164 (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 220 from 103.204.70.55:1813 to 103.190.8.10:51960 length 20 (22) Finished request (22) Cleaning up request packet ID 220 with timestamp +2 due to done Waking up in 0.8 seconds. (23) Received Accounting-Request Id 219 from 103.190.8.10:47385 to 103.204.70.55:1813 length 243 (23) Service-Type = Framed-User (23) Framed-Protocol = PPP (23) NAS-Port = 16090601 (23) NAS-Port-Type = Ethernet (23) User-Name = "NIVIYASH99" (23) Calling-Station-Id = "60:83:E7:1F:B9:FB" (23) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (23) Acct-Session-Id = "81557ae8" (23) Framed-IP-Address = 172.16.5.10 (23) Acct-Authentic = RADIUS (23) Event-Timestamp = "Mar 27 2026 04:22:53 IST" (23) Acct-Session-Time = 57591 (23) Idle-Timeout = 0 (23) Session-Timeout = 1424217 (23) X-Ascend-Data-Rate = 62000000 (23) Ascend-Xmit-Rate = 62000000 (23) Mikrotik-Rate-Limit = "62M/62M" (23) Acct-Input-Octets = 582254363 (23) Acct-Input-Gigawords = 0 (23) Acct-Input-Packets = 3020147 (23) Acct-Output-Octets = 1561554561 (23) Acct-Output-Gigawords = 5 (23) Acct-Output-Packets = 18191941 (23) Acct-Status-Type = Interim-Update (23) NAS-Identifier = "CORE-ROUTER" (23) Acct-Delay-Time = 0 (23) NAS-IP-Address = 103.190.8.10 (23) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (23) preacct { (23) [preprocess] = ok (23) policy acct_unique { (23) update request { (23) &Tmp-String-9 := "ai:" (23) } # update request = noop (23) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (23) EXPAND %{hex:&Class} (23) --> (23) EXPAND ^%{hex:&Tmp-String-9} (23) --> ^61693a (23) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (23) else { (23) update request { (23) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (23) --> 105d59992299c044ee3ab99c6c4cb3ad (23) &Acct-Unique-Session-Id := 105d59992299c044ee3ab99c6c4cb3ad (23) } # update request = noop (23) } # else = noop (23) update request { (23) &Tmp-String-9 !* ANY (23) } # update request = noop (23) } # policy acct_unique = noop (23) suffix: Checking for suffix after "@" (23) suffix: No '@' in User-Name = "NIVIYASH99", looking up realm NULL (23) suffix: No such realm "NULL" (23) [suffix] = noop (23) [files] = noop (23) } # preacct = ok (23) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (23) accounting { (23) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (23) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (23) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (23) detail: EXPAND %t (23) detail: --> Fri Mar 27 04:22:56 2026 (23) [detail] = ok (23) [unix] = noop (23) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (23) sql: --> type.interim-update.query (23) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (26) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (27), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (27) (23) sql: EXPAND %{User-Name} (23) sql: --> NIVIYASH99 (23) sql: SQL-User-Name set to 'NIVIYASH99' (23) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (23) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565573), acctinterval = 1774565573 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.10', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 57591, acctinputoctets = '0' << 32 | '582254363', acctoutputoctets = '5' << 32 | '1561554561' WHERE AcctUniqueId = '105d59992299c044ee3ab99c6c4cb3ad' (23) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565573), acctinterval = 1774565573 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.10', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 57591, acctinputoctets = '0' << 32 | '582254363', acctoutputoctets = '5' << 32 | '1561554561' WHERE AcctUniqueId = '105d59992299c044ee3ab99c6c4cb3ad' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (23) sql: SQL query returned: success (23) sql: 1 record(s) updated rlm_sql (sql): Released connection (27) (23) [sql] = ok (23) [exec] = noop (23) attr_filter.accounting_response: EXPAND %{User-Name} (23) attr_filter.accounting_response: --> NIVIYASH99 (23) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (23) [attr_filter.accounting_response] = updated (23) } # accounting = updated (23) Sent Accounting-Response Id 219 from 103.204.70.55:1813 to 103.190.8.10:47385 length 20 (23) Finished request (23) Cleaning up request packet ID 219 with timestamp +2 due to done Waking up in 0.7 seconds. (24) Received Accounting-Request Id 221 from 103.190.8.10:44807 to 103.204.70.55:1813 length 242 (24) Service-Type = Framed-User (24) Framed-Protocol = PPP (24) NAS-Port = 16091182 (24) NAS-Port-Type = Ethernet (24) User-Name = "ANKUR8A" (24) Calling-Station-Id = "34:24:3E:7D:8F:8C" (24) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (24) Acct-Session-Id = "81557d2c" (24) Framed-IP-Address = 172.16.5.48 (24) Acct-Authentic = RADIUS (24) Event-Timestamp = "Mar 27 2026 04:22:53 IST" (24) Acct-Session-Time = 54731 (24) Idle-Timeout = 0 (24) Session-Timeout = 816557 (24) X-Ascend-Data-Rate = 205000000 (24) Ascend-Xmit-Rate = 205000000 (24) Mikrotik-Rate-Limit = "205M/205M" (24) Acct-Input-Octets = 635657208 (24) Acct-Input-Gigawords = 0 (24) Acct-Input-Packets = 3514502 (24) Acct-Output-Octets = 1616655225 (24) Acct-Output-Gigawords = 4 (24) Acct-Output-Packets = 14518149 (24) Acct-Status-Type = Interim-Update (24) NAS-Identifier = "CORE-ROUTER" (24) Acct-Delay-Time = 0 (24) NAS-IP-Address = 103.190.8.10 (24) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (24) preacct { (24) [preprocess] = ok (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) --> c906fdde43b586855aa9a9b32e81d32f (24) &Acct-Unique-Session-Id := c906fdde43b586855aa9a9b32e81d32f (24) } # update request = noop (24) } # else = noop (24) update request { (24) &Tmp-String-9 !* ANY (24) } # update request = noop (24) } # policy acct_unique = noop (24) suffix: Checking for suffix after "@" (24) suffix: No '@' in User-Name = "ANKUR8A", looking up realm NULL (24) suffix: No such realm "NULL" (24) [suffix] = noop (24) [files] = noop (24) } # preacct = ok (24) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (24) accounting { (24) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (24) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (24) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (24) detail: EXPAND %t (24) detail: --> Fri Mar 27 04:22:56 2026 (24) [detail] = ok (24) [unix] = noop (24) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (24) sql: --> type.interim-update.query (24) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (27) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (28), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (28) (24) sql: EXPAND %{User-Name} (24) sql: --> ANKUR8A (24) sql: SQL-User-Name set to 'ANKUR8A' (24) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (24) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565573), acctinterval = 1774565573 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.48', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54731, acctinputoctets = '0' << 32 | '635657208', acctoutputoctets = '4' << 32 | '1616655225' WHERE AcctUniqueId = 'c906fdde43b586855aa9a9b32e81d32f' (24) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565573), acctinterval = 1774565573 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.48', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54731, acctinputoctets = '0' << 32 | '635657208', acctoutputoctets = '4' << 32 | '1616655225' WHERE AcctUniqueId = 'c906fdde43b586855aa9a9b32e81d32f' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (24) sql: SQL query returned: success (24) sql: 1 record(s) updated rlm_sql (sql): Released connection (28) (24) [sql] = ok (24) [exec] = noop (24) attr_filter.accounting_response: EXPAND %{User-Name} (24) attr_filter.accounting_response: --> ANKUR8A (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 221 from 103.204.70.55:1813 to 103.190.8.10:44807 length 20 (24) Finished request (24) Cleaning up request packet ID 221 with timestamp +2 due to done Waking up in 0.7 seconds. (25) Received Accounting-Request Id 230 from 103.190.8.10:38355 to 103.204.70.55:1813 length 207 (25) Service-Type = Framed-User (25) Framed-Protocol = PPP (25) NAS-Port = 16086074 (25) NAS-Port-Type = Ethernet (25) User-Name = "ASHA135" (25) Calling-Station-Id = "78:17:35:33:D7:D4" (25) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (25) Acct-Session-Id = "81556b08" (25) Framed-IP-Address = 172.16.5.31 (25) Acct-Authentic = RADIUS (25) Event-Timestamp = "Mar 27 2026 04:22:56 IST" (25) Acct-Session-Time = 77091 (25) Idle-Timeout = 0 (25) Session-Timeout = 8182914 (25) Acct-Input-Octets = 552580914 (25) Acct-Input-Gigawords = 0 (25) Acct-Input-Packets = 3051617 (25) Acct-Output-Octets = 2213134392 (25) Acct-Output-Gigawords = 3 (25) Acct-Output-Packets = 12311791 (25) Acct-Status-Type = Interim-Update (25) NAS-Identifier = "CORE-ROUTER" (25) Acct-Delay-Time = 0 (25) NAS-IP-Address = 103.190.8.10 (25) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (25) preacct { (25) [preprocess] = ok (25) policy acct_unique { (25) update request { (25) &Tmp-String-9 := "ai:" (25) } # update request = noop (25) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (25) EXPAND %{hex:&Class} (25) --> (25) EXPAND ^%{hex:&Tmp-String-9} (25) --> ^61693a (25) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (25) else { (25) update request { (25) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (25) --> 9011f4aa08eff92195b8ec3639ef30f0 (25) &Acct-Unique-Session-Id := 9011f4aa08eff92195b8ec3639ef30f0 (25) } # update request = noop (25) } # else = noop (25) update request { (25) &Tmp-String-9 !* ANY (25) } # update request = noop (25) } # policy acct_unique = noop (25) suffix: Checking for suffix after "@" (25) suffix: No '@' in User-Name = "ASHA135", looking up realm NULL (25) suffix: No such realm "NULL" (25) [suffix] = noop (25) [files] = noop (25) } # preacct = ok (25) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (25) accounting { (25) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (25) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (25) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (25) detail: EXPAND %t (25) detail: --> Fri Mar 27 04:22:56 2026 (25) [detail] = ok (25) [unix] = noop (25) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (25) sql: --> type.interim-update.query (25) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (28) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (29), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (29) (25) sql: EXPAND %{User-Name} (25) sql: --> ASHA135 (25) sql: SQL-User-Name set to 'ASHA135' (25) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (25) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565576), acctinterval = 1774565576 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.31', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 77091, acctinputoctets = '0' << 32 | '552580914', acctoutputoctets = '3' << 32 | '2213134392' WHERE AcctUniqueId = '9011f4aa08eff92195b8ec3639ef30f0' (25) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565576), acctinterval = 1774565576 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.31', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 77091, acctinputoctets = '0' << 32 | '552580914', acctoutputoctets = '3' << 32 | '2213134392' WHERE AcctUniqueId = '9011f4aa08eff92195b8ec3639ef30f0' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (25) sql: SQL query returned: success (25) sql: 1 record(s) updated rlm_sql (sql): Released connection (29) (25) [sql] = ok (25) [exec] = noop (25) attr_filter.accounting_response: EXPAND %{User-Name} (25) attr_filter.accounting_response: --> ASHA135 (25) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (25) [attr_filter.accounting_response] = updated (25) } # accounting = updated (25) Sent Accounting-Response Id 230 from 103.204.70.55:1813 to 103.190.8.10:38355 length 20 (25) Finished request (25) Cleaning up request packet ID 230 with timestamp +2 due to done Waking up in 0.7 seconds. (26) Received Accounting-Request Id 222 from 103.190.8.10:58468 to 103.204.70.55:1813 length 235 (26) Service-Type = Framed-User (26) Framed-Protocol = PPP (26) NAS-Port = 16102674 (26) NAS-Port-Type = Ethernet (26) User-Name = "ravi00" (26) Calling-Station-Id = "64:66:B3:89:32:1F" (26) NAS-Port-Id = "RB_INTERNET-71" (26) Acct-Session-Id = "8155a947" (26) Framed-IP-Address = 172.16.3.209 (26) Acct-Authentic = RADIUS (26) Event-Timestamp = "Mar 27 2026 04:22:53 IST" (26) Acct-Session-Time = 13390 (26) Idle-Timeout = 0 (26) Session-Timeout = 8637616 (26) X-Ascend-Data-Rate = 105000000 (26) Ascend-Xmit-Rate = 105000000 (26) Mikrotik-Rate-Limit = "105M/105M" (26) Acct-Input-Octets = 27830252 (26) Acct-Input-Gigawords = 0 (26) Acct-Input-Packets = 74152 (26) Acct-Output-Octets = 189909229 (26) Acct-Output-Gigawords = 0 (26) Acct-Output-Packets = 182281 (26) Acct-Status-Type = Interim-Update (26) NAS-Identifier = "CORE-ROUTER" (26) Acct-Delay-Time = 0 (26) NAS-IP-Address = 103.190.8.10 (26) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (26) preacct { (26) [preprocess] = ok (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) --> d3f623e2b3dd0339e6841ca7f1bfb1a8 (26) &Acct-Unique-Session-Id := d3f623e2b3dd0339e6841ca7f1bfb1a8 (26) } # update request = noop (26) } # else = noop (26) update request { (26) &Tmp-String-9 !* ANY (26) } # update request = noop (26) } # policy acct_unique = noop (26) suffix: Checking for suffix after "@" (26) suffix: No '@' in User-Name = "ravi00", looking up realm NULL (26) suffix: No such realm "NULL" (26) [suffix] = noop (26) [files] = noop (26) } # preacct = ok (26) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (26) accounting { (26) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (26) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (26) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (26) detail: EXPAND %t (26) detail: --> Fri Mar 27 04:22:56 2026 (26) [detail] = ok (26) [unix] = noop (26) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (26) sql: --> type.interim-update.query (26) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (29) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (30), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (30) (26) sql: EXPAND %{User-Name} (26) sql: --> ravi00 (26) sql: SQL-User-Name set to 'ravi00' (26) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (26) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565573), acctinterval = 1774565573 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.209', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 13390, acctinputoctets = '0' << 32 | '27830252', acctoutputoctets = '0' << 32 | '189909229' WHERE AcctUniqueId = 'd3f623e2b3dd0339e6841ca7f1bfb1a8' (26) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565573), acctinterval = 1774565573 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.209', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 13390, acctinputoctets = '0' << 32 | '27830252', acctoutputoctets = '0' << 32 | '189909229' WHERE AcctUniqueId = 'd3f623e2b3dd0339e6841ca7f1bfb1a8' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (26) sql: SQL query returned: success (26) sql: 1 record(s) updated rlm_sql (sql): Released connection (30) (26) [sql] = ok (26) [exec] = noop (26) attr_filter.accounting_response: EXPAND %{User-Name} (26) attr_filter.accounting_response: --> ravi00 (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 222 from 103.204.70.55:1813 to 103.190.8.10:58468 length 20 (26) Finished request (26) Cleaning up request packet ID 222 with timestamp +2 due to done Waking up in 0.7 seconds. (27) Received Accounting-Request Id 231 from 103.190.8.10:38197 to 103.204.70.55:1813 length 240 (27) Service-Type = Framed-User (27) Framed-Protocol = PPP (27) NAS-Port = 16095810 (27) NAS-Port-Type = Ethernet (27) User-Name = "MANOJ33" (27) Calling-Station-Id = "78:17:35:2F:F0:D4" (27) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (27) Acct-Session-Id = "81558f3f" (27) Framed-IP-Address = 172.16.3.94 (27) Acct-Authentic = RADIUS (27) Event-Timestamp = "Mar 27 2026 04:22:57 IST" (27) Acct-Session-Time = 38221 (27) Idle-Timeout = 0 (27) Session-Timeout = 34841644 (27) X-Ascend-Data-Rate = 65000000 (27) Ascend-Xmit-Rate = 65000000 (27) Mikrotik-Rate-Limit = "65M/65M" (27) Acct-Input-Octets = 2550514 (27) Acct-Input-Gigawords = 0 (27) Acct-Input-Packets = 16783 (27) Acct-Output-Octets = 225932121 (27) Acct-Output-Gigawords = 0 (27) Acct-Output-Packets = 189006 (27) Acct-Status-Type = Interim-Update (27) NAS-Identifier = "CORE-ROUTER" (27) Acct-Delay-Time = 0 (27) NAS-IP-Address = 103.190.8.10 (27) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (27) preacct { (27) [preprocess] = ok (27) policy acct_unique { (27) update request { (27) &Tmp-String-9 := "ai:" (27) } # update request = noop (27) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (27) EXPAND %{hex:&Class} (27) --> (27) EXPAND ^%{hex:&Tmp-String-9} (27) --> ^61693a (27) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (27) else { (27) update request { (27) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (27) --> e2239cdff4ef4859d3c546dd30602418 (27) &Acct-Unique-Session-Id := e2239cdff4ef4859d3c546dd30602418 (27) } # update request = noop (27) } # else = noop (27) update request { (27) &Tmp-String-9 !* ANY (27) } # update request = noop (27) } # policy acct_unique = noop (27) suffix: Checking for suffix after "@" (27) suffix: No '@' in User-Name = "MANOJ33", looking up realm NULL (27) suffix: No such realm "NULL" (27) [suffix] = noop (27) [files] = noop (27) } # preacct = ok (27) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (27) accounting { (27) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (27) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (27) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (27) detail: EXPAND %t (27) detail: --> Fri Mar 27 04:22:57 2026 (27) [detail] = ok (27) [unix] = noop (27) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (27) sql: --> type.interim-update.query (27) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (30) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (31), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (31) (27) sql: EXPAND %{User-Name} (27) sql: --> MANOJ33 (27) sql: SQL-User-Name set to 'MANOJ33' (27) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (27) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.94', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38221, acctinputoctets = '0' << 32 | '2550514', acctoutputoctets = '0' << 32 | '225932121' WHERE AcctUniqueId = 'e2239cdff4ef4859d3c546dd30602418' (27) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.94', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38221, acctinputoctets = '0' << 32 | '2550514', acctoutputoctets = '0' << 32 | '225932121' WHERE AcctUniqueId = 'e2239cdff4ef4859d3c546dd30602418' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (27) sql: SQL query returned: success (27) sql: 1 record(s) updated rlm_sql (sql): Released connection (31) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (32), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (31) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (27) [sql] = ok (27) [exec] = noop (27) attr_filter.accounting_response: EXPAND %{User-Name} (27) attr_filter.accounting_response: --> MANOJ33 (27) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (27) [attr_filter.accounting_response] = updated (27) } # accounting = updated (27) Sent Accounting-Response Id 231 from 103.204.70.55:1813 to 103.190.8.10:38197 length 20 (27) Finished request (27) Cleaning up request packet ID 231 with timestamp +3 due to done Waking up in 0.6 seconds. (28) Received Accounting-Request Id 232 from 103.190.8.10:56423 to 103.204.70.55:1813 length 242 (28) Service-Type = Framed-User (28) Framed-Protocol = PPP (28) NAS-Port = 16096001 (28) NAS-Port-Type = Ethernet (28) User-Name = "AMIT300" (28) Calling-Station-Id = "48:F8:DB:6E:6A:FE" (28) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (28) Acct-Session-Id = "81558ffe" (28) Framed-IP-Address = 172.16.4.163 (28) Acct-Authentic = RADIUS (28) Event-Timestamp = "Mar 27 2026 04:22:57 IST" (28) Acct-Session-Time = 37571 (28) Idle-Timeout = 0 (28) Session-Timeout = 15055393 (28) X-Ascend-Data-Rate = 105000000 (28) Ascend-Xmit-Rate = 105000000 (28) Mikrotik-Rate-Limit = "105M/105M" (28) Acct-Input-Octets = 693073068 (28) Acct-Input-Gigawords = 0 (28) Acct-Input-Packets = 3741100 (28) Acct-Output-Octets = 2304835798 (28) Acct-Output-Gigawords = 4 (28) Acct-Output-Packets = 15913096 (28) Acct-Status-Type = Interim-Update (28) NAS-Identifier = "CORE-ROUTER" (28) Acct-Delay-Time = 0 (28) NAS-IP-Address = 103.190.8.10 (28) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (28) preacct { (28) [preprocess] = ok (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) --> ae1ee3ec196c9ad47174a0fb23ebb1ff (28) &Acct-Unique-Session-Id := ae1ee3ec196c9ad47174a0fb23ebb1ff (28) } # update request = noop (28) } # else = noop (28) update request { (28) &Tmp-String-9 !* ANY (28) } # update request = noop (28) } # policy acct_unique = noop (28) suffix: Checking for suffix after "@" (28) suffix: No '@' in User-Name = "AMIT300", looking up realm NULL (28) suffix: No such realm "NULL" (28) [suffix] = noop (28) [files] = noop (28) } # preacct = ok (28) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (28) accounting { (28) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (28) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (28) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (28) detail: EXPAND %t (28) detail: --> Fri Mar 27 04:22:57 2026 (28) [detail] = ok (28) [unix] = noop (28) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (28) sql: --> type.interim-update.query (28) sql: Using query template 'query' rlm_sql (sql): Reserved connection (32) (28) sql: EXPAND %{User-Name} (28) sql: --> AMIT300 (28) sql: SQL-User-Name set to 'AMIT300' (28) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (28) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.163', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 37571, acctinputoctets = '0' << 32 | '693073068', acctoutputoctets = '4' << 32 | '2304835798' WHERE AcctUniqueId = 'ae1ee3ec196c9ad47174a0fb23ebb1ff' (28) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.163', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 37571, acctinputoctets = '0' << 32 | '693073068', acctoutputoctets = '4' << 32 | '2304835798' WHERE AcctUniqueId = 'ae1ee3ec196c9ad47174a0fb23ebb1ff' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (28) sql: SQL query returned: success (28) sql: 1 record(s) updated rlm_sql (sql): Released connection (32) (28) [sql] = ok (28) [exec] = noop (28) attr_filter.accounting_response: EXPAND %{User-Name} (28) attr_filter.accounting_response: --> AMIT300 (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 232 from 103.204.70.55:1813 to 103.190.8.10:56423 length 20 (28) Finished request (28) Cleaning up request packet ID 232 with timestamp +3 due to done Waking up in 0.6 seconds. (29) Received Accounting-Request Id 233 from 103.190.8.10:60066 to 103.204.70.55:1813 length 244 (29) Service-Type = Framed-User (29) Framed-Protocol = PPP (29) NAS-Port = 16096278 (29) NAS-Port-Type = Ethernet (29) User-Name = "MANOJ210G" (29) Calling-Station-Id = "F0:68:65:9A:3B:57" (29) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (29) Acct-Session-Id = "81559112" (29) Framed-IP-Address = 172.16.5.3 (29) Acct-Authentic = RADIUS (29) Event-Timestamp = "Mar 27 2026 04:22:57 IST" (29) Acct-Session-Time = 36531 (29) Idle-Timeout = 0 (29) Session-Timeout = 9783953 (29) X-Ascend-Data-Rate = 105000000 (29) Ascend-Xmit-Rate = 105000000 (29) Mikrotik-Rate-Limit = "105M/105M" (29) Acct-Input-Octets = 21860098 (29) Acct-Input-Gigawords = 0 (29) Acct-Input-Packets = 24485 (29) Acct-Output-Octets = 1306322 (29) Acct-Output-Gigawords = 0 (29) Acct-Output-Packets = 15148 (29) Acct-Status-Type = Interim-Update (29) NAS-Identifier = "CORE-ROUTER" (29) Acct-Delay-Time = 0 (29) NAS-IP-Address = 103.190.8.10 (29) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (29) preacct { (29) [preprocess] = ok (29) policy acct_unique { (29) update request { (29) &Tmp-String-9 := "ai:" (29) } # update request = noop (29) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (29) EXPAND %{hex:&Class} (29) --> (29) EXPAND ^%{hex:&Tmp-String-9} (29) --> ^61693a (29) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (29) else { (29) update request { (29) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (29) --> dda24a1ae5ca0c351e074112ae30c9cd (29) &Acct-Unique-Session-Id := dda24a1ae5ca0c351e074112ae30c9cd (29) } # update request = noop (29) } # else = noop (29) update request { (29) &Tmp-String-9 !* ANY (29) } # update request = noop (29) } # policy acct_unique = noop (29) suffix: Checking for suffix after "@" (29) suffix: No '@' in User-Name = "MANOJ210G", looking up realm NULL (29) suffix: No such realm "NULL" (29) [suffix] = noop (29) [files] = noop (29) } # preacct = ok (29) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (29) accounting { (29) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (29) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (29) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (29) detail: EXPAND %t (29) detail: --> Fri Mar 27 04:22:57 2026 (29) [detail] = ok (29) [unix] = noop (29) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (29) sql: --> type.interim-update.query (29) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (32) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (33), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (33) (29) sql: EXPAND %{User-Name} (29) sql: --> MANOJ210G (29) sql: SQL-User-Name set to 'MANOJ210G' (29) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (29) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.3', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 36531, acctinputoctets = '0' << 32 | '21860098', acctoutputoctets = '0' << 32 | '1306322' WHERE AcctUniqueId = 'dda24a1ae5ca0c351e074112ae30c9cd' (29) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.3', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 36531, acctinputoctets = '0' << 32 | '21860098', acctoutputoctets = '0' << 32 | '1306322' WHERE AcctUniqueId = 'dda24a1ae5ca0c351e074112ae30c9cd' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (29) sql: SQL query returned: success (29) sql: 1 record(s) updated rlm_sql (sql): Released connection (33) (29) [sql] = ok (29) [exec] = noop (29) attr_filter.accounting_response: EXPAND %{User-Name} (29) attr_filter.accounting_response: --> MANOJ210G (29) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (29) [attr_filter.accounting_response] = updated (29) } # accounting = updated (29) Sent Accounting-Response Id 233 from 103.204.70.55:1813 to 103.190.8.10:60066 length 20 (29) Finished request (29) Cleaning up request packet ID 233 with timestamp +3 due to done Waking up in 0.6 seconds. (30) Received Accounting-Request Id 234 from 103.190.8.10:41352 to 103.204.70.55:1813 length 242 (30) Service-Type = Framed-User (30) Framed-Protocol = PPP (30) NAS-Port = 16095556 (30) NAS-Port-Type = Ethernet (30) User-Name = "KHUSHI210" (30) Calling-Station-Id = "74:3C:18:D6:27:F4" (30) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (30) Acct-Session-Id = "81558e40" (30) Framed-IP-Address = 172.16.4.13 (30) Acct-Authentic = RADIUS (30) Event-Timestamp = "Mar 27 2026 04:22:57 IST" (30) Acct-Session-Time = 39000 (30) Idle-Timeout = 0 (30) Session-Timeout = 2356023 (30) X-Ascend-Data-Rate = 62000000 (30) Ascend-Xmit-Rate = 62000000 (30) Mikrotik-Rate-Limit = "62M/62M" (30) Acct-Input-Octets = 337323153 (30) Acct-Input-Gigawords = 0 (30) Acct-Input-Packets = 1364607 (30) Acct-Output-Octets = 693010234 (30) Acct-Output-Gigawords = 2 (30) Acct-Output-Packets = 7699071 (30) Acct-Status-Type = Interim-Update (30) NAS-Identifier = "CORE-ROUTER" (30) Acct-Delay-Time = 0 (30) NAS-IP-Address = 103.190.8.10 (30) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (30) preacct { (30) [preprocess] = ok (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) --> 826f597d8bc3b0934c4b26a0b4acab9f (30) &Acct-Unique-Session-Id := 826f597d8bc3b0934c4b26a0b4acab9f (30) } # update request = noop (30) } # else = noop (30) update request { (30) &Tmp-String-9 !* ANY (30) } # update request = noop (30) } # policy acct_unique = noop (30) suffix: Checking for suffix after "@" (30) suffix: No '@' in User-Name = "KHUSHI210", looking up realm NULL (30) suffix: No such realm "NULL" (30) [suffix] = noop (30) [files] = noop (30) } # preacct = ok (30) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (30) accounting { (30) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (30) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (30) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (30) detail: EXPAND %t (30) detail: --> Fri Mar 27 04:22:57 2026 (30) [detail] = ok (30) [unix] = noop (30) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (30) sql: --> type.interim-update.query (30) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (33) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (34), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (34) (30) sql: EXPAND %{User-Name} (30) sql: --> KHUSHI210 (30) sql: SQL-User-Name set to 'KHUSHI210' (30) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (30) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.13', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39000, acctinputoctets = '0' << 32 | '337323153', acctoutputoctets = '2' << 32 | '693010234' WHERE AcctUniqueId = '826f597d8bc3b0934c4b26a0b4acab9f' (30) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.13', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39000, acctinputoctets = '0' << 32 | '337323153', acctoutputoctets = '2' << 32 | '693010234' WHERE AcctUniqueId = '826f597d8bc3b0934c4b26a0b4acab9f' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (30) sql: SQL query returned: success (30) sql: 1 record(s) updated rlm_sql (sql): Released connection (34) (30) [sql] = ok (30) [exec] = noop (30) attr_filter.accounting_response: EXPAND %{User-Name} (30) attr_filter.accounting_response: --> KHUSHI210 (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 234 from 103.204.70.55:1813 to 103.190.8.10:41352 length 20 (30) Finished request (30) Cleaning up request packet ID 234 with timestamp +3 due to done Waking up in 0.6 seconds. (31) Received Accounting-Request Id 235 from 103.190.8.10:60209 to 103.204.70.55:1813 length 243 (31) Service-Type = Framed-User (31) Framed-Protocol = PPP (31) NAS-Port = 16093536 (31) NAS-Port-Type = Ethernet (31) User-Name = "DIVYA152" (31) Calling-Station-Id = "78:17:35:27:4C:E4" (31) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (31) Acct-Session-Id = "8155865e" (31) Framed-IP-Address = 172.16.5.33 (31) Acct-Authentic = RADIUS (31) Event-Timestamp = "Mar 27 2026 04:22:57 IST" (31) Acct-Session-Time = 46151 (31) Idle-Timeout = 0 (31) Session-Timeout = 13163173 (31) X-Ascend-Data-Rate = 205000000 (31) Ascend-Xmit-Rate = 205000000 (31) Mikrotik-Rate-Limit = "205M/205M" (31) Acct-Input-Octets = 737834 (31) Acct-Input-Gigawords = 0 (31) Acct-Input-Packets = 2121 (31) Acct-Output-Octets = 881563 (31) Acct-Output-Gigawords = 0 (31) Acct-Output-Packets = 2112 (31) Acct-Status-Type = Interim-Update (31) NAS-Identifier = "CORE-ROUTER" (31) Acct-Delay-Time = 0 (31) NAS-IP-Address = 103.190.8.10 (31) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (31) preacct { (31) [preprocess] = ok (31) policy acct_unique { (31) update request { (31) &Tmp-String-9 := "ai:" (31) } # update request = noop (31) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (31) EXPAND %{hex:&Class} (31) --> (31) EXPAND ^%{hex:&Tmp-String-9} (31) --> ^61693a (31) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (31) else { (31) update request { (31) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (31) --> 4b39ebe2f77b37e1774f633e0883005b (31) &Acct-Unique-Session-Id := 4b39ebe2f77b37e1774f633e0883005b (31) } # update request = noop (31) } # else = noop (31) update request { (31) &Tmp-String-9 !* ANY (31) } # update request = noop (31) } # policy acct_unique = noop (31) suffix: Checking for suffix after "@" (31) suffix: No '@' in User-Name = "DIVYA152", looking up realm NULL (31) suffix: No such realm "NULL" (31) [suffix] = noop (31) [files] = noop (31) } # preacct = ok (31) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (31) accounting { (31) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (31) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (31) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (31) detail: EXPAND %t (31) detail: --> Fri Mar 27 04:22:57 2026 (31) [detail] = ok (31) [unix] = noop (31) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (31) sql: --> type.interim-update.query (31) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (34) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (35), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (35) (31) sql: EXPAND %{User-Name} (31) sql: --> DIVYA152 (31) sql: SQL-User-Name set to 'DIVYA152' (31) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (31) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.33', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 46151, acctinputoctets = '0' << 32 | '737834', acctoutputoctets = '0' << 32 | '881563' WHERE AcctUniqueId = '4b39ebe2f77b37e1774f633e0883005b' (31) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.33', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 46151, acctinputoctets = '0' << 32 | '737834', acctoutputoctets = '0' << 32 | '881563' WHERE AcctUniqueId = '4b39ebe2f77b37e1774f633e0883005b' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (31) sql: SQL query returned: success (31) sql: 1 record(s) updated rlm_sql (sql): Released connection (35) (31) [sql] = ok (31) [exec] = noop (31) attr_filter.accounting_response: EXPAND %{User-Name} (31) attr_filter.accounting_response: --> DIVYA152 (31) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (31) [attr_filter.accounting_response] = updated (31) } # accounting = updated (31) Sent Accounting-Response Id 235 from 103.204.70.55:1813 to 103.190.8.10:60209 length 20 (31) Finished request (31) Cleaning up request packet ID 235 with timestamp +3 due to done Waking up in 0.4 seconds. (32) Received Accounting-Request Id 236 from 103.190.8.10:48226 to 103.204.70.55:1813 length 239 (32) Service-Type = Framed-User (32) Framed-Protocol = PPP (32) NAS-Port = 16095811 (32) NAS-Port-Type = Ethernet (32) User-Name = "SUDHA6" (32) Calling-Station-Id = "24:0B:88:1A:72:A6" (32) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (32) Acct-Session-Id = "81558f40" (32) Framed-IP-Address = 172.16.4.160 (32) Acct-Authentic = RADIUS (32) Event-Timestamp = "Mar 27 2026 04:22:57 IST" (32) Acct-Session-Time = 38221 (32) Idle-Timeout = 0 (32) Session-Timeout = 1923243 (32) X-Ascend-Data-Rate = 22000000 (32) Ascend-Xmit-Rate = 22000000 (32) Mikrotik-Rate-Limit = "22M/22M" (32) Acct-Input-Octets = 373979273 (32) Acct-Input-Gigawords = 0 (32) Acct-Input-Packets = 1740883 (32) Acct-Output-Octets = 3770594435 (32) Acct-Output-Gigawords = 1 (32) Acct-Output-Packets = 6609931 (32) Acct-Status-Type = Interim-Update (32) NAS-Identifier = "CORE-ROUTER" (32) Acct-Delay-Time = 0 (32) NAS-IP-Address = 103.190.8.10 (32) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (32) preacct { (32) [preprocess] = ok (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) --> 933b3fff30490b023595be713900b8a8 (32) &Acct-Unique-Session-Id := 933b3fff30490b023595be713900b8a8 (32) } # update request = noop (32) } # else = noop (32) update request { (32) &Tmp-String-9 !* ANY (32) } # update request = noop (32) } # policy acct_unique = noop (32) suffix: Checking for suffix after "@" (32) suffix: No '@' in User-Name = "SUDHA6", looking up realm NULL (32) suffix: No such realm "NULL" (32) [suffix] = noop (32) [files] = noop (32) } # preacct = ok (32) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (32) accounting { (32) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (32) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (32) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (32) detail: EXPAND %t (32) detail: --> Fri Mar 27 04:22:57 2026 (32) [detail] = ok (32) [unix] = noop (32) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (32) sql: --> type.interim-update.query (32) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (35) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (36), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (36) (32) sql: EXPAND %{User-Name} (32) sql: --> SUDHA6 (32) sql: SQL-User-Name set to 'SUDHA6' (32) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (32) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.160', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38221, acctinputoctets = '0' << 32 | '373979273', acctoutputoctets = '1' << 32 | '3770594435' WHERE AcctUniqueId = '933b3fff30490b023595be713900b8a8' (32) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.160', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38221, acctinputoctets = '0' << 32 | '373979273', acctoutputoctets = '1' << 32 | '3770594435' WHERE AcctUniqueId = '933b3fff30490b023595be713900b8a8' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (32) sql: SQL query returned: success (32) sql: 1 record(s) updated rlm_sql (sql): Released connection (36) (32) [sql] = ok (32) [exec] = noop (32) attr_filter.accounting_response: EXPAND %{User-Name} (32) attr_filter.accounting_response: --> SUDHA6 (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 236 from 103.204.70.55:1813 to 103.190.8.10:48226 length 20 (32) Finished request (32) Cleaning up request packet ID 236 with timestamp +3 due to done Waking up in 0.3 seconds. (33) Received Accounting-Request Id 237 from 103.190.8.10:56251 to 103.204.70.55:1813 length 242 (33) Service-Type = Framed-User (33) Framed-Protocol = PPP (33) NAS-Port = 16087992 (33) NAS-Port-Type = Ethernet (33) User-Name = "SHAYED299" (33) Calling-Station-Id = "78:17:35:BE:02:74" (33) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (33) Acct-Session-Id = "8155718c" (33) Framed-IP-Address = 172.16.4.209 (33) Acct-Authentic = RADIUS (33) Event-Timestamp = "Mar 27 2026 04:22:57 IST" (33) Acct-Session-Time = 69162 (33) Idle-Timeout = 0 (33) Session-Timeout = 4632584 (33) X-Ascend-Data-Rate = 62000000 (33) Ascend-Xmit-Rate = 62000000 (33) Mikrotik-Rate-Limit = "62M/62M" (33) Acct-Input-Octets = 603507351 (33) Acct-Input-Gigawords = 0 (33) Acct-Input-Packets = 2030734 (33) Acct-Output-Octets = 2067188029 (33) Acct-Output-Gigawords = 3 (33) Acct-Output-Packets = 12469310 (33) Acct-Status-Type = Interim-Update (33) NAS-Identifier = "CORE-ROUTER" (33) Acct-Delay-Time = 0 (33) NAS-IP-Address = 103.190.8.10 (33) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (33) preacct { (33) [preprocess] = ok (33) policy acct_unique { (33) update request { (33) &Tmp-String-9 := "ai:" (33) } # update request = noop (33) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (33) EXPAND %{hex:&Class} (33) --> (33) EXPAND ^%{hex:&Tmp-String-9} (33) --> ^61693a (33) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (33) else { (33) update request { (33) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (33) --> 20b9883af5d98dd1d3cb2fb8d4658e7b (33) &Acct-Unique-Session-Id := 20b9883af5d98dd1d3cb2fb8d4658e7b (33) } # update request = noop (33) } # else = noop (33) update request { (33) &Tmp-String-9 !* ANY (33) } # update request = noop (33) } # policy acct_unique = noop (33) suffix: Checking for suffix after "@" (33) suffix: No '@' in User-Name = "SHAYED299", looking up realm NULL (33) suffix: No such realm "NULL" (33) [suffix] = noop (33) [files] = noop (33) } # preacct = ok (33) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (33) accounting { (33) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (33) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (33) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (33) detail: EXPAND %t (33) detail: --> Fri Mar 27 04:22:57 2026 (33) [detail] = ok (33) [unix] = noop (33) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (33) sql: --> type.interim-update.query (33) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (36) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (37), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (37) (33) sql: EXPAND %{User-Name} (33) sql: --> SHAYED299 (33) sql: SQL-User-Name set to 'SHAYED299' (33) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (33) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.209', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 69162, acctinputoctets = '0' << 32 | '603507351', acctoutputoctets = '3' << 32 | '2067188029' WHERE AcctUniqueId = '20b9883af5d98dd1d3cb2fb8d4658e7b' (33) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565577), acctinterval = 1774565577 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.209', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 69162, acctinputoctets = '0' << 32 | '603507351', acctoutputoctets = '3' << 32 | '2067188029' WHERE AcctUniqueId = '20b9883af5d98dd1d3cb2fb8d4658e7b' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (33) sql: SQL query returned: success (33) sql: 1 record(s) updated rlm_sql (sql): Released connection (37) (33) [sql] = ok (33) [exec] = noop (33) attr_filter.accounting_response: EXPAND %{User-Name} (33) attr_filter.accounting_response: --> SHAYED299 (33) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (33) [attr_filter.accounting_response] = updated (33) } # accounting = updated (33) Sent Accounting-Response Id 237 from 103.204.70.55:1813 to 103.190.8.10:56251 length 20 (33) Finished request (33) Cleaning up request packet ID 237 with timestamp +3 due to done Waking up in 0.3 seconds. (8) Cleaning up request packet ID 210 with timestamp +1 due to cleanup_delay was reached Waking up in 0.1 seconds. (11) Cleaning up request packet ID 213 with timestamp +1 due to cleanup_delay was reached Waking up in 1.0 seconds. (34) Received Access-Request Id 238 from 103.190.8.10:39613 to 103.204.70.55:1812 length 179 (34) Service-Type = Framed-User (34) Framed-Protocol = PPP (34) NAS-Port = 16116434 (34) NAS-Port-Type = Ethernet (34) User-Name = "SUNNY261" (34) Calling-Station-Id = "E8:65:D4:15:37:A8" (34) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (34) Acct-Session-Id = "8155ddbe" (34) CHAP-Challenge = 0x91b153d7c853441641f4e624e8417c61 (34) CHAP-Password = 0x0178e896f5e843b0909f8099051b544236 (34) NAS-Identifier = "CORE-ROUTER" (34) NAS-IP-Address = 103.190.8.10 (34) Message-Authenticator = 0xc3b7c9871ee9cfe6e1a5c70ef11901e0 (34) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (34) authorize { (34) [preprocess] = ok (34) chap: &control:Auth-Type := CHAP (34) [chap] = ok (34) [mschap] = noop (34) [digest] = noop (34) suffix: Checking for suffix after "@" (34) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (34) suffix: No such realm "NULL" (34) [suffix] = noop (34) eap: No EAP-Message, not doing EAP (34) [eap] = noop (34) files: users: Matched entry DEFAULT at line 167 (34) [files] = ok (34) sql: EXPAND %{User-Name} (34) sql: --> SUNNY261 (34) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (37) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (38), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (38) (34) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (34) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (34) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (34) sql: User found in radcheck table (34) sql: Conditional check items matched, merging assignment check items (34) sql: Cleartext-Password := "123456" (34) sql: Expiration := "Mar 26 2026 23:59:59 IST" (34) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (34) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (34) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (34) sql: User found in radreply table, merging reply items (34) sql: Mikrotik-Rate-Limit := "62M/62M" (34) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (34) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (34) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (34) sql: User found in the group table (34) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (34) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (34) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (34) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (34) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (34) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (34) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (34) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (34) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (34) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (38) (34) [sql] = ok (34) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (34) [expiration] = userlock (34) } # authorize = userlock (34) Using Post-Auth-Type Reject (34) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (34) Post-Auth-Type REJECT { (34) sql: EXPAND .query (34) sql: --> .query (34) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (38) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (39), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (39) (34) sql: EXPAND %{User-Name} (34) sql: --> SUNNY261 (34) sql: SQL-User-Name set to 'SUNNY261' (34) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (34) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0178e896f5e843b0909f8099051b544236', 'Access-Reject', '2026-03-27 04:22:57.917586' ) (34) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0178e896f5e843b0909f8099051b544236', 'Access-Reject', '2026-03-27 04:22:57.917586' ) (34) sql: SQL query returned: success (34) sql: 1 record(s) updated rlm_sql (sql): Released connection (39) (34) [sql] = ok (34) attr_filter.access_reject: EXPAND %{User-Name} (34) attr_filter.access_reject: --> SUNNY261 (34) attr_filter.access_reject: Matched entry DEFAULT at line 11 (34) [attr_filter.access_reject] = updated (34) [eap] = noop (34) policy remove_reply_message_if_eap { (34) if (&reply:EAP-Message && &reply:Reply-Message) { (34) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (34) else { (34) [noop] = noop (34) } # else = noop (34) } # policy remove_reply_message_if_eap = noop (34) } # Post-Auth-Type REJECT = updated (34) Sent Access-Reject Id 238 from 103.204.70.55:1812 to 103.190.8.10:39613 length 38 (34) Finished request Waking up in 0.9 seconds. (35) Received Accounting-Request Id 80 from 27.100.14.6:32876 to 103.204.70.55:1813 length 228 (35) Service-Type = Framed-User (35) Framed-Protocol = PPP (35) NAS-Port = 15739649 (35) NAS-Port-Type = Ethernet (35) User-Name = "7015103223" (35) Calling-Station-Id = "98:9D:B2:38:18:08" (35) NAS-Port-Id = "ether3" (35) Acct-Session-Id = "81c02644" (35) Framed-IP-Address = 10.10.10.247 (35) Acct-Authentic = RADIUS (35) Event-Timestamp = "Mar 27 2026 04:22:58 IST" (35) Acct-Session-Time = 30421 (35) Idle-Timeout = 0 (35) Session-Timeout = 965042 (35) X-Ascend-Data-Rate = 100000000 (35) Ascend-Xmit-Rate = 100000000 (35) Mikrotik-Rate-Limit = "100M/100M" (35) Acct-Input-Octets = 48244878 (35) Acct-Input-Gigawords = 0 (35) Acct-Input-Packets = 368439 (35) Acct-Output-Octets = 1327853480 (35) Acct-Output-Gigawords = 0 (35) Acct-Output-Packets = 1086971 (35) Acct-Status-Type = Interim-Update (35) NAS-Identifier = "MikroTik" (35) Acct-Delay-Time = 0 (35) NAS-IP-Address = 27.100.14.6 (35) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (35) preacct { (35) [preprocess] = ok (35) policy acct_unique { (35) update request { (35) &Tmp-String-9 := "ai:" (35) } # update request = noop (35) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (35) EXPAND %{hex:&Class} (35) --> (35) EXPAND ^%{hex:&Tmp-String-9} (35) --> ^61693a (35) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (35) else { (35) update request { (35) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (35) --> c51ae71dabf31019d02066104e8228df (35) &Acct-Unique-Session-Id := c51ae71dabf31019d02066104e8228df (35) } # update request = noop (35) } # else = noop (35) update request { (35) &Tmp-String-9 !* ANY (35) } # update request = noop (35) } # policy acct_unique = noop (35) suffix: Checking for suffix after "@" (35) suffix: No '@' in User-Name = "7015103223", looking up realm NULL (35) suffix: No such realm "NULL" (35) [suffix] = noop (35) [files] = noop (35) } # preacct = ok (35) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (35) accounting { (35) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (35) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (35) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (35) detail: EXPAND %t (35) detail: --> Fri Mar 27 04:22:58 2026 (35) [detail] = ok (35) [unix] = noop (35) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (35) sql: --> type.interim-update.query (35) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (39) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (40), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (40) (35) sql: EXPAND %{User-Name} (35) sql: --> 7015103223 (35) sql: SQL-User-Name set to '7015103223' (35) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (35) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565578), acctinterval = 1774565578 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.247', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30421, acctinputoctets = '0' << 32 | '48244878', acctoutputoctets = '0' << 32 | '1327853480' WHERE AcctUniqueId = 'c51ae71dabf31019d02066104e8228df' (35) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565578), acctinterval = 1774565578 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.247', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30421, acctinputoctets = '0' << 32 | '48244878', acctoutputoctets = '0' << 32 | '1327853480' WHERE AcctUniqueId = 'c51ae71dabf31019d02066104e8228df' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (35) sql: SQL query returned: success (35) sql: 1 record(s) updated rlm_sql (sql): Released connection (40) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (41), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (40) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (35) [sql] = ok (35) [exec] = noop (35) attr_filter.accounting_response: EXPAND %{User-Name} (35) attr_filter.accounting_response: --> 7015103223 (35) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (35) [attr_filter.accounting_response] = updated (35) } # accounting = updated (35) Sent Accounting-Response Id 80 from 103.204.70.55:1813 to 27.100.14.6:32876 length 20 (35) Finished request (35) Cleaning up request packet ID 80 with timestamp +4 due to done Waking up in 0.6 seconds. (21) Cleaning up request packet ID 218 with timestamp +2 due to cleanup_delay was reached Waking up in 1.0 seconds. (36) Received Access-Request Id 239 from 103.190.8.10:57283 to 103.204.70.55:1812 length 179 (36) Service-Type = Framed-User (36) Framed-Protocol = PPP (36) NAS-Port = 16116435 (36) NAS-Port-Type = Ethernet (36) User-Name = "SUNNY261" (36) Calling-Station-Id = "E8:65:D4:15:37:A8" (36) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (36) Acct-Session-Id = "8155ddbf" (36) CHAP-Challenge = 0x9c2b5f0632d7bc6417e28e68ad2e610e (36) CHAP-Password = 0x01b8032b328177076644ead30c60d93ef1 (36) NAS-Identifier = "CORE-ROUTER" (36) NAS-IP-Address = 103.190.8.10 (36) Message-Authenticator = 0x3bca8c9847455cadf8d12508120d893c (36) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (36) authorize { (36) [preprocess] = ok (36) chap: &control:Auth-Type := CHAP (36) [chap] = ok (36) [mschap] = noop (36) [digest] = noop (36) suffix: Checking for suffix after "@" (36) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (36) suffix: No such realm "NULL" (36) [suffix] = noop (36) eap: No EAP-Message, not doing EAP (36) [eap] = noop (36) files: users: Matched entry DEFAULT at line 167 (36) [files] = ok (36) sql: EXPAND %{User-Name} (36) sql: --> SUNNY261 (36) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (41) (36) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (36) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (36) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (36) sql: User found in radcheck table (36) sql: Conditional check items matched, merging assignment check items (36) sql: Cleartext-Password := "123456" (36) sql: Expiration := "Mar 26 2026 23:59:59 IST" (36) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (36) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (36) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (36) sql: User found in radreply table, merging reply items (36) sql: Mikrotik-Rate-Limit := "62M/62M" (36) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (36) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (36) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (36) sql: User found in the group table (36) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (36) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (36) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (36) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (36) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (36) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (36) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (36) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (36) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (36) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (41) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (42), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (41) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (36) [sql] = ok (36) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (36) [expiration] = userlock (36) } # authorize = userlock (36) Using Post-Auth-Type Reject (36) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (36) Post-Auth-Type REJECT { (36) sql: EXPAND .query (36) sql: --> .query (36) sql: Using query template 'query' rlm_sql (sql): Reserved connection (42) (36) sql: EXPAND %{User-Name} (36) sql: --> SUNNY261 (36) sql: SQL-User-Name set to 'SUNNY261' (36) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (36) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01b8032b328177076644ead30c60d93ef1', 'Access-Reject', '2026-03-27 04:22:59.018825' ) (36) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01b8032b328177076644ead30c60d93ef1', 'Access-Reject', '2026-03-27 04:22:59.018825' ) (36) sql: SQL query returned: success (36) sql: 1 record(s) updated rlm_sql (sql): Released connection (42) (36) [sql] = ok (36) attr_filter.access_reject: EXPAND %{User-Name} (36) attr_filter.access_reject: --> SUNNY261 (36) attr_filter.access_reject: Matched entry DEFAULT at line 11 (36) [attr_filter.access_reject] = updated (36) [eap] = noop (36) policy remove_reply_message_if_eap { (36) if (&reply:EAP-Message && &reply:Reply-Message) { (36) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (36) else { (36) [noop] = noop (36) } # else = noop (36) } # policy remove_reply_message_if_eap = noop (36) } # Post-Auth-Type REJECT = updated (36) Sent Access-Reject Id 239 from 103.204.70.55:1812 to 103.190.8.10:57283 length 38 (36) Finished request Waking up in 0.8 seconds. (34) Cleaning up request packet ID 238 with timestamp +3 due to cleanup_delay was reached Waking up in 1.0 seconds. (37) Received Access-Request Id 240 from 103.190.8.10:55827 to 103.204.70.55:1812 length 179 (37) Service-Type = Framed-User (37) Framed-Protocol = PPP (37) NAS-Port = 16116436 (37) NAS-Port-Type = Ethernet (37) User-Name = "SUNNY261" (37) Calling-Station-Id = "E8:65:D4:15:37:A8" (37) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (37) Acct-Session-Id = "8155ddc0" (37) CHAP-Challenge = 0x979ee139b0fbe317dfb26a39220051c5 (37) CHAP-Password = 0x0103530b0b9fab25988cdc94bdea5c2504 (37) NAS-Identifier = "CORE-ROUTER" (37) NAS-IP-Address = 103.190.8.10 (37) Message-Authenticator = 0xfc9af19ff543617458d5e2f072878457 (37) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (37) authorize { (37) [preprocess] = ok (37) chap: &control:Auth-Type := CHAP (37) [chap] = ok (37) [mschap] = noop (37) [digest] = noop (37) suffix: Checking for suffix after "@" (37) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (37) suffix: No such realm "NULL" (37) [suffix] = noop (37) eap: No EAP-Message, not doing EAP (37) [eap] = noop (37) files: users: Matched entry DEFAULT at line 167 (37) [files] = ok (37) sql: EXPAND %{User-Name} (37) sql: --> SUNNY261 (37) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (42) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (43), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (43) (37) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (37) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (37) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (37) sql: User found in radcheck table (37) sql: Conditional check items matched, merging assignment check items (37) sql: Cleartext-Password := "123456" (37) sql: Expiration := "Mar 26 2026 23:59:59 IST" (37) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (37) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (37) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (37) sql: User found in radreply table, merging reply items (37) sql: Mikrotik-Rate-Limit := "62M/62M" (37) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (37) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (37) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (37) sql: User found in the group table (37) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (37) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (37) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (37) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (37) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (37) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (37) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (37) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (37) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (37) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (43) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (44), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (43) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (37) [sql] = ok (37) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (37) [expiration] = userlock (37) } # authorize = userlock (37) Using Post-Auth-Type Reject (37) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (37) Post-Auth-Type REJECT { (37) sql: EXPAND .query (37) sql: --> .query (37) sql: Using query template 'query' rlm_sql (sql): Reserved connection (44) (37) sql: EXPAND %{User-Name} (37) sql: --> SUNNY261 (37) sql: SQL-User-Name set to 'SUNNY261' (37) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (37) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0103530b0b9fab25988cdc94bdea5c2504', 'Access-Reject', '2026-03-27 04:23:00.119295' ) (37) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0103530b0b9fab25988cdc94bdea5c2504', 'Access-Reject', '2026-03-27 04:23:00.119295' ) (37) sql: SQL query returned: success (37) sql: 1 record(s) updated rlm_sql (sql): Released connection (44) (37) [sql] = ok (37) attr_filter.access_reject: EXPAND %{User-Name} (37) attr_filter.access_reject: --> SUNNY261 (37) attr_filter.access_reject: Matched entry DEFAULT at line 11 (37) [attr_filter.access_reject] = updated (37) [eap] = 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-Type REJECT = updated (37) Sent Access-Reject Id 240 from 103.204.70.55:1812 to 103.190.8.10:55827 length 38 (37) Finished request Waking up in 0.8 seconds. (38) Received Accounting-Request Id 241 from 103.190.8.10:49555 to 103.204.70.55:1813 length 237 (38) Service-Type = Framed-User (38) Framed-Protocol = PPP (38) NAS-Port = 16090956 (38) NAS-Port-Type = Ethernet (38) User-Name = "gnc_dushyant619" (38) Calling-Station-Id = "AC:37:28:42:41:A4" (38) NAS-Port-Id = "NEW_LCO" (38) Acct-Session-Id = "81557c4b" (38) Framed-IP-Address = 172.16.4.219 (38) Acct-Authentic = RADIUS (38) Event-Timestamp = "Mar 27 2026 04:23:00 IST" (38) Acct-Session-Time = 55771 (38) Idle-Timeout = 0 (38) Session-Timeout = 9025590 (38) X-Ascend-Data-Rate = 205000000 (38) Ascend-Xmit-Rate = 205000000 (38) Mikrotik-Rate-Limit = "205M/205M" (38) Acct-Input-Octets = 1263629719 (38) Acct-Input-Gigawords = 0 (38) Acct-Input-Packets = 3302889 (38) Acct-Output-Octets = 2234083981 (38) Acct-Output-Gigawords = 5 (38) Acct-Output-Packets = 19046543 (38) Acct-Status-Type = Interim-Update (38) NAS-Identifier = "CORE-ROUTER" (38) Acct-Delay-Time = 0 (38) NAS-IP-Address = 103.190.8.10 (38) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (38) preacct { (38) [preprocess] = ok (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) --> 9d15964978c93c84ce3cc2aea9f39e6e (38) &Acct-Unique-Session-Id := 9d15964978c93c84ce3cc2aea9f39e6e (38) } # update request = noop (38) } # else = noop (38) update request { (38) &Tmp-String-9 !* ANY (38) } # update request = noop (38) } # policy acct_unique = noop (38) suffix: Checking for suffix after "@" (38) suffix: No '@' in User-Name = "gnc_dushyant619", looking up realm NULL (38) suffix: No such realm "NULL" (38) [suffix] = noop (38) [files] = noop (38) } # preacct = ok (38) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (38) accounting { (38) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (38) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (38) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (38) detail: EXPAND %t (38) detail: --> Fri Mar 27 04:23:00 2026 (38) [detail] = ok (38) [unix] = noop (38) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (38) sql: --> type.interim-update.query (38) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (44) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (45), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (45) (38) sql: EXPAND %{User-Name} (38) sql: --> gnc_dushyant619 (38) sql: SQL-User-Name set to 'gnc_dushyant619' (38) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (38) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565580), acctinterval = 1774565580 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.219', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55771, acctinputoctets = '0' << 32 | '1263629719', acctoutputoctets = '5' << 32 | '2234083981' WHERE AcctUniqueId = '9d15964978c93c84ce3cc2aea9f39e6e' (38) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565580), acctinterval = 1774565580 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.219', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55771, acctinputoctets = '0' << 32 | '1263629719', acctoutputoctets = '5' << 32 | '2234083981' WHERE AcctUniqueId = '9d15964978c93c84ce3cc2aea9f39e6e' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (38) sql: SQL query returned: success (38) sql: 1 record(s) updated rlm_sql (sql): Released connection (45) (38) [sql] = ok (38) [exec] = noop (38) attr_filter.accounting_response: EXPAND %{User-Name} (38) attr_filter.accounting_response: --> gnc_dushyant619 (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 241 from 103.204.70.55:1813 to 103.190.8.10:49555 length 20 (38) Finished request (38) Cleaning up request packet ID 241 with timestamp +6 due to done Waking up in 0.7 seconds. (39) Received Accounting-Request Id 242 from 103.190.8.10:48231 to 103.204.70.55:1813 length 243 (39) Service-Type = Framed-User (39) Framed-Protocol = PPP (39) NAS-Port = 16089877 (39) NAS-Port-Type = Ethernet (39) User-Name = "HIMANSHU49" (39) Calling-Station-Id = "50:2B:73:90:86:88" (39) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (39) Acct-Session-Id = "81557813" (39) Framed-IP-Address = 172.16.5.124 (39) Acct-Authentic = RADIUS (39) Event-Timestamp = "Mar 27 2026 04:23:00 IST" (39) Acct-Session-Time = 61492 (39) Idle-Timeout = 0 (39) Session-Timeout = 14906511 (39) X-Ascend-Data-Rate = 62000000 (39) Ascend-Xmit-Rate = 62000000 (39) Mikrotik-Rate-Limit = "62M/62M" (39) Acct-Input-Octets = 383461477 (39) Acct-Input-Gigawords = 0 (39) Acct-Input-Packets = 1157917 (39) Acct-Output-Octets = 2216334063 (39) Acct-Output-Gigawords = 1 (39) Acct-Output-Packets = 5489884 (39) Acct-Status-Type = Interim-Update (39) NAS-Identifier = "CORE-ROUTER" (39) Acct-Delay-Time = 0 (39) NAS-IP-Address = 103.190.8.10 (39) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (39) preacct { (39) [preprocess] = ok (39) policy acct_unique { (39) update request { (39) &Tmp-String-9 := "ai:" (39) } # update request = noop (39) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (39) EXPAND %{hex:&Class} (39) --> (39) EXPAND ^%{hex:&Tmp-String-9} (39) --> ^61693a (39) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (39) else { (39) update request { (39) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (39) --> aceb0119e10cbe345998429fe1645bc8 (39) &Acct-Unique-Session-Id := aceb0119e10cbe345998429fe1645bc8 (39) } # update request = noop (39) } # else = noop (39) update request { (39) &Tmp-String-9 !* ANY (39) } # update request = noop (39) } # policy acct_unique = noop (39) suffix: Checking for suffix after "@" (39) suffix: No '@' in User-Name = "HIMANSHU49", looking up realm NULL (39) suffix: No such realm "NULL" (39) [suffix] = noop (39) [files] = noop (39) } # preacct = ok (39) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (39) accounting { (39) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (39) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (39) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (39) detail: EXPAND %t (39) detail: --> Fri Mar 27 04:23:00 2026 (39) [detail] = ok (39) [unix] = noop (39) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (39) sql: --> type.interim-update.query (39) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (45) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (46), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (46) (39) sql: EXPAND %{User-Name} (39) sql: --> HIMANSHU49 (39) sql: SQL-User-Name set to 'HIMANSHU49' (39) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (39) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565580), acctinterval = 1774565580 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.124', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 61492, acctinputoctets = '0' << 32 | '383461477', acctoutputoctets = '1' << 32 | '2216334063' WHERE AcctUniqueId = 'aceb0119e10cbe345998429fe1645bc8' (39) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565580), acctinterval = 1774565580 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.124', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 61492, acctinputoctets = '0' << 32 | '383461477', acctoutputoctets = '1' << 32 | '2216334063' WHERE AcctUniqueId = 'aceb0119e10cbe345998429fe1645bc8' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (39) sql: SQL query returned: success (39) sql: 1 record(s) updated rlm_sql (sql): Released connection (46) (39) [sql] = ok (39) [exec] = noop (39) attr_filter.accounting_response: EXPAND %{User-Name} (39) attr_filter.accounting_response: --> HIMANSHU49 (39) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (39) [attr_filter.accounting_response] = updated (39) } # accounting = updated (39) Sent Accounting-Response Id 242 from 103.204.70.55:1813 to 103.190.8.10:48231 length 20 (39) Finished request (39) Cleaning up request packet ID 242 with timestamp +6 due to done Waking up in 0.4 seconds. (40) Received Accounting-Request Id 81 from 27.100.14.6:56442 to 103.204.70.55:1813 length 228 (40) Service-Type = Framed-User (40) Framed-Protocol = PPP (40) NAS-Port = 15740253 (40) NAS-Port-Type = Ethernet (40) User-Name = "9992999733" (40) Calling-Station-Id = "14:C3:5E:15:43:63" (40) NAS-Port-Id = "ether3" (40) Acct-Session-Id = "81c0286b" (40) Framed-IP-Address = 10.10.10.156 (40) Acct-Authentic = RADIUS (40) Event-Timestamp = "Mar 27 2026 04:23:00 IST" (40) Acct-Session-Time = 23401 (40) Idle-Timeout = 0 (40) Session-Timeout = 2513219 (40) X-Ascend-Data-Rate = 100000000 (40) Ascend-Xmit-Rate = 100000000 (40) Mikrotik-Rate-Limit = "100M/100M" (40) Acct-Input-Octets = 64 (40) Acct-Input-Gigawords = 0 (40) Acct-Input-Packets = 4 (40) Acct-Output-Octets = 70 (40) Acct-Output-Gigawords = 0 (40) Acct-Output-Packets = 6 (40) Acct-Status-Type = Interim-Update (40) NAS-Identifier = "MikroTik" (40) Acct-Delay-Time = 0 (40) NAS-IP-Address = 27.100.14.6 (40) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (40) preacct { (40) [preprocess] = ok (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) --> 90329fa2f8e1affef305a09dbfdad0df (40) &Acct-Unique-Session-Id := 90329fa2f8e1affef305a09dbfdad0df (40) } # update request = noop (40) } # else = noop (40) update request { (40) &Tmp-String-9 !* ANY (40) } # update request = noop (40) } # policy acct_unique = noop (40) suffix: Checking for suffix after "@" (40) suffix: No '@' in User-Name = "9992999733", looking up realm NULL (40) suffix: No such realm "NULL" (40) [suffix] = noop (40) [files] = noop (40) } # preacct = ok (40) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (40) accounting { (40) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (40) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (40) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (40) detail: EXPAND %t (40) detail: --> Fri Mar 27 04:23:00 2026 (40) [detail] = ok (40) [unix] = noop (40) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (40) sql: --> type.interim-update.query (40) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (46) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (47), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (47) (40) sql: EXPAND %{User-Name} (40) sql: --> 9992999733 (40) sql: SQL-User-Name set to '9992999733' (40) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (40) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565580), acctinterval = 1774565580 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.156', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 23401, acctinputoctets = '0' << 32 | '64', acctoutputoctets = '0' << 32 | '70' WHERE AcctUniqueId = '90329fa2f8e1affef305a09dbfdad0df' (40) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565580), acctinterval = 1774565580 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.156', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 23401, acctinputoctets = '0' << 32 | '64', acctoutputoctets = '0' << 32 | '70' WHERE AcctUniqueId = '90329fa2f8e1affef305a09dbfdad0df' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (40) sql: SQL query returned: success (40) sql: 1 record(s) updated rlm_sql (sql): Released connection (47) (40) [sql] = ok (40) [exec] = noop (40) attr_filter.accounting_response: EXPAND %{User-Name} (40) attr_filter.accounting_response: --> 9992999733 (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 81 from 103.204.70.55:1813 to 27.100.14.6:56442 length 20 (40) Finished request (40) Cleaning up request packet ID 81 with timestamp +6 due to done Waking up in 0.3 seconds. (36) Cleaning up request packet ID 239 with timestamp +5 due to cleanup_delay was reached Waking up in 1.1 seconds. (41) Received Accounting-Request Id 243 from 103.190.8.10:49661 to 103.204.70.55:1813 length 247 (41) Service-Type = Framed-User (41) Framed-Protocol = PPP (41) NAS-Port = 16095647 (41) NAS-Port-Type = Ethernet (41) User-Name = "ABHIJEET222A" (41) Calling-Station-Id = "F0:ED:B8:23:AB:09" (41) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (41) Acct-Session-Id = "81558e9c" (41) Framed-IP-Address = 172.16.4.138 (41) Acct-Authentic = RADIUS (41) Event-Timestamp = "Mar 27 2026 04:23:01 IST" (41) Acct-Session-Time = 38740 (41) Idle-Timeout = 0 (41) Session-Timeout = 16870959 (41) X-Ascend-Data-Rate = 105000000 (41) Ascend-Xmit-Rate = 105000000 (41) Mikrotik-Rate-Limit = "105M/105M" (41) Acct-Input-Octets = 105321907 (41) Acct-Input-Gigawords = 0 (41) Acct-Input-Packets = 847315 (41) Acct-Output-Octets = 2837924297 (41) Acct-Output-Gigawords = 0 (41) Acct-Output-Packets = 2136960 (41) Acct-Status-Type = Interim-Update (41) NAS-Identifier = "CORE-ROUTER" (41) Acct-Delay-Time = 0 (41) NAS-IP-Address = 103.190.8.10 (41) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (41) preacct { (41) [preprocess] = ok (41) policy acct_unique { (41) update request { (41) &Tmp-String-9 := "ai:" (41) } # update request = noop (41) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (41) EXPAND %{hex:&Class} (41) --> (41) EXPAND ^%{hex:&Tmp-String-9} (41) --> ^61693a (41) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (41) else { (41) update request { (41) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (41) --> 69cc9fc3bad527b8e3dd1ee911285457 (41) &Acct-Unique-Session-Id := 69cc9fc3bad527b8e3dd1ee911285457 (41) } # update request = noop (41) } # else = noop (41) update request { (41) &Tmp-String-9 !* ANY (41) } # update request = noop (41) } # policy acct_unique = noop (41) suffix: Checking for suffix after "@" (41) suffix: No '@' in User-Name = "ABHIJEET222A", looking up realm NULL (41) suffix: No such realm "NULL" (41) [suffix] = noop (41) [files] = noop (41) } # preacct = ok (41) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (41) accounting { (41) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (41) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (41) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (41) detail: EXPAND %t (41) detail: --> Fri Mar 27 04:23:01 2026 (41) [detail] = ok (41) [unix] = noop (41) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (41) sql: --> type.interim-update.query (41) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (47) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (48), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (48) (41) sql: EXPAND %{User-Name} (41) sql: --> ABHIJEET222A (41) sql: SQL-User-Name set to 'ABHIJEET222A' (41) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (41) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565581), acctinterval = 1774565581 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.138', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38740, acctinputoctets = '0' << 32 | '105321907', acctoutputoctets = '0' << 32 | '2837924297' WHERE AcctUniqueId = '69cc9fc3bad527b8e3dd1ee911285457' (41) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565581), acctinterval = 1774565581 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.138', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38740, acctinputoctets = '0' << 32 | '105321907', acctoutputoctets = '0' << 32 | '2837924297' WHERE AcctUniqueId = '69cc9fc3bad527b8e3dd1ee911285457' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (41) sql: SQL query returned: success (41) sql: 1 record(s) updated rlm_sql (sql): Released connection (48) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (49), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (48) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (41) [sql] = ok (41) [exec] = noop (41) attr_filter.accounting_response: EXPAND %{User-Name} (41) attr_filter.accounting_response: --> ABHIJEET222A (41) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (41) [attr_filter.accounting_response] = updated (41) } # accounting = updated (41) Sent Accounting-Response Id 243 from 103.204.70.55:1813 to 103.190.8.10:49661 length 20 (41) Finished request (41) Cleaning up request packet ID 243 with timestamp +7 due to done Waking up in 1.0 seconds. (42) Received Accounting-Request Id 82 from 27.100.14.6:58356 to 103.204.70.55:1813 length 228 (42) Service-Type = Framed-User (42) Framed-Protocol = PPP (42) NAS-Port = 15735046 (42) NAS-Port-Type = Ethernet (42) User-Name = "1321030086" (42) Calling-Station-Id = "54:47:E8:57:C5:86" (42) NAS-Port-Id = "ether3" (42) Acct-Session-Id = "81c01558" (42) Framed-IP-Address = 10.10.10.176 (42) Acct-Authentic = RADIUS (42) Event-Timestamp = "Mar 27 2026 04:23:01 IST" (42) Acct-Session-Time = 47881 (42) Idle-Timeout = 0 (42) Session-Timeout = 29926500 (42) X-Ascend-Data-Rate = 110000000 (42) Ascend-Xmit-Rate = 110000000 (42) Mikrotik-Rate-Limit = "110M/110M" (42) Acct-Input-Octets = 285958485 (42) Acct-Input-Gigawords = 0 (42) Acct-Input-Packets = 1539681 (42) Acct-Output-Octets = 2074084411 (42) Acct-Output-Gigawords = 1 (42) Acct-Output-Packets = 5111206 (42) Acct-Status-Type = Interim-Update (42) NAS-Identifier = "MikroTik" (42) Acct-Delay-Time = 0 (42) NAS-IP-Address = 27.100.14.6 (42) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (42) preacct { (42) [preprocess] = ok (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) --> 4c62780de2730502f182e21dbcf71546 (42) &Acct-Unique-Session-Id := 4c62780de2730502f182e21dbcf71546 (42) } # update request = noop (42) } # else = noop (42) update request { (42) &Tmp-String-9 !* ANY (42) } # update request = noop (42) } # policy acct_unique = noop (42) suffix: Checking for suffix after "@" (42) suffix: No '@' in User-Name = "1321030086", looking up realm NULL (42) suffix: No such realm "NULL" (42) [suffix] = noop (42) [files] = noop (42) } # preacct = ok (42) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (42) accounting { (42) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (42) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (42) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (42) detail: EXPAND %t (42) detail: --> Fri Mar 27 04:23:01 2026 (42) [detail] = ok (42) [unix] = noop (42) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (42) sql: --> type.interim-update.query (42) sql: Using query template 'query' rlm_sql (sql): Reserved connection (49) (42) sql: EXPAND %{User-Name} (42) sql: --> 1321030086 (42) sql: SQL-User-Name set to '1321030086' (42) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (42) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565581), acctinterval = 1774565581 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.176', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 47881, acctinputoctets = '0' << 32 | '285958485', acctoutputoctets = '1' << 32 | '2074084411' WHERE AcctUniqueId = '4c62780de2730502f182e21dbcf71546' (42) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565581), acctinterval = 1774565581 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.176', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 47881, acctinputoctets = '0' << 32 | '285958485', acctoutputoctets = '1' << 32 | '2074084411' WHERE AcctUniqueId = '4c62780de2730502f182e21dbcf71546' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (42) sql: SQL query returned: success (42) sql: 1 record(s) updated rlm_sql (sql): Released connection (49) (42) [sql] = ok (42) [exec] = noop (42) attr_filter.accounting_response: EXPAND %{User-Name} (42) attr_filter.accounting_response: --> 1321030086 (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 82 from 103.204.70.55:1813 to 27.100.14.6:58356 length 20 (42) Finished request (42) Cleaning up request packet ID 82 with timestamp +7 due to done Waking up in 1.0 seconds. (43) Received Access-Request Id 244 from 103.190.8.10:57752 to 103.204.70.55:1812 length 179 (43) Service-Type = Framed-User (43) Framed-Protocol = PPP (43) NAS-Port = 16116437 (43) NAS-Port-Type = Ethernet (43) User-Name = "SUNNY261" (43) Calling-Station-Id = "E8:65:D4:15:37:A8" (43) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (43) Acct-Session-Id = "8155ddc1" (43) CHAP-Challenge = 0x74e4340309c813c6460456c9ec167dec (43) CHAP-Password = 0x01ae4e633632dcdf1ecd92acdfa64b6258 (43) NAS-Identifier = "CORE-ROUTER" (43) NAS-IP-Address = 103.190.8.10 (43) Message-Authenticator = 0x3b6c7f4dae89ab26849d05b79723803e (43) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (43) authorize { (43) [preprocess] = ok (43) chap: &control:Auth-Type := CHAP (43) [chap] = ok (43) [mschap] = noop (43) [digest] = noop (43) suffix: Checking for suffix after "@" (43) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (43) suffix: No such realm "NULL" (43) [suffix] = noop (43) eap: No EAP-Message, not doing EAP (43) [eap] = noop (43) files: users: Matched entry DEFAULT at line 167 (43) [files] = ok (43) sql: EXPAND %{User-Name} (43) sql: --> SUNNY261 (43) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (49) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (50), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (50) (43) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (43) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (43) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (43) sql: User found in radcheck table (43) sql: Conditional check items matched, merging assignment check items (43) sql: Cleartext-Password := "123456" (43) sql: Expiration := "Mar 26 2026 23:59:59 IST" (43) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (43) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (43) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (43) sql: User found in radreply table, merging reply items (43) sql: Mikrotik-Rate-Limit := "62M/62M" (43) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (43) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (43) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (43) sql: User found in the group table (43) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (43) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (43) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (43) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (43) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (43) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (43) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (43) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (43) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (43) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (50) (43) [sql] = ok (43) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (43) [expiration] = userlock (43) } # authorize = userlock (43) Using Post-Auth-Type Reject (43) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (43) Post-Auth-Type REJECT { (43) sql: EXPAND .query (43) sql: --> .query (43) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (50) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (51), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (51) (43) sql: EXPAND %{User-Name} (43) sql: --> SUNNY261 (43) sql: SQL-User-Name set to 'SUNNY261' (43) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (43) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01ae4e633632dcdf1ecd92acdfa64b6258', 'Access-Reject', '2026-03-27 04:23:01.219709' ) (43) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01ae4e633632dcdf1ecd92acdfa64b6258', 'Access-Reject', '2026-03-27 04:23:01.219709' ) (43) sql: SQL query returned: success (43) sql: 1 record(s) updated rlm_sql (sql): Released connection (51) (43) [sql] = ok (43) attr_filter.access_reject: EXPAND %{User-Name} (43) attr_filter.access_reject: --> SUNNY261 (43) attr_filter.access_reject: Matched entry DEFAULT at line 11 (43) [attr_filter.access_reject] = updated (43) [eap] = 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-Type REJECT = updated (43) Sent Access-Reject Id 244 from 103.204.70.55:1812 to 103.190.8.10:57752 length 38 (43) Finished request Waking up in 0.9 seconds. (44) Received Accounting-Request Id 245 from 103.190.8.10:59045 to 103.204.70.55:1813 length 235 (44) Service-Type = Framed-User (44) Framed-Protocol = PPP (44) NAS-Port = 16099526 (44) NAS-Port-Type = Ethernet (44) User-Name = "rahat8" (44) Calling-Station-Id = "20:6B:E7:33:0E:BD" (44) NAS-Port-Id = "RB_INTERNET-71" (44) Acct-Session-Id = "81559d4b" (44) Framed-IP-Address = 172.16.4.148 (44) Acct-Authentic = RADIUS (44) Event-Timestamp = "Mar 27 2026 04:23:01 IST" (44) Acct-Session-Time = 20540 (44) Idle-Timeout = 0 (44) Session-Timeout = 2164758 (44) X-Ascend-Data-Rate = 105000000 (44) Ascend-Xmit-Rate = 105000000 (44) Mikrotik-Rate-Limit = "105M/105M" (44) Acct-Input-Octets = 78330814 (44) Acct-Input-Gigawords = 0 (44) Acct-Input-Packets = 362935 (44) Acct-Output-Octets = 2930913463 (44) Acct-Output-Gigawords = 0 (44) Acct-Output-Packets = 2349872 (44) Acct-Status-Type = Interim-Update (44) NAS-Identifier = "CORE-ROUTER" (44) Acct-Delay-Time = 0 (44) NAS-IP-Address = 103.190.8.10 (44) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (44) preacct { (44) [preprocess] = ok (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) --> 750ac13c9a9144060a44fa37f67f6e73 (44) &Acct-Unique-Session-Id := 750ac13c9a9144060a44fa37f67f6e73 (44) } # update request = noop (44) } # else = noop (44) update request { (44) &Tmp-String-9 !* ANY (44) } # update request = noop (44) } # policy acct_unique = noop (44) suffix: Checking for suffix after "@" (44) suffix: No '@' in User-Name = "rahat8", looking up realm NULL (44) suffix: No such realm "NULL" (44) [suffix] = noop (44) [files] = noop (44) } # preacct = ok (44) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (44) accounting { (44) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (44) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (44) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (44) detail: EXPAND %t (44) detail: --> Fri Mar 27 04:23:01 2026 (44) [detail] = ok (44) [unix] = noop (44) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (44) sql: --> type.interim-update.query (44) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (51) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (52), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (52) (44) sql: EXPAND %{User-Name} (44) sql: --> rahat8 (44) sql: SQL-User-Name set to 'rahat8' (44) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (44) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565581), acctinterval = 1774565581 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.148', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 20540, acctinputoctets = '0' << 32 | '78330814', acctoutputoctets = '0' << 32 | '2930913463' WHERE AcctUniqueId = '750ac13c9a9144060a44fa37f67f6e73' (44) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565581), acctinterval = 1774565581 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.148', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 20540, acctinputoctets = '0' << 32 | '78330814', acctoutputoctets = '0' << 32 | '2930913463' WHERE AcctUniqueId = '750ac13c9a9144060a44fa37f67f6e73' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (44) sql: SQL query returned: success (44) sql: 1 record(s) updated rlm_sql (sql): Released connection (52) (44) [sql] = ok (44) [exec] = noop (44) attr_filter.accounting_response: EXPAND %{User-Name} (44) attr_filter.accounting_response: --> rahat8 (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 245 from 103.204.70.55:1813 to 103.190.8.10:59045 length 20 (44) Finished request (44) Cleaning up request packet ID 245 with timestamp +7 due to done Waking up in 0.3 seconds. (37) Cleaning up request packet ID 240 with timestamp +6 due to cleanup_delay was reached Waking up in 1.0 seconds. (45) Received Accounting-Request Id 246 from 103.190.8.10:57646 to 103.204.70.55:1813 length 240 (45) Service-Type = Framed-User (45) Framed-Protocol = PPP (45) NAS-Port = 16096745 (45) NAS-Port-Type = Ethernet (45) User-Name = "VICKY5N" (45) Calling-Station-Id = "08:AA:89:A5:2E:B0" (45) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (45) Acct-Session-Id = "815592e8" (45) Framed-IP-Address = 172.16.3.89 (45) Acct-Authentic = RADIUS (45) Event-Timestamp = "Mar 27 2026 04:23:02 IST" (45) Acct-Session-Time = 34581 (45) Idle-Timeout = 0 (45) Session-Timeout = 5289198 (45) X-Ascend-Data-Rate = 62000000 (45) Ascend-Xmit-Rate = 62000000 (45) Mikrotik-Rate-Limit = "62M/62M" (45) Acct-Input-Octets = 55535031 (45) Acct-Input-Gigawords = 0 (45) Acct-Input-Packets = 200371 (45) Acct-Output-Octets = 634598392 (45) Acct-Output-Gigawords = 0 (45) Acct-Output-Packets = 615938 (45) Acct-Status-Type = Interim-Update (45) NAS-Identifier = "CORE-ROUTER" (45) Acct-Delay-Time = 0 (45) NAS-IP-Address = 103.190.8.10 (45) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (45) preacct { (45) [preprocess] = ok (45) policy acct_unique { (45) update request { (45) &Tmp-String-9 := "ai:" (45) } # update request = noop (45) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (45) EXPAND %{hex:&Class} (45) --> (45) EXPAND ^%{hex:&Tmp-String-9} (45) --> ^61693a (45) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (45) else { (45) update request { (45) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (45) --> c7ecb53de642c746f546dd4d73044f8d (45) &Acct-Unique-Session-Id := c7ecb53de642c746f546dd4d73044f8d (45) } # update request = noop (45) } # else = noop (45) update request { (45) &Tmp-String-9 !* ANY (45) } # update request = noop (45) } # policy acct_unique = noop (45) suffix: Checking for suffix after "@" (45) suffix: No '@' in User-Name = "VICKY5N", looking up realm NULL (45) suffix: No such realm "NULL" (45) [suffix] = noop (45) [files] = noop (45) } # preacct = ok (45) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (45) accounting { (45) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (45) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (45) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (45) detail: EXPAND %t (45) detail: --> Fri Mar 27 04:23:02 2026 (45) [detail] = ok (45) [unix] = noop (45) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (45) sql: --> type.interim-update.query (45) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (52) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (53), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (53) (45) sql: EXPAND %{User-Name} (45) sql: --> VICKY5N (45) sql: SQL-User-Name set to 'VICKY5N' (45) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (45) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565582), acctinterval = 1774565582 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.89', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 34581, acctinputoctets = '0' << 32 | '55535031', acctoutputoctets = '0' << 32 | '634598392' WHERE AcctUniqueId = 'c7ecb53de642c746f546dd4d73044f8d' (45) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565582), acctinterval = 1774565582 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.89', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 34581, acctinputoctets = '0' << 32 | '55535031', acctoutputoctets = '0' << 32 | '634598392' WHERE AcctUniqueId = 'c7ecb53de642c746f546dd4d73044f8d' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (45) sql: SQL query returned: success (45) sql: 1 record(s) updated rlm_sql (sql): Released connection (53) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (54), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (53) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (45) [sql] = ok (45) [exec] = noop (45) attr_filter.accounting_response: EXPAND %{User-Name} (45) attr_filter.accounting_response: --> VICKY5N (45) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (45) [attr_filter.accounting_response] = updated (45) } # accounting = updated (45) Sent Accounting-Response Id 246 from 103.204.70.55:1813 to 103.190.8.10:57646 length 20 (45) Finished request (45) Cleaning up request packet ID 246 with timestamp +8 due to done Waking up in 0.9 seconds. (46) Received Access-Request Id 247 from 103.190.8.10:46235 to 103.204.70.55:1812 length 179 (46) Service-Type = Framed-User (46) Framed-Protocol = PPP (46) NAS-Port = 16116438 (46) NAS-Port-Type = Ethernet (46) User-Name = "SUNNY261" (46) Calling-Station-Id = "E8:65:D4:15:37:A8" (46) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (46) Acct-Session-Id = "8155ddc2" (46) CHAP-Challenge = 0xaf5e1257a53dd3ee8ab51a283af93cce (46) CHAP-Password = 0x01130eda6c153d62847c118aacdd386dfa (46) NAS-Identifier = "CORE-ROUTER" (46) NAS-IP-Address = 103.190.8.10 (46) Message-Authenticator = 0x299feba069cfb44b669e874c68508970 (46) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (46) authorize { (46) [preprocess] = ok (46) chap: &control:Auth-Type := CHAP (46) [chap] = ok (46) [mschap] = noop (46) [digest] = noop (46) suffix: Checking for suffix after "@" (46) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (46) suffix: No such realm "NULL" (46) [suffix] = noop (46) eap: No EAP-Message, not doing EAP (46) [eap] = noop (46) files: users: Matched entry DEFAULT at line 167 (46) [files] = ok (46) sql: EXPAND %{User-Name} (46) sql: --> SUNNY261 (46) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (54) (46) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (46) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (46) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (46) sql: User found in radcheck table (46) sql: Conditional check items matched, merging assignment check items (46) sql: Cleartext-Password := "123456" (46) sql: Expiration := "Mar 26 2026 23:59:59 IST" (46) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (46) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (46) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (46) sql: User found in radreply table, merging reply items (46) sql: Mikrotik-Rate-Limit := "62M/62M" (46) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (46) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (46) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (46) sql: User found in the group table (46) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (46) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (46) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (46) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (46) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (46) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (46) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (46) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (46) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (46) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (54) (46) [sql] = ok (46) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (46) [expiration] = userlock (46) } # authorize = userlock (46) Using Post-Auth-Type Reject (46) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (46) Post-Auth-Type REJECT { (46) sql: EXPAND .query (46) sql: --> .query (46) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (54) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (55), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (55) (46) sql: EXPAND %{User-Name} (46) sql: --> SUNNY261 (46) sql: SQL-User-Name set to 'SUNNY261' (46) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (46) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01130eda6c153d62847c118aacdd386dfa', 'Access-Reject', '2026-03-27 04:23:02.318524' ) (46) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01130eda6c153d62847c118aacdd386dfa', 'Access-Reject', '2026-03-27 04:23:02.318524' ) (46) sql: SQL query returned: success (46) sql: 1 record(s) updated rlm_sql (sql): Released connection (55) (46) [sql] = ok (46) attr_filter.access_reject: EXPAND %{User-Name} (46) attr_filter.access_reject: --> SUNNY261 (46) attr_filter.access_reject: Matched entry DEFAULT at line 11 (46) [attr_filter.access_reject] = updated (46) [eap] = noop (46) policy remove_reply_message_if_eap { (46) if (&reply:EAP-Message && &reply:Reply-Message) { (46) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (46) else { (46) [noop] = noop (46) } # else = noop (46) } # policy remove_reply_message_if_eap = noop (46) } # Post-Auth-Type REJECT = updated (46) Sent Access-Reject Id 247 from 103.204.70.55:1812 to 103.190.8.10:46235 length 38 (46) Finished request Waking up in 0.9 seconds. (47) Received Accounting-Request Id 248 from 103.190.8.10:50052 to 103.204.70.55:1813 length 260 (47) Service-Type = Framed-User (47) Framed-Protocol = PPP (47) NAS-Port = 16098092 (47) NAS-Port-Type = Ethernet (47) User-Name = "sumit@123" (47) Calling-Station-Id = "40:31:3C:E6:C6:3B" (47) NAS-Port-Id = "RB_INTERNET-71" (47) MS-CHAP-Domain = "123" (47) Acct-Session-Id = "81559815" (47) Framed-IP-Address = 172.16.4.166 (47) Acct-Authentic = RADIUS (47) Event-Timestamp = "Mar 27 2026 04:23:02 IST" (47) Acct-Session-Time = 28341 (47) Idle-Timeout = 0 (47) Session-Timeout = 11244557 (47) X-Ascend-Data-Rate = 105000000 (47) Ascend-Xmit-Rate = 105000000 (47) Mikrotik-Rate-Limit = "105M/105M" (47) Acct-Input-Octets = 753185025 (47) Acct-Input-Gigawords = 0 (47) Acct-Input-Packets = 2797432 (47) Acct-Output-Octets = 78561633 (47) Acct-Output-Gigawords = 4 (47) Acct-Output-Packets = 14204966 (47) Acct-Status-Type = Interim-Update (47) NAS-Identifier = "CORE-ROUTER" (47) Acct-Delay-Time = 0 (47) Mikrotik-Realm = "123" (47) NAS-IP-Address = 103.190.8.10 (47) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (47) preacct { (47) [preprocess] = ok (47) policy acct_unique { (47) update request { (47) &Tmp-String-9 := "ai:" (47) } # update request = noop (47) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (47) EXPAND %{hex:&Class} (47) --> (47) EXPAND ^%{hex:&Tmp-String-9} (47) --> ^61693a (47) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (47) else { (47) update request { (47) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (47) --> 8ad5273ea7735dfe4f032ae1f349dd6d (47) &Acct-Unique-Session-Id := 8ad5273ea7735dfe4f032ae1f349dd6d (47) } # update request = noop (47) } # else = noop (47) update request { (47) &Tmp-String-9 !* ANY (47) } # update request = noop (47) } # policy acct_unique = noop (47) suffix: Checking for suffix after "@" (47) suffix: Looking up realm "123" for User-Name = "sumit@123" (47) suffix: No such realm "123" (47) [suffix] = noop (47) [files] = noop (47) } # preacct = ok (47) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (47) accounting { (47) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (47) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (47) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (47) detail: EXPAND %t (47) detail: --> Fri Mar 27 04:23:02 2026 (47) [detail] = ok (47) [unix] = noop (47) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (47) sql: --> type.interim-update.query (47) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (55) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (56), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (56) (47) sql: EXPAND %{User-Name} (47) sql: --> sumit@123 (47) sql: SQL-User-Name set to 'sumit@123' (47) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (47) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565582), acctinterval = 1774565582 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.166', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 28341, acctinputoctets = '0' << 32 | '753185025', acctoutputoctets = '4' << 32 | '78561633' WHERE AcctUniqueId = '8ad5273ea7735dfe4f032ae1f349dd6d' (47) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565582), acctinterval = 1774565582 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.166', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 28341, acctinputoctets = '0' << 32 | '753185025', acctoutputoctets = '4' << 32 | '78561633' WHERE AcctUniqueId = '8ad5273ea7735dfe4f032ae1f349dd6d' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (47) sql: SQL query returned: success (47) sql: 1 record(s) updated rlm_sql (sql): Released connection (56) (47) [sql] = ok (47) [exec] = noop (47) attr_filter.accounting_response: EXPAND %{User-Name} (47) attr_filter.accounting_response: --> sumit@123 (47) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (47) [attr_filter.accounting_response] = updated (47) } # accounting = updated (47) Sent Accounting-Response Id 248 from 103.204.70.55:1813 to 103.190.8.10:50052 length 20 (47) Finished request (47) Cleaning up request packet ID 248 with timestamp +8 due to done Waking up in 0.4 seconds. (48) Received Accounting-Request Id 249 from 103.190.8.10:59369 to 103.204.70.55:1813 length 236 (48) Service-Type = Framed-User (48) Framed-Protocol = PPP (48) NAS-Port = 16102290 (48) NAS-Port-Type = Ethernet (48) User-Name = "rv_babu" (48) Calling-Station-Id = "B0:A7:B9:28:B2:F7" (48) NAS-Port-Id = "RB_INTERNET-71" (48) Acct-Session-Id = "8155a7ce" (48) Framed-IP-Address = 172.16.5.166 (48) Acct-Authentic = RADIUS (48) Event-Timestamp = "Mar 27 2026 04:23:02 IST" (48) Acct-Session-Time = 13780 (48) Idle-Timeout = 0 (48) Session-Timeout = 1293997 (48) X-Ascend-Data-Rate = 105000000 (48) Ascend-Xmit-Rate = 105000000 (48) Mikrotik-Rate-Limit = "105M/105M" (48) Acct-Input-Octets = 26630110 (48) Acct-Input-Gigawords = 0 (48) Acct-Input-Packets = 95003 (48) Acct-Output-Octets = 1023145005 (48) Acct-Output-Gigawords = 0 (48) Acct-Output-Packets = 839081 (48) Acct-Status-Type = Interim-Update (48) NAS-Identifier = "CORE-ROUTER" (48) Acct-Delay-Time = 0 (48) NAS-IP-Address = 103.190.8.10 (48) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (48) preacct { (48) [preprocess] = ok (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) --> 7af275652f894893a403745bd7056674 (48) &Acct-Unique-Session-Id := 7af275652f894893a403745bd7056674 (48) } # update request = noop (48) } # else = noop (48) update request { (48) &Tmp-String-9 !* ANY (48) } # update request = noop (48) } # policy acct_unique = noop (48) suffix: Checking for suffix after "@" (48) suffix: No '@' in User-Name = "rv_babu", looking up realm NULL (48) suffix: No such realm "NULL" (48) [suffix] = noop (48) [files] = noop (48) } # preacct = ok (48) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (48) accounting { (48) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (48) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (48) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (48) detail: EXPAND %t (48) detail: --> Fri Mar 27 04:23:02 2026 (48) [detail] = ok (48) [unix] = noop (48) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (48) sql: --> type.interim-update.query (48) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (56) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (57), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (57) (48) sql: EXPAND %{User-Name} (48) sql: --> rv_babu (48) sql: SQL-User-Name set to 'rv_babu' (48) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (48) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565582), acctinterval = 1774565582 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.166', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 13780, acctinputoctets = '0' << 32 | '26630110', acctoutputoctets = '0' << 32 | '1023145005' WHERE AcctUniqueId = '7af275652f894893a403745bd7056674' (48) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565582), acctinterval = 1774565582 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.166', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 13780, acctinputoctets = '0' << 32 | '26630110', acctoutputoctets = '0' << 32 | '1023145005' WHERE AcctUniqueId = '7af275652f894893a403745bd7056674' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (48) sql: SQL query returned: success (48) sql: 1 record(s) updated rlm_sql (sql): Released connection (57) (48) [sql] = ok (48) [exec] = noop (48) attr_filter.accounting_response: EXPAND %{User-Name} (48) attr_filter.accounting_response: --> rv_babu (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 249 from 103.204.70.55:1813 to 103.190.8.10:59369 length 20 (48) Finished request (48) Cleaning up request packet ID 249 with timestamp +8 due to done Waking up in 0.4 seconds. (49) Received Accounting-Request Id 250 from 103.190.8.10:55063 to 103.204.70.55:1813 length 206 (49) Service-Type = Framed-User (49) Framed-Protocol = PPP (49) NAS-Port = 16099089 (49) NAS-Port-Type = Ethernet (49) User-Name = "AMIT27" (49) Calling-Station-Id = "50:2B:73:C2:D3:00" (49) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (49) Acct-Session-Id = "81559bb4" (49) Framed-IP-Address = 172.16.5.61 (49) Acct-Authentic = RADIUS (49) Event-Timestamp = "Mar 27 2026 04:23:03 IST" (49) Acct-Session-Time = 22750 (49) Idle-Timeout = 0 (49) Session-Timeout = 10374967 (49) Acct-Input-Octets = 2196754153 (49) Acct-Input-Gigawords = 0 (49) Acct-Input-Packets = 4025163 (49) Acct-Output-Octets = 2683015872 (49) Acct-Output-Gigawords = 2 (49) Acct-Output-Packets = 9072229 (49) Acct-Status-Type = Interim-Update (49) NAS-Identifier = "CORE-ROUTER" (49) Acct-Delay-Time = 0 (49) NAS-IP-Address = 103.190.8.10 (49) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (49) preacct { (49) [preprocess] = ok (49) policy acct_unique { (49) update request { (49) &Tmp-String-9 := "ai:" (49) } # update request = noop (49) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (49) EXPAND %{hex:&Class} (49) --> (49) EXPAND ^%{hex:&Tmp-String-9} (49) --> ^61693a (49) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (49) else { (49) update request { (49) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (49) --> 0a6942d9ce337583d7f766d761626ab1 (49) &Acct-Unique-Session-Id := 0a6942d9ce337583d7f766d761626ab1 (49) } # update request = noop (49) } # else = noop (49) update request { (49) &Tmp-String-9 !* ANY (49) } # update request = noop (49) } # policy acct_unique = noop (49) suffix: Checking for suffix after "@" (49) suffix: No '@' in User-Name = "AMIT27", looking up realm NULL (49) suffix: No such realm "NULL" (49) [suffix] = noop (49) [files] = noop (49) } # preacct = ok (49) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (49) accounting { (49) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (49) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (49) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (49) detail: EXPAND %t (49) detail: --> Fri Mar 27 04:23:03 2026 (49) [detail] = ok (49) [unix] = noop (49) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (49) sql: --> type.interim-update.query (49) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (57) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (58), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (58) (49) sql: EXPAND %{User-Name} (49) sql: --> AMIT27 (49) sql: SQL-User-Name set to 'AMIT27' (49) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (49) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565583), acctinterval = 1774565583 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.61', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 22750, acctinputoctets = '0' << 32 | '2196754153', acctoutputoctets = '2' << 32 | '2683015872' WHERE AcctUniqueId = '0a6942d9ce337583d7f766d761626ab1' (49) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565583), acctinterval = 1774565583 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.61', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 22750, acctinputoctets = '0' << 32 | '2196754153', acctoutputoctets = '2' << 32 | '2683015872' WHERE AcctUniqueId = '0a6942d9ce337583d7f766d761626ab1' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (49) sql: SQL query returned: success (49) sql: 1 record(s) updated rlm_sql (sql): Released connection (58) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (59), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (58) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (49) [sql] = ok (49) [exec] = noop (49) attr_filter.accounting_response: EXPAND %{User-Name} (49) attr_filter.accounting_response: --> AMIT27 (49) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (49) [attr_filter.accounting_response] = updated (49) } # accounting = updated (49) Sent Accounting-Response Id 250 from 103.204.70.55:1813 to 103.190.8.10:55063 length 20 (49) Finished request (49) Cleaning up request packet ID 250 with timestamp +9 due to done Waking up in 0.1 seconds. (43) Cleaning up request packet ID 244 with timestamp +7 due to cleanup_delay was reached Waking up in 1.0 seconds. (50) Received Access-Request Id 251 from 103.190.8.10:59325 to 103.204.70.55:1812 length 179 (50) Service-Type = Framed-User (50) Framed-Protocol = PPP (50) NAS-Port = 16116439 (50) NAS-Port-Type = Ethernet (50) User-Name = "SUNNY261" (50) Calling-Station-Id = "E8:65:D4:15:37:A8" (50) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (50) Acct-Session-Id = "8155ddc3" (50) CHAP-Challenge = 0x31187dcdde354508b70086df5edee51c (50) CHAP-Password = 0x013be5c37a3f5276c224bb3cb3b19b34bf (50) NAS-Identifier = "CORE-ROUTER" (50) NAS-IP-Address = 103.190.8.10 (50) Message-Authenticator = 0x37ab4ee79ca1a13a3f45a58863b1c05e (50) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (50) authorize { (50) [preprocess] = ok (50) chap: &control:Auth-Type := CHAP (50) [chap] = ok (50) [mschap] = noop (50) [digest] = noop (50) suffix: Checking for suffix after "@" (50) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (50) suffix: No such realm "NULL" (50) [suffix] = noop (50) eap: No EAP-Message, not doing EAP (50) [eap] = noop (50) files: users: Matched entry DEFAULT at line 167 (50) [files] = ok (50) sql: EXPAND %{User-Name} (50) sql: --> SUNNY261 (50) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (59) (50) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (50) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (50) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (50) sql: User found in radcheck table (50) sql: Conditional check items matched, merging assignment check items (50) sql: Cleartext-Password := "123456" (50) sql: Expiration := "Mar 26 2026 23:59:59 IST" (50) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (50) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (50) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (50) sql: User found in radreply table, merging reply items (50) sql: Mikrotik-Rate-Limit := "62M/62M" (50) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (50) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (50) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (50) sql: User found in the group table (50) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (50) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (50) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (50) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (50) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (50) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (50) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (50) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (50) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (50) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (59) (50) [sql] = ok (50) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (50) [expiration] = userlock (50) } # authorize = userlock (50) Using Post-Auth-Type Reject (50) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (50) Post-Auth-Type REJECT { (50) sql: EXPAND .query (50) sql: --> .query (50) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (59) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (60), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (60) (50) sql: EXPAND %{User-Name} (50) sql: --> SUNNY261 (50) sql: SQL-User-Name set to 'SUNNY261' (50) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (50) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x013be5c37a3f5276c224bb3cb3b19b34bf', 'Access-Reject', '2026-03-27 04:23:03.419978' ) (50) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x013be5c37a3f5276c224bb3cb3b19b34bf', 'Access-Reject', '2026-03-27 04:23:03.419978' ) (50) sql: SQL query returned: success (50) sql: 1 record(s) updated rlm_sql (sql): Released connection (60) (50) [sql] = ok (50) attr_filter.access_reject: EXPAND %{User-Name} (50) attr_filter.access_reject: --> SUNNY261 (50) attr_filter.access_reject: Matched entry DEFAULT at line 11 (50) [attr_filter.access_reject] = updated (50) [eap] = noop (50) policy remove_reply_message_if_eap { (50) if (&reply:EAP-Message && &reply:Reply-Message) { (50) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (50) else { (50) [noop] = noop (50) } # else = noop (50) } # policy remove_reply_message_if_eap = noop (50) } # Post-Auth-Type REJECT = updated (50) Sent Access-Reject Id 251 from 103.204.70.55:1812 to 103.190.8.10:59325 length 38 (50) Finished request Waking up in 0.8 seconds. (51) Received Accounting-Request Id 252 from 103.190.8.10:59369 to 103.204.70.55:1813 length 242 (51) Service-Type = Framed-User (51) Framed-Protocol = PPP (51) NAS-Port = 16095648 (51) NAS-Port-Type = Ethernet (51) User-Name = "AMIT209" (51) Calling-Station-Id = "78:BB:C1:1C:AA:B1" (51) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (51) Acct-Session-Id = "81558e9d" (51) Framed-IP-Address = 172.16.3.142 (51) Acct-Authentic = RADIUS (51) Event-Timestamp = "Mar 27 2026 04:23:03 IST" (51) Acct-Session-Time = 38742 (51) Idle-Timeout = 0 (51) Session-Timeout = 2701358 (51) X-Ascend-Data-Rate = 105000000 (51) Ascend-Xmit-Rate = 105000000 (51) Mikrotik-Rate-Limit = "105M/105M" (51) Acct-Input-Octets = 687924302 (51) Acct-Input-Gigawords = 0 (51) Acct-Input-Packets = 1228426 (51) Acct-Output-Octets = 289608865 (51) Acct-Output-Gigawords = 1 (51) Acct-Output-Packets = 3718361 (51) Acct-Status-Type = Interim-Update (51) NAS-Identifier = "CORE-ROUTER" (51) Acct-Delay-Time = 0 (51) NAS-IP-Address = 103.190.8.10 (51) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (51) preacct { (51) [preprocess] = ok (51) policy acct_unique { (51) update request { (51) &Tmp-String-9 := "ai:" (51) } # update request = noop (51) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (51) EXPAND %{hex:&Class} (51) --> (51) EXPAND ^%{hex:&Tmp-String-9} (51) --> ^61693a (51) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (51) else { (51) update request { (51) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (51) --> fe1794c1ad12bb553551414b4d472627 (51) &Acct-Unique-Session-Id := fe1794c1ad12bb553551414b4d472627 (51) } # update request = noop (51) } # else = noop (51) update request { (51) &Tmp-String-9 !* ANY (51) } # update request = noop (51) } # policy acct_unique = noop (51) suffix: Checking for suffix after "@" (51) suffix: No '@' in User-Name = "AMIT209", looking up realm NULL (51) suffix: No such realm "NULL" (51) [suffix] = noop (51) [files] = noop (51) } # preacct = ok (51) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (51) accounting { (51) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (51) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (51) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (51) detail: EXPAND %t (51) detail: --> Fri Mar 27 04:23:03 2026 (51) [detail] = ok (51) [unix] = noop (51) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (51) sql: --> type.interim-update.query (51) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (60) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (61), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (61) (51) sql: EXPAND %{User-Name} (51) sql: --> AMIT209 (51) sql: SQL-User-Name set to 'AMIT209' (51) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (51) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565583), acctinterval = 1774565583 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.142', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38742, acctinputoctets = '0' << 32 | '687924302', acctoutputoctets = '1' << 32 | '289608865' WHERE AcctUniqueId = 'fe1794c1ad12bb553551414b4d472627' (51) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565583), acctinterval = 1774565583 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.142', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38742, acctinputoctets = '0' << 32 | '687924302', acctoutputoctets = '1' << 32 | '289608865' WHERE AcctUniqueId = 'fe1794c1ad12bb553551414b4d472627' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (51) sql: SQL query returned: success (51) sql: 1 record(s) updated rlm_sql (sql): Released connection (61) (51) [sql] = ok (51) [exec] = noop (51) attr_filter.accounting_response: EXPAND %{User-Name} (51) attr_filter.accounting_response: --> AMIT209 (51) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (51) [attr_filter.accounting_response] = updated (51) } # accounting = updated (51) Sent Accounting-Response Id 252 from 103.204.70.55:1813 to 103.190.8.10:59369 length 20 (51) Finished request (51) Cleaning up request packet ID 252 with timestamp +9 due to done Waking up in 0.8 seconds. (52) Received Accounting-Request Id 253 from 103.190.8.10:43043 to 103.204.70.55:1813 length 239 (52) Service-Type = Framed-User (52) Framed-Protocol = PPP (52) NAS-Port = 16091132 (52) NAS-Port-Type = Ethernet (52) User-Name = "MOHIT859" (52) Calling-Station-Id = "30:CC:21:EA:51:1A" (52) NAS-Port-Id = "VLAN-83-SK VISON" (52) Acct-Session-Id = "81557cfb" (52) Framed-IP-Address = 172.16.4.103 (52) Acct-Authentic = RADIUS (52) Event-Timestamp = "Mar 27 2026 04:23:03 IST" (52) Acct-Session-Time = 54991 (52) Idle-Timeout = 0 (52) Session-Timeout = 20775207 (52) X-Ascend-Data-Rate = 105000000 (52) Ascend-Xmit-Rate = 105000000 (52) Mikrotik-Rate-Limit = "105M/105M" (52) Acct-Input-Octets = 314808685 (52) Acct-Input-Gigawords = 0 (52) Acct-Input-Packets = 1772744 (52) Acct-Output-Octets = 4054410044 (52) Acct-Output-Gigawords = 2 (52) Acct-Output-Packets = 9441007 (52) Acct-Status-Type = Interim-Update (52) NAS-Identifier = "CORE-ROUTER" (52) Acct-Delay-Time = 0 (52) NAS-IP-Address = 103.190.8.10 (52) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (52) preacct { (52) [preprocess] = ok (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) --> 0e9babbff05fd90354a2fa5a6f1d53e9 (52) &Acct-Unique-Session-Id := 0e9babbff05fd90354a2fa5a6f1d53e9 (52) } # update request = noop (52) } # else = noop (52) update request { (52) &Tmp-String-9 !* ANY (52) } # update request = noop (52) } # policy acct_unique = noop (52) suffix: Checking for suffix after "@" (52) suffix: No '@' in User-Name = "MOHIT859", looking up realm NULL (52) suffix: No such realm "NULL" (52) [suffix] = noop (52) [files] = noop (52) } # preacct = ok (52) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (52) accounting { (52) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (52) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (52) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (52) detail: EXPAND %t (52) detail: --> Fri Mar 27 04:23:03 2026 (52) [detail] = ok (52) [unix] = noop (52) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (52) sql: --> type.interim-update.query (52) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (61) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (62), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (62) (52) sql: EXPAND %{User-Name} (52) sql: --> MOHIT859 (52) sql: SQL-User-Name set to 'MOHIT859' (52) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (52) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565583), acctinterval = 1774565583 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.103', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54991, acctinputoctets = '0' << 32 | '314808685', acctoutputoctets = '2' << 32 | '4054410044' WHERE AcctUniqueId = '0e9babbff05fd90354a2fa5a6f1d53e9' (52) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565583), acctinterval = 1774565583 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.103', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54991, acctinputoctets = '0' << 32 | '314808685', acctoutputoctets = '2' << 32 | '4054410044' WHERE AcctUniqueId = '0e9babbff05fd90354a2fa5a6f1d53e9' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (52) sql: SQL query returned: success (52) sql: 1 record(s) updated rlm_sql (sql): Released connection (62) (52) [sql] = ok (52) [exec] = noop (52) attr_filter.accounting_response: EXPAND %{User-Name} (52) attr_filter.accounting_response: --> MOHIT859 (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 253 from 103.204.70.55:1813 to 103.190.8.10:43043 length 20 (52) Finished request (52) Cleaning up request packet ID 253 with timestamp +9 due to done Waking up in 0.6 seconds. (53) Received Accounting-Request Id 254 from 103.190.8.10:38457 to 103.204.70.55:1813 length 240 (53) Service-Type = Framed-User (53) Framed-Protocol = PPP (53) NAS-Port = 16096651 (53) NAS-Port-Type = Ethernet (53) User-Name = "AMIT252" (53) Calling-Station-Id = "50:2B:73:AE:AA:F0" (53) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (53) Acct-Session-Id = "81559286" (53) Framed-IP-Address = 172.16.5.2 (53) Acct-Authentic = RADIUS (53) Event-Timestamp = "Mar 27 2026 04:23:03 IST" (53) Acct-Session-Time = 34971 (53) Idle-Timeout = 0 (53) Session-Timeout = 278387 (53) X-Ascend-Data-Rate = 22000000 (53) Ascend-Xmit-Rate = 22000000 (53) Mikrotik-Rate-Limit = "22M/22M" (53) Acct-Input-Octets = 97561925 (53) Acct-Input-Gigawords = 0 (53) Acct-Input-Packets = 321623 (53) Acct-Output-Octets = 1385914145 (53) Acct-Output-Gigawords = 0 (53) Acct-Output-Packets = 1140133 (53) Acct-Status-Type = Interim-Update (53) NAS-Identifier = "CORE-ROUTER" (53) Acct-Delay-Time = 0 (53) NAS-IP-Address = 103.190.8.10 (53) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (53) preacct { (53) [preprocess] = ok (53) policy acct_unique { (53) update request { (53) &Tmp-String-9 := "ai:" (53) } # update request = noop (53) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (53) EXPAND %{hex:&Class} (53) --> (53) EXPAND ^%{hex:&Tmp-String-9} (53) --> ^61693a (53) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (53) else { (53) update request { (53) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (53) --> d35e4e483036a4c15f69abba65784f20 (53) &Acct-Unique-Session-Id := d35e4e483036a4c15f69abba65784f20 (53) } # update request = noop (53) } # else = noop (53) update request { (53) &Tmp-String-9 !* ANY (53) } # update request = noop (53) } # policy acct_unique = noop (53) suffix: Checking for suffix after "@" (53) suffix: No '@' in User-Name = "AMIT252", looking up realm NULL (53) suffix: No such realm "NULL" (53) [suffix] = noop (53) [files] = noop (53) } # preacct = ok (53) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (53) accounting { (53) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (53) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (53) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (53) detail: EXPAND %t (53) detail: --> Fri Mar 27 04:23:03 2026 (53) [detail] = ok (53) [unix] = noop (53) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (53) sql: --> type.interim-update.query (53) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (62) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (63), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (63) (53) sql: EXPAND %{User-Name} (53) sql: --> AMIT252 (53) sql: SQL-User-Name set to 'AMIT252' (53) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (53) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565583), acctinterval = 1774565583 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.2', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 34971, acctinputoctets = '0' << 32 | '97561925', acctoutputoctets = '0' << 32 | '1385914145' WHERE AcctUniqueId = 'd35e4e483036a4c15f69abba65784f20' (53) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565583), acctinterval = 1774565583 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.2', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 34971, acctinputoctets = '0' << 32 | '97561925', acctoutputoctets = '0' << 32 | '1385914145' WHERE AcctUniqueId = 'd35e4e483036a4c15f69abba65784f20' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (53) sql: SQL query returned: success (53) sql: 1 record(s) updated rlm_sql (sql): Released connection (63) (53) [sql] = ok (53) [exec] = noop (53) attr_filter.accounting_response: EXPAND %{User-Name} (53) attr_filter.accounting_response: --> AMIT252 (53) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (53) [attr_filter.accounting_response] = updated (53) } # accounting = updated (53) Sent Accounting-Response Id 254 from 103.204.70.55:1813 to 103.190.8.10:38457 length 20 (53) Finished request (53) Cleaning up request packet ID 254 with timestamp +9 due to done Waking up in 0.6 seconds. (54) Received Accounting-Request Id 255 from 103.190.8.10:36837 to 103.204.70.55:1813 length 241 (54) Service-Type = Framed-User (54) Framed-Protocol = PPP (54) NAS-Port = 16114128 (54) NAS-Port-Type = Ethernet (54) User-Name = "MUNSI216" (54) Calling-Station-Id = "50:2B:73:FB:A7:70" (54) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (54) Acct-Session-Id = "8155d4fd" (54) Framed-IP-Address = 172.16.3.155 (54) Acct-Authentic = RADIUS (54) Event-Timestamp = "Mar 27 2026 04:23:04 IST" (54) Acct-Session-Time = 2210 (54) Idle-Timeout = 0 (54) Session-Timeout = 16661626 (54) X-Ascend-Data-Rate = 62000000 (54) Ascend-Xmit-Rate = 62000000 (54) Mikrotik-Rate-Limit = "62M/62M" (54) Acct-Input-Octets = 468680 (54) Acct-Input-Gigawords = 0 (54) Acct-Input-Packets = 1803 (54) Acct-Output-Octets = 974299 (54) Acct-Output-Gigawords = 0 (54) Acct-Output-Packets = 2121 (54) Acct-Status-Type = Interim-Update (54) NAS-Identifier = "CORE-ROUTER" (54) Acct-Delay-Time = 0 (54) NAS-IP-Address = 103.190.8.10 (54) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (54) preacct { (54) [preprocess] = ok (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) --> be60187106c47c1aa431d47777813cb2 (54) &Acct-Unique-Session-Id := be60187106c47c1aa431d47777813cb2 (54) } # update request = noop (54) } # else = noop (54) update request { (54) &Tmp-String-9 !* ANY (54) } # update request = noop (54) } # policy acct_unique = noop (54) suffix: Checking for suffix after "@" (54) suffix: No '@' in User-Name = "MUNSI216", looking up realm NULL (54) suffix: No such realm "NULL" (54) [suffix] = noop (54) [files] = noop (54) } # preacct = ok (54) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (54) accounting { (54) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (54) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (54) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (54) detail: EXPAND %t (54) detail: --> Fri Mar 27 04:23:04 2026 (54) [detail] = ok (54) [unix] = noop (54) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (54) sql: --> type.interim-update.query (54) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (63) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (64), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (64) (54) sql: EXPAND %{User-Name} (54) sql: --> MUNSI216 (54) sql: SQL-User-Name set to 'MUNSI216' (54) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (54) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565584), acctinterval = 1774565584 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.155', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 2210, acctinputoctets = '0' << 32 | '468680', acctoutputoctets = '0' << 32 | '974299' WHERE AcctUniqueId = 'be60187106c47c1aa431d47777813cb2' (54) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565584), acctinterval = 1774565584 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.155', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 2210, acctinputoctets = '0' << 32 | '468680', acctoutputoctets = '0' << 32 | '974299' WHERE AcctUniqueId = 'be60187106c47c1aa431d47777813cb2' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (54) sql: SQL query returned: success (54) sql: 1 record(s) updated rlm_sql (sql): Released connection (64) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (65), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (64) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (54) [sql] = ok (54) [exec] = noop (54) attr_filter.accounting_response: EXPAND %{User-Name} (54) attr_filter.accounting_response: --> MUNSI216 (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 255 from 103.204.70.55:1813 to 103.190.8.10:36837 length 20 (54) Finished request (54) Cleaning up request packet ID 255 with timestamp +10 due to done Waking up in 0.2 seconds. (46) Cleaning up request packet ID 247 with timestamp +8 due to cleanup_delay was reached Waking up in 1.1 seconds. (55) Received Access-Request Id 0 from 103.190.8.10:43856 to 103.204.70.55:1812 length 179 (55) Service-Type = Framed-User (55) Framed-Protocol = PPP (55) NAS-Port = 16116440 (55) NAS-Port-Type = Ethernet (55) User-Name = "SUNNY261" (55) Calling-Station-Id = "E8:65:D4:15:37:A8" (55) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (55) Acct-Session-Id = "8155ddc4" (55) CHAP-Challenge = 0x5645172c00b78c0bed85ed3535d79ae8 (55) CHAP-Password = 0x01166efe4a7fb084d206e24925ef8db6b9 (55) NAS-Identifier = "CORE-ROUTER" (55) NAS-IP-Address = 103.190.8.10 (55) Message-Authenticator = 0xdd8f1831415d6340eecddd933747dbc8 (55) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (55) authorize { (55) [preprocess] = ok (55) chap: &control:Auth-Type := CHAP (55) [chap] = ok (55) [mschap] = noop (55) [digest] = noop (55) suffix: Checking for suffix after "@" (55) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (55) suffix: No such realm "NULL" (55) [suffix] = noop (55) eap: No EAP-Message, not doing EAP (55) [eap] = noop (55) files: users: Matched entry DEFAULT at line 167 (55) [files] = ok (55) sql: EXPAND %{User-Name} (55) sql: --> SUNNY261 (55) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (65) (55) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (55) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (55) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (55) sql: User found in radcheck table (55) sql: Conditional check items matched, merging assignment check items (55) sql: Cleartext-Password := "123456" (55) sql: Expiration := "Mar 26 2026 23:59:59 IST" (55) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (55) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (55) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (55) sql: User found in radreply table, merging reply items (55) sql: Mikrotik-Rate-Limit := "62M/62M" (55) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (55) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (55) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (55) sql: User found in the group table (55) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (55) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (55) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (55) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (55) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (55) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (55) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (55) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (55) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (55) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (65) (55) [sql] = ok (55) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (55) [expiration] = userlock (55) } # authorize = userlock (55) Using Post-Auth-Type Reject (55) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (55) Post-Auth-Type REJECT { (55) sql: EXPAND .query (55) sql: --> .query (55) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (65) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (66), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (66) (55) sql: EXPAND %{User-Name} (55) sql: --> SUNNY261 (55) sql: SQL-User-Name set to 'SUNNY261' (55) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (55) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01166efe4a7fb084d206e24925ef8db6b9', 'Access-Reject', '2026-03-27 04:23:04.518101' ) (55) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01166efe4a7fb084d206e24925ef8db6b9', 'Access-Reject', '2026-03-27 04:23:04.518101' ) (55) sql: SQL query returned: success (55) sql: 1 record(s) updated rlm_sql (sql): Released connection (66) (55) [sql] = ok (55) attr_filter.access_reject: EXPAND %{User-Name} (55) attr_filter.access_reject: --> SUNNY261 (55) attr_filter.access_reject: Matched entry DEFAULT at line 11 (55) [attr_filter.access_reject] = updated (55) [eap] = 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-Type REJECT = updated (55) Sent Access-Reject Id 0 from 103.204.70.55:1812 to 103.190.8.10:43856 length 38 (55) Finished request Waking up in 0.9 seconds. (56) Received Accounting-Request Id 1 from 103.190.8.10:47236 to 103.204.70.55:1813 length 240 (56) Service-Type = Framed-User (56) Framed-Protocol = PPP (56) NAS-Port = 16098224 (56) NAS-Port-Type = Ethernet (56) User-Name = "AMRITG1" (56) Calling-Station-Id = "40:33:06:40:E5:E2" (56) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (56) Acct-Session-Id = "81559891" (56) Framed-IP-Address = 172.16.5.56 (56) Acct-Authentic = RADIUS (56) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (56) Acct-Session-Time = 27690 (56) Idle-Timeout = 0 (56) Session-Timeout = 2603905 (56) X-Ascend-Data-Rate = 62000000 (56) Ascend-Xmit-Rate = 62000000 (56) Mikrotik-Rate-Limit = "62M/62M" (56) Acct-Input-Octets = 19295406 (56) Acct-Input-Gigawords = 0 (56) Acct-Input-Packets = 72427 (56) Acct-Output-Octets = 422704215 (56) Acct-Output-Gigawords = 0 (56) Acct-Output-Packets = 349578 (56) Acct-Status-Type = Interim-Update (56) NAS-Identifier = "CORE-ROUTER" (56) Acct-Delay-Time = 0 (56) NAS-IP-Address = 103.190.8.10 (56) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (56) preacct { (56) [preprocess] = ok (56) policy acct_unique { (56) update request { (56) &Tmp-String-9 := "ai:" (56) } # update request = noop (56) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (56) EXPAND %{hex:&Class} (56) --> (56) EXPAND ^%{hex:&Tmp-String-9} (56) --> ^61693a (56) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (56) else { (56) update request { (56) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (56) --> 9a150bdacaf94aa9173e503ef264bdb4 (56) &Acct-Unique-Session-Id := 9a150bdacaf94aa9173e503ef264bdb4 (56) } # update request = noop (56) } # else = noop (56) update request { (56) &Tmp-String-9 !* ANY (56) } # update request = noop (56) } # policy acct_unique = noop (56) suffix: Checking for suffix after "@" (56) suffix: No '@' in User-Name = "AMRITG1", looking up realm NULL (56) suffix: No such realm "NULL" (56) [suffix] = noop (56) [files] = noop (56) } # preacct = ok (56) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (56) accounting { (56) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (56) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (56) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (56) detail: EXPAND %t (56) detail: --> Fri Mar 27 04:23:05 2026 (56) [detail] = ok (56) [unix] = noop (56) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (56) sql: --> type.interim-update.query (56) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (66) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (67), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (67) (56) sql: EXPAND %{User-Name} (56) sql: --> AMRITG1 (56) sql: SQL-User-Name set to 'AMRITG1' (56) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (56) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.56', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 27690, acctinputoctets = '0' << 32 | '19295406', acctoutputoctets = '0' << 32 | '422704215' WHERE AcctUniqueId = '9a150bdacaf94aa9173e503ef264bdb4' (56) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.56', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 27690, acctinputoctets = '0' << 32 | '19295406', acctoutputoctets = '0' << 32 | '422704215' WHERE AcctUniqueId = '9a150bdacaf94aa9173e503ef264bdb4' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (56) sql: SQL query returned: success (56) sql: 1 record(s) updated rlm_sql (sql): Released connection (67) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (68), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (67) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (56) [sql] = ok (56) [exec] = noop (56) attr_filter.accounting_response: EXPAND %{User-Name} (56) attr_filter.accounting_response: --> AMRITG1 (56) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (56) [attr_filter.accounting_response] = updated (56) } # accounting = updated (56) Sent Accounting-Response Id 1 from 103.204.70.55:1813 to 103.190.8.10:47236 length 20 (56) Finished request (56) Cleaning up request packet ID 1 with timestamp +11 due to done Waking up in 0.3 seconds. (57) Received Accounting-Request Id 2 from 103.190.8.10:39085 to 103.204.70.55:1813 length 245 (57) Service-Type = Framed-User (57) Framed-Protocol = PPP (57) NAS-Port = 16091233 (57) NAS-Port-Type = Ethernet (57) User-Name = "NAMGAYAL25" (57) Calling-Station-Id = "20:0C:86:13:99:A1" (57) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (57) Acct-Session-Id = "81557d60" (57) Framed-IP-Address = 172.16.5.50 (57) Acct-Authentic = RADIUS (57) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (57) Acct-Session-Time = 54601 (57) Idle-Timeout = 0 (57) Session-Timeout = 16627616 (57) X-Ascend-Data-Rate = 105000000 (57) Ascend-Xmit-Rate = 105000000 (57) Mikrotik-Rate-Limit = "105M/105M" (57) Acct-Input-Octets = 8649 (57) Acct-Input-Gigawords = 0 (57) Acct-Input-Packets = 66 (57) Acct-Output-Octets = 12970 (57) Acct-Output-Gigawords = 0 (57) Acct-Output-Packets = 70 (57) Acct-Status-Type = Interim-Update (57) NAS-Identifier = "CORE-ROUTER" (57) Acct-Delay-Time = 0 (57) NAS-IP-Address = 103.190.8.10 (57) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (57) preacct { (57) [preprocess] = ok (57) policy acct_unique { (57) update request { (57) &Tmp-String-9 := "ai:" (57) } # update request = noop (57) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (57) EXPAND %{hex:&Class} (57) --> (57) EXPAND ^%{hex:&Tmp-String-9} (57) --> ^61693a (57) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (57) else { (57) update request { (57) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (57) --> a3a73dcb941b81b774615e4b810ad6d5 (57) &Acct-Unique-Session-Id := a3a73dcb941b81b774615e4b810ad6d5 (57) } # update request = noop (57) } # else = noop (57) update request { (57) &Tmp-String-9 !* ANY (57) } # update request = noop (57) } # policy acct_unique = noop (57) suffix: Checking for suffix after "@" (57) suffix: No '@' in User-Name = "NAMGAYAL25", looking up realm NULL (57) suffix: No such realm "NULL" (57) [suffix] = noop (57) [files] = noop (57) } # preacct = ok (57) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (57) accounting { (57) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (57) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (57) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (57) detail: EXPAND %t (57) detail: --> Fri Mar 27 04:23:05 2026 (57) [detail] = ok (57) [unix] = noop (57) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (57) sql: --> type.interim-update.query (57) sql: Using query template 'query' rlm_sql (sql): Reserved connection (68) (57) sql: EXPAND %{User-Name} (57) sql: --> NAMGAYAL25 (57) sql: SQL-User-Name set to 'NAMGAYAL25' (57) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (57) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.50', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54601, acctinputoctets = '0' << 32 | '8649', acctoutputoctets = '0' << 32 | '12970' WHERE AcctUniqueId = 'a3a73dcb941b81b774615e4b810ad6d5' (57) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.50', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54601, acctinputoctets = '0' << 32 | '8649', acctoutputoctets = '0' << 32 | '12970' WHERE AcctUniqueId = 'a3a73dcb941b81b774615e4b810ad6d5' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (57) sql: SQL query returned: success (57) sql: 1 record(s) updated rlm_sql (sql): Released connection (68) (57) [sql] = ok (57) [exec] = noop (57) attr_filter.accounting_response: EXPAND %{User-Name} (57) attr_filter.accounting_response: --> NAMGAYAL25 (57) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (57) [attr_filter.accounting_response] = updated (57) } # accounting = updated (57) Sent Accounting-Response Id 2 from 103.204.70.55:1813 to 103.190.8.10:39085 length 20 (57) Finished request (57) Cleaning up request packet ID 2 with timestamp +11 due to done Waking up in 0.3 seconds. (58) Received Accounting-Request Id 3 from 103.190.8.10:37904 to 103.204.70.55:1813 length 236 (58) Service-Type = Framed-User (58) Framed-Protocol = PPP (58) NAS-Port = 16090957 (58) NAS-Port-Type = Ethernet (58) User-Name = "gnc_rohit589sf" (58) Calling-Station-Id = "98:9D:B2:4C:F8:45" (58) NAS-Port-Id = "NEW_LCO" (58) Acct-Session-Id = "81557c4e" (58) Framed-IP-Address = 172.16.3.236 (58) Acct-Authentic = RADIUS (58) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (58) Acct-Session-Time = 55771 (58) Idle-Timeout = 0 (58) Session-Timeout = 9025586 (58) X-Ascend-Data-Rate = 205000000 (58) Ascend-Xmit-Rate = 205000000 (58) Mikrotik-Rate-Limit = "205M/205M" (58) Acct-Input-Octets = 978663465 (58) Acct-Input-Gigawords = 0 (58) Acct-Input-Packets = 2431790 (58) Acct-Output-Octets = 3703653428 (58) Acct-Output-Gigawords = 1 (58) Acct-Output-Packets = 6989715 (58) Acct-Status-Type = Interim-Update (58) NAS-Identifier = "CORE-ROUTER" (58) Acct-Delay-Time = 0 (58) NAS-IP-Address = 103.190.8.10 (58) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (58) preacct { (58) [preprocess] = ok (58) policy acct_unique { (58) update request { (58) &Tmp-String-9 := "ai:" (58) } # update request = noop (58) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (58) EXPAND %{hex:&Class} (58) --> (58) EXPAND ^%{hex:&Tmp-String-9} (58) --> ^61693a (58) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (58) else { (58) update request { (58) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (58) --> ea7eaef4223d30dd9a65e175dcdae86f (58) &Acct-Unique-Session-Id := ea7eaef4223d30dd9a65e175dcdae86f (58) } # update request = noop (58) } # else = noop (58) update request { (58) &Tmp-String-9 !* ANY (58) } # update request = noop (58) } # policy acct_unique = noop (58) suffix: Checking for suffix after "@" (58) suffix: No '@' in User-Name = "gnc_rohit589sf", looking up realm NULL (58) suffix: No such realm "NULL" (58) [suffix] = noop (58) [files] = noop (58) } # preacct = ok (58) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (58) accounting { (58) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (58) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (58) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (58) detail: EXPAND %t (58) detail: --> Fri Mar 27 04:23:05 2026 (58) [detail] = ok (58) [unix] = noop (58) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (58) sql: --> type.interim-update.query (58) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (68) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (69), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (69) (58) sql: EXPAND %{User-Name} (58) sql: --> gnc_rohit589sf (58) sql: SQL-User-Name set to 'gnc_rohit589sf' (58) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (58) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.236', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55771, acctinputoctets = '0' << 32 | '978663465', acctoutputoctets = '1' << 32 | '3703653428' WHERE AcctUniqueId = 'ea7eaef4223d30dd9a65e175dcdae86f' (58) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.236', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55771, acctinputoctets = '0' << 32 | '978663465', acctoutputoctets = '1' << 32 | '3703653428' WHERE AcctUniqueId = 'ea7eaef4223d30dd9a65e175dcdae86f' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (58) sql: SQL query returned: success (58) sql: 1 record(s) updated rlm_sql (sql): Released connection (69) (58) [sql] = ok (58) [exec] = noop (58) attr_filter.accounting_response: EXPAND %{User-Name} (58) attr_filter.accounting_response: --> gnc_rohit589sf (58) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (58) [attr_filter.accounting_response] = updated (58) } # accounting = updated (58) Sent Accounting-Response Id 3 from 103.204.70.55:1813 to 103.190.8.10:37904 length 20 (58) Finished request (58) Cleaning up request packet ID 3 with timestamp +11 due to done Waking up in 0.3 seconds. (59) Received Accounting-Request Id 4 from 103.190.8.10:36323 to 103.204.70.55:1813 length 244 (59) Service-Type = Framed-User (59) Framed-Protocol = PPP (59) NAS-Port = 16095650 (59) NAS-Port-Type = Ethernet (59) User-Name = "SATYAJIT217" (59) Calling-Station-Id = "BC:62:D2:32:9E:35" (59) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (59) Acct-Session-Id = "81558e9f" (59) Framed-IP-Address = 172.16.3.105 (59) Acct-Authentic = RADIUS (59) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (59) Acct-Session-Time = 38740 (59) Idle-Timeout = 0 (59) Session-Timeout = 14278955 (59) X-Ascend-Data-Rate = 62000000 (59) Ascend-Xmit-Rate = 62000000 (59) Mikrotik-Rate-Limit = "62M/62M" (59) Acct-Input-Octets = 230445359 (59) Acct-Input-Gigawords = 0 (59) Acct-Input-Packets = 871527 (59) Acct-Output-Octets = 1613127111 (59) Acct-Output-Gigawords = 1 (59) Acct-Output-Packets = 4948219 (59) Acct-Status-Type = Interim-Update (59) NAS-Identifier = "CORE-ROUTER" (59) Acct-Delay-Time = 0 (59) NAS-IP-Address = 103.190.8.10 (59) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (59) preacct { (59) [preprocess] = ok (59) policy acct_unique { (59) update request { (59) &Tmp-String-9 := "ai:" (59) } # update request = noop (59) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (59) EXPAND %{hex:&Class} (59) --> (59) EXPAND ^%{hex:&Tmp-String-9} (59) --> ^61693a (59) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (59) else { (59) update request { (59) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (59) --> a488affc72599b2fcbe11aa75d025277 (59) &Acct-Unique-Session-Id := a488affc72599b2fcbe11aa75d025277 (59) } # update request = noop (59) } # else = noop (59) update request { (59) &Tmp-String-9 !* ANY (59) } # update request = noop (59) } # policy acct_unique = noop (59) suffix: Checking for suffix after "@" (59) suffix: No '@' in User-Name = "SATYAJIT217", looking up realm NULL (59) suffix: No such realm "NULL" (59) [suffix] = noop (59) [files] = noop (59) } # preacct = ok (59) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (59) accounting { (59) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (59) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (59) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (59) detail: EXPAND %t (59) detail: --> Fri Mar 27 04:23:05 2026 (59) [detail] = ok (59) [unix] = noop (59) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (59) sql: --> type.interim-update.query (59) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (69) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (70), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (70) (59) sql: EXPAND %{User-Name} (59) sql: --> SATYAJIT217 (59) sql: SQL-User-Name set to 'SATYAJIT217' (59) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (59) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.105', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38740, acctinputoctets = '0' << 32 | '230445359', acctoutputoctets = '1' << 32 | '1613127111' WHERE AcctUniqueId = 'a488affc72599b2fcbe11aa75d025277' (59) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.105', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38740, acctinputoctets = '0' << 32 | '230445359', acctoutputoctets = '1' << 32 | '1613127111' WHERE AcctUniqueId = 'a488affc72599b2fcbe11aa75d025277' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (59) sql: SQL query returned: success (59) sql: 1 record(s) updated rlm_sql (sql): Released connection (70) (59) [sql] = ok (59) [exec] = noop (59) attr_filter.accounting_response: EXPAND %{User-Name} (59) attr_filter.accounting_response: --> SATYAJIT217 (59) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (59) [attr_filter.accounting_response] = updated (59) } # accounting = updated (59) Sent Accounting-Response Id 4 from 103.204.70.55:1813 to 103.190.8.10:36323 length 20 (59) Finished request (59) Cleaning up request packet ID 4 with timestamp +11 due to done Waking up in 0.3 seconds. (60) Received Accounting-Request Id 83 from 27.100.14.6:55135 to 103.204.70.55:1813 length 228 (60) Service-Type = Framed-User (60) Framed-Protocol = PPP (60) NAS-Port = 15740254 (60) NAS-Port-Type = Ethernet (60) User-Name = "9416437936" (60) Calling-Station-Id = "14:C3:5E:15:43:2F" (60) NAS-Port-Id = "ether3" (60) Acct-Session-Id = "81c0286c" (60) Framed-IP-Address = 10.10.10.155 (60) Acct-Authentic = RADIUS (60) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (60) Acct-Session-Time = 23401 (60) Idle-Timeout = 0 (60) Session-Timeout = 29470015 (60) X-Ascend-Data-Rate = 110000000 (60) Ascend-Xmit-Rate = 110000000 (60) Mikrotik-Rate-Limit = "110M/110M" (60) Acct-Input-Octets = 335345675 (60) Acct-Input-Gigawords = 0 (60) Acct-Input-Packets = 1164219 (60) Acct-Output-Octets = 2275524756 (60) Acct-Output-Gigawords = 1 (60) Acct-Output-Packets = 5346718 (60) Acct-Status-Type = Interim-Update (60) NAS-Identifier = "MikroTik" (60) Acct-Delay-Time = 0 (60) NAS-IP-Address = 27.100.14.6 (60) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (60) preacct { (60) [preprocess] = ok (60) policy acct_unique { (60) update request { (60) &Tmp-String-9 := "ai:" (60) } # update request = noop (60) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (60) EXPAND %{hex:&Class} (60) --> (60) EXPAND ^%{hex:&Tmp-String-9} (60) --> ^61693a (60) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (60) else { (60) update request { (60) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (60) --> cf5e717da93093afee37fdd985ada6a8 (60) &Acct-Unique-Session-Id := cf5e717da93093afee37fdd985ada6a8 (60) } # update request = noop (60) } # else = noop (60) update request { (60) &Tmp-String-9 !* ANY (60) } # update request = noop (60) } # policy acct_unique = noop (60) suffix: Checking for suffix after "@" (60) suffix: No '@' in User-Name = "9416437936", looking up realm NULL (60) suffix: No such realm "NULL" (60) [suffix] = noop (60) [files] = noop (60) } # preacct = ok (60) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (60) accounting { (60) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (60) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (60) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (60) detail: EXPAND %t (60) detail: --> Fri Mar 27 04:23:05 2026 (60) [detail] = ok (60) [unix] = noop (60) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (60) sql: --> type.interim-update.query (60) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (70) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (71), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (71) (60) sql: EXPAND %{User-Name} (60) sql: --> 9416437936 (60) sql: SQL-User-Name set to '9416437936' (60) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (60) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.155', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 23401, acctinputoctets = '0' << 32 | '335345675', acctoutputoctets = '1' << 32 | '2275524756' WHERE AcctUniqueId = 'cf5e717da93093afee37fdd985ada6a8' (60) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.155', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 23401, acctinputoctets = '0' << 32 | '335345675', acctoutputoctets = '1' << 32 | '2275524756' WHERE AcctUniqueId = 'cf5e717da93093afee37fdd985ada6a8' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (60) sql: SQL query returned: success (60) sql: 1 record(s) updated rlm_sql (sql): Released connection (71) (60) [sql] = ok (60) [exec] = noop (60) attr_filter.accounting_response: EXPAND %{User-Name} (60) attr_filter.accounting_response: --> 9416437936 (60) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (60) [attr_filter.accounting_response] = updated (60) } # accounting = updated (60) Sent Accounting-Response Id 83 from 103.204.70.55:1813 to 27.100.14.6:55135 length 20 (60) Finished request (60) Cleaning up request packet ID 83 with timestamp +11 due to done Waking up in 0.1 seconds. (61) Received Accounting-Request Id 5 from 103.190.8.10:45911 to 103.204.70.55:1813 length 244 (61) Service-Type = Framed-User (61) Framed-Protocol = PPP (61) NAS-Port = 16112889 (61) NAS-Port-Type = Ethernet (61) User-Name = "SHAMWATI278" (61) Calling-Station-Id = "50:2B:73:AB:37:60" (61) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (61) Acct-Session-Id = "8155d04e" (61) Framed-IP-Address = 172.16.4.67 (61) Acct-Authentic = RADIUS (61) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (61) Acct-Session-Time = 3380 (61) Idle-Timeout = 0 (61) Session-Timeout = 2147594 (61) X-Ascend-Data-Rate = 62000000 (61) Ascend-Xmit-Rate = 62000000 (61) Mikrotik-Rate-Limit = "62M/62M" (61) Acct-Input-Octets = 19578 (61) Acct-Input-Gigawords = 0 (61) Acct-Input-Packets = 236 (61) Acct-Output-Octets = 19032 (61) Acct-Output-Gigawords = 0 (61) Acct-Output-Packets = 231 (61) Acct-Status-Type = Interim-Update (61) NAS-Identifier = "CORE-ROUTER" (61) Acct-Delay-Time = 0 (61) NAS-IP-Address = 103.190.8.10 (61) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (61) preacct { (61) [preprocess] = ok (61) policy acct_unique { (61) update request { (61) &Tmp-String-9 := "ai:" (61) } # update request = noop (61) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (61) EXPAND %{hex:&Class} (61) --> (61) EXPAND ^%{hex:&Tmp-String-9} (61) --> ^61693a (61) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (61) else { (61) update request { (61) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (61) --> ca2007c3626adffe9367c0d711717720 (61) &Acct-Unique-Session-Id := ca2007c3626adffe9367c0d711717720 (61) } # update request = noop (61) } # else = noop (61) update request { (61) &Tmp-String-9 !* ANY (61) } # update request = noop (61) } # policy acct_unique = noop (61) suffix: Checking for suffix after "@" (61) suffix: No '@' in User-Name = "SHAMWATI278", looking up realm NULL (61) suffix: No such realm "NULL" (61) [suffix] = noop (61) [files] = noop (61) } # preacct = ok (61) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (61) accounting { (61) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (61) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (61) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (61) detail: EXPAND %t (61) detail: --> Fri Mar 27 04:23:05 2026 (61) [detail] = ok (61) [unix] = noop (61) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (61) sql: --> type.interim-update.query (61) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (71) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (72), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (72) (61) sql: EXPAND %{User-Name} (61) sql: --> SHAMWATI278 (61) sql: SQL-User-Name set to 'SHAMWATI278' (61) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (61) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.67', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 3380, acctinputoctets = '0' << 32 | '19578', acctoutputoctets = '0' << 32 | '19032' WHERE AcctUniqueId = 'ca2007c3626adffe9367c0d711717720' (61) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.67', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 3380, acctinputoctets = '0' << 32 | '19578', acctoutputoctets = '0' << 32 | '19032' WHERE AcctUniqueId = 'ca2007c3626adffe9367c0d711717720' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (61) sql: SQL query returned: success (61) sql: 1 record(s) updated rlm_sql (sql): Released connection (72) (61) [sql] = ok (61) [exec] = noop (61) attr_filter.accounting_response: EXPAND %{User-Name} (61) attr_filter.accounting_response: --> SHAMWATI278 (61) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (61) [attr_filter.accounting_response] = updated (61) } # accounting = updated (61) Sent Accounting-Response Id 5 from 103.204.70.55:1813 to 103.190.8.10:45911 length 20 (61) Finished request (61) Cleaning up request packet ID 5 with timestamp +11 due to done (50) Cleaning up request packet ID 251 with timestamp +9 due to cleanup_delay was reached Waking up in 1.0 seconds. (62) Received Access-Request Id 6 from 103.190.8.10:43504 to 103.204.70.55:1812 length 179 (62) Service-Type = Framed-User (62) Framed-Protocol = PPP (62) NAS-Port = 16116441 (62) NAS-Port-Type = Ethernet (62) User-Name = "SUNNY261" (62) Calling-Station-Id = "E8:65:D4:15:37:A8" (62) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (62) Acct-Session-Id = "8155ddc5" (62) CHAP-Challenge = 0xfab9f800b099eae01885d6b5bfea8888 (62) CHAP-Password = 0x01dd8bf0af9086fa520b0d4aca83a9bd4a (62) NAS-Identifier = "CORE-ROUTER" (62) NAS-IP-Address = 103.190.8.10 (62) Message-Authenticator = 0x20393285589e50270099c6ab7dcf03bc (62) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (62) authorize { (62) [preprocess] = ok (62) chap: &control:Auth-Type := CHAP (62) [chap] = ok (62) [mschap] = noop (62) [digest] = noop (62) suffix: Checking for suffix after "@" (62) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (62) suffix: No such realm "NULL" (62) [suffix] = noop (62) eap: No EAP-Message, not doing EAP (62) [eap] = noop (62) files: users: Matched entry DEFAULT at line 167 (62) [files] = ok (62) sql: EXPAND %{User-Name} (62) sql: --> SUNNY261 (62) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (72) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (73), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (73) (62) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (62) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (62) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (62) sql: User found in radcheck table (62) sql: Conditional check items matched, merging assignment check items (62) sql: Cleartext-Password := "123456" (62) sql: Expiration := "Mar 26 2026 23:59:59 IST" (62) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (62) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (62) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (62) sql: User found in radreply table, merging reply items (62) sql: Mikrotik-Rate-Limit := "62M/62M" (62) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (62) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (62) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (62) sql: User found in the group table (62) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (62) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (62) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (62) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (62) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (62) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (62) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (62) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (62) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (62) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (73) (62) [sql] = ok (62) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (62) [expiration] = userlock (62) } # authorize = userlock (62) Using Post-Auth-Type Reject (62) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (62) Post-Auth-Type REJECT { (62) sql: EXPAND .query (62) sql: --> .query (62) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (73) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (74), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (74) (62) sql: EXPAND %{User-Name} (62) sql: --> SUNNY261 (62) sql: SQL-User-Name set to 'SUNNY261' (62) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (62) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01dd8bf0af9086fa520b0d4aca83a9bd4a', 'Access-Reject', '2026-03-27 04:23:05.617977' ) (62) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01dd8bf0af9086fa520b0d4aca83a9bd4a', 'Access-Reject', '2026-03-27 04:23:05.617977' ) (62) sql: SQL query returned: success (62) sql: 1 record(s) updated rlm_sql (sql): Released connection (74) (62) [sql] = ok (62) attr_filter.access_reject: EXPAND %{User-Name} (62) attr_filter.access_reject: --> SUNNY261 (62) attr_filter.access_reject: Matched entry DEFAULT at line 11 (62) [attr_filter.access_reject] = updated (62) [eap] = noop (62) policy remove_reply_message_if_eap { (62) if (&reply:EAP-Message && &reply:Reply-Message) { (62) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (62) else { (62) [noop] = noop (62) } # else = noop (62) } # policy remove_reply_message_if_eap = noop (62) } # Post-Auth-Type REJECT = updated (62) Sent Access-Reject Id 6 from 103.204.70.55:1812 to 103.190.8.10:43504 length 38 (62) Finished request Waking up in 0.8 seconds. (63) Received Accounting-Request Id 7 from 103.190.8.10:44474 to 103.204.70.55:1813 length 243 (63) Service-Type = Framed-User (63) Framed-Protocol = PPP (63) NAS-Port = 16095848 (63) NAS-Port-Type = Ethernet (63) User-Name = "SANDEEP321" (63) Calling-Station-Id = "BC:62:D2:06:4D:E1" (63) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (63) Acct-Session-Id = "81558f65" (63) Framed-IP-Address = 172.16.3.251 (63) Acct-Authentic = RADIUS (63) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (63) Acct-Session-Time = 38090 (63) Idle-Timeout = 0 (63) Session-Timeout = 19203104 (63) X-Ascend-Data-Rate = 62000000 (63) Ascend-Xmit-Rate = 62000000 (63) Mikrotik-Rate-Limit = "62M/62M" (63) Acct-Input-Octets = 74240972 (63) Acct-Input-Gigawords = 0 (63) Acct-Input-Packets = 358857 (63) Acct-Output-Octets = 1980832481 (63) Acct-Output-Gigawords = 0 (63) Acct-Output-Packets = 1605381 (63) Acct-Status-Type = Interim-Update (63) NAS-Identifier = "CORE-ROUTER" (63) Acct-Delay-Time = 0 (63) NAS-IP-Address = 103.190.8.10 (63) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (63) preacct { (63) [preprocess] = ok (63) policy acct_unique { (63) update request { (63) &Tmp-String-9 := "ai:" (63) } # update request = noop (63) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (63) EXPAND %{hex:&Class} (63) --> (63) EXPAND ^%{hex:&Tmp-String-9} (63) --> ^61693a (63) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (63) else { (63) update request { (63) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (63) --> d5ed9f420243ab7a60cebf7984ed7738 (63) &Acct-Unique-Session-Id := d5ed9f420243ab7a60cebf7984ed7738 (63) } # update request = noop (63) } # else = noop (63) update request { (63) &Tmp-String-9 !* ANY (63) } # update request = noop (63) } # policy acct_unique = noop (63) suffix: Checking for suffix after "@" (63) suffix: No '@' in User-Name = "SANDEEP321", looking up realm NULL (63) suffix: No such realm "NULL" (63) [suffix] = noop (63) [files] = noop (63) } # preacct = ok (63) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (63) accounting { (63) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (63) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (63) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (63) detail: EXPAND %t (63) detail: --> Fri Mar 27 04:23:05 2026 (63) [detail] = ok (63) [unix] = noop (63) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (63) sql: --> type.interim-update.query (63) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (74) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (75), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (75) (63) sql: EXPAND %{User-Name} (63) sql: --> SANDEEP321 (63) sql: SQL-User-Name set to 'SANDEEP321' (63) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (63) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.251', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38090, acctinputoctets = '0' << 32 | '74240972', acctoutputoctets = '0' << 32 | '1980832481' WHERE AcctUniqueId = 'd5ed9f420243ab7a60cebf7984ed7738' (63) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.251', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38090, acctinputoctets = '0' << 32 | '74240972', acctoutputoctets = '0' << 32 | '1980832481' WHERE AcctUniqueId = 'd5ed9f420243ab7a60cebf7984ed7738' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (63) sql: SQL query returned: success (63) sql: 1 record(s) updated rlm_sql (sql): Released connection (75) (63) [sql] = ok (63) [exec] = noop (63) attr_filter.accounting_response: EXPAND %{User-Name} (63) attr_filter.accounting_response: --> SANDEEP321 (63) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (63) [attr_filter.accounting_response] = updated (63) } # accounting = updated (63) Sent Accounting-Response Id 7 from 103.204.70.55:1813 to 103.190.8.10:44474 length 20 (63) Finished request (63) Cleaning up request packet ID 7 with timestamp +11 due to done Waking up in 0.7 seconds. (64) Received Accounting-Request Id 8 from 103.190.8.10:44531 to 103.204.70.55:1813 length 242 (64) Service-Type = Framed-User (64) Framed-Protocol = PPP (64) NAS-Port = 16091384 (64) NAS-Port-Type = Ethernet (64) User-Name = "SUSHIL37B" (64) Calling-Station-Id = "9C:A2:F4:55:4A:FF" (64) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (64) Acct-Session-Id = "81557df7" (64) Framed-IP-Address = 172.16.4.124 (64) Acct-Authentic = RADIUS (64) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (64) Acct-Session-Time = 53951 (64) Idle-Timeout = 0 (64) Session-Timeout = 8678165 (64) X-Ascend-Data-Rate = 43000000 (64) Ascend-Xmit-Rate = 43000000 (64) Mikrotik-Rate-Limit = "43M/43M" (64) Acct-Input-Octets = 2488983041 (64) Acct-Input-Gigawords = 1 (64) Acct-Input-Packets = 8933381 (64) Acct-Output-Octets = 2691079944 (64) Acct-Output-Gigawords = 4 (64) Acct-Output-Packets = 16269539 (64) Acct-Status-Type = Interim-Update (64) NAS-Identifier = "CORE-ROUTER" (64) Acct-Delay-Time = 0 (64) NAS-IP-Address = 103.190.8.10 (64) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (64) preacct { (64) [preprocess] = ok (64) policy acct_unique { (64) update request { (64) &Tmp-String-9 := "ai:" (64) } # update request = noop (64) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (64) EXPAND %{hex:&Class} (64) --> (64) EXPAND ^%{hex:&Tmp-String-9} (64) --> ^61693a (64) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (64) else { (64) update request { (64) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (64) --> 9d6fe47a772ca9480aa748e4102deeb7 (64) &Acct-Unique-Session-Id := 9d6fe47a772ca9480aa748e4102deeb7 (64) } # update request = noop (64) } # else = noop (64) update request { (64) &Tmp-String-9 !* ANY (64) } # update request = noop (64) } # policy acct_unique = noop (64) suffix: Checking for suffix after "@" (64) suffix: No '@' in User-Name = "SUSHIL37B", looking up realm NULL (64) suffix: No such realm "NULL" (64) [suffix] = noop (64) [files] = noop (64) } # preacct = ok (64) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (64) accounting { (64) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (64) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (64) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (64) detail: EXPAND %t (64) detail: --> Fri Mar 27 04:23:05 2026 (64) [detail] = ok (64) [unix] = noop (64) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (64) sql: --> type.interim-update.query (64) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (75) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (76), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (76) (64) sql: EXPAND %{User-Name} (64) sql: --> SUSHIL37B (64) sql: SQL-User-Name set to 'SUSHIL37B' (64) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (64) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.124', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 53951, acctinputoctets = '1' << 32 | '2488983041', acctoutputoctets = '4' << 32 | '2691079944' WHERE AcctUniqueId = '9d6fe47a772ca9480aa748e4102deeb7' (64) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.124', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 53951, acctinputoctets = '1' << 32 | '2488983041', acctoutputoctets = '4' << 32 | '2691079944' WHERE AcctUniqueId = '9d6fe47a772ca9480aa748e4102deeb7' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (64) sql: SQL query returned: success (64) sql: 1 record(s) updated rlm_sql (sql): Released connection (76) (64) [sql] = ok (64) [exec] = noop (64) attr_filter.accounting_response: EXPAND %{User-Name} (64) attr_filter.accounting_response: --> SUSHIL37B (64) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (64) [attr_filter.accounting_response] = updated (64) } # accounting = updated (64) Sent Accounting-Response Id 8 from 103.204.70.55:1813 to 103.190.8.10:44531 length 20 (64) Finished request (64) Cleaning up request packet ID 8 with timestamp +11 due to done Waking up in 0.7 seconds. (65) Received Accounting-Request Id 9 from 103.190.8.10:55589 to 103.204.70.55:1813 length 240 (65) Service-Type = Framed-User (65) Framed-Protocol = PPP (65) NAS-Port = 16116432 (65) NAS-Port-Type = Ethernet (65) User-Name = "Mala@" (65) Calling-Station-Id = "04:95:E6:A7:C7:C0" (65) NAS-Port-Id = "RB_INTERNET-71" (65) Acct-Session-Id = "8155ddbc" (65) Framed-IP-Address = 172.16.3.243 (65) Acct-Authentic = RADIUS (65) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (65) Acct-Session-Time = 13 (65) Idle-Timeout = 0 (65) Session-Timeout = 10 (65) X-Ascend-Data-Rate = 105000000 (65) Ascend-Xmit-Rate = 105000000 (65) Mikrotik-Rate-Limit = "105M/105M" (65) Acct-Input-Octets = 890 (65) Acct-Input-Gigawords = 0 (65) Acct-Input-Packets = 14 (65) Acct-Output-Octets = 300 (65) Acct-Output-Gigawords = 0 (65) Acct-Output-Packets = 8 (65) Acct-Status-Type = Stop (65) Acct-Terminate-Cause = Session-Timeout (65) NAS-Identifier = "CORE-ROUTER" (65) Acct-Delay-Time = 0 (65) NAS-IP-Address = 103.190.8.10 (65) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (65) preacct { (65) [preprocess] = ok (65) policy acct_unique { (65) update request { (65) &Tmp-String-9 := "ai:" (65) } # update request = noop (65) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (65) EXPAND %{hex:&Class} (65) --> (65) EXPAND ^%{hex:&Tmp-String-9} (65) --> ^61693a (65) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (65) else { (65) update request { (65) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (65) --> a83c757bf48c7625379aac260632ef17 (65) &Acct-Unique-Session-Id := a83c757bf48c7625379aac260632ef17 (65) } # update request = noop (65) } # else = noop (65) update request { (65) &Tmp-String-9 !* ANY (65) } # update request = noop (65) } # policy acct_unique = noop (65) suffix: Checking for suffix after "@" (65) suffix: Looking up realm "" for User-Name = "Mala@" (65) suffix: No such realm "" (65) [suffix] = noop (65) [files] = noop (65) } # preacct = ok (65) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (65) accounting { (65) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (65) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (65) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (65) detail: EXPAND %t (65) detail: --> Fri Mar 27 04:23:05 2026 (65) [detail] = ok (65) [unix] = ok (65) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (65) sql: --> type.stop.query (65) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (76) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (77), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (77) (65) sql: EXPAND %{User-Name} (65) sql: --> Mala@ (65) sql: SQL-User-Name set to 'Mala@' (65) sql: EXPAND UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', acctterminatecause = '%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (65) sql: --> UPDATE radacct SET acctstoptime = FROM_UNIXTIME(1774565585), acctsessiontime = 13, acctinputoctets = '0' << 32 | '890', acctoutputoctets = '0' << 32 | '300', acctterminatecause = 'Session-Timeout', connectinfo_stop = '' WHERE AcctUniqueId = 'a83c757bf48c7625379aac260632ef17' (65) sql: Executing query: UPDATE radacct SET acctstoptime = FROM_UNIXTIME(1774565585), acctsessiontime = 13, acctinputoctets = '0' << 32 | '890', acctoutputoctets = '0' << 32 | '300', acctterminatecause = 'Session-Timeout', connectinfo_stop = '' WHERE AcctUniqueId = 'a83c757bf48c7625379aac260632ef17' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 0 (65) sql: SQL query returned: success (65) sql: 1 record(s) updated rlm_sql (sql): Released connection (77) (65) [sql] = ok (65) [exec] = noop (65) attr_filter.accounting_response: EXPAND %{User-Name} (65) attr_filter.accounting_response: --> Mala@ (65) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (65) [attr_filter.accounting_response] = updated (65) } # accounting = updated (65) Sent Accounting-Response Id 9 from 103.204.70.55:1813 to 103.190.8.10:55589 length 20 (65) Finished request (65) Cleaning up request packet ID 9 with timestamp +11 due to done Waking up in 0.5 seconds. (66) Received Accounting-Request Id 10 from 103.190.8.10:59698 to 103.204.70.55:1813 length 241 (66) Service-Type = Framed-User (66) Framed-Protocol = PPP (66) NAS-Port = 16091234 (66) NAS-Port-Type = Ethernet (66) User-Name = "MAAHI305" (66) Calling-Station-Id = "F0:ED:B8:00:A5:19" (66) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (66) Acct-Session-Id = "81557d61" (66) Framed-IP-Address = 172.16.3.115 (66) Acct-Authentic = RADIUS (66) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (66) Acct-Session-Time = 54601 (66) Idle-Timeout = 0 (66) Session-Timeout = 9542815 (66) X-Ascend-Data-Rate = 62000000 (66) Ascend-Xmit-Rate = 62000000 (66) Mikrotik-Rate-Limit = "62M/62M" (66) Acct-Input-Octets = 943682265 (66) Acct-Input-Gigawords = 0 (66) Acct-Input-Packets = 1754714 (66) Acct-Output-Octets = 2033838345 (66) Acct-Output-Gigawords = 1 (66) Acct-Output-Packets = 5534237 (66) Acct-Status-Type = Interim-Update (66) NAS-Identifier = "CORE-ROUTER" (66) Acct-Delay-Time = 0 (66) NAS-IP-Address = 103.190.8.10 (66) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (66) preacct { (66) [preprocess] = ok (66) policy acct_unique { (66) update request { (66) &Tmp-String-9 := "ai:" (66) } # update request = noop (66) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (66) EXPAND %{hex:&Class} (66) --> (66) EXPAND ^%{hex:&Tmp-String-9} (66) --> ^61693a (66) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (66) else { (66) update request { (66) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (66) --> fc1d38b428d069f9e3ea0c5a2fae7ef8 (66) &Acct-Unique-Session-Id := fc1d38b428d069f9e3ea0c5a2fae7ef8 (66) } # update request = noop (66) } # else = noop (66) update request { (66) &Tmp-String-9 !* ANY (66) } # update request = noop (66) } # policy acct_unique = noop (66) suffix: Checking for suffix after "@" (66) suffix: No '@' in User-Name = "MAAHI305", looking up realm NULL (66) suffix: No such realm "NULL" (66) [suffix] = noop (66) [files] = noop (66) } # preacct = ok (66) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (66) accounting { (66) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (66) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (66) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (66) detail: EXPAND %t (66) detail: --> Fri Mar 27 04:23:05 2026 (66) [detail] = ok (66) [unix] = noop (66) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (66) sql: --> type.interim-update.query (66) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (77) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (78), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (78) (66) sql: EXPAND %{User-Name} (66) sql: --> MAAHI305 (66) sql: SQL-User-Name set to 'MAAHI305' (66) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (66) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.115', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54601, acctinputoctets = '0' << 32 | '943682265', acctoutputoctets = '1' << 32 | '2033838345' WHERE AcctUniqueId = 'fc1d38b428d069f9e3ea0c5a2fae7ef8' (66) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.115', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54601, acctinputoctets = '0' << 32 | '943682265', acctoutputoctets = '1' << 32 | '2033838345' WHERE AcctUniqueId = 'fc1d38b428d069f9e3ea0c5a2fae7ef8' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (66) sql: SQL query returned: success (66) sql: 1 record(s) updated rlm_sql (sql): Released connection (78) (66) [sql] = ok (66) [exec] = noop (66) attr_filter.accounting_response: EXPAND %{User-Name} (66) attr_filter.accounting_response: --> MAAHI305 (66) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (66) [attr_filter.accounting_response] = updated (66) } # accounting = updated (66) Sent Accounting-Response Id 10 from 103.204.70.55:1813 to 103.190.8.10:59698 length 20 (66) Finished request (66) Cleaning up request packet ID 10 with timestamp +11 due to done Waking up in 0.5 seconds. (67) Received Accounting-Request Id 11 from 103.190.8.10:41742 to 103.204.70.55:1813 length 243 (67) Service-Type = Framed-User (67) Framed-Protocol = PPP (67) NAS-Port = 16088167 (67) NAS-Port-Type = Ethernet (67) User-Name = "KANAHIYA84" (67) Calling-Station-Id = "54:37:BB:C2:6D:97" (67) NAS-Port-Id = "Vlan-89-VIKASH_NET" (67) Acct-Session-Id = "81557227" (67) Framed-IP-Address = 172.16.4.162 (67) Acct-Authentic = RADIUS (67) Event-Timestamp = "Mar 27 2026 04:23:05 IST" (67) Acct-Session-Time = 68511 (67) Idle-Timeout = 0 (67) Session-Timeout = 1953525 (67) X-Ascend-Data-Rate = 105000000 (67) Ascend-Xmit-Rate = 105000000 (67) Mikrotik-Rate-Limit = "105M/105M" (67) Acct-Input-Octets = 426126430 (67) Acct-Input-Gigawords = 0 (67) Acct-Input-Packets = 1765682 (67) Acct-Output-Octets = 3818554661 (67) Acct-Output-Gigawords = 1 (67) Acct-Output-Packets = 6491667 (67) Acct-Status-Type = Interim-Update (67) NAS-Identifier = "CORE-ROUTER" (67) Acct-Delay-Time = 0 (67) NAS-IP-Address = 103.190.8.10 (67) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (67) preacct { (67) [preprocess] = ok (67) policy acct_unique { (67) update request { (67) &Tmp-String-9 := "ai:" (67) } # update request = noop (67) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (67) EXPAND %{hex:&Class} (67) --> (67) EXPAND ^%{hex:&Tmp-String-9} (67) --> ^61693a (67) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (67) else { (67) update request { (67) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (67) --> bb0132fc0850ee62c24ac62b8a078d77 (67) &Acct-Unique-Session-Id := bb0132fc0850ee62c24ac62b8a078d77 (67) } # update request = noop (67) } # else = noop (67) update request { (67) &Tmp-String-9 !* ANY (67) } # update request = noop (67) } # policy acct_unique = noop (67) suffix: Checking for suffix after "@" (67) suffix: No '@' in User-Name = "KANAHIYA84", looking up realm NULL (67) suffix: No such realm "NULL" (67) [suffix] = noop (67) [files] = noop (67) } # preacct = ok (67) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (67) accounting { (67) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (67) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (67) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (67) detail: EXPAND %t (67) detail: --> Fri Mar 27 04:23:05 2026 (67) [detail] = ok (67) [unix] = noop (67) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (67) sql: --> type.interim-update.query (67) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (78) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (79), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (79) (67) sql: EXPAND %{User-Name} (67) sql: --> KANAHIYA84 (67) sql: SQL-User-Name set to 'KANAHIYA84' (67) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (67) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.162', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 68511, acctinputoctets = '0' << 32 | '426126430', acctoutputoctets = '1' << 32 | '3818554661' WHERE AcctUniqueId = 'bb0132fc0850ee62c24ac62b8a078d77' (67) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565585), acctinterval = 1774565585 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.162', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 68511, acctinputoctets = '0' << 32 | '426126430', acctoutputoctets = '1' << 32 | '3818554661' WHERE AcctUniqueId = 'bb0132fc0850ee62c24ac62b8a078d77' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (67) sql: SQL query returned: success (67) sql: 1 record(s) updated rlm_sql (sql): Released connection (79) (67) [sql] = ok (67) [exec] = noop (67) attr_filter.accounting_response: EXPAND %{User-Name} (67) attr_filter.accounting_response: --> KANAHIYA84 (67) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (67) [attr_filter.accounting_response] = updated (67) } # accounting = updated (67) Sent Accounting-Response Id 11 from 103.204.70.55:1813 to 103.190.8.10:41742 length 20 (67) Finished request (67) Cleaning up request packet ID 11 with timestamp +11 due to done Waking up in 0.5 seconds. (68) Received Accounting-Request Id 12 from 103.190.8.10:50513 to 103.204.70.55:1813 length 244 (68) Service-Type = Framed-User (68) Framed-Protocol = PPP (68) NAS-Port = 16107013 (68) NAS-Port-Type = Ethernet (68) User-Name = "BIJENDRA220" (68) Calling-Station-Id = "78:17:35:24:33:A4" (68) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (68) Acct-Session-Id = "8155b9fa" (68) Framed-IP-Address = 172.16.4.243 (68) Acct-Authentic = RADIUS (68) Event-Timestamp = "Mar 27 2026 04:23:06 IST" (68) Acct-Session-Time = 8970 (68) Idle-Timeout = 0 (68) Session-Timeout = 10965984 (68) X-Ascend-Data-Rate = 62000000 (68) Ascend-Xmit-Rate = 62000000 (68) Mikrotik-Rate-Limit = "62M/62M" (68) Acct-Input-Octets = 62702860 (68) Acct-Input-Gigawords = 0 (68) Acct-Input-Packets = 594066 (68) Acct-Output-Octets = 2385040044 (68) Acct-Output-Gigawords = 0 (68) Acct-Output-Packets = 1751617 (68) Acct-Status-Type = Interim-Update (68) NAS-Identifier = "CORE-ROUTER" (68) Acct-Delay-Time = 0 (68) NAS-IP-Address = 103.190.8.10 (68) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (68) preacct { (68) [preprocess] = ok (68) policy acct_unique { (68) update request { (68) &Tmp-String-9 := "ai:" (68) } # update request = noop (68) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (68) EXPAND %{hex:&Class} (68) --> (68) EXPAND ^%{hex:&Tmp-String-9} (68) --> ^61693a (68) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (68) else { (68) update request { (68) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (68) --> caf4856828cab8d9f230702f318133db (68) &Acct-Unique-Session-Id := caf4856828cab8d9f230702f318133db (68) } # update request = noop (68) } # else = noop (68) update request { (68) &Tmp-String-9 !* ANY (68) } # update request = noop (68) } # policy acct_unique = noop (68) suffix: Checking for suffix after "@" (68) suffix: No '@' in User-Name = "BIJENDRA220", looking up realm NULL (68) suffix: No such realm "NULL" (68) [suffix] = noop (68) [files] = noop (68) } # preacct = ok (68) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (68) accounting { (68) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (68) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (68) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (68) detail: EXPAND %t (68) detail: --> Fri Mar 27 04:23:06 2026 (68) [detail] = ok (68) [unix] = noop (68) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (68) sql: --> type.interim-update.query (68) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (79) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (80), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (80) (68) sql: EXPAND %{User-Name} (68) sql: --> BIJENDRA220 (68) sql: SQL-User-Name set to 'BIJENDRA220' (68) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (68) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565586), acctinterval = 1774565586 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.243', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 8970, acctinputoctets = '0' << 32 | '62702860', acctoutputoctets = '0' << 32 | '2385040044' WHERE AcctUniqueId = 'caf4856828cab8d9f230702f318133db' (68) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565586), acctinterval = 1774565586 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.243', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 8970, acctinputoctets = '0' << 32 | '62702860', acctoutputoctets = '0' << 32 | '2385040044' WHERE AcctUniqueId = 'caf4856828cab8d9f230702f318133db' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (68) sql: SQL query returned: success (68) sql: 1 record(s) updated rlm_sql (sql): Released connection (80) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (81), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (80) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (68) [sql] = ok (68) [exec] = noop (68) attr_filter.accounting_response: EXPAND %{User-Name} (68) attr_filter.accounting_response: --> BIJENDRA220 (68) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (68) [attr_filter.accounting_response] = updated (68) } # accounting = updated (68) Sent Accounting-Response Id 12 from 103.204.70.55:1813 to 103.190.8.10:50513 length 20 (68) Finished request (68) Cleaning up request packet ID 12 with timestamp +12 due to done Waking up in 0.4 seconds. (55) Cleaning up request packet ID 0 with timestamp +10 due to cleanup_delay was reached Waking up in 1.1 seconds. (69) Received Accounting-Request Id 13 from 103.190.8.10:40796 to 103.204.70.55:1813 length 241 (69) Service-Type = Framed-User (69) Framed-Protocol = PPP (69) NAS-Port = 16100244 (69) NAS-Port-Type = Ethernet (69) User-Name = "LAXMI324" (69) Calling-Station-Id = "40:3F:8C:8F:1B:89" (69) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (69) Acct-Session-Id = "81559fec" (69) Framed-IP-Address = 172.16.3.107 (69) Acct-Authentic = RADIUS (69) Event-Timestamp = "Mar 27 2026 04:23:06 IST" (69) Acct-Session-Time = 16250 (69) Idle-Timeout = 0 (69) Session-Timeout = 1987663 (69) X-Ascend-Data-Rate = 62000000 (69) Ascend-Xmit-Rate = 62000000 (69) Mikrotik-Rate-Limit = "62M/62M" (69) Acct-Input-Octets = 39240991 (69) Acct-Input-Gigawords = 0 (69) Acct-Input-Packets = 162784 (69) Acct-Output-Octets = 963867651 (69) Acct-Output-Gigawords = 0 (69) Acct-Output-Packets = 772908 (69) Acct-Status-Type = Interim-Update (69) NAS-Identifier = "CORE-ROUTER" (69) Acct-Delay-Time = 0 (69) NAS-IP-Address = 103.190.8.10 (69) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (69) preacct { (69) [preprocess] = ok (69) policy acct_unique { (69) update request { (69) &Tmp-String-9 := "ai:" (69) } # update request = noop (69) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (69) EXPAND %{hex:&Class} (69) --> (69) EXPAND ^%{hex:&Tmp-String-9} (69) --> ^61693a (69) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (69) else { (69) update request { (69) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (69) --> 3e8aef6930b9dc56e0351cd3e5cdc77a (69) &Acct-Unique-Session-Id := 3e8aef6930b9dc56e0351cd3e5cdc77a (69) } # update request = noop (69) } # else = noop (69) update request { (69) &Tmp-String-9 !* ANY (69) } # update request = noop (69) } # policy acct_unique = noop (69) suffix: Checking for suffix after "@" (69) suffix: No '@' in User-Name = "LAXMI324", looking up realm NULL (69) suffix: No such realm "NULL" (69) [suffix] = noop (69) [files] = noop (69) } # preacct = ok (69) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (69) accounting { (69) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (69) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (69) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (69) detail: EXPAND %t (69) detail: --> Fri Mar 27 04:23:06 2026 (69) [detail] = ok (69) [unix] = noop (69) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (69) sql: --> type.interim-update.query (69) sql: Using query template 'query' rlm_sql (sql): Reserved connection (81) (69) sql: EXPAND %{User-Name} (69) sql: --> LAXMI324 (69) sql: SQL-User-Name set to 'LAXMI324' (69) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (69) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565586), acctinterval = 1774565586 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.107', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 16250, acctinputoctets = '0' << 32 | '39240991', acctoutputoctets = '0' << 32 | '963867651' WHERE AcctUniqueId = '3e8aef6930b9dc56e0351cd3e5cdc77a' (69) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565586), acctinterval = 1774565586 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.107', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 16250, acctinputoctets = '0' << 32 | '39240991', acctoutputoctets = '0' << 32 | '963867651' WHERE AcctUniqueId = '3e8aef6930b9dc56e0351cd3e5cdc77a' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (69) sql: SQL query returned: success (69) sql: 1 record(s) updated rlm_sql (sql): Released connection (81) (69) [sql] = ok (69) [exec] = noop (69) attr_filter.accounting_response: EXPAND %{User-Name} (69) attr_filter.accounting_response: --> LAXMI324 (69) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (69) [attr_filter.accounting_response] = updated (69) } # accounting = updated (69) Sent Accounting-Response Id 13 from 103.204.70.55:1813 to 103.190.8.10:40796 length 20 (69) Finished request (69) Cleaning up request packet ID 13 with timestamp +12 due to done Waking up in 1.0 seconds. (70) Received Access-Request Id 14 from 103.190.8.10:54222 to 103.204.70.55:1812 length 179 (70) Service-Type = Framed-User (70) Framed-Protocol = PPP (70) NAS-Port = 16116442 (70) NAS-Port-Type = Ethernet (70) User-Name = "SUNNY261" (70) Calling-Station-Id = "E8:65:D4:15:37:A8" (70) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (70) Acct-Session-Id = "8155ddc6" (70) CHAP-Challenge = 0x339146c251f774070068fe680595f99b (70) CHAP-Password = 0x01dad13c0aa43291bc78f1d84dabc82ae3 (70) NAS-Identifier = "CORE-ROUTER" (70) NAS-IP-Address = 103.190.8.10 (70) Message-Authenticator = 0x87c41cdd05dbfdfbc87d2e7dfbb3a1fa (70) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (70) authorize { (70) [preprocess] = ok (70) chap: &control:Auth-Type := CHAP (70) [chap] = ok (70) [mschap] = noop (70) [digest] = noop (70) suffix: Checking for suffix after "@" (70) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (70) suffix: No such realm "NULL" (70) [suffix] = noop (70) eap: No EAP-Message, not doing EAP (70) [eap] = noop (70) files: users: Matched entry DEFAULT at line 167 (70) [files] = ok (70) sql: EXPAND %{User-Name} (70) sql: --> SUNNY261 (70) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (81) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (82), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (82) (70) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (70) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (70) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (70) sql: User found in radcheck table (70) sql: Conditional check items matched, merging assignment check items (70) sql: Cleartext-Password := "123456" (70) sql: Expiration := "Mar 26 2026 23:59:59 IST" (70) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (70) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (70) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (70) sql: User found in radreply table, merging reply items (70) sql: Mikrotik-Rate-Limit := "62M/62M" (70) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (70) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (70) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (70) sql: User found in the group table (70) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (70) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (70) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (70) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (70) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (70) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (70) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (70) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (70) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (70) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (82) (70) [sql] = ok (70) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (70) [expiration] = userlock (70) } # authorize = userlock (70) Using Post-Auth-Type Reject (70) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (70) Post-Auth-Type REJECT { (70) sql: EXPAND .query (70) sql: --> .query (70) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (82) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (83), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (83) (70) sql: EXPAND %{User-Name} (70) sql: --> SUNNY261 (70) sql: SQL-User-Name set to 'SUNNY261' (70) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (70) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01dad13c0aa43291bc78f1d84dabc82ae3', 'Access-Reject', '2026-03-27 04:23:06.718193' ) (70) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01dad13c0aa43291bc78f1d84dabc82ae3', 'Access-Reject', '2026-03-27 04:23:06.718193' ) (70) sql: SQL query returned: success (70) sql: 1 record(s) updated rlm_sql (sql): Released connection (83) (70) [sql] = ok (70) attr_filter.access_reject: EXPAND %{User-Name} (70) attr_filter.access_reject: --> SUNNY261 (70) attr_filter.access_reject: Matched entry DEFAULT at line 11 (70) [attr_filter.access_reject] = updated (70) [eap] = noop (70) policy remove_reply_message_if_eap { (70) if (&reply:EAP-Message && &reply:Reply-Message) { (70) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (70) else { (70) [noop] = noop (70) } # else = noop (70) } # policy remove_reply_message_if_eap = noop (70) } # Post-Auth-Type REJECT = updated (70) Sent Access-Reject Id 14 from 103.204.70.55:1812 to 103.190.8.10:54222 length 38 (70) Finished request Waking up in 0.8 seconds. (71) Received Accounting-Request Id 15 from 103.190.8.10:59389 to 103.204.70.55:1813 length 246 (71) Service-Type = Framed-User (71) Framed-Protocol = PPP (71) NAS-Port = 16090873 (71) NAS-Port-Type = Ethernet (71) User-Name = "gnc_karanhostal_gx131992" (71) Calling-Station-Id = "B4:86:18:83:86:E3" (71) NAS-Port-Id = "NEW_LCO" (71) Acct-Session-Id = "81557bf8" (71) Framed-IP-Address = 172.16.3.208 (71) Acct-Authentic = RADIUS (71) Event-Timestamp = "Mar 27 2026 04:23:06 IST" (71) Acct-Session-Time = 56161 (71) Idle-Timeout = 0 (71) Session-Timeout = 13950774 (71) X-Ascend-Data-Rate = 105000000 (71) Ascend-Xmit-Rate = 105000000 (71) Mikrotik-Rate-Limit = "105M/105M" (71) Acct-Input-Octets = 270336120 (71) Acct-Input-Gigawords = 0 (71) Acct-Input-Packets = 812160 (71) Acct-Output-Octets = 381972632 (71) Acct-Output-Gigawords = 1 (71) Acct-Output-Packets = 3928781 (71) Acct-Status-Type = Interim-Update (71) NAS-Identifier = "CORE-ROUTER" (71) Acct-Delay-Time = 0 (71) NAS-IP-Address = 103.190.8.10 (71) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (71) preacct { (71) [preprocess] = ok (71) policy acct_unique { (71) update request { (71) &Tmp-String-9 := "ai:" (71) } # update request = noop (71) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (71) EXPAND %{hex:&Class} (71) --> (71) EXPAND ^%{hex:&Tmp-String-9} (71) --> ^61693a (71) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (71) else { (71) update request { (71) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (71) --> 9f95064a730de51c4fb13255bc6934b7 (71) &Acct-Unique-Session-Id := 9f95064a730de51c4fb13255bc6934b7 (71) } # update request = noop (71) } # else = noop (71) update request { (71) &Tmp-String-9 !* ANY (71) } # update request = noop (71) } # policy acct_unique = noop (71) suffix: Checking for suffix after "@" (71) suffix: No '@' in User-Name = "gnc_karanhostal_gx131992", looking up realm NULL (71) suffix: No such realm "NULL" (71) [suffix] = noop (71) [files] = noop (71) } # preacct = ok (71) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (71) accounting { (71) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (71) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (71) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (71) detail: EXPAND %t (71) detail: --> Fri Mar 27 04:23:06 2026 (71) [detail] = ok (71) [unix] = noop (71) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (71) sql: --> type.interim-update.query (71) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (83) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (84), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (84) (71) sql: EXPAND %{User-Name} (71) sql: --> gnc_karanhostal_gx131992 (71) sql: SQL-User-Name set to 'gnc_karanhostal_gx131992' (71) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (71) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565586), acctinterval = 1774565586 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.208', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 56161, acctinputoctets = '0' << 32 | '270336120', acctoutputoctets = '1' << 32 | '381972632' WHERE AcctUniqueId = '9f95064a730de51c4fb13255bc6934b7' (71) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565586), acctinterval = 1774565586 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.208', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 56161, acctinputoctets = '0' << 32 | '270336120', acctoutputoctets = '1' << 32 | '381972632' WHERE AcctUniqueId = '9f95064a730de51c4fb13255bc6934b7' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (71) sql: SQL query returned: success (71) sql: 1 record(s) updated rlm_sql (sql): Released connection (84) (71) [sql] = ok (71) [exec] = noop (71) attr_filter.accounting_response: EXPAND %{User-Name} (71) attr_filter.accounting_response: --> gnc_karanhostal_gx131992 (71) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (71) [attr_filter.accounting_response] = updated (71) } # accounting = updated (71) Sent Accounting-Response Id 15 from 103.204.70.55:1813 to 103.190.8.10:59389 length 20 (71) Finished request (71) Cleaning up request packet ID 15 with timestamp +12 due to done Waking up in 0.7 seconds. (72) Received Accounting-Request Id 16 from 103.190.8.10:34032 to 103.204.70.55:1813 length 242 (72) Service-Type = Framed-User (72) Framed-Protocol = PPP (72) NAS-Port = 16096990 (72) NAS-Port-Type = Ethernet (72) User-Name = "BRAHAM139" (72) Calling-Station-Id = "78:17:35:2E:C1:04" (72) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (72) Acct-Session-Id = "815593d8" (72) Framed-IP-Address = 172.16.5.43 (72) Acct-Authentic = RADIUS (72) Event-Timestamp = "Mar 27 2026 04:23:07 IST" (72) Acct-Session-Time = 33540 (72) Idle-Timeout = 0 (72) Session-Timeout = 2436953 (72) X-Ascend-Data-Rate = 62000000 (72) Ascend-Xmit-Rate = 62000000 (72) Mikrotik-Rate-Limit = "62M/62M" (72) Acct-Input-Octets = 93823935 (72) Acct-Input-Gigawords = 0 (72) Acct-Input-Packets = 483679 (72) Acct-Output-Octets = 3771829386 (72) Acct-Output-Gigawords = 0 (72) Acct-Output-Packets = 2970090 (72) Acct-Status-Type = Interim-Update (72) NAS-Identifier = "CORE-ROUTER" (72) Acct-Delay-Time = 0 (72) NAS-IP-Address = 103.190.8.10 (72) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (72) preacct { (72) [preprocess] = ok (72) policy acct_unique { (72) update request { (72) &Tmp-String-9 := "ai:" (72) } # update request = noop (72) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (72) EXPAND %{hex:&Class} (72) --> (72) EXPAND ^%{hex:&Tmp-String-9} (72) --> ^61693a (72) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (72) else { (72) update request { (72) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (72) --> d513c5c6f270289bb37a5ba14570462a (72) &Acct-Unique-Session-Id := d513c5c6f270289bb37a5ba14570462a (72) } # update request = noop (72) } # else = noop (72) update request { (72) &Tmp-String-9 !* ANY (72) } # update request = noop (72) } # policy acct_unique = noop (72) suffix: Checking for suffix after "@" (72) suffix: No '@' in User-Name = "BRAHAM139", looking up realm NULL (72) suffix: No such realm "NULL" (72) [suffix] = noop (72) [files] = noop (72) } # preacct = ok (72) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (72) accounting { (72) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (72) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (72) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (72) detail: EXPAND %t (72) detail: --> Fri Mar 27 04:23:07 2026 (72) [detail] = ok (72) [unix] = noop (72) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (72) sql: --> type.interim-update.query (72) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (84) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (85), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (85) (72) sql: EXPAND %{User-Name} (72) sql: --> BRAHAM139 (72) sql: SQL-User-Name set to 'BRAHAM139' (72) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (72) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565587), acctinterval = 1774565587 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.43', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 33540, acctinputoctets = '0' << 32 | '93823935', acctoutputoctets = '0' << 32 | '3771829386' WHERE AcctUniqueId = 'd513c5c6f270289bb37a5ba14570462a' (72) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565587), acctinterval = 1774565587 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.43', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 33540, acctinputoctets = '0' << 32 | '93823935', acctoutputoctets = '0' << 32 | '3771829386' WHERE AcctUniqueId = 'd513c5c6f270289bb37a5ba14570462a' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (72) sql: SQL query returned: success (72) sql: 1 record(s) updated rlm_sql (sql): Released connection (85) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (86), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (85) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (72) [sql] = ok (72) [exec] = noop (72) attr_filter.accounting_response: EXPAND %{User-Name} (72) attr_filter.accounting_response: --> BRAHAM139 (72) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (72) [attr_filter.accounting_response] = updated (72) } # accounting = updated (72) Sent Accounting-Response Id 16 from 103.204.70.55:1813 to 103.190.8.10:34032 length 20 (72) Finished request (72) Cleaning up request packet ID 16 with timestamp +13 due to done Waking up in 0.5 seconds. (73) Received Accounting-Request Id 17 from 103.190.8.10:52344 to 103.204.70.55:1813 length 241 (73) Service-Type = Framed-User (73) Framed-Protocol = PPP (73) NAS-Port = 16095564 (73) NAS-Port-Type = Ethernet (73) User-Name = "VICKY252" (73) Calling-Station-Id = "B8:19:04:DB:59:E7" (73) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (73) Acct-Session-Id = "81558e49" (73) Framed-IP-Address = 172.16.3.40 (73) Acct-Authentic = RADIUS (73) Event-Timestamp = "Mar 27 2026 04:23:07 IST" (73) Acct-Session-Time = 39001 (73) Idle-Timeout = 0 (73) Session-Timeout = 6503213 (73) X-Ascend-Data-Rate = 42000000 (73) Ascend-Xmit-Rate = 42000000 (73) Mikrotik-Rate-Limit = "42M/42M" (73) Acct-Input-Octets = 758605293 (73) Acct-Input-Gigawords = 0 (73) Acct-Input-Packets = 2790644 (73) Acct-Output-Octets = 3229971760 (73) Acct-Output-Gigawords = 2 (73) Acct-Output-Packets = 9695256 (73) Acct-Status-Type = Interim-Update (73) NAS-Identifier = "CORE-ROUTER" (73) Acct-Delay-Time = 0 (73) NAS-IP-Address = 103.190.8.10 (73) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (73) preacct { (73) [preprocess] = ok (73) policy acct_unique { (73) update request { (73) &Tmp-String-9 := "ai:" (73) } # update request = noop (73) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (73) EXPAND %{hex:&Class} (73) --> (73) EXPAND ^%{hex:&Tmp-String-9} (73) --> ^61693a (73) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (73) else { (73) update request { (73) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (73) --> cb12b52fd15b56a5107beb3b7c17a49b (73) &Acct-Unique-Session-Id := cb12b52fd15b56a5107beb3b7c17a49b (73) } # update request = noop (73) } # else = noop (73) update request { (73) &Tmp-String-9 !* ANY (73) } # update request = noop (73) } # policy acct_unique = noop (73) suffix: Checking for suffix after "@" (73) suffix: No '@' in User-Name = "VICKY252", looking up realm NULL (73) suffix: No such realm "NULL" (73) [suffix] = noop (73) [files] = noop (73) } # preacct = ok (73) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (73) accounting { (73) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (73) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (73) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (73) detail: EXPAND %t (73) detail: --> Fri Mar 27 04:23:07 2026 (73) [detail] = ok (73) [unix] = noop (73) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (73) sql: --> type.interim-update.query (73) sql: Using query template 'query' rlm_sql (sql): Reserved connection (86) (73) sql: EXPAND %{User-Name} (73) sql: --> VICKY252 (73) sql: SQL-User-Name set to 'VICKY252' (73) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (73) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565587), acctinterval = 1774565587 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.40', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '758605293', acctoutputoctets = '2' << 32 | '3229971760' WHERE AcctUniqueId = 'cb12b52fd15b56a5107beb3b7c17a49b' (73) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565587), acctinterval = 1774565587 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.40', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '758605293', acctoutputoctets = '2' << 32 | '3229971760' WHERE AcctUniqueId = 'cb12b52fd15b56a5107beb3b7c17a49b' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (73) sql: SQL query returned: success (73) sql: 1 record(s) updated rlm_sql (sql): Released connection (86) (73) [sql] = ok (73) [exec] = noop (73) attr_filter.accounting_response: EXPAND %{User-Name} (73) attr_filter.accounting_response: --> VICKY252 (73) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (73) [attr_filter.accounting_response] = updated (73) } # accounting = updated (73) Sent Accounting-Response Id 17 from 103.204.70.55:1813 to 103.190.8.10:52344 length 20 (73) Finished request (73) Cleaning up request packet ID 17 with timestamp +13 due to done (62) Cleaning up request packet ID 6 with timestamp +11 due to cleanup_delay was reached Waking up in 1.1 seconds. (74) Received Access-Request Id 18 from 103.190.8.10:36495 to 103.204.70.55:1812 length 179 (74) Service-Type = Framed-User (74) Framed-Protocol = PPP (74) NAS-Port = 16116443 (74) NAS-Port-Type = Ethernet (74) User-Name = "SUNNY261" (74) Calling-Station-Id = "E8:65:D4:15:37:A8" (74) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (74) Acct-Session-Id = "8155ddc7" (74) CHAP-Challenge = 0xd17c4de191cd47c81252a9264f7abe0e (74) CHAP-Password = 0x01e8268441dc84f37efcf2a91da3a9d136 (74) NAS-Identifier = "CORE-ROUTER" (74) NAS-IP-Address = 103.190.8.10 (74) Message-Authenticator = 0x0e792d0276edab35fab11ffe951712b2 (74) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (74) authorize { (74) [preprocess] = ok (74) chap: &control:Auth-Type := CHAP (74) [chap] = ok (74) [mschap] = noop (74) [digest] = noop (74) suffix: Checking for suffix after "@" (74) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (74) suffix: No such realm "NULL" (74) [suffix] = noop (74) eap: No EAP-Message, not doing EAP (74) [eap] = noop (74) files: users: Matched entry DEFAULT at line 167 (74) [files] = ok (74) sql: EXPAND %{User-Name} (74) sql: --> SUNNY261 (74) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (86) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (87), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (87) (74) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (74) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (74) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (74) sql: User found in radcheck table (74) sql: Conditional check items matched, merging assignment check items (74) sql: Cleartext-Password := "123456" (74) sql: Expiration := "Mar 26 2026 23:59:59 IST" (74) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (74) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (74) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (74) sql: User found in radreply table, merging reply items (74) sql: Mikrotik-Rate-Limit := "62M/62M" (74) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (74) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (74) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (74) sql: User found in the group table (74) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (74) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (74) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (74) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (74) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (74) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (74) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (74) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (74) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (74) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (87) (74) [sql] = ok (74) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (74) [expiration] = userlock (74) } # authorize = userlock (74) Using Post-Auth-Type Reject (74) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (74) Post-Auth-Type REJECT { (74) sql: EXPAND .query (74) sql: --> .query (74) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (87) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (88), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (88) (74) sql: EXPAND %{User-Name} (74) sql: --> SUNNY261 (74) sql: SQL-User-Name set to 'SUNNY261' (74) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (74) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01e8268441dc84f37efcf2a91da3a9d136', 'Access-Reject', '2026-03-27 04:23:07.818900' ) (74) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01e8268441dc84f37efcf2a91da3a9d136', 'Access-Reject', '2026-03-27 04:23:07.818900' ) (74) sql: SQL query returned: success (74) sql: 1 record(s) updated rlm_sql (sql): Released connection (88) (74) [sql] = ok (74) attr_filter.access_reject: EXPAND %{User-Name} (74) attr_filter.access_reject: --> SUNNY261 (74) attr_filter.access_reject: Matched entry DEFAULT at line 11 (74) [attr_filter.access_reject] = updated (74) [eap] = noop (74) policy remove_reply_message_if_eap { (74) if (&reply:EAP-Message && &reply:Reply-Message) { (74) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (74) else { (74) [noop] = noop (74) } # else = noop (74) } # policy remove_reply_message_if_eap = noop (74) } # Post-Auth-Type REJECT = updated (74) Sent Access-Reject Id 18 from 103.204.70.55:1812 to 103.190.8.10:36495 length 38 (74) Finished request Waking up in 0.8 seconds. (75) Received Accounting-Request Id 19 from 103.190.8.10:52218 to 103.204.70.55:1813 length 240 (75) Service-Type = Framed-User (75) Framed-Protocol = PPP (75) NAS-Port = 16088373 (75) NAS-Port-Type = Ethernet (75) User-Name = "NANDAN473" (75) Calling-Station-Id = "C4:27:28:91:19:04" (75) NAS-Port-Id = "VLAN-83-SK VISON" (75) Acct-Session-Id = "815572e0" (75) Framed-IP-Address = 172.16.3.48 (75) Acct-Authentic = RADIUS (75) Event-Timestamp = "Mar 27 2026 04:23:08 IST" (75) Acct-Session-Time = 67731 (75) Idle-Timeout = 0 (75) Session-Timeout = 1520743 (75) X-Ascend-Data-Rate = 105000000 (75) Ascend-Xmit-Rate = 105000000 (75) Mikrotik-Rate-Limit = "105M/105M" (75) Acct-Input-Octets = 572508016 (75) Acct-Input-Gigawords = 0 (75) Acct-Input-Packets = 479871 (75) Acct-Output-Octets = 110469179 (75) Acct-Output-Gigawords = 0 (75) Acct-Output-Packets = 152791 (75) Acct-Status-Type = Interim-Update (75) NAS-Identifier = "CORE-ROUTER" (75) Acct-Delay-Time = 0 (75) NAS-IP-Address = 103.190.8.10 (75) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (75) preacct { (75) [preprocess] = ok (75) policy acct_unique { (75) update request { (75) &Tmp-String-9 := "ai:" (75) } # update request = noop (75) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (75) EXPAND %{hex:&Class} (75) --> (75) EXPAND ^%{hex:&Tmp-String-9} (75) --> ^61693a (75) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (75) else { (75) update request { (75) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (75) --> 740fef6720033ea4a990a732400a9ac4 (75) &Acct-Unique-Session-Id := 740fef6720033ea4a990a732400a9ac4 (75) } # update request = noop (75) } # else = noop (75) update request { (75) &Tmp-String-9 !* ANY (75) } # update request = noop (75) } # policy acct_unique = noop (75) suffix: Checking for suffix after "@" (75) suffix: No '@' in User-Name = "NANDAN473", looking up realm NULL (75) suffix: No such realm "NULL" (75) [suffix] = noop (75) [files] = noop (75) } # preacct = ok (75) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (75) accounting { (75) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (75) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (75) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (75) detail: EXPAND %t (75) detail: --> Fri Mar 27 04:23:08 2026 (75) [detail] = ok (75) [unix] = noop (75) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (75) sql: --> type.interim-update.query (75) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (88) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (89), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (89) (75) sql: EXPAND %{User-Name} (75) sql: --> NANDAN473 (75) sql: SQL-User-Name set to 'NANDAN473' (75) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (75) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565588), acctinterval = 1774565588 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.48', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 67731, acctinputoctets = '0' << 32 | '572508016', acctoutputoctets = '0' << 32 | '110469179' WHERE AcctUniqueId = '740fef6720033ea4a990a732400a9ac4' (75) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565588), acctinterval = 1774565588 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.48', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 67731, acctinputoctets = '0' << 32 | '572508016', acctoutputoctets = '0' << 32 | '110469179' WHERE AcctUniqueId = '740fef6720033ea4a990a732400a9ac4' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (75) sql: SQL query returned: success (75) sql: 1 record(s) updated rlm_sql (sql): Released connection (89) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (90), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (89) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (75) [sql] = ok (75) [exec] = noop (75) attr_filter.accounting_response: EXPAND %{User-Name} (75) attr_filter.accounting_response: --> NANDAN473 (75) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (75) [attr_filter.accounting_response] = updated (75) } # accounting = updated (75) Sent Accounting-Response Id 19 from 103.204.70.55:1813 to 103.190.8.10:52218 length 20 (75) Finished request (75) Cleaning up request packet ID 19 with timestamp +14 due to done Waking up in 0.6 seconds. (76) Received Accounting-Request Id 20 from 103.190.8.10:40988 to 103.204.70.55:1813 length 246 (76) Service-Type = Framed-User (76) Framed-Protocol = PPP (76) NAS-Port = 16091070 (76) NAS-Port-Type = Ethernet (76) User-Name = "SKMOFIIDUL217" (76) Calling-Station-Id = "40:33:06:41:89:92" (76) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (76) Acct-Session-Id = "81557cbd" (76) Framed-IP-Address = 172.16.4.244 (76) Acct-Authentic = RADIUS (76) Event-Timestamp = "Mar 27 2026 04:23:08 IST" (76) Acct-Session-Time = 55252 (76) Idle-Timeout = 0 (76) Session-Timeout = 9543463 (76) X-Ascend-Data-Rate = 22000000 (76) Ascend-Xmit-Rate = 22000000 (76) Mikrotik-Rate-Limit = "22M/22M" (76) Acct-Input-Octets = 1472838714 (76) Acct-Input-Gigawords = 0 (76) Acct-Input-Packets = 6878715 (76) Acct-Output-Octets = 2901973350 (76) Acct-Output-Gigawords = 7 (76) Acct-Output-Packets = 27290547 (76) Acct-Status-Type = Interim-Update (76) NAS-Identifier = "CORE-ROUTER" (76) Acct-Delay-Time = 0 (76) NAS-IP-Address = 103.190.8.10 (76) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (76) preacct { (76) [preprocess] = ok (76) policy acct_unique { (76) update request { (76) &Tmp-String-9 := "ai:" (76) } # update request = noop (76) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (76) EXPAND %{hex:&Class} (76) --> (76) EXPAND ^%{hex:&Tmp-String-9} (76) --> ^61693a (76) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (76) else { (76) update request { (76) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (76) --> deaa9301f7563d297ddb80056fc0fc80 (76) &Acct-Unique-Session-Id := deaa9301f7563d297ddb80056fc0fc80 (76) } # update request = noop (76) } # else = noop (76) update request { (76) &Tmp-String-9 !* ANY (76) } # update request = noop (76) } # policy acct_unique = noop (76) suffix: Checking for suffix after "@" (76) suffix: No '@' in User-Name = "SKMOFIIDUL217", looking up realm NULL (76) suffix: No such realm "NULL" (76) [suffix] = noop (76) [files] = noop (76) } # preacct = ok (76) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (76) accounting { (76) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (76) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (76) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (76) detail: EXPAND %t (76) detail: --> Fri Mar 27 04:23:08 2026 (76) [detail] = ok (76) [unix] = noop (76) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (76) sql: --> type.interim-update.query (76) sql: Using query template 'query' rlm_sql (sql): Reserved connection (90) (76) sql: EXPAND %{User-Name} (76) sql: --> SKMOFIIDUL217 (76) sql: SQL-User-Name set to 'SKMOFIIDUL217' (76) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (76) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565588), acctinterval = 1774565588 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.244', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55252, acctinputoctets = '0' << 32 | '1472838714', acctoutputoctets = '7' << 32 | '2901973350' WHERE AcctUniqueId = 'deaa9301f7563d297ddb80056fc0fc80' (76) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565588), acctinterval = 1774565588 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.244', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55252, acctinputoctets = '0' << 32 | '1472838714', acctoutputoctets = '7' << 32 | '2901973350' WHERE AcctUniqueId = 'deaa9301f7563d297ddb80056fc0fc80' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (76) sql: SQL query returned: success (76) sql: 1 record(s) updated rlm_sql (sql): Released connection (90) (76) [sql] = ok (76) [exec] = noop (76) attr_filter.accounting_response: EXPAND %{User-Name} (76) attr_filter.accounting_response: --> SKMOFIIDUL217 (76) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (76) [attr_filter.accounting_response] = updated (76) } # accounting = updated (76) Sent Accounting-Response Id 20 from 103.204.70.55:1813 to 103.190.8.10:40988 length 20 (76) Finished request (76) Cleaning up request packet ID 20 with timestamp +14 due to done Waking up in 0.3 seconds. (77) Received Accounting-Request Id 21 from 103.190.8.10:53479 to 103.204.70.55:1813 length 252 (77) Service-Type = Framed-User (77) Framed-Protocol = PPP (77) NAS-Port = 16091329 (77) NAS-Port-Type = Ethernet (77) User-Name = "SCHOLAR214PARKING" (77) Calling-Station-Id = "74:3C:18:D6:09:54" (77) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (77) Acct-Session-Id = "81557dc0" (77) Framed-IP-Address = 172.16.4.210 (77) Acct-Authentic = RADIUS (77) Event-Timestamp = "Mar 27 2026 04:23:08 IST" (77) Acct-Session-Time = 54212 (77) Idle-Timeout = 0 (77) Session-Timeout = 19219223 (77) X-Ascend-Data-Rate = 305000000 (77) Ascend-Xmit-Rate = 305000000 (77) Mikrotik-Rate-Limit = "305M/305M" (77) Acct-Input-Octets = 2376247658 (77) Acct-Input-Gigawords = 1 (77) Acct-Input-Packets = 21044928 (77) Acct-Output-Octets = 685874155 (77) Acct-Output-Gigawords = 22 (77) Acct-Output-Packets = 79350011 (77) Acct-Status-Type = Interim-Update (77) NAS-Identifier = "CORE-ROUTER" (77) Acct-Delay-Time = 0 (77) NAS-IP-Address = 103.190.8.10 (77) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (77) preacct { (77) [preprocess] = ok (77) policy acct_unique { (77) update request { (77) &Tmp-String-9 := "ai:" (77) } # update request = noop (77) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (77) EXPAND %{hex:&Class} (77) --> (77) EXPAND ^%{hex:&Tmp-String-9} (77) --> ^61693a (77) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (77) else { (77) update request { (77) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (77) --> db83a717057e57038a8d8c94bbf59537 (77) &Acct-Unique-Session-Id := db83a717057e57038a8d8c94bbf59537 (77) } # update request = noop (77) } # else = noop (77) update request { (77) &Tmp-String-9 !* ANY (77) } # update request = noop (77) } # policy acct_unique = noop (77) suffix: Checking for suffix after "@" (77) suffix: No '@' in User-Name = "SCHOLAR214PARKING", looking up realm NULL (77) suffix: No such realm "NULL" (77) [suffix] = noop (77) [files] = noop (77) } # preacct = ok (77) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (77) accounting { (77) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (77) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (77) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (77) detail: EXPAND %t (77) detail: --> Fri Mar 27 04:23:08 2026 (77) [detail] = ok (77) [unix] = noop (77) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (77) sql: --> type.interim-update.query (77) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (90) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (91), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (91) (77) sql: EXPAND %{User-Name} (77) sql: --> SCHOLAR214PARKING (77) sql: SQL-User-Name set to 'SCHOLAR214PARKING' (77) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (77) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565588), acctinterval = 1774565588 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.210', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54212, acctinputoctets = '1' << 32 | '2376247658', acctoutputoctets = '22' << 32 | '685874155' WHERE AcctUniqueId = 'db83a717057e57038a8d8c94bbf59537' (77) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565588), acctinterval = 1774565588 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.210', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54212, acctinputoctets = '1' << 32 | '2376247658', acctoutputoctets = '22' << 32 | '685874155' WHERE AcctUniqueId = 'db83a717057e57038a8d8c94bbf59537' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (77) sql: SQL query returned: success (77) sql: 1 record(s) updated rlm_sql (sql): Released connection (91) (77) [sql] = ok (77) [exec] = noop (77) attr_filter.accounting_response: EXPAND %{User-Name} (77) attr_filter.accounting_response: --> SCHOLAR214PARKING (77) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (77) [attr_filter.accounting_response] = updated (77) } # accounting = updated (77) Sent Accounting-Response Id 21 from 103.204.70.55:1813 to 103.190.8.10:53479 length 20 (77) Finished request (77) Cleaning up request packet ID 21 with timestamp +14 due to done Waking up in 0.2 seconds. (70) Cleaning up request packet ID 14 with timestamp +12 due to cleanup_delay was reached Waking up in 1.1 seconds. (78) Received Access-Request Id 22 from 103.190.8.10:52404 to 103.204.70.55:1812 length 179 (78) Service-Type = Framed-User (78) Framed-Protocol = PPP (78) NAS-Port = 16116444 (78) NAS-Port-Type = Ethernet (78) User-Name = "SUNNY261" (78) Calling-Station-Id = "E8:65:D4:15:37:A8" (78) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (78) Acct-Session-Id = "8155ddc8" (78) CHAP-Challenge = 0xa1c6cae657747e1e7f6008a4464ff856 (78) CHAP-Password = 0x01f4ba9ef6e41688e0f5547b5894993ea3 (78) NAS-Identifier = "CORE-ROUTER" (78) NAS-IP-Address = 103.190.8.10 (78) Message-Authenticator = 0x3211e4f466d1c07612e795f604272435 (78) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (78) authorize { (78) [preprocess] = ok (78) chap: &control:Auth-Type := CHAP (78) [chap] = ok (78) [mschap] = noop (78) [digest] = noop (78) suffix: Checking for suffix after "@" (78) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (78) suffix: No such realm "NULL" (78) [suffix] = noop (78) eap: No EAP-Message, not doing EAP (78) [eap] = noop (78) files: users: Matched entry DEFAULT at line 167 (78) [files] = ok (78) sql: EXPAND %{User-Name} (78) sql: --> SUNNY261 (78) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (91) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (92), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (92) (78) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (78) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (78) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (78) sql: User found in radcheck table (78) sql: Conditional check items matched, merging assignment check items (78) sql: Cleartext-Password := "123456" (78) sql: Expiration := "Mar 26 2026 23:59:59 IST" (78) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (78) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (78) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (78) sql: User found in radreply table, merging reply items (78) sql: Mikrotik-Rate-Limit := "62M/62M" (78) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (78) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (78) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (78) sql: User found in the group table (78) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (78) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (78) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (78) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (78) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (78) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (78) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (78) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (78) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (78) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (92) (78) [sql] = ok (78) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (78) [expiration] = userlock (78) } # authorize = userlock (78) Using Post-Auth-Type Reject (78) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (78) Post-Auth-Type REJECT { (78) sql: EXPAND .query (78) sql: --> .query (78) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (92) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (93), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (93) (78) sql: EXPAND %{User-Name} (78) sql: --> SUNNY261 (78) sql: SQL-User-Name set to 'SUNNY261' (78) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (78) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01f4ba9ef6e41688e0f5547b5894993ea3', 'Access-Reject', '2026-03-27 04:23:08.919456' ) (78) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01f4ba9ef6e41688e0f5547b5894993ea3', 'Access-Reject', '2026-03-27 04:23:08.919456' ) (78) sql: SQL query returned: success (78) sql: 1 record(s) updated rlm_sql (sql): Released connection (93) (78) [sql] = ok (78) attr_filter.access_reject: EXPAND %{User-Name} (78) attr_filter.access_reject: --> SUNNY261 (78) attr_filter.access_reject: Matched entry DEFAULT at line 11 (78) [attr_filter.access_reject] = updated (78) [eap] = noop (78) policy remove_reply_message_if_eap { (78) if (&reply:EAP-Message && &reply:Reply-Message) { (78) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (78) else { (78) [noop] = noop (78) } # else = noop (78) } # policy remove_reply_message_if_eap = noop (78) } # Post-Auth-Type REJECT = updated (78) Sent Access-Reject Id 22 from 103.204.70.55:1812 to 103.190.8.10:52404 length 38 (78) Finished request Waking up in 0.8 seconds. (79) Received Accounting-Request Id 23 from 103.190.8.10:43071 to 103.204.70.55:1813 length 242 (79) Service-Type = Framed-User (79) Framed-Protocol = PPP (79) NAS-Port = 16094439 (79) NAS-Port-Type = Ethernet (79) User-Name = "SWAPAN170" (79) Calling-Station-Id = "CC:2D:21:71:8B:60" (79) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (79) Acct-Session-Id = "815589e5" (79) Framed-IP-Address = 172.16.3.120 (79) Acct-Authentic = RADIUS (79) Event-Timestamp = "Mar 27 2026 04:23:08 IST" (79) Acct-Session-Time = 42901 (79) Idle-Timeout = 0 (79) Session-Timeout = 113512 (79) X-Ascend-Data-Rate = 62000000 (79) Ascend-Xmit-Rate = 62000000 (79) Mikrotik-Rate-Limit = "62M/62M" (79) Acct-Input-Octets = 146067559 (79) Acct-Input-Gigawords = 0 (79) Acct-Input-Packets = 625538 (79) Acct-Output-Octets = 3602115609 (79) Acct-Output-Gigawords = 0 (79) Acct-Output-Packets = 2976272 (79) Acct-Status-Type = Interim-Update (79) NAS-Identifier = "CORE-ROUTER" (79) Acct-Delay-Time = 0 (79) NAS-IP-Address = 103.190.8.10 (79) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (79) preacct { (79) [preprocess] = ok (79) policy acct_unique { (79) update request { (79) &Tmp-String-9 := "ai:" (79) } # update request = noop (79) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (79) EXPAND %{hex:&Class} (79) --> (79) EXPAND ^%{hex:&Tmp-String-9} (79) --> ^61693a (79) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (79) else { (79) update request { (79) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (79) --> f5d647aa40f29f6aba552c759b83e63e (79) &Acct-Unique-Session-Id := f5d647aa40f29f6aba552c759b83e63e (79) } # update request = noop (79) } # else = noop (79) update request { (79) &Tmp-String-9 !* ANY (79) } # update request = noop (79) } # policy acct_unique = noop (79) suffix: Checking for suffix after "@" (79) suffix: No '@' in User-Name = "SWAPAN170", looking up realm NULL (79) suffix: No such realm "NULL" (79) [suffix] = noop (79) [files] = noop (79) } # preacct = ok (79) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (79) accounting { (79) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (79) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (79) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (79) detail: EXPAND %t (79) detail: --> Fri Mar 27 04:23:08 2026 (79) [detail] = ok (79) [unix] = noop (79) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (79) sql: --> type.interim-update.query (79) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (93) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (94), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (94) (79) sql: EXPAND %{User-Name} (79) sql: --> SWAPAN170 (79) sql: SQL-User-Name set to 'SWAPAN170' (79) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (79) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565588), acctinterval = 1774565588 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.120', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42901, acctinputoctets = '0' << 32 | '146067559', acctoutputoctets = '0' << 32 | '3602115609' WHERE AcctUniqueId = 'f5d647aa40f29f6aba552c759b83e63e' (79) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565588), acctinterval = 1774565588 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.120', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42901, acctinputoctets = '0' << 32 | '146067559', acctoutputoctets = '0' << 32 | '3602115609' WHERE AcctUniqueId = 'f5d647aa40f29f6aba552c759b83e63e' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (79) sql: SQL query returned: success (79) sql: 1 record(s) updated rlm_sql (sql): Released connection (94) (79) [sql] = ok (79) [exec] = noop (79) attr_filter.accounting_response: EXPAND %{User-Name} (79) attr_filter.accounting_response: --> SWAPAN170 (79) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (79) [attr_filter.accounting_response] = updated (79) } # accounting = updated (79) Sent Accounting-Response Id 23 from 103.204.70.55:1813 to 103.190.8.10:43071 length 20 (79) Finished request (79) Cleaning up request packet ID 23 with timestamp +14 due to done Waking up in 0.8 seconds. (80) Received Accounting-Request Id 24 from 103.190.8.10:60424 to 103.204.70.55:1813 length 243 (80) Service-Type = Framed-User (80) Framed-Protocol = PPP (80) NAS-Port = 16092743 (80) NAS-Port-Type = Ethernet (80) User-Name = "KAMANI77" (80) Calling-Station-Id = "14:EB:B6:4D:5B:27" (80) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (80) Acct-Session-Id = "81558348" (80) Framed-IP-Address = 172.16.4.167 (80) Acct-Authentic = RADIUS (80) Event-Timestamp = "Mar 27 2026 04:23:09 IST" (80) Acct-Session-Time = 48751 (80) Idle-Timeout = 0 (80) Session-Timeout = 8586562 (80) X-Ascend-Data-Rate = 305000000 (80) Ascend-Xmit-Rate = 305000000 (80) Mikrotik-Rate-Limit = "305M/305M" (80) Acct-Input-Octets = 255564433 (80) Acct-Input-Gigawords = 0 (80) Acct-Input-Packets = 1535404 (80) Acct-Output-Octets = 1177339394 (80) Acct-Output-Gigawords = 2 (80) Acct-Output-Packets = 7414045 (80) Acct-Status-Type = Interim-Update (80) NAS-Identifier = "CORE-ROUTER" (80) Acct-Delay-Time = 0 (80) NAS-IP-Address = 103.190.8.10 (80) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (80) preacct { (80) [preprocess] = ok (80) policy acct_unique { (80) update request { (80) &Tmp-String-9 := "ai:" (80) } # update request = noop (80) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (80) EXPAND %{hex:&Class} (80) --> (80) EXPAND ^%{hex:&Tmp-String-9} (80) --> ^61693a (80) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (80) else { (80) update request { (80) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (80) --> 648649cac66943efcd9a3d9bf0070da7 (80) &Acct-Unique-Session-Id := 648649cac66943efcd9a3d9bf0070da7 (80) } # update request = noop (80) } # else = noop (80) update request { (80) &Tmp-String-9 !* ANY (80) } # update request = noop (80) } # policy acct_unique = noop (80) suffix: Checking for suffix after "@" (80) suffix: No '@' in User-Name = "KAMANI77", looking up realm NULL (80) suffix: No such realm "NULL" (80) [suffix] = noop (80) [files] = noop (80) } # preacct = ok (80) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (80) accounting { (80) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (80) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (80) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (80) detail: EXPAND %t (80) detail: --> Fri Mar 27 04:23:09 2026 (80) [detail] = ok (80) [unix] = noop (80) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (80) sql: --> type.interim-update.query (80) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (94) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (95), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (95) (80) sql: EXPAND %{User-Name} (80) sql: --> KAMANI77 (80) sql: SQL-User-Name set to 'KAMANI77' (80) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (80) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565589), acctinterval = 1774565589 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.167', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 48751, acctinputoctets = '0' << 32 | '255564433', acctoutputoctets = '2' << 32 | '1177339394' WHERE AcctUniqueId = '648649cac66943efcd9a3d9bf0070da7' (80) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565589), acctinterval = 1774565589 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.167', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 48751, acctinputoctets = '0' << 32 | '255564433', acctoutputoctets = '2' << 32 | '1177339394' WHERE AcctUniqueId = '648649cac66943efcd9a3d9bf0070da7' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (80) sql: SQL query returned: success (80) sql: 1 record(s) updated rlm_sql (sql): Released connection (95) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (96), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (95) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (80) [sql] = ok (80) [exec] = noop (80) attr_filter.accounting_response: EXPAND %{User-Name} (80) attr_filter.accounting_response: --> KAMANI77 (80) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (80) [attr_filter.accounting_response] = updated (80) } # accounting = updated (80) Sent Accounting-Response Id 24 from 103.204.70.55:1813 to 103.190.8.10:60424 length 20 (80) Finished request (80) Cleaning up request packet ID 24 with timestamp +15 due to done Waking up in 0.7 seconds. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! BlastRADIUS check: Received packet without Message-Authenticator. YOU MUST SET "require_message_authenticator = true", or YOU MUST SET "limit_proxy_state = true" for client Mikrtik !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The packet does not contain Message-Authenticator, which is a security issue UPGRADE THE CLIENT AS YOUR NETWORK IS VULNERABLE TO THE BLASTRADIUS ATTACK. Once the client is upgraded, set "require_message_authenticator = true" for client Mikrtik !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! (81) Received Access-Request Id 170 from 103.204.70.56:43562 to 103.204.70.55:1812 length 134 (81) Service-Type = Framed-User (81) Framed-Protocol = PPP (81) NAS-Port = 15728832 (81) NAS-Port-Type = Ethernet (81) User-Name = "rj.fn.6376984067" (81) Calling-Station-Id = "00:11:41:48:F4:58" (81) NAS-Port-Id = "ether4" (81) Acct-Session-Id = "816000c0" (81) User-Password = "123456" (81) NAS-Identifier = "Fiber Net" (81) NAS-IP-Address = 10.10.10.3 (81) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (81) authorize { (81) [preprocess] = ok (81) [chap] = noop (81) [mschap] = noop (81) [digest] = noop (81) suffix: Checking for suffix after "@" (81) suffix: No '@' in User-Name = "rj.fn.6376984067", looking up realm NULL (81) suffix: No such realm "NULL" (81) [suffix] = noop (81) eap: No EAP-Message, not doing EAP (81) [eap] = noop (81) files: users: Matched entry DEFAULT at line 167 (81) [files] = ok (81) sql: EXPAND %{User-Name} (81) sql: --> rj.fn.6376984067 (81) sql: SQL-User-Name set to 'rj.fn.6376984067' rlm_sql (sql): Reserved connection (96) (81) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (81) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'rj.fn.6376984067' ORDER BY id (81) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'rj.fn.6376984067' ORDER BY id (81) sql: User found in radcheck table (81) sql: Conditional check items matched, merging assignment check items (81) sql: Cleartext-Password := "12345" (81) sql: Expiration := "Feb 16 2026 23:59:59 IST" (81) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (81) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'rj.fn.6376984067' ORDER BY id (81) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'rj.fn.6376984067' ORDER BY id (81) sql: User found in radreply table, merging reply items (81) sql: Mikrotik-Address-List := "EXPIRED" (81) sql: Framed-Pool := "EXPIRED_POOL" (81) sql: Mikrotik-Rate-Limit := "64k/64k" (81) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (81) sql: --> SELECT groupname FROM radusergroup WHERE username = 'rj.fn.6376984067' ORDER BY priority (81) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'rj.fn.6376984067' ORDER BY priority (81) sql: User not found in any groups rlm_sql (sql): Released connection (96) (81) [sql] = ok (81) expiration: ERROR: Account expired at 'Feb 16 2026 23:59:59 IST' (81) [expiration] = userlock (81) } # authorize = userlock (81) Using Post-Auth-Type Reject (81) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (81) Post-Auth-Type REJECT { (81) sql: EXPAND .query (81) sql: --> .query (81) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (96) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (97), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (97) (81) sql: EXPAND %{User-Name} (81) sql: --> rj.fn.6376984067 (81) sql: SQL-User-Name set to 'rj.fn.6376984067' (81) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (81) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'rj.fn.6376984067', '123456', 'Access-Reject', '2026-03-27 04:23:09.146949' ) (81) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'rj.fn.6376984067', '123456', 'Access-Reject', '2026-03-27 04:23:09.146949' ) (81) sql: SQL query returned: success (81) sql: 1 record(s) updated rlm_sql (sql): Released connection (97) (81) [sql] = ok (81) attr_filter.access_reject: EXPAND %{User-Name} (81) attr_filter.access_reject: --> rj.fn.6376984067 (81) attr_filter.access_reject: Matched entry DEFAULT at line 11 (81) [attr_filter.access_reject] = updated (81) [eap] = noop (81) policy remove_reply_message_if_eap { (81) if (&reply:EAP-Message && &reply:Reply-Message) { (81) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (81) else { (81) [noop] = noop (81) } # else = noop (81) } # policy remove_reply_message_if_eap = noop (81) } # Post-Auth-Type REJECT = updated (81) Sent Access-Reject Id 170 from 103.204.70.55:1812 to 103.204.70.56:43562 length 38 (81) Finished request Waking up in 0.6 seconds. (82) Received Accounting-Request Id 25 from 103.190.8.10:49664 to 103.204.70.55:1813 length 244 (82) Service-Type = Framed-User (82) Framed-Protocol = PPP (82) NAS-Port = 16085322 (82) NAS-Port-Type = Ethernet (82) User-Name = "gnc_ankit1720_gx135070" (82) Calling-Station-Id = "B4:86:18:83:69:93" (82) NAS-Port-Id = "NEW_LCO" (82) Acct-Session-Id = "8155687e" (82) Framed-IP-Address = 172.16.3.191 (82) Acct-Authentic = RADIUS (82) Event-Timestamp = "Mar 27 2026 04:23:09 IST" (82) Acct-Session-Time = 80472 (82) Idle-Timeout = 0 (82) Session-Timeout = 16567082 (82) X-Ascend-Data-Rate = 105000000 (82) Ascend-Xmit-Rate = 105000000 (82) Mikrotik-Rate-Limit = "105M/105M" (82) Acct-Input-Octets = 1253102660 (82) Acct-Input-Gigawords = 0 (82) Acct-Input-Packets = 4232709 (82) Acct-Output-Octets = 540066418 (82) Acct-Output-Gigawords = 5 (82) Acct-Output-Packets = 19778628 (82) Acct-Status-Type = Interim-Update (82) NAS-Identifier = "CORE-ROUTER" (82) Acct-Delay-Time = 0 (82) NAS-IP-Address = 103.190.8.10 (82) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (82) preacct { (82) [preprocess] = ok (82) policy acct_unique { (82) update request { (82) &Tmp-String-9 := "ai:" (82) } # update request = noop (82) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (82) EXPAND %{hex:&Class} (82) --> (82) EXPAND ^%{hex:&Tmp-String-9} (82) --> ^61693a (82) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (82) else { (82) update request { (82) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (82) --> 4ccbe9a9f1b4743b83c62baba46c2028 (82) &Acct-Unique-Session-Id := 4ccbe9a9f1b4743b83c62baba46c2028 (82) } # update request = noop (82) } # else = noop (82) update request { (82) &Tmp-String-9 !* ANY (82) } # update request = noop (82) } # policy acct_unique = noop (82) suffix: Checking for suffix after "@" (82) suffix: No '@' in User-Name = "gnc_ankit1720_gx135070", looking up realm NULL (82) suffix: No such realm "NULL" (82) [suffix] = noop (82) [files] = noop (82) } # preacct = ok (82) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (82) accounting { (82) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (82) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (82) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (82) detail: EXPAND %t (82) detail: --> Fri Mar 27 04:23:09 2026 (82) [detail] = ok (82) [unix] = noop (82) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (82) sql: --> type.interim-update.query (82) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (97) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (98), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (98) (82) sql: EXPAND %{User-Name} (82) sql: --> gnc_ankit1720_gx135070 (82) sql: SQL-User-Name set to 'gnc_ankit1720_gx135070' (82) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (82) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565589), acctinterval = 1774565589 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.191', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 80472, acctinputoctets = '0' << 32 | '1253102660', acctoutputoctets = '5' << 32 | '540066418' WHERE AcctUniqueId = '4ccbe9a9f1b4743b83c62baba46c2028' (82) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565589), acctinterval = 1774565589 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.191', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 80472, acctinputoctets = '0' << 32 | '1253102660', acctoutputoctets = '5' << 32 | '540066418' WHERE AcctUniqueId = '4ccbe9a9f1b4743b83c62baba46c2028' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (82) sql: SQL query returned: success (82) sql: 1 record(s) updated rlm_sql (sql): Released connection (98) (82) [sql] = ok (82) [exec] = noop (82) attr_filter.accounting_response: EXPAND %{User-Name} (82) attr_filter.accounting_response: --> gnc_ankit1720_gx135070 (82) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (82) [attr_filter.accounting_response] = updated (82) } # accounting = updated (82) Sent Accounting-Response Id 25 from 103.204.70.55:1813 to 103.190.8.10:49664 length 20 (82) Finished request (82) Cleaning up request packet ID 25 with timestamp +15 due to done Waking up in 0.6 seconds. (83) Received Access-Request Id 26 from 103.190.8.10:34841 to 103.204.70.55:1812 length 173 (83) Service-Type = Framed-User (83) Framed-Protocol = PPP (83) NAS-Port = 16116445 (83) NAS-Port-Type = Ethernet (83) User-Name = "bunty321" (83) Calling-Station-Id = "58:6D:8F:B2:12:B6" (83) NAS-Port-Id = "RB_INTERNET-71" (83) Acct-Session-Id = "8155ddc9" (83) CHAP-Challenge = 0x9af43c303530c72a7f8fec9b5701a02f (83) CHAP-Password = 0x01385d89b250274857114b4515f81f0cc5 (83) NAS-Identifier = "CORE-ROUTER" (83) NAS-IP-Address = 103.190.8.10 (83) Message-Authenticator = 0x2c2f139f99344bb66ddc61f95ad8ae15 (83) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (83) authorize { (83) [preprocess] = ok (83) chap: &control:Auth-Type := CHAP (83) [chap] = ok (83) [mschap] = noop (83) [digest] = noop (83) suffix: Checking for suffix after "@" (83) suffix: No '@' in User-Name = "bunty321", looking up realm NULL (83) suffix: No such realm "NULL" (83) [suffix] = noop (83) eap: No EAP-Message, not doing EAP (83) [eap] = noop (83) files: users: Matched entry DEFAULT at line 167 (83) [files] = ok (83) sql: EXPAND %{User-Name} (83) sql: --> bunty321 (83) sql: SQL-User-Name set to 'bunty321' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (98) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (99), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (99) (83) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (83) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'bunty321' ORDER BY id (83) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'bunty321' ORDER BY id (83) sql: User found in radcheck table (83) sql: Conditional check items matched, merging assignment check items (83) sql: Cleartext-Password := "123456" (83) sql: Expiration := "Mar 24 2026 23:59:59 IST" (83) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (83) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'bunty321' ORDER BY id (83) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'bunty321' ORDER BY id (83) sql: User found in radreply table, merging reply items (83) sql: Mikrotik-Rate-Limit := "105M/105M" (83) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (83) sql: --> SELECT groupname FROM radusergroup WHERE username = 'bunty321' ORDER BY priority (83) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'bunty321' ORDER BY priority (83) sql: User found in the group table (83) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (83) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (83) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (83) sql: Group "REELTIME-100-Mbps-Rs-100": Conditional check items matched (83) sql: Group "REELTIME-100-Mbps-Rs-100": Merging assignment check items (83) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (83) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (83) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (83) sql: Group "REELTIME-100-Mbps-Rs-100": Merging reply items (83) sql: Mikrotik-Rate-Limit := "105M/105M" rlm_sql (sql): Released connection (99) (83) [sql] = ok (83) expiration: ERROR: Account expired at 'Mar 24 2026 23:59:59 IST' (83) [expiration] = userlock (83) } # authorize = userlock (83) Using Post-Auth-Type Reject (83) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (83) Post-Auth-Type REJECT { (83) sql: EXPAND .query (83) sql: --> .query (83) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (99) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (100), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (100) (83) sql: EXPAND %{User-Name} (83) sql: --> bunty321 (83) sql: SQL-User-Name set to 'bunty321' (83) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (83) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'bunty321', '0x01385d89b250274857114b4515f81f0cc5', 'Access-Reject', '2026-03-27 04:23:09.214800' ) (83) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'bunty321', '0x01385d89b250274857114b4515f81f0cc5', 'Access-Reject', '2026-03-27 04:23:09.214800' ) (83) sql: SQL query returned: success (83) sql: 1 record(s) updated rlm_sql (sql): Released connection (100) (83) [sql] = ok (83) attr_filter.access_reject: EXPAND %{User-Name} (83) attr_filter.access_reject: --> bunty321 (83) attr_filter.access_reject: Matched entry DEFAULT at line 11 (83) [attr_filter.access_reject] = updated (83) [eap] = noop (83) policy remove_reply_message_if_eap { (83) if (&reply:EAP-Message && &reply:Reply-Message) { (83) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (83) else { (83) [noop] = noop (83) } # else = noop (83) } # policy remove_reply_message_if_eap = noop (83) } # Post-Auth-Type REJECT = updated (83) Sent Access-Reject Id 26 from 103.204.70.55:1812 to 103.190.8.10:34841 length 38 (83) Finished request Waking up in 0.6 seconds. (74) Cleaning up request packet ID 18 with timestamp +13 due to cleanup_delay was reached Waking up in 1.0 seconds. (84) Received Accounting-Request Id 84 from 27.100.14.6:59519 to 103.204.70.55:1813 length 228 (84) Service-Type = Framed-User (84) Framed-Protocol = PPP (84) NAS-Port = 15740121 (84) NAS-Port-Type = Ethernet (84) User-Name = "1321030041" (84) Calling-Station-Id = "24:94:93:1C:F3:57" (84) NAS-Port-Id = "ether3" (84) Acct-Session-Id = "81c027e7" (84) Framed-IP-Address = 10.10.10.182 (84) Acct-Authentic = RADIUS (84) Event-Timestamp = "Mar 27 2026 04:23:09 IST" (84) Acct-Session-Time = 25740 (84) Idle-Timeout = 0 (84) Session-Timeout = 1737950 (84) X-Ascend-Data-Rate = 100000000 (84) Ascend-Xmit-Rate = 100000000 (84) Mikrotik-Rate-Limit = "100M/100M" (84) Acct-Input-Octets = 176551389 (84) Acct-Input-Gigawords = 0 (84) Acct-Input-Packets = 1928670 (84) Acct-Output-Octets = 1305904007 (84) Acct-Output-Gigawords = 2 (84) Acct-Output-Packets = 7076131 (84) Acct-Status-Type = Interim-Update (84) NAS-Identifier = "MikroTik" (84) Acct-Delay-Time = 0 (84) NAS-IP-Address = 27.100.14.6 (84) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (84) preacct { (84) [preprocess] = ok (84) policy acct_unique { (84) update request { (84) &Tmp-String-9 := "ai:" (84) } # update request = noop (84) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (84) EXPAND %{hex:&Class} (84) --> (84) EXPAND ^%{hex:&Tmp-String-9} (84) --> ^61693a (84) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (84) else { (84) update request { (84) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (84) --> 5fc663195498167480d382d945d41d94 (84) &Acct-Unique-Session-Id := 5fc663195498167480d382d945d41d94 (84) } # update request = noop (84) } # else = noop (84) update request { (84) &Tmp-String-9 !* ANY (84) } # update request = noop (84) } # policy acct_unique = noop (84) suffix: Checking for suffix after "@" (84) suffix: No '@' in User-Name = "1321030041", looking up realm NULL (84) suffix: No such realm "NULL" (84) [suffix] = noop (84) [files] = noop (84) } # preacct = ok (84) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (84) accounting { (84) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (84) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (84) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (84) detail: EXPAND %t (84) detail: --> Fri Mar 27 04:23:09 2026 (84) [detail] = ok (84) [unix] = noop (84) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (84) sql: --> type.interim-update.query (84) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (100) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (101), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (101) (84) sql: EXPAND %{User-Name} (84) sql: --> 1321030041 (84) sql: SQL-User-Name set to '1321030041' (84) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (84) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565589), acctinterval = 1774565589 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.182', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 25740, acctinputoctets = '0' << 32 | '176551389', acctoutputoctets = '2' << 32 | '1305904007' WHERE AcctUniqueId = '5fc663195498167480d382d945d41d94' (84) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565589), acctinterval = 1774565589 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.182', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 25740, acctinputoctets = '0' << 32 | '176551389', acctoutputoctets = '2' << 32 | '1305904007' WHERE AcctUniqueId = '5fc663195498167480d382d945d41d94' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (84) sql: SQL query returned: success (84) sql: 1 record(s) updated rlm_sql (sql): Released connection (101) (84) [sql] = ok (84) [exec] = noop (84) attr_filter.accounting_response: EXPAND %{User-Name} (84) attr_filter.accounting_response: --> 1321030041 (84) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (84) [attr_filter.accounting_response] = updated (84) } # accounting = updated (84) Sent Accounting-Response Id 84 from 103.204.70.55:1813 to 27.100.14.6:59519 length 20 (84) Finished request (84) Cleaning up request packet ID 84 with timestamp +15 due to done Waking up in 0.9 seconds. (85) Received Access-Request Id 27 from 103.190.8.10:34286 to 103.204.70.55:1812 length 179 (85) Service-Type = Framed-User (85) Framed-Protocol = PPP (85) NAS-Port = 16116446 (85) NAS-Port-Type = Ethernet (85) User-Name = "SUNNY261" (85) Calling-Station-Id = "E8:65:D4:15:37:A8" (85) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (85) Acct-Session-Id = "8155ddca" (85) CHAP-Challenge = 0x3e9e650fd8b691d0aee2dcea3bcc9687 (85) CHAP-Password = 0x010325bb6277726b40f1ffb11879f828f9 (85) NAS-Identifier = "CORE-ROUTER" (85) NAS-IP-Address = 103.190.8.10 (85) Message-Authenticator = 0x7e54489f65ca3a659c1c0385cadfa4d0 (85) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (85) authorize { (85) [preprocess] = ok (85) chap: &control:Auth-Type := CHAP (85) [chap] = ok (85) [mschap] = noop (85) [digest] = noop (85) suffix: Checking for suffix after "@" (85) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (85) suffix: No such realm "NULL" (85) [suffix] = noop (85) eap: No EAP-Message, not doing EAP (85) [eap] = noop (85) files: users: Matched entry DEFAULT at line 167 (85) [files] = ok (85) sql: EXPAND %{User-Name} (85) sql: --> SUNNY261 (85) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (101) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (102), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (102) (85) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (85) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (85) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (85) sql: User found in radcheck table (85) sql: Conditional check items matched, merging assignment check items (85) sql: Cleartext-Password := "123456" (85) sql: Expiration := "Mar 26 2026 23:59:59 IST" (85) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (85) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (85) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (85) sql: User found in radreply table, merging reply items (85) sql: Mikrotik-Rate-Limit := "62M/62M" (85) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (85) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (85) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (85) sql: User found in the group table (85) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (85) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (85) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (85) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (85) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (85) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (85) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (85) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (85) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (85) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (102) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (103), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (102) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (85) [sql] = ok (85) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (85) [expiration] = userlock (85) } # authorize = userlock (85) Using Post-Auth-Type Reject (85) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (85) Post-Auth-Type REJECT { (85) sql: EXPAND .query (85) sql: --> .query (85) sql: Using query template 'query' rlm_sql (sql): Reserved connection (103) (85) sql: EXPAND %{User-Name} (85) sql: --> SUNNY261 (85) sql: SQL-User-Name set to 'SUNNY261' (85) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (85) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x010325bb6277726b40f1ffb11879f828f9', 'Access-Reject', '2026-03-27 04:23:10.018042' ) (85) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x010325bb6277726b40f1ffb11879f828f9', 'Access-Reject', '2026-03-27 04:23:10.018042' ) (85) sql: SQL query returned: success (85) sql: 1 record(s) updated rlm_sql (sql): Released connection (103) (85) [sql] = ok (85) attr_filter.access_reject: EXPAND %{User-Name} (85) attr_filter.access_reject: --> SUNNY261 (85) attr_filter.access_reject: Matched entry DEFAULT at line 11 (85) [attr_filter.access_reject] = updated (85) [eap] = noop (85) policy remove_reply_message_if_eap { (85) if (&reply:EAP-Message && &reply:Reply-Message) { (85) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (85) else { (85) [noop] = noop (85) } # else = noop (85) } # policy remove_reply_message_if_eap = noop (85) } # Post-Auth-Type REJECT = updated (85) Sent Access-Reject Id 27 from 103.204.70.55:1812 to 103.190.8.10:34286 length 38 (85) Finished request Waking up in 0.9 seconds. (86) Received Accounting-Request Id 28 from 103.190.8.10:56449 to 103.204.70.55:1813 length 235 (86) Service-Type = Framed-User (86) Framed-Protocol = PPP (86) NAS-Port = 16090961 (86) NAS-Port-Type = Ethernet (86) User-Name = "gnc_preeti627" (86) Calling-Station-Id = "D0:C9:01:05:52:DB" (86) NAS-Port-Id = "NEW_LCO" (86) Acct-Session-Id = "81557c50" (86) Framed-IP-Address = 172.16.4.107 (86) Acct-Authentic = RADIUS (86) Event-Timestamp = "Mar 27 2026 04:23:10 IST" (86) Acct-Session-Time = 55771 (86) Idle-Timeout = 0 (86) Session-Timeout = 9025580 (86) X-Ascend-Data-Rate = 205000000 (86) Ascend-Xmit-Rate = 205000000 (86) Mikrotik-Rate-Limit = "205M/205M" (86) Acct-Input-Octets = 450605511 (86) Acct-Input-Gigawords = 0 (86) Acct-Input-Packets = 3375554 (86) Acct-Output-Octets = 1318081069 (86) Acct-Output-Gigawords = 3 (86) Acct-Output-Packets = 11387315 (86) Acct-Status-Type = Interim-Update (86) NAS-Identifier = "CORE-ROUTER" (86) Acct-Delay-Time = 0 (86) NAS-IP-Address = 103.190.8.10 (86) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (86) preacct { (86) [preprocess] = ok (86) policy acct_unique { (86) update request { (86) &Tmp-String-9 := "ai:" (86) } # update request = noop (86) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (86) EXPAND %{hex:&Class} (86) --> (86) EXPAND ^%{hex:&Tmp-String-9} (86) --> ^61693a (86) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (86) else { (86) update request { (86) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (86) --> 6ee2d42c516fb66d48caae41df06943c (86) &Acct-Unique-Session-Id := 6ee2d42c516fb66d48caae41df06943c (86) } # update request = noop (86) } # else = noop (86) update request { (86) &Tmp-String-9 !* ANY (86) } # update request = noop (86) } # policy acct_unique = noop (86) suffix: Checking for suffix after "@" (86) suffix: No '@' in User-Name = "gnc_preeti627", looking up realm NULL (86) suffix: No such realm "NULL" (86) [suffix] = noop (86) [files] = noop (86) } # preacct = ok (86) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (86) accounting { (86) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (86) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (86) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (86) detail: EXPAND %t (86) detail: --> Fri Mar 27 04:23:10 2026 (86) [detail] = ok (86) [unix] = noop (86) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (86) sql: --> type.interim-update.query (86) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (103) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (104), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (104) (86) sql: EXPAND %{User-Name} (86) sql: --> gnc_preeti627 (86) sql: SQL-User-Name set to 'gnc_preeti627' (86) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (86) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565590), acctinterval = 1774565590 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.107', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55771, acctinputoctets = '0' << 32 | '450605511', acctoutputoctets = '3' << 32 | '1318081069' WHERE AcctUniqueId = '6ee2d42c516fb66d48caae41df06943c' (86) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565590), acctinterval = 1774565590 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.107', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55771, acctinputoctets = '0' << 32 | '450605511', acctoutputoctets = '3' << 32 | '1318081069' WHERE AcctUniqueId = '6ee2d42c516fb66d48caae41df06943c' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (86) sql: SQL query returned: success (86) sql: 1 record(s) updated rlm_sql (sql): Released connection (104) (86) [sql] = ok (86) [exec] = noop (86) attr_filter.accounting_response: EXPAND %{User-Name} (86) attr_filter.accounting_response: --> gnc_preeti627 (86) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (86) [attr_filter.accounting_response] = updated (86) } # accounting = updated (86) Sent Accounting-Response Id 28 from 103.204.70.55:1813 to 103.190.8.10:56449 length 20 (86) Finished request (86) Cleaning up request packet ID 28 with timestamp +16 due to done Waking up in 0.6 seconds. (87) Received Accounting-Request Id 29 from 103.190.8.10:42483 to 103.204.70.55:1813 length 242 (87) Service-Type = Framed-User (87) Framed-Protocol = PPP (87) NAS-Port = 16103167 (87) NAS-Port-Type = Ethernet (87) User-Name = "ANIL232" (87) Calling-Station-Id = "F0:ED:B8:0F:1E:B9" (87) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (87) Acct-Session-Id = "8155ab2e" (87) Framed-IP-Address = 172.16.5.126 (87) Acct-Authentic = RADIUS (87) Event-Timestamp = "Mar 27 2026 04:23:10 IST" (87) Acct-Session-Time = 12871 (87) Idle-Timeout = 0 (87) Session-Timeout = 7600279 (87) X-Ascend-Data-Rate = 105000000 (87) Ascend-Xmit-Rate = 105000000 (87) Mikrotik-Rate-Limit = "105M/105M" (87) Acct-Input-Octets = 49431728 (87) Acct-Input-Gigawords = 0 (87) Acct-Input-Packets = 268232 (87) Acct-Output-Octets = 2658027231 (87) Acct-Output-Gigawords = 0 (87) Acct-Output-Packets = 2147744 (87) Acct-Status-Type = Interim-Update (87) NAS-Identifier = "CORE-ROUTER" (87) Acct-Delay-Time = 0 (87) NAS-IP-Address = 103.190.8.10 (87) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (87) preacct { (87) [preprocess] = ok (87) policy acct_unique { (87) update request { (87) &Tmp-String-9 := "ai:" (87) } # update request = noop (87) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (87) EXPAND %{hex:&Class} (87) --> (87) EXPAND ^%{hex:&Tmp-String-9} (87) --> ^61693a (87) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (87) else { (87) update request { (87) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (87) --> b388608b2f379a1e413a48423b5e71d7 (87) &Acct-Unique-Session-Id := b388608b2f379a1e413a48423b5e71d7 (87) } # update request = noop (87) } # else = noop (87) update request { (87) &Tmp-String-9 !* ANY (87) } # update request = noop (87) } # policy acct_unique = noop (87) suffix: Checking for suffix after "@" (87) suffix: No '@' in User-Name = "ANIL232", looking up realm NULL (87) suffix: No such realm "NULL" (87) [suffix] = noop (87) [files] = noop (87) } # preacct = ok (87) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (87) accounting { (87) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (87) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (87) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (87) detail: EXPAND %t (87) detail: --> Fri Mar 27 04:23:10 2026 (87) [detail] = ok (87) [unix] = noop (87) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (87) sql: --> type.interim-update.query (87) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (104) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (105), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (105) (87) sql: EXPAND %{User-Name} (87) sql: --> ANIL232 (87) sql: SQL-User-Name set to 'ANIL232' (87) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (87) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565590), acctinterval = 1774565590 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.126', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 12871, acctinputoctets = '0' << 32 | '49431728', acctoutputoctets = '0' << 32 | '2658027231' WHERE AcctUniqueId = 'b388608b2f379a1e413a48423b5e71d7' (87) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565590), acctinterval = 1774565590 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.126', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 12871, acctinputoctets = '0' << 32 | '49431728', acctoutputoctets = '0' << 32 | '2658027231' WHERE AcctUniqueId = 'b388608b2f379a1e413a48423b5e71d7' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (87) sql: SQL query returned: success (87) sql: 1 record(s) updated rlm_sql (sql): Released connection (105) (87) [sql] = ok (87) [exec] = noop (87) attr_filter.accounting_response: EXPAND %{User-Name} (87) attr_filter.accounting_response: --> ANIL232 (87) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (87) [attr_filter.accounting_response] = updated (87) } # accounting = updated (87) Sent Accounting-Response Id 29 from 103.204.70.55:1813 to 103.190.8.10:42483 length 20 (87) Finished request (87) Cleaning up request packet ID 29 with timestamp +16 due to done Waking up in 0.4 seconds. (88) Received Access-Request Id 30 from 103.190.8.10:54108 to 103.204.70.55:1812 length 173 (88) Service-Type = Framed-User (88) Framed-Protocol = PPP (88) NAS-Port = 16116447 (88) NAS-Port-Type = Ethernet (88) User-Name = "bunty321" (88) Calling-Station-Id = "58:6D:8F:B2:12:B6" (88) NAS-Port-Id = "RB_INTERNET-71" (88) Acct-Session-Id = "8155ddcb" (88) CHAP-Challenge = 0x358ef827592af1f42d069010922679ee (88) CHAP-Password = 0x0167c4938d81029c42c8058c0464eae943 (88) NAS-Identifier = "CORE-ROUTER" (88) NAS-IP-Address = 103.190.8.10 (88) Message-Authenticator = 0x49d3f17d82d3257005255469d0cdb5b4 (88) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (88) authorize { (88) [preprocess] = ok (88) chap: &control:Auth-Type := CHAP (88) [chap] = ok (88) [mschap] = noop (88) [digest] = noop (88) suffix: Checking for suffix after "@" (88) suffix: No '@' in User-Name = "bunty321", looking up realm NULL (88) suffix: No such realm "NULL" (88) [suffix] = noop (88) eap: No EAP-Message, not doing EAP (88) [eap] = noop (88) files: users: Matched entry DEFAULT at line 167 (88) [files] = ok (88) sql: EXPAND %{User-Name} (88) sql: --> bunty321 (88) sql: SQL-User-Name set to 'bunty321' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (105) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (106), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (106) (88) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (88) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'bunty321' ORDER BY id (88) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'bunty321' ORDER BY id (88) sql: User found in radcheck table (88) sql: Conditional check items matched, merging assignment check items (88) sql: Cleartext-Password := "123456" (88) sql: Expiration := "Mar 24 2026 23:59:59 IST" (88) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (88) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'bunty321' ORDER BY id (88) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'bunty321' ORDER BY id (88) sql: User found in radreply table, merging reply items (88) sql: Mikrotik-Rate-Limit := "105M/105M" (88) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (88) sql: --> SELECT groupname FROM radusergroup WHERE username = 'bunty321' ORDER BY priority (88) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'bunty321' ORDER BY priority (88) sql: User found in the group table (88) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (88) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (88) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (88) sql: Group "REELTIME-100-Mbps-Rs-100": Conditional check items matched (88) sql: Group "REELTIME-100-Mbps-Rs-100": Merging assignment check items (88) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (88) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (88) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (88) sql: Group "REELTIME-100-Mbps-Rs-100": Merging reply items (88) sql: Mikrotik-Rate-Limit := "105M/105M" rlm_sql (sql): Released connection (106) (88) [sql] = ok (88) expiration: ERROR: Account expired at 'Mar 24 2026 23:59:59 IST' (88) [expiration] = userlock (88) } # authorize = userlock (88) Using Post-Auth-Type Reject (88) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (88) Post-Auth-Type REJECT { (88) sql: EXPAND .query (88) sql: --> .query (88) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (106) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (107), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (107) (88) sql: EXPAND %{User-Name} (88) sql: --> bunty321 (88) sql: SQL-User-Name set to 'bunty321' (88) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (88) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'bunty321', '0x0167c4938d81029c42c8058c0464eae943', 'Access-Reject', '2026-03-27 04:23:10.686738' ) (88) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'bunty321', '0x0167c4938d81029c42c8058c0464eae943', 'Access-Reject', '2026-03-27 04:23:10.686738' ) (88) sql: SQL query returned: success (88) sql: 1 record(s) updated rlm_sql (sql): Released connection (107) (88) [sql] = ok (88) attr_filter.access_reject: EXPAND %{User-Name} (88) attr_filter.access_reject: --> bunty321 (88) attr_filter.access_reject: Matched entry DEFAULT at line 11 (88) [attr_filter.access_reject] = updated (88) [eap] = noop (88) policy remove_reply_message_if_eap { (88) if (&reply:EAP-Message && &reply:Reply-Message) { (88) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (88) else { (88) [noop] = noop (88) } # else = noop (88) } # policy remove_reply_message_if_eap = noop (88) } # Post-Auth-Type REJECT = updated (88) Sent Access-Reject Id 30 from 103.204.70.55:1812 to 103.190.8.10:54108 length 38 (88) Finished request Waking up in 0.2 seconds. (78) Cleaning up request packet ID 22 with timestamp +14 due to cleanup_delay was reached Waking up in 0.2 seconds. (89) Received Accounting-Request Id 31 from 103.190.8.10:49820 to 103.204.70.55:1813 length 247 (89) Service-Type = Framed-User (89) Framed-Protocol = PPP (89) NAS-Port = 16096935 (89) NAS-Port-Type = Ethernet (89) User-Name = "DHANANJAY158" (89) Calling-Station-Id = "E8:D0:B9:A1:E0:C7" (89) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (89) Acct-Session-Id = "815593a1" (89) Framed-IP-Address = 172.16.4.174 (89) Acct-Authentic = RADIUS (89) Event-Timestamp = "Mar 27 2026 04:23:11 IST" (89) Acct-Session-Time = 33801 (89) Idle-Timeout = 0 (89) Session-Timeout = 1314010 (89) X-Ascend-Data-Rate = 105000000 (89) Ascend-Xmit-Rate = 105000000 (89) Mikrotik-Rate-Limit = "105M/105M" (89) Acct-Input-Octets = 3881465456 (89) Acct-Input-Gigawords = 1 (89) Acct-Input-Packets = 8174520 (89) Acct-Output-Octets = 3824071581 (89) Acct-Output-Gigawords = 4 (89) Acct-Output-Packets = 16720397 (89) Acct-Status-Type = Interim-Update (89) NAS-Identifier = "CORE-ROUTER" (89) Acct-Delay-Time = 0 (89) NAS-IP-Address = 103.190.8.10 (89) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (89) preacct { (89) [preprocess] = ok (89) policy acct_unique { (89) update request { (89) &Tmp-String-9 := "ai:" (89) } # update request = noop (89) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (89) EXPAND %{hex:&Class} (89) --> (89) EXPAND ^%{hex:&Tmp-String-9} (89) --> ^61693a (89) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (89) else { (89) update request { (89) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (89) --> 34aad01af851c46d4f75de8b0fcc83e9 (89) &Acct-Unique-Session-Id := 34aad01af851c46d4f75de8b0fcc83e9 (89) } # update request = noop (89) } # else = noop (89) update request { (89) &Tmp-String-9 !* ANY (89) } # update request = noop (89) } # policy acct_unique = noop (89) suffix: Checking for suffix after "@" (89) suffix: No '@' in User-Name = "DHANANJAY158", looking up realm NULL (89) suffix: No such realm "NULL" (89) [suffix] = noop (89) [files] = noop (89) } # preacct = ok (89) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (89) accounting { (89) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (89) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (89) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (89) detail: EXPAND %t (89) detail: --> Fri Mar 27 04:23:11 2026 (89) [detail] = ok (89) [unix] = noop (89) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (89) sql: --> type.interim-update.query (89) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (107) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (108), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (108) (89) sql: EXPAND %{User-Name} (89) sql: --> DHANANJAY158 (89) sql: SQL-User-Name set to 'DHANANJAY158' (89) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (89) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565591), acctinterval = 1774565591 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.174', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 33801, acctinputoctets = '1' << 32 | '3881465456', acctoutputoctets = '4' << 32 | '3824071581' WHERE AcctUniqueId = '34aad01af851c46d4f75de8b0fcc83e9' (89) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565591), acctinterval = 1774565591 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.174', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 33801, acctinputoctets = '1' << 32 | '3881465456', acctoutputoctets = '4' << 32 | '3824071581' WHERE AcctUniqueId = '34aad01af851c46d4f75de8b0fcc83e9' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (89) sql: SQL query returned: success (89) sql: 1 record(s) updated rlm_sql (sql): Released connection (108) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (109), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (108) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (89) [sql] = ok (89) [exec] = noop (89) attr_filter.accounting_response: EXPAND %{User-Name} (89) attr_filter.accounting_response: --> DHANANJAY158 (89) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (89) [attr_filter.accounting_response] = updated (89) } # accounting = updated (89) Sent Accounting-Response Id 31 from 103.204.70.55:1813 to 103.190.8.10:49820 length 20 (89) Finished request (89) Cleaning up request packet ID 31 with timestamp +17 due to done Waking up in 0.1 seconds. (90) Received Access-Request Id 32 from 103.190.8.10:56526 to 103.204.70.55:1812 length 179 (90) Service-Type = Framed-User (90) Framed-Protocol = PPP (90) NAS-Port = 16116448 (90) NAS-Port-Type = Ethernet (90) User-Name = "SUNNY261" (90) Calling-Station-Id = "E8:65:D4:15:37:A8" (90) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (90) Acct-Session-Id = "8155ddcc" (90) CHAP-Challenge = 0x1954d9d2721b8feba03a92e393f5cfa0 (90) CHAP-Password = 0x016dc6d3376dea3b7f7246daa511039ae2 (90) NAS-Identifier = "CORE-ROUTER" (90) NAS-IP-Address = 103.190.8.10 (90) Message-Authenticator = 0x504c738f43caac78371978cda80e91bf (90) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (90) authorize { (90) [preprocess] = ok (90) chap: &control:Auth-Type := CHAP (90) [chap] = ok (90) [mschap] = noop (90) [digest] = noop (90) suffix: Checking for suffix after "@" (90) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (90) suffix: No such realm "NULL" (90) [suffix] = noop (90) eap: No EAP-Message, not doing EAP (90) [eap] = noop (90) files: users: Matched entry DEFAULT at line 167 (90) [files] = ok (90) sql: EXPAND %{User-Name} (90) sql: --> SUNNY261 (90) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (109) (90) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (90) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (90) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (90) sql: User found in radcheck table (90) sql: Conditional check items matched, merging assignment check items (90) sql: Cleartext-Password := "123456" (90) sql: Expiration := "Mar 26 2026 23:59:59 IST" (90) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (90) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (90) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (90) sql: User found in radreply table, merging reply items (90) sql: Mikrotik-Rate-Limit := "62M/62M" (90) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (90) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (90) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (90) sql: User found in the group table (90) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (90) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (90) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (90) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (90) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (90) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (90) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (90) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (90) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (90) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (109) (90) [sql] = ok (90) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (90) [expiration] = userlock (90) } # authorize = userlock (90) Using Post-Auth-Type Reject (90) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (90) Post-Auth-Type REJECT { (90) sql: EXPAND .query (90) sql: --> .query (90) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (109) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (110), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (110) (90) sql: EXPAND %{User-Name} (90) sql: --> SUNNY261 (90) sql: SQL-User-Name set to 'SUNNY261' (90) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (90) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x016dc6d3376dea3b7f7246daa511039ae2', 'Access-Reject', '2026-03-27 04:23:11.118856' ) (90) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x016dc6d3376dea3b7f7246daa511039ae2', 'Access-Reject', '2026-03-27 04:23:11.118856' ) (90) sql: SQL query returned: success (90) sql: 1 record(s) updated rlm_sql (sql): Released connection (110) (90) [sql] = ok (90) attr_filter.access_reject: EXPAND %{User-Name} (90) attr_filter.access_reject: --> SUNNY261 (90) attr_filter.access_reject: Matched entry DEFAULT at line 11 (90) [attr_filter.access_reject] = updated (90) [eap] = noop (90) policy remove_reply_message_if_eap { (90) if (&reply:EAP-Message && &reply:Reply-Message) { (90) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (90) else { (90) [noop] = noop (90) } # else = noop (90) } # policy remove_reply_message_if_eap = noop (90) } # Post-Auth-Type REJECT = updated (90) Sent Access-Reject Id 32 from 103.204.70.55:1812 to 103.190.8.10:56526 length 38 (90) Finished request (81) Cleaning up request packet ID 170 with timestamp +15 due to cleanup_delay was reached (83) Cleaning up request packet ID 26 with timestamp +15 due to cleanup_delay was reached Waking up in 0.8 seconds. (91) Received Accounting-Request Id 85 from 27.100.14.6:47808 to 103.204.70.55:1813 length 228 (91) Service-Type = Framed-User (91) Framed-Protocol = PPP (91) NAS-Port = 15741120 (91) NAS-Port-Type = Ethernet (91) User-Name = "9896203800" (91) Calling-Station-Id = "08:40:F3:5B:6A:68" (91) NAS-Port-Id = "ether3" (91) Acct-Session-Id = "81c02bce" (91) Framed-IP-Address = 10.10.10.194 (91) Acct-Authentic = RADIUS (91) Event-Timestamp = "Mar 27 2026 04:23:11 IST" (91) Acct-Session-Time = 6120 (91) Idle-Timeout = 0 (91) Session-Timeout = 29625528 (91) X-Ascend-Data-Rate = 110000000 (91) Ascend-Xmit-Rate = 110000000 (91) Mikrotik-Rate-Limit = "110M/110M" (91) Acct-Input-Octets = 41428 (91) Acct-Input-Gigawords = 0 (91) Acct-Input-Packets = 497 (91) Acct-Output-Octets = 38266 (91) Acct-Output-Gigawords = 0 (91) Acct-Output-Packets = 444 (91) Acct-Status-Type = Interim-Update (91) NAS-Identifier = "MikroTik" (91) Acct-Delay-Time = 0 (91) NAS-IP-Address = 27.100.14.6 (91) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (91) preacct { (91) [preprocess] = ok (91) policy acct_unique { (91) update request { (91) &Tmp-String-9 := "ai:" (91) } # update request = noop (91) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (91) EXPAND %{hex:&Class} (91) --> (91) EXPAND ^%{hex:&Tmp-String-9} (91) --> ^61693a (91) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (91) else { (91) update request { (91) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (91) --> cbd0b3b5d5d13857800f29186405c990 (91) &Acct-Unique-Session-Id := cbd0b3b5d5d13857800f29186405c990 (91) } # update request = noop (91) } # else = noop (91) update request { (91) &Tmp-String-9 !* ANY (91) } # update request = noop (91) } # policy acct_unique = noop (91) suffix: Checking for suffix after "@" (91) suffix: No '@' in User-Name = "9896203800", looking up realm NULL (91) suffix: No such realm "NULL" (91) [suffix] = noop (91) [files] = noop (91) } # preacct = ok (91) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (91) accounting { (91) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (91) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (91) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (91) detail: EXPAND %t (91) detail: --> Fri Mar 27 04:23:11 2026 (91) [detail] = ok (91) [unix] = noop (91) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (91) sql: --> type.interim-update.query (91) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (110) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (111), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (111) (91) sql: EXPAND %{User-Name} (91) sql: --> 9896203800 (91) sql: SQL-User-Name set to '9896203800' (91) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (91) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565591), acctinterval = 1774565591 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.194', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 6120, acctinputoctets = '0' << 32 | '41428', acctoutputoctets = '0' << 32 | '38266' WHERE AcctUniqueId = 'cbd0b3b5d5d13857800f29186405c990' (91) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565591), acctinterval = 1774565591 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.194', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 6120, acctinputoctets = '0' << 32 | '41428', acctoutputoctets = '0' << 32 | '38266' WHERE AcctUniqueId = 'cbd0b3b5d5d13857800f29186405c990' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (91) sql: SQL query returned: success (91) sql: 1 record(s) updated rlm_sql (sql): Released connection (111) (91) [sql] = ok (91) [exec] = noop (91) attr_filter.accounting_response: EXPAND %{User-Name} (91) attr_filter.accounting_response: --> 9896203800 (91) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (91) [attr_filter.accounting_response] = updated (91) } # accounting = updated (91) Sent Accounting-Response Id 85 from 103.204.70.55:1813 to 27.100.14.6:47808 length 20 (91) Finished request (91) Cleaning up request packet ID 85 with timestamp +17 due to done Waking up in 0.4 seconds. (85) Cleaning up request packet ID 27 with timestamp +16 due to cleanup_delay was reached Waking up in 0.6 seconds. (92) Received Access-Request Id 33 from 103.190.8.10:41865 to 103.204.70.55:1812 length 179 (92) Service-Type = Framed-User (92) Framed-Protocol = PPP (92) NAS-Port = 16116449 (92) NAS-Port-Type = Ethernet (92) User-Name = "SUNNY261" (92) Calling-Station-Id = "E8:65:D4:15:37:A8" (92) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (92) Acct-Session-Id = "8155ddcd" (92) CHAP-Challenge = 0x85bee705f8c1cd3171d9086ffadf50b5 (92) CHAP-Password = 0x018f9e4c935ba3aab3999491776397603e (92) NAS-Identifier = "CORE-ROUTER" (92) NAS-IP-Address = 103.190.8.10 (92) Message-Authenticator = 0x3947653ca56e3eeedc8adb039094d567 (92) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (92) authorize { (92) [preprocess] = ok (92) chap: &control:Auth-Type := CHAP (92) [chap] = ok (92) [mschap] = noop (92) [digest] = noop (92) suffix: Checking for suffix after "@" (92) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (92) suffix: No such realm "NULL" (92) [suffix] = noop (92) eap: No EAP-Message, not doing EAP (92) [eap] = noop (92) files: users: Matched entry DEFAULT at line 167 (92) [files] = ok (92) sql: EXPAND %{User-Name} (92) sql: --> SUNNY261 (92) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (111) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (112), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (112) (92) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (92) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (92) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (92) sql: User found in radcheck table (92) sql: Conditional check items matched, merging assignment check items (92) sql: Cleartext-Password := "123456" (92) sql: Expiration := "Mar 26 2026 23:59:59 IST" (92) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (92) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (92) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (92) sql: User found in radreply table, merging reply items (92) sql: Mikrotik-Rate-Limit := "62M/62M" (92) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (92) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (92) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (92) sql: User found in the group table (92) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (92) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (92) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (92) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (92) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (92) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (92) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (92) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (92) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (92) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (112) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (113), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (112) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (92) [sql] = ok (92) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (92) [expiration] = userlock (92) } # authorize = userlock (92) Using Post-Auth-Type Reject (92) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (92) Post-Auth-Type REJECT { (92) sql: EXPAND .query (92) sql: --> .query (92) sql: Using query template 'query' rlm_sql (sql): Reserved connection (113) (92) sql: EXPAND %{User-Name} (92) sql: --> SUNNY261 (92) sql: SQL-User-Name set to 'SUNNY261' (92) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (92) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x018f9e4c935ba3aab3999491776397603e', 'Access-Reject', '2026-03-27 04:23:12.218161' ) (92) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x018f9e4c935ba3aab3999491776397603e', 'Access-Reject', '2026-03-27 04:23:12.218161' ) (92) sql: SQL query returned: success (92) sql: 1 record(s) updated rlm_sql (sql): Released connection (113) (92) [sql] = ok (92) attr_filter.access_reject: EXPAND %{User-Name} (92) attr_filter.access_reject: --> SUNNY261 (92) attr_filter.access_reject: Matched entry DEFAULT at line 11 (92) [attr_filter.access_reject] = updated (92) [eap] = noop (92) policy remove_reply_message_if_eap { (92) if (&reply:EAP-Message && &reply:Reply-Message) { (92) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (92) else { (92) [noop] = noop (92) } # else = noop (92) } # policy remove_reply_message_if_eap = noop (92) } # Post-Auth-Type REJECT = updated (92) Sent Access-Reject Id 33 from 103.204.70.55:1812 to 103.190.8.10:41865 length 38 (92) Finished request Waking up in 0.4 seconds. (88) Cleaning up request packet ID 30 with timestamp +16 due to cleanup_delay was reached Waking up in 0.4 seconds. (93) Received Accounting-Request Id 34 from 103.190.8.10:40472 to 103.204.70.55:1813 length 238 (93) Service-Type = Framed-User (93) Framed-Protocol = PPP (93) NAS-Port = 16099942 (93) NAS-Port-Type = Ethernet (93) User-Name = "tataskybb" (93) Calling-Station-Id = "50:91:E3:E1:3A:ED" (93) NAS-Port-Id = "RB_INTERNET-71" (93) Acct-Session-Id = "81559ecf" (93) Framed-IP-Address = 172.16.4.131 (93) Acct-Authentic = RADIUS (93) Event-Timestamp = "Mar 27 2026 04:23:12 IST" (93) Acct-Session-Time = 18070 (93) Idle-Timeout = 0 (93) Session-Timeout = 3371877 (93) X-Ascend-Data-Rate = 160000000 (93) Ascend-Xmit-Rate = 160000000 (93) Mikrotik-Rate-Limit = "160M/160M" (93) Acct-Input-Octets = 83639412 (93) Acct-Input-Gigawords = 0 (93) Acct-Input-Packets = 932794 (93) Acct-Output-Octets = 196097797 (93) Acct-Output-Gigawords = 1 (93) Acct-Output-Packets = 3256888 (93) Acct-Status-Type = Interim-Update (93) NAS-Identifier = "CORE-ROUTER" (93) Acct-Delay-Time = 0 (93) NAS-IP-Address = 103.190.8.10 (93) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (93) preacct { (93) [preprocess] = ok (93) policy acct_unique { (93) update request { (93) &Tmp-String-9 := "ai:" (93) } # update request = noop (93) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (93) EXPAND %{hex:&Class} (93) --> (93) EXPAND ^%{hex:&Tmp-String-9} (93) --> ^61693a (93) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (93) else { (93) update request { (93) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (93) --> c63c3067a71e2dce15d3a9fd5bace5c8 (93) &Acct-Unique-Session-Id := c63c3067a71e2dce15d3a9fd5bace5c8 (93) } # update request = noop (93) } # else = noop (93) update request { (93) &Tmp-String-9 !* ANY (93) } # update request = noop (93) } # policy acct_unique = noop (93) suffix: Checking for suffix after "@" (93) suffix: No '@' in User-Name = "tataskybb", looking up realm NULL (93) suffix: No such realm "NULL" (93) [suffix] = noop (93) [files] = noop (93) } # preacct = ok (93) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (93) accounting { (93) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (93) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (93) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (93) detail: EXPAND %t (93) detail: --> Fri Mar 27 04:23:12 2026 (93) [detail] = ok (93) [unix] = noop (93) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (93) sql: --> type.interim-update.query (93) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (113) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (114), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (114) (93) sql: EXPAND %{User-Name} (93) sql: --> tataskybb (93) sql: SQL-User-Name set to 'tataskybb' (93) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (93) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565592), acctinterval = 1774565592 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.131', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 18070, acctinputoctets = '0' << 32 | '83639412', acctoutputoctets = '1' << 32 | '196097797' WHERE AcctUniqueId = 'c63c3067a71e2dce15d3a9fd5bace5c8' (93) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565592), acctinterval = 1774565592 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.131', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 18070, acctinputoctets = '0' << 32 | '83639412', acctoutputoctets = '1' << 32 | '196097797' WHERE AcctUniqueId = 'c63c3067a71e2dce15d3a9fd5bace5c8' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (93) sql: SQL query returned: success (93) sql: 1 record(s) updated rlm_sql (sql): Released connection (114) (93) [sql] = ok (93) [exec] = noop (93) attr_filter.accounting_response: EXPAND %{User-Name} (93) attr_filter.accounting_response: --> tataskybb (93) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (93) [attr_filter.accounting_response] = updated (93) } # accounting = updated (93) Sent Accounting-Response Id 34 from 103.204.70.55:1813 to 103.190.8.10:40472 length 20 (93) Finished request (93) Cleaning up request packet ID 34 with timestamp +18 due to done Waking up in 0.1 seconds. (90) Cleaning up request packet ID 32 with timestamp +17 due to cleanup_delay was reached Waking up in 1.1 seconds. (94) Received Access-Request Id 35 from 103.190.8.10:42905 to 103.204.70.55:1812 length 179 (94) Service-Type = Framed-User (94) Framed-Protocol = PPP (94) NAS-Port = 16116450 (94) NAS-Port-Type = Ethernet (94) User-Name = "SUNNY261" (94) Calling-Station-Id = "E8:65:D4:15:37:A8" (94) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (94) Acct-Session-Id = "8155ddce" (94) CHAP-Challenge = 0x24c8384aa79fba17836eb6c8c3b2c2e0 (94) CHAP-Password = 0x01ef10e9af2195d1c3b91ce801865dce81 (94) NAS-Identifier = "CORE-ROUTER" (94) NAS-IP-Address = 103.190.8.10 (94) Message-Authenticator = 0x8f53083e8aa672744fd2473a82eb1092 (94) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (94) authorize { (94) [preprocess] = ok (94) chap: &control:Auth-Type := CHAP (94) [chap] = ok (94) [mschap] = noop (94) [digest] = noop (94) suffix: Checking for suffix after "@" (94) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (94) suffix: No such realm "NULL" (94) [suffix] = noop (94) eap: No EAP-Message, not doing EAP (94) [eap] = noop (94) files: users: Matched entry DEFAULT at line 167 (94) [files] = ok (94) sql: EXPAND %{User-Name} (94) sql: --> SUNNY261 (94) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (114) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (115), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (115) (94) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (94) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (94) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (94) sql: User found in radcheck table (94) sql: Conditional check items matched, merging assignment check items (94) sql: Cleartext-Password := "123456" (94) sql: Expiration := "Mar 26 2026 23:59:59 IST" (94) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (94) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (94) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (94) sql: User found in radreply table, merging reply items (94) sql: Mikrotik-Rate-Limit := "62M/62M" (94) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (94) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (94) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (94) sql: User found in the group table (94) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (94) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (94) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (94) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (94) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (94) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (94) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (94) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (94) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (94) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (115) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (116), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (115) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (94) [sql] = ok (94) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (94) [expiration] = userlock (94) } # authorize = userlock (94) Using Post-Auth-Type Reject (94) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (94) Post-Auth-Type REJECT { (94) sql: EXPAND .query (94) sql: --> .query (94) sql: Using query template 'query' rlm_sql (sql): Reserved connection (116) (94) sql: EXPAND %{User-Name} (94) sql: --> SUNNY261 (94) sql: SQL-User-Name set to 'SUNNY261' (94) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (94) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01ef10e9af2195d1c3b91ce801865dce81', 'Access-Reject', '2026-03-27 04:23:13.319928' ) (94) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01ef10e9af2195d1c3b91ce801865dce81', 'Access-Reject', '2026-03-27 04:23:13.319928' ) (94) sql: SQL query returned: success (94) sql: 1 record(s) updated rlm_sql (sql): Released connection (116) (94) [sql] = ok (94) attr_filter.access_reject: EXPAND %{User-Name} (94) attr_filter.access_reject: --> SUNNY261 (94) attr_filter.access_reject: Matched entry DEFAULT at line 11 (94) [attr_filter.access_reject] = updated (94) [eap] = noop (94) policy remove_reply_message_if_eap { (94) if (&reply:EAP-Message && &reply:Reply-Message) { (94) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (94) else { (94) [noop] = noop (94) } # else = noop (94) } # policy remove_reply_message_if_eap = noop (94) } # Post-Auth-Type REJECT = updated (94) Sent Access-Reject Id 35 from 103.204.70.55:1812 to 103.190.8.10:42905 length 38 (94) Finished request Waking up in 0.8 seconds. (95) Received Accounting-Request Id 86 from 27.100.14.6:47290 to 103.204.70.55:1813 length 228 (95) Service-Type = Framed-User (95) Framed-Protocol = PPP (95) NAS-Port = 15735047 (95) NAS-Port-Type = Ethernet (95) User-Name = "1321030042" (95) Calling-Station-Id = "24:94:93:1C:F3:1F" (95) NAS-Port-Id = "ether3" (95) Acct-Session-Id = "81c01559" (95) Framed-IP-Address = 10.10.10.172 (95) Acct-Authentic = RADIUS (95) Event-Timestamp = "Mar 27 2026 04:23:13 IST" (95) Acct-Session-Time = 47881 (95) Idle-Timeout = 0 (95) Session-Timeout = 30272087 (95) X-Ascend-Data-Rate = 110000000 (95) Ascend-Xmit-Rate = 110000000 (95) Mikrotik-Rate-Limit = "110M/110M" (95) Acct-Input-Octets = 37848321 (95) Acct-Input-Gigawords = 0 (95) Acct-Input-Packets = 254872 (95) Acct-Output-Octets = 1828711145 (95) Acct-Output-Gigawords = 0 (95) Acct-Output-Packets = 1377417 (95) Acct-Status-Type = Interim-Update (95) NAS-Identifier = "MikroTik" (95) Acct-Delay-Time = 0 (95) NAS-IP-Address = 27.100.14.6 (95) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (95) preacct { (95) [preprocess] = ok (95) policy acct_unique { (95) update request { (95) &Tmp-String-9 := "ai:" (95) } # update request = noop (95) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (95) EXPAND %{hex:&Class} (95) --> (95) EXPAND ^%{hex:&Tmp-String-9} (95) --> ^61693a (95) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (95) else { (95) update request { (95) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (95) --> 6174f8a45dfdcfa2995493872770663b (95) &Acct-Unique-Session-Id := 6174f8a45dfdcfa2995493872770663b (95) } # update request = noop (95) } # else = noop (95) update request { (95) &Tmp-String-9 !* ANY (95) } # update request = noop (95) } # policy acct_unique = noop (95) suffix: Checking for suffix after "@" (95) suffix: No '@' in User-Name = "1321030042", looking up realm NULL (95) suffix: No such realm "NULL" (95) [suffix] = noop (95) [files] = noop (95) } # preacct = ok (95) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (95) accounting { (95) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (95) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (95) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (95) detail: EXPAND %t (95) detail: --> Fri Mar 27 04:23:13 2026 (95) [detail] = ok (95) [unix] = noop (95) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (95) sql: --> type.interim-update.query (95) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (116) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (117), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (117) (95) sql: EXPAND %{User-Name} (95) sql: --> 1321030042 (95) sql: SQL-User-Name set to '1321030042' (95) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (95) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565593), acctinterval = 1774565593 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.172', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 47881, acctinputoctets = '0' << 32 | '37848321', acctoutputoctets = '0' << 32 | '1828711145' WHERE AcctUniqueId = '6174f8a45dfdcfa2995493872770663b' (95) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565593), acctinterval = 1774565593 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.172', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 47881, acctinputoctets = '0' << 32 | '37848321', acctoutputoctets = '0' << 32 | '1828711145' WHERE AcctUniqueId = '6174f8a45dfdcfa2995493872770663b' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (95) sql: SQL query returned: success (95) sql: 1 record(s) updated rlm_sql (sql): Released connection (117) (95) [sql] = ok (95) [exec] = noop (95) attr_filter.accounting_response: EXPAND %{User-Name} (95) attr_filter.accounting_response: --> 1321030042 (95) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (95) [attr_filter.accounting_response] = updated (95) } # accounting = updated (95) Sent Accounting-Response Id 86 from 103.204.70.55:1813 to 27.100.14.6:47290 length 20 (95) Finished request (95) Cleaning up request packet ID 86 with timestamp +19 due to done Waking up in 0.6 seconds. (96) Received Accounting-Request Id 36 from 103.190.8.10:53422 to 103.204.70.55:1813 length 243 (96) Service-Type = Framed-User (96) Framed-Protocol = PPP (96) NAS-Port = 16087215 (96) NAS-Port-Type = Ethernet (96) User-Name = "PRIYANK189" (96) Calling-Station-Id = "E4:6F:13:B3:18:6C" (96) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (96) Acct-Session-Id = "81556ee7" (96) Framed-IP-Address = 172.16.5.66 (96) Acct-Authentic = RADIUS (96) Event-Timestamp = "Mar 27 2026 04:23:14 IST" (96) Acct-Session-Time = 72411 (96) Idle-Timeout = 0 (96) Session-Timeout = 2216617 (96) X-Ascend-Data-Rate = 62000000 (96) Ascend-Xmit-Rate = 62000000 (96) Mikrotik-Rate-Limit = "62M/62M" (96) Acct-Input-Octets = 268901765 (96) Acct-Input-Gigawords = 0 (96) Acct-Input-Packets = 1457702 (96) Acct-Output-Octets = 3930063710 (96) Acct-Output-Gigawords = 0 (96) Acct-Output-Packets = 3371041 (96) Acct-Status-Type = Interim-Update (96) NAS-Identifier = "CORE-ROUTER" (96) Acct-Delay-Time = 0 (96) NAS-IP-Address = 103.190.8.10 (96) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (96) preacct { (96) [preprocess] = ok (96) policy acct_unique { (96) update request { (96) &Tmp-String-9 := "ai:" (96) } # update request = noop (96) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (96) EXPAND %{hex:&Class} (96) --> (96) EXPAND ^%{hex:&Tmp-String-9} (96) --> ^61693a (96) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (96) else { (96) update request { (96) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (96) --> 4db611017a94e34424eae772bc39e8af (96) &Acct-Unique-Session-Id := 4db611017a94e34424eae772bc39e8af (96) } # update request = noop (96) } # else = noop (96) update request { (96) &Tmp-String-9 !* ANY (96) } # update request = noop (96) } # policy acct_unique = noop (96) suffix: Checking for suffix after "@" (96) suffix: No '@' in User-Name = "PRIYANK189", looking up realm NULL (96) suffix: No such realm "NULL" (96) [suffix] = noop (96) [files] = noop (96) } # preacct = ok (96) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (96) accounting { (96) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (96) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (96) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (96) detail: EXPAND %t (96) detail: --> Fri Mar 27 04:23:14 2026 (96) [detail] = ok (96) [unix] = noop (96) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (96) sql: --> type.interim-update.query (96) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (117) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (118), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (118) (96) sql: EXPAND %{User-Name} (96) sql: --> PRIYANK189 (96) sql: SQL-User-Name set to 'PRIYANK189' (96) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (96) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.66', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 72411, acctinputoctets = '0' << 32 | '268901765', acctoutputoctets = '0' << 32 | '3930063710' WHERE AcctUniqueId = '4db611017a94e34424eae772bc39e8af' (96) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.66', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 72411, acctinputoctets = '0' << 32 | '268901765', acctoutputoctets = '0' << 32 | '3930063710' WHERE AcctUniqueId = '4db611017a94e34424eae772bc39e8af' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (96) sql: SQL query returned: success (96) sql: 1 record(s) updated rlm_sql (sql): Released connection (118) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (119), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (118) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (96) [sql] = ok (96) [exec] = noop (96) attr_filter.accounting_response: EXPAND %{User-Name} (96) attr_filter.accounting_response: --> PRIYANK189 (96) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (96) [attr_filter.accounting_response] = updated (96) } # accounting = updated (96) Sent Accounting-Response Id 36 from 103.204.70.55:1813 to 103.190.8.10:53422 length 20 (96) Finished request (96) Cleaning up request packet ID 36 with timestamp +20 due to done Waking up in 0.1 seconds. (97) Received Accounting-Request Id 37 from 103.190.8.10:55277 to 103.204.70.55:1813 length 239 (97) Service-Type = Framed-User (97) Framed-Protocol = PPP (97) NAS-Port = 16099507 (97) NAS-Port-Type = Ethernet (97) User-Name = "VIKAS331" (97) Calling-Station-Id = "A4:F3:3B:98:72:ED" (97) NAS-Port-Id = "VLAN-83-SK VISON" (97) Acct-Session-Id = "81559d39" (97) Framed-IP-Address = 172.16.4.95 (97) Acct-Authentic = RADIUS (97) Event-Timestamp = "Mar 27 2026 04:23:14 IST" (97) Acct-Session-Time = 20671 (97) Idle-Timeout = 0 (97) Session-Timeout = 1905676 (97) X-Ascend-Data-Rate = 105000000 (97) Ascend-Xmit-Rate = 105000000 (97) Mikrotik-Rate-Limit = "105M/105M" (97) Acct-Input-Octets = 92574195 (97) Acct-Input-Gigawords = 0 (97) Acct-Input-Packets = 614724 (97) Acct-Output-Octets = 3302795795 (97) Acct-Output-Gigawords = 0 (97) Acct-Output-Packets = 2579830 (97) Acct-Status-Type = Interim-Update (97) NAS-Identifier = "CORE-ROUTER" (97) Acct-Delay-Time = 0 (97) NAS-IP-Address = 103.190.8.10 (97) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (97) preacct { (97) [preprocess] = ok (97) policy acct_unique { (97) update request { (97) &Tmp-String-9 := "ai:" (97) } # update request = noop (97) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (97) EXPAND %{hex:&Class} (97) --> (97) EXPAND ^%{hex:&Tmp-String-9} (97) --> ^61693a (97) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (97) else { (97) update request { (97) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (97) --> 5b3c77e90a46b0fa4ac450691331c5ba (97) &Acct-Unique-Session-Id := 5b3c77e90a46b0fa4ac450691331c5ba (97) } # update request = noop (97) } # else = noop (97) update request { (97) &Tmp-String-9 !* ANY (97) } # update request = noop (97) } # policy acct_unique = noop (97) suffix: Checking for suffix after "@" (97) suffix: No '@' in User-Name = "VIKAS331", looking up realm NULL (97) suffix: No such realm "NULL" (97) [suffix] = noop (97) [files] = noop (97) } # preacct = ok (97) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (97) accounting { (97) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (97) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (97) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (97) detail: EXPAND %t (97) detail: --> Fri Mar 27 04:23:14 2026 (97) [detail] = ok (97) [unix] = noop (97) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (97) sql: --> type.interim-update.query (97) sql: Using query template 'query' rlm_sql (sql): Reserved connection (119) (97) sql: EXPAND %{User-Name} (97) sql: --> VIKAS331 (97) sql: SQL-User-Name set to 'VIKAS331' (97) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (97) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.95', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 20671, acctinputoctets = '0' << 32 | '92574195', acctoutputoctets = '0' << 32 | '3302795795' WHERE AcctUniqueId = '5b3c77e90a46b0fa4ac450691331c5ba' (97) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.95', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 20671, acctinputoctets = '0' << 32 | '92574195', acctoutputoctets = '0' << 32 | '3302795795' WHERE AcctUniqueId = '5b3c77e90a46b0fa4ac450691331c5ba' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (97) sql: SQL query returned: success (97) sql: 1 record(s) updated rlm_sql (sql): Released connection (119) (97) [sql] = ok (97) [exec] = noop (97) attr_filter.accounting_response: EXPAND %{User-Name} (97) attr_filter.accounting_response: --> VIKAS331 (97) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (97) [attr_filter.accounting_response] = updated (97) } # accounting = updated (97) Sent Accounting-Response Id 37 from 103.204.70.55:1813 to 103.190.8.10:55277 length 20 (97) Finished request (97) Cleaning up request packet ID 37 with timestamp +20 due to done (98) Received Accounting-Request Id 38 from 103.190.8.10:42836 to 103.204.70.55:1813 length 245 (98) Service-Type = Framed-User (98) Framed-Protocol = PPP (98) NAS-Port = 16090633 (98) NAS-Port-Type = Ethernet (98) User-Name = "SHSANTODAS35" (98) Calling-Station-Id = "50:42:89:89:DB:88" (98) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (98) Acct-Session-Id = "81557b06" (98) Framed-IP-Address = 172.16.4.79 (98) Acct-Authentic = RADIUS (98) Event-Timestamp = "Mar 27 2026 04:23:14 IST" (98) Acct-Session-Time = 57463 (98) Idle-Timeout = 0 (98) Session-Timeout = 3411267 (98) X-Ascend-Data-Rate = 62000000 (98) Ascend-Xmit-Rate = 62000000 (98) Mikrotik-Rate-Limit = "62M/62M" (98) Acct-Input-Octets = 134608496 (98) Acct-Input-Gigawords = 0 (98) Acct-Input-Packets = 584462 (98) Acct-Output-Octets = 3527920553 (98) Acct-Output-Gigawords = 0 (98) Acct-Output-Packets = 2918905 (98) Acct-Status-Type = Interim-Update (98) NAS-Identifier = "CORE-ROUTER" (98) Acct-Delay-Time = 0 (98) NAS-IP-Address = 103.190.8.10 (98) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (98) preacct { (98) [preprocess] = ok (98) policy acct_unique { (98) update request { (98) &Tmp-String-9 := "ai:" (98) } # update request = noop (98) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (98) EXPAND %{hex:&Class} (98) --> (98) EXPAND ^%{hex:&Tmp-String-9} (98) --> ^61693a (98) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (98) else { (98) update request { (98) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (98) --> f337c3615a47fe2504541a3812c4bf2c (98) &Acct-Unique-Session-Id := f337c3615a47fe2504541a3812c4bf2c (98) } # update request = noop (98) } # else = noop (98) update request { (98) &Tmp-String-9 !* ANY (98) } # update request = noop (98) } # policy acct_unique = noop (98) suffix: Checking for suffix after "@" (98) suffix: No '@' in User-Name = "SHSANTODAS35", looking up realm NULL (98) suffix: No such realm "NULL" (98) [suffix] = noop (98) [files] = noop (98) } # preacct = ok (98) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (98) accounting { (98) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (98) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (98) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (98) detail: EXPAND %t (98) detail: --> Fri Mar 27 04:23:14 2026 (98) [detail] = ok (98) [unix] = noop (98) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (98) sql: --> type.interim-update.query (98) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (119) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (120), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (120) (98) sql: EXPAND %{User-Name} (98) sql: --> SHSANTODAS35 (98) sql: SQL-User-Name set to 'SHSANTODAS35' (98) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (98) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.79', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 57463, acctinputoctets = '0' << 32 | '134608496', acctoutputoctets = '0' << 32 | '3527920553' WHERE AcctUniqueId = 'f337c3615a47fe2504541a3812c4bf2c' (98) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.79', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 57463, acctinputoctets = '0' << 32 | '134608496', acctoutputoctets = '0' << 32 | '3527920553' WHERE AcctUniqueId = 'f337c3615a47fe2504541a3812c4bf2c' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (98) sql: SQL query returned: success (98) sql: 1 record(s) updated rlm_sql (sql): Released connection (120) (98) [sql] = ok (98) [exec] = noop (98) attr_filter.accounting_response: EXPAND %{User-Name} (98) attr_filter.accounting_response: --> SHSANTODAS35 (98) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (98) [attr_filter.accounting_response] = updated (98) } # accounting = updated (98) Sent Accounting-Response Id 38 from 103.204.70.55:1813 to 103.190.8.10:42836 length 20 (98) Finished request (98) Cleaning up request packet ID 38 with timestamp +20 due to done (92) Cleaning up request packet ID 33 with timestamp +18 due to cleanup_delay was reached Waking up in 1.0 seconds. (99) Received Access-Request Id 39 from 103.190.8.10:34280 to 103.204.70.55:1812 length 179 (99) Service-Type = Framed-User (99) Framed-Protocol = PPP (99) NAS-Port = 16116451 (99) NAS-Port-Type = Ethernet (99) User-Name = "SUNNY261" (99) Calling-Station-Id = "E8:65:D4:15:37:A8" (99) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (99) Acct-Session-Id = "8155ddcf" (99) CHAP-Challenge = 0x3cce4bb8e019e46700bdb0399219f887 (99) CHAP-Password = 0x0112c99d35ecb16aed91305fc45827473f (99) NAS-Identifier = "CORE-ROUTER" (99) NAS-IP-Address = 103.190.8.10 (99) Message-Authenticator = 0xbbb7a2857c795c00511a35dc0aef063a (99) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (99) authorize { (99) [preprocess] = ok (99) chap: &control:Auth-Type := CHAP (99) [chap] = ok (99) [mschap] = noop (99) [digest] = noop (99) suffix: Checking for suffix after "@" (99) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (99) suffix: No such realm "NULL" (99) [suffix] = noop (99) eap: No EAP-Message, not doing EAP (99) [eap] = noop (99) files: users: Matched entry DEFAULT at line 167 (99) [files] = ok (99) sql: EXPAND %{User-Name} (99) sql: --> SUNNY261 (99) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (120) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (121), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (121) (99) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (99) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (99) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (99) sql: User found in radcheck table (99) sql: Conditional check items matched, merging assignment check items (99) sql: Cleartext-Password := "123456" (99) sql: Expiration := "Mar 26 2026 23:59:59 IST" (99) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (99) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (99) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (99) sql: User found in radreply table, merging reply items (99) sql: Mikrotik-Rate-Limit := "62M/62M" (99) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (99) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (99) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (99) sql: User found in the group table (99) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (99) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (99) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (99) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (99) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (99) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (99) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (99) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (99) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (99) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (121) (99) [sql] = ok (99) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (99) [expiration] = userlock (99) } # authorize = userlock (99) Using Post-Auth-Type Reject (99) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (99) Post-Auth-Type REJECT { (99) sql: EXPAND .query (99) sql: --> .query (99) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (121) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (122), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (122) (99) sql: EXPAND %{User-Name} (99) sql: --> SUNNY261 (99) sql: SQL-User-Name set to 'SUNNY261' (99) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (99) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0112c99d35ecb16aed91305fc45827473f', 'Access-Reject', '2026-03-27 04:23:14.415347' ) (99) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0112c99d35ecb16aed91305fc45827473f', 'Access-Reject', '2026-03-27 04:23:14.415347' ) (99) sql: SQL query returned: success (99) sql: 1 record(s) updated rlm_sql (sql): Released connection (122) (99) [sql] = ok (99) attr_filter.access_reject: EXPAND %{User-Name} (99) attr_filter.access_reject: --> SUNNY261 (99) attr_filter.access_reject: Matched entry DEFAULT at line 11 (99) [attr_filter.access_reject] = updated (99) [eap] = noop (99) policy remove_reply_message_if_eap { (99) if (&reply:EAP-Message && &reply:Reply-Message) { (99) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (99) else { (99) [noop] = noop (99) } # else = noop (99) } # policy remove_reply_message_if_eap = noop (99) } # Post-Auth-Type REJECT = updated (99) Sent Access-Reject Id 39 from 103.204.70.55:1812 to 103.190.8.10:34280 length 38 (99) Finished request Waking up in 0.9 seconds. (100) Received Accounting-Request Id 40 from 103.190.8.10:40325 to 103.204.70.55:1813 length 234 (100) Service-Type = Framed-User (100) Framed-Protocol = PPP (100) NAS-Port = 16099508 (100) NAS-Port-Type = Ethernet (100) User-Name = "gnc_pawan892" (100) Calling-Station-Id = "D0:C9:01:05:54:8B" (100) NAS-Port-Id = "NEW_LCO" (100) Acct-Session-Id = "81559d3a" (100) Framed-IP-Address = 172.16.4.91 (100) Acct-Authentic = RADIUS (100) Event-Timestamp = "Mar 27 2026 04:23:14 IST" (100) Acct-Session-Time = 20671 (100) Idle-Timeout = 0 (100) Session-Timeout = 8817675 (100) X-Ascend-Data-Rate = 205000000 (100) Ascend-Xmit-Rate = 205000000 (100) Mikrotik-Rate-Limit = "205M/205M" (100) Acct-Input-Octets = 1507032 (100) Acct-Input-Gigawords = 0 (100) Acct-Input-Packets = 7396 (100) Acct-Output-Octets = 9376616 (100) Acct-Output-Gigawords = 0 (100) Acct-Output-Packets = 10892 (100) Acct-Status-Type = Interim-Update (100) NAS-Identifier = "CORE-ROUTER" (100) Acct-Delay-Time = 0 (100) NAS-IP-Address = 103.190.8.10 (100) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (100) preacct { (100) [preprocess] = ok (100) policy acct_unique { (100) update request { (100) &Tmp-String-9 := "ai:" (100) } # update request = noop (100) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (100) EXPAND %{hex:&Class} (100) --> (100) EXPAND ^%{hex:&Tmp-String-9} (100) --> ^61693a (100) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (100) else { (100) update request { (100) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (100) --> 5654b767948f2e9752ed5467b51ec638 (100) &Acct-Unique-Session-Id := 5654b767948f2e9752ed5467b51ec638 (100) } # update request = noop (100) } # else = noop (100) update request { (100) &Tmp-String-9 !* ANY (100) } # update request = noop (100) } # policy acct_unique = noop (100) suffix: Checking for suffix after "@" (100) suffix: No '@' in User-Name = "gnc_pawan892", looking up realm NULL (100) suffix: No such realm "NULL" (100) [suffix] = noop (100) [files] = noop (100) } # preacct = ok (100) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (100) accounting { (100) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (100) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (100) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (100) detail: EXPAND %t (100) detail: --> Fri Mar 27 04:23:14 2026 (100) [detail] = ok (100) [unix] = noop (100) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (100) sql: --> type.interim-update.query (100) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (122) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (123), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (123) (100) sql: EXPAND %{User-Name} (100) sql: --> gnc_pawan892 (100) sql: SQL-User-Name set to 'gnc_pawan892' (100) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (100) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.91', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 20671, acctinputoctets = '0' << 32 | '1507032', acctoutputoctets = '0' << 32 | '9376616' WHERE AcctUniqueId = '5654b767948f2e9752ed5467b51ec638' (100) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.91', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 20671, acctinputoctets = '0' << 32 | '1507032', acctoutputoctets = '0' << 32 | '9376616' WHERE AcctUniqueId = '5654b767948f2e9752ed5467b51ec638' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (100) sql: SQL query returned: success (100) sql: 1 record(s) updated rlm_sql (sql): Released connection (123) (100) [sql] = ok (100) [exec] = noop (100) attr_filter.accounting_response: EXPAND %{User-Name} (100) attr_filter.accounting_response: --> gnc_pawan892 (100) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (100) [attr_filter.accounting_response] = updated (100) } # accounting = updated (100) Sent Accounting-Response Id 40 from 103.204.70.55:1813 to 103.190.8.10:40325 length 20 (100) Finished request (100) Cleaning up request packet ID 40 with timestamp +20 due to done Waking up in 0.8 seconds. (101) Received Accounting-Request Id 41 from 103.190.8.10:56267 to 103.204.70.55:1813 length 240 (101) Service-Type = Framed-User (101) Framed-Protocol = PPP (101) NAS-Port = 16091558 (101) NAS-Port-Type = Ethernet (101) User-Name = "VINESH743" (101) Calling-Station-Id = "E8:6E:44:81:66:64" (101) NAS-Port-Id = "VLAN-83-SK VISON" (101) Acct-Session-Id = "81557ea5" (101) Framed-IP-Address = 172.16.4.60 (101) Acct-Authentic = RADIUS (101) Event-Timestamp = "Mar 27 2026 04:23:14 IST" (101) Acct-Session-Time = 53302 (101) Idle-Timeout = 0 (101) Session-Timeout = 8591107 (101) X-Ascend-Data-Rate = 105000000 (101) Ascend-Xmit-Rate = 105000000 (101) Mikrotik-Rate-Limit = "105M/105M" (101) Acct-Input-Octets = 80441840 (101) Acct-Input-Gigawords = 0 (101) Acct-Input-Packets = 355277 (101) Acct-Output-Octets = 2551247514 (101) Acct-Output-Gigawords = 0 (101) Acct-Output-Packets = 2146264 (101) Acct-Status-Type = Interim-Update (101) NAS-Identifier = "CORE-ROUTER" (101) Acct-Delay-Time = 0 (101) NAS-IP-Address = 103.190.8.10 (101) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (101) preacct { (101) [preprocess] = ok (101) policy acct_unique { (101) update request { (101) &Tmp-String-9 := "ai:" (101) } # update request = noop (101) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (101) EXPAND %{hex:&Class} (101) --> (101) EXPAND ^%{hex:&Tmp-String-9} (101) --> ^61693a (101) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (101) else { (101) update request { (101) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (101) --> d7d0d942daef54547f6a5fa1ff3fde72 (101) &Acct-Unique-Session-Id := d7d0d942daef54547f6a5fa1ff3fde72 (101) } # update request = noop (101) } # else = noop (101) update request { (101) &Tmp-String-9 !* ANY (101) } # update request = noop (101) } # policy acct_unique = noop (101) suffix: Checking for suffix after "@" (101) suffix: No '@' in User-Name = "VINESH743", looking up realm NULL (101) suffix: No such realm "NULL" (101) [suffix] = noop (101) [files] = noop (101) } # preacct = ok (101) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (101) accounting { (101) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (101) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (101) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (101) detail: EXPAND %t (101) detail: --> Fri Mar 27 04:23:14 2026 (101) [detail] = ok (101) [unix] = noop (101) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (101) sql: --> type.interim-update.query (101) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (123) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (124), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (124) (101) sql: EXPAND %{User-Name} (101) sql: --> VINESH743 (101) sql: SQL-User-Name set to 'VINESH743' (101) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (101) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.60', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 53302, acctinputoctets = '0' << 32 | '80441840', acctoutputoctets = '0' << 32 | '2551247514' WHERE AcctUniqueId = 'd7d0d942daef54547f6a5fa1ff3fde72' (101) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.60', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 53302, acctinputoctets = '0' << 32 | '80441840', acctoutputoctets = '0' << 32 | '2551247514' WHERE AcctUniqueId = 'd7d0d942daef54547f6a5fa1ff3fde72' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (101) sql: SQL query returned: success (101) sql: 1 record(s) updated rlm_sql (sql): Released connection (124) (101) [sql] = ok (101) [exec] = noop (101) attr_filter.accounting_response: EXPAND %{User-Name} (101) attr_filter.accounting_response: --> VINESH743 (101) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (101) [attr_filter.accounting_response] = updated (101) } # accounting = updated (101) Sent Accounting-Response Id 41 from 103.204.70.55:1813 to 103.190.8.10:56267 length 20 (101) Finished request (101) Cleaning up request packet ID 41 with timestamp +20 due to done Waking up in 0.5 seconds. (102) Received Accounting-Request Id 42 from 103.190.8.10:33107 to 103.204.70.55:1813 length 244 (102) Service-Type = Framed-User (102) Framed-Protocol = PPP (102) NAS-Port = 16095567 (102) NAS-Port-Type = Ethernet (102) User-Name = "RAVINDER222" (102) Calling-Station-Id = "54:37:BB:4E:E2:74" (102) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (102) Acct-Session-Id = "81558e4c" (102) Framed-IP-Address = 172.16.4.164 (102) Acct-Authentic = RADIUS (102) Event-Timestamp = "Mar 27 2026 04:23:14 IST" (102) Acct-Session-Time = 39001 (102) Idle-Timeout = 0 (102) Session-Timeout = 8663205 (102) X-Ascend-Data-Rate = 43000000 (102) Ascend-Xmit-Rate = 43000000 (102) Mikrotik-Rate-Limit = "43M/43M" (102) Acct-Input-Octets = 469242539 (102) Acct-Input-Gigawords = 0 (102) Acct-Input-Packets = 1994395 (102) Acct-Output-Octets = 2874413891 (102) Acct-Output-Gigawords = 1 (102) Acct-Output-Packets = 6079747 (102) Acct-Status-Type = Interim-Update (102) NAS-Identifier = "CORE-ROUTER" (102) Acct-Delay-Time = 0 (102) NAS-IP-Address = 103.190.8.10 (102) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (102) preacct { (102) [preprocess] = ok (102) policy acct_unique { (102) update request { (102) &Tmp-String-9 := "ai:" (102) } # update request = noop (102) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (102) EXPAND %{hex:&Class} (102) --> (102) EXPAND ^%{hex:&Tmp-String-9} (102) --> ^61693a (102) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (102) else { (102) update request { (102) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (102) --> ecdfa5b06cc8df277bb4ba77bf55d6cf (102) &Acct-Unique-Session-Id := ecdfa5b06cc8df277bb4ba77bf55d6cf (102) } # update request = noop (102) } # else = noop (102) update request { (102) &Tmp-String-9 !* ANY (102) } # update request = noop (102) } # policy acct_unique = noop (102) suffix: Checking for suffix after "@" (102) suffix: No '@' in User-Name = "RAVINDER222", looking up realm NULL (102) suffix: No such realm "NULL" (102) [suffix] = noop (102) [files] = noop (102) } # preacct = ok (102) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (102) accounting { (102) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (102) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (102) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (102) detail: EXPAND %t (102) detail: --> Fri Mar 27 04:23:14 2026 (102) [detail] = ok (102) [unix] = noop (102) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (102) sql: --> type.interim-update.query (102) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (124) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (125), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (125) (102) sql: EXPAND %{User-Name} (102) sql: --> RAVINDER222 (102) sql: SQL-User-Name set to 'RAVINDER222' (102) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (102) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.164', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '469242539', acctoutputoctets = '1' << 32 | '2874413891' WHERE AcctUniqueId = 'ecdfa5b06cc8df277bb4ba77bf55d6cf' (102) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565594), acctinterval = 1774565594 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.164', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '469242539', acctoutputoctets = '1' << 32 | '2874413891' WHERE AcctUniqueId = 'ecdfa5b06cc8df277bb4ba77bf55d6cf' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (102) sql: SQL query returned: success (102) sql: 1 record(s) updated rlm_sql (sql): Released connection (125) (102) [sql] = ok (102) [exec] = noop (102) attr_filter.accounting_response: EXPAND %{User-Name} (102) attr_filter.accounting_response: --> RAVINDER222 (102) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (102) [attr_filter.accounting_response] = updated (102) } # accounting = updated (102) Sent Accounting-Response Id 42 from 103.204.70.55:1813 to 103.190.8.10:33107 length 20 (102) Finished request (102) Cleaning up request packet ID 42 with timestamp +20 due to done Waking up in 0.5 seconds. (103) Received Access-Request Id 43 from 103.190.8.10:53968 to 103.204.70.55:1812 length 170 (103) Service-Type = Framed-User (103) Framed-Protocol = PPP (103) NAS-Port = 16116452 (103) NAS-Port-Type = Ethernet (103) User-Name = "Mala@" (103) Calling-Station-Id = "04:95:E6:A7:C7:C0" (103) NAS-Port-Id = "RB_INTERNET-71" (103) Acct-Session-Id = "8155ddd0" (103) CHAP-Challenge = 0x7311be93ce1f9167280806a2e1c4ff8b (103) CHAP-Password = 0x01661b3f420b4064a8df55f1efa61b84b1 (103) NAS-Identifier = "CORE-ROUTER" (103) NAS-IP-Address = 103.190.8.10 (103) Message-Authenticator = 0xcba0078e3b84c1231d140388f027e704 (103) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (103) authorize { (103) [preprocess] = ok (103) chap: &control:Auth-Type := CHAP (103) [chap] = ok (103) [mschap] = noop (103) [digest] = noop (103) suffix: Checking for suffix after "@" (103) suffix: Looking up realm "" for User-Name = "Mala@" (103) suffix: No such realm "" (103) [suffix] = noop (103) eap: No EAP-Message, not doing EAP (103) [eap] = noop (103) files: users: Matched entry DEFAULT at line 167 (103) [files] = ok (103) sql: EXPAND %{User-Name} (103) sql: --> Mala@ (103) sql: SQL-User-Name set to 'Mala@' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (125) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (126), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (126) (103) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (103) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'Mala@' ORDER BY id (103) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'Mala@' ORDER BY id (103) sql: User found in radcheck table (103) sql: Conditional check items matched, merging assignment check items (103) sql: Cleartext-Password := "123456" (103) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (103) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'Mala@' ORDER BY id (103) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'Mala@' ORDER BY id (103) sql: User found in radreply table, merging reply items (103) sql: Mikrotik-Rate-Limit := "105M/105M" (103) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (103) sql: --> SELECT groupname FROM radusergroup WHERE username = 'Mala@' ORDER BY priority (103) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'Mala@' ORDER BY priority (103) sql: User found in the group table (103) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (103) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (103) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (103) sql: Group "REELTIME-100-Mbps-Rs-100": Conditional check items matched (103) sql: Group "REELTIME-100-Mbps-Rs-100": Merging assignment check items (103) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (103) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (103) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (103) sql: Group "REELTIME-100-Mbps-Rs-100": Merging reply items (103) sql: Mikrotik-Rate-Limit := "105M/105M" rlm_sql (sql): Released connection (126) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (127), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (126) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (103) [sql] = ok (103) [expiration] = noop (103) [logintime] = noop (103) pap: WARNING: Auth-Type already set. Not setting to PAP (103) [pap] = noop (103) } # authorize = ok (103) Found Auth-Type = CHAP (103) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (103) Auth-Type CHAP { (103) chap: Comparing with "known good" Cleartext-Password (103) chap: CHAP user "Mala@" authenticated successfully (103) [chap] = ok (103) } # Auth-Type CHAP = ok (103) # Executing section post-auth from file /etc/freeradius/3.0/sites-enabled/default (103) post-auth { (103) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) { (103) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE (103) update { (103) No attributes updated for RHS &session-state: (103) } # update = noop (103) sql: EXPAND .query (103) sql: --> .query (103) sql: Using query template 'query' rlm_sql (sql): Reserved connection (127) (103) sql: EXPAND %{User-Name} (103) sql: --> Mala@ (103) sql: SQL-User-Name set to 'Mala@' (103) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (103) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'Mala@', '0x01661b3f420b4064a8df55f1efa61b84b1', 'Access-Accept', '2026-03-27 04:23:15.201026' ) (103) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'Mala@', '0x01661b3f420b4064a8df55f1efa61b84b1', 'Access-Accept', '2026-03-27 04:23:15.201026' ) (103) sql: SQL query returned: success (103) sql: 1 record(s) updated rlm_sql (sql): Released connection (127) (103) [sql] = ok (103) [exec] = noop (103) policy remove_reply_message_if_eap { (103) if (&reply:EAP-Message && &reply:Reply-Message) { (103) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (103) else { (103) [noop] = noop (103) } # else = noop (103) } # policy remove_reply_message_if_eap = noop (103) if (EAP-Key-Name && &reply:EAP-Session-Id) { (103) if (EAP-Key-Name && &reply:EAP-Session-Id) -> FALSE (103) } # post-auth = ok (103) Sent Access-Accept Id 43 from 103.204.70.55:1812 to 103.190.8.10:53968 length 67 (103) Framed-Protocol = PPP (103) Framed-Compression = Van-Jacobson-TCP-IP (103) Mikrotik-Rate-Limit = "105M/105M" (103) Finished request Waking up in 0.1 seconds. (104) Received Accounting-Request Id 44 from 103.190.8.10:54506 to 103.204.70.55:1813 length 145 (104) Service-Type = Framed-User (104) Framed-Protocol = PPP (104) NAS-Port = 16116452 (104) NAS-Port-Type = Ethernet (104) User-Name = "Mala@" (104) Calling-Station-Id = "04:95:E6:A7:C7:C0" (104) NAS-Port-Id = "RB_INTERNET-71" (104) Acct-Session-Id = "8155ddd0" (104) Framed-IP-Address = 172.16.3.243 (104) Acct-Authentic = RADIUS (104) Event-Timestamp = "Mar 27 2026 04:23:15 IST" (104) Acct-Status-Type = Start (104) NAS-Identifier = "CORE-ROUTER" (104) Acct-Delay-Time = 0 (104) NAS-IP-Address = 103.190.8.10 (104) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (104) preacct { (104) [preprocess] = ok (104) policy acct_unique { (104) update request { (104) &Tmp-String-9 := "ai:" (104) } # update request = noop (104) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (104) EXPAND %{hex:&Class} (104) --> (104) EXPAND ^%{hex:&Tmp-String-9} (104) --> ^61693a (104) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (104) else { (104) update request { (104) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (104) --> e9f06e19832a43b4f157b3165eaef893 (104) &Acct-Unique-Session-Id := e9f06e19832a43b4f157b3165eaef893 (104) } # update request = noop (104) } # else = noop (104) update request { (104) &Tmp-String-9 !* ANY (104) } # update request = noop (104) } # policy acct_unique = noop (104) suffix: Checking for suffix after "@" (104) suffix: Looking up realm "" for User-Name = "Mala@" (104) suffix: No such realm "" (104) [suffix] = noop (104) [files] = noop (104) } # preacct = ok (104) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (104) accounting { (104) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (104) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (104) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (104) detail: EXPAND %t (104) detail: --> Fri Mar 27 04:23:15 2026 (104) [detail] = ok (104) [unix] = ok (104) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (104) sql: --> type.start.query (104) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (127) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (128), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (128) (104) sql: EXPAND %{User-Name} (104) sql: --> Mala@ (104) sql: SQL-User-Name set to 'Mala@' (104) sql: EXPAND INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}', '%{Delegated-IPv6-Prefix}' ) (104) sql: --> INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('8155ddd0', 'e9f06e19832a43b4f157b3165eaef893', 'Mala@', '', '103.190.8.10', 'RB_INTERNET-71', 'Ethernet', FROM_UNIXTIME(1774565595), FROM_UNIXTIME(1774565595), NULL, '0', 'RADIUS', '', '', '0', '0', '', '04:95:E6:A7:C7:C0', '', 'Framed-User', 'PPP', '172.16.3.243', '', '', '', '' ) (104) sql: Executing query: INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('8155ddd0', 'e9f06e19832a43b4f157b3165eaef893', 'Mala@', '', '103.190.8.10', 'RB_INTERNET-71', 'Ethernet', FROM_UNIXTIME(1774565595), FROM_UNIXTIME(1774565595), NULL, '0', 'RADIUS', '', '', '0', '0', '', '04:95:E6:A7:C7:C0', '', 'Framed-User', 'PPP', '172.16.3.243', '', '', '', '' ) (104) sql: SQL query returned: success (104) sql: 1 record(s) updated rlm_sql (sql): Released connection (128) (104) [sql] = ok (104) [exec] = noop (104) attr_filter.accounting_response: EXPAND %{User-Name} (104) attr_filter.accounting_response: --> Mala@ (104) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (104) [attr_filter.accounting_response] = updated (104) } # accounting = updated (104) Sent Accounting-Response Id 44 from 103.204.70.55:1813 to 103.190.8.10:54506 length 20 (104) Finished request (104) Cleaning up request packet ID 44 with timestamp +21 due to done (94) Cleaning up request packet ID 35 with timestamp +19 due to cleanup_delay was reached Waking up in 1.0 seconds. (105) Received Access-Request Id 45 from 103.190.8.10:43109 to 103.204.70.55:1812 length 179 (105) Service-Type = Framed-User (105) Framed-Protocol = PPP (105) NAS-Port = 16116454 (105) NAS-Port-Type = Ethernet (105) User-Name = "SUNNY261" (105) Calling-Station-Id = "E8:65:D4:15:37:A8" (105) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (105) Acct-Session-Id = "8155ddd1" (105) CHAP-Challenge = 0x9b9a6d6fe10beb4d103975a854afa8f1 (105) CHAP-Password = 0x018393c1a6714acd095de78a7586e53061 (105) NAS-Identifier = "CORE-ROUTER" (105) NAS-IP-Address = 103.190.8.10 (105) Message-Authenticator = 0x7a5abc3941425c06261fec313c20b5aa (105) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (105) authorize { (105) [preprocess] = ok (105) chap: &control:Auth-Type := CHAP (105) [chap] = ok (105) [mschap] = noop (105) [digest] = noop (105) suffix: Checking for suffix after "@" (105) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (105) suffix: No such realm "NULL" (105) [suffix] = noop (105) eap: No EAP-Message, not doing EAP (105) [eap] = noop (105) files: users: Matched entry DEFAULT at line 167 (105) [files] = ok (105) sql: EXPAND %{User-Name} (105) sql: --> SUNNY261 (105) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (128) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (129), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (129) (105) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (105) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (105) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (105) sql: User found in radcheck table (105) sql: Conditional check items matched, merging assignment check items (105) sql: Cleartext-Password := "123456" (105) sql: Expiration := "Mar 26 2026 23:59:59 IST" (105) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (105) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (105) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (105) sql: User found in radreply table, merging reply items (105) sql: Mikrotik-Rate-Limit := "62M/62M" (105) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (105) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (105) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (105) sql: User found in the group table (105) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (105) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (105) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (105) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (105) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (105) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (105) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (105) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (105) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (105) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (129) (105) [sql] = ok (105) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (105) [expiration] = userlock (105) } # authorize = userlock (105) Using Post-Auth-Type Reject (105) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (105) Post-Auth-Type REJECT { (105) sql: EXPAND .query (105) sql: --> .query (105) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (129) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (130), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (130) (105) sql: EXPAND %{User-Name} (105) sql: --> SUNNY261 (105) sql: SQL-User-Name set to 'SUNNY261' (105) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (105) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x018393c1a6714acd095de78a7586e53061', 'Access-Reject', '2026-03-27 04:23:15.516915' ) (105) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x018393c1a6714acd095de78a7586e53061', 'Access-Reject', '2026-03-27 04:23:15.516915' ) (105) sql: SQL query returned: success (105) sql: 1 record(s) updated rlm_sql (sql): Released connection (130) (105) [sql] = ok (105) attr_filter.access_reject: EXPAND %{User-Name} (105) attr_filter.access_reject: --> SUNNY261 (105) attr_filter.access_reject: Matched entry DEFAULT at line 11 (105) [attr_filter.access_reject] = updated (105) [eap] = noop (105) policy remove_reply_message_if_eap { (105) if (&reply:EAP-Message && &reply:Reply-Message) { (105) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (105) else { (105) [noop] = noop (105) } # else = noop (105) } # policy remove_reply_message_if_eap = noop (105) } # Post-Auth-Type REJECT = updated (105) Sent Access-Reject Id 45 from 103.204.70.55:1812 to 103.190.8.10:43109 length 38 (105) Finished request Waking up in 0.8 seconds. (106) Received Accounting-Request Id 46 from 103.190.8.10:57413 to 103.204.70.55:1813 length 242 (106) Service-Type = Framed-User (106) Framed-Protocol = PPP (106) NAS-Port = 16094516 (106) NAS-Port-Type = Ethernet (106) User-Name = "NIKUNJ415" (106) Calling-Station-Id = "10:10:81:BA:10:58" (106) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (106) Acct-Session-Id = "81558a31" (106) Framed-IP-Address = 172.16.3.9 (106) Acct-Authentic = RADIUS (106) Event-Timestamp = "Mar 27 2026 04:23:15 IST" (106) Acct-Session-Time = 42641 (106) Idle-Timeout = 0 (106) Session-Timeout = 14714845 (106) X-Ascend-Data-Rate = 62000000 (106) Ascend-Xmit-Rate = 62000000 (106) Mikrotik-Rate-Limit = "62M/62M" (106) Acct-Input-Octets = 1110127336 (106) Acct-Input-Gigawords = 0 (106) Acct-Input-Packets = 2658698 (106) Acct-Output-Octets = 2245641059 (106) Acct-Output-Gigawords = 2 (106) Acct-Output-Packets = 9315283 (106) Acct-Status-Type = Interim-Update (106) NAS-Identifier = "CORE-ROUTER" (106) Acct-Delay-Time = 0 (106) NAS-IP-Address = 103.190.8.10 (106) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (106) preacct { (106) [preprocess] = ok (106) policy acct_unique { (106) update request { (106) &Tmp-String-9 := "ai:" (106) } # update request = noop (106) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (106) EXPAND %{hex:&Class} (106) --> (106) EXPAND ^%{hex:&Tmp-String-9} (106) --> ^61693a (106) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (106) else { (106) update request { (106) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (106) --> 2ee5f748408fae0767ae2a711e94f3df (106) &Acct-Unique-Session-Id := 2ee5f748408fae0767ae2a711e94f3df (106) } # update request = noop (106) } # else = noop (106) update request { (106) &Tmp-String-9 !* ANY (106) } # update request = noop (106) } # policy acct_unique = noop (106) suffix: Checking for suffix after "@" (106) suffix: No '@' in User-Name = "NIKUNJ415", looking up realm NULL (106) suffix: No such realm "NULL" (106) [suffix] = noop (106) [files] = noop (106) } # preacct = ok (106) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (106) accounting { (106) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (106) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (106) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (106) detail: EXPAND %t (106) detail: --> Fri Mar 27 04:23:15 2026 (106) [detail] = ok (106) [unix] = noop (106) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (106) sql: --> type.interim-update.query (106) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (130) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (131), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (131) (106) sql: EXPAND %{User-Name} (106) sql: --> NIKUNJ415 (106) sql: SQL-User-Name set to 'NIKUNJ415' (106) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (106) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565595), acctinterval = 1774565595 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.9', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '1110127336', acctoutputoctets = '2' << 32 | '2245641059' WHERE AcctUniqueId = '2ee5f748408fae0767ae2a711e94f3df' (106) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565595), acctinterval = 1774565595 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.9', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '1110127336', acctoutputoctets = '2' << 32 | '2245641059' WHERE AcctUniqueId = '2ee5f748408fae0767ae2a711e94f3df' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (106) sql: SQL query returned: success (106) sql: 1 record(s) updated rlm_sql (sql): Released connection (131) (106) [sql] = ok (106) [exec] = noop (106) attr_filter.accounting_response: EXPAND %{User-Name} (106) attr_filter.accounting_response: --> NIKUNJ415 (106) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (106) [attr_filter.accounting_response] = updated (106) } # accounting = updated (106) Sent Accounting-Response Id 46 from 103.204.70.55:1813 to 103.190.8.10:57413 length 20 (106) Finished request (106) Cleaning up request packet ID 46 with timestamp +21 due to done Waking up in 0.6 seconds. (107) Received Accounting-Request Id 47 from 103.190.8.10:34023 to 103.204.70.55:1813 length 241 (107) Service-Type = Framed-User (107) Framed-Protocol = PPP (107) NAS-Port = 16094515 (107) NAS-Port-Type = Ethernet (107) User-Name = "AYSHA222" (107) Calling-Station-Id = "B0:8B:92:96:AD:8E" (107) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (107) Acct-Session-Id = "81558a30" (107) Framed-IP-Address = 172.16.3.76 (107) Acct-Authentic = RADIUS (107) Event-Timestamp = "Mar 27 2026 04:23:15 IST" (107) Acct-Session-Time = 42641 (107) Idle-Timeout = 0 (107) Session-Timeout = 6852445 (107) X-Ascend-Data-Rate = 62000000 (107) Ascend-Xmit-Rate = 62000000 (107) Mikrotik-Rate-Limit = "62M/62M" (107) Acct-Input-Octets = 983874628 (107) Acct-Input-Gigawords = 0 (107) Acct-Input-Packets = 2872138 (107) Acct-Output-Octets = 396403744 (107) Acct-Output-Gigawords = 4 (107) Acct-Output-Packets = 14353726 (107) Acct-Status-Type = Interim-Update (107) NAS-Identifier = "CORE-ROUTER" (107) Acct-Delay-Time = 0 (107) NAS-IP-Address = 103.190.8.10 (107) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (107) preacct { (107) [preprocess] = ok (107) policy acct_unique { (107) update request { (107) &Tmp-String-9 := "ai:" (107) } # update request = noop (107) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (107) EXPAND %{hex:&Class} (107) --> (107) EXPAND ^%{hex:&Tmp-String-9} (107) --> ^61693a (107) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (107) else { (107) update request { (107) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (107) --> 590fda8abfcea7ebb9127108973963f7 (107) &Acct-Unique-Session-Id := 590fda8abfcea7ebb9127108973963f7 (107) } # update request = noop (107) } # else = noop (107) update request { (107) &Tmp-String-9 !* ANY (107) } # update request = noop (107) } # policy acct_unique = noop (107) suffix: Checking for suffix after "@" (107) suffix: No '@' in User-Name = "AYSHA222", looking up realm NULL (107) suffix: No such realm "NULL" (107) [suffix] = noop (107) [files] = noop (107) } # preacct = ok (107) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (107) accounting { (107) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (107) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (107) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (107) detail: EXPAND %t (107) detail: --> Fri Mar 27 04:23:15 2026 (107) [detail] = ok (107) [unix] = noop (107) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (107) sql: --> type.interim-update.query (107) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (131) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (132), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (132) (107) sql: EXPAND %{User-Name} (107) sql: --> AYSHA222 (107) sql: SQL-User-Name set to 'AYSHA222' (107) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (107) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565595), acctinterval = 1774565595 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.76', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '983874628', acctoutputoctets = '4' << 32 | '396403744' WHERE AcctUniqueId = '590fda8abfcea7ebb9127108973963f7' (107) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565595), acctinterval = 1774565595 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.76', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '983874628', acctoutputoctets = '4' << 32 | '396403744' WHERE AcctUniqueId = '590fda8abfcea7ebb9127108973963f7' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (107) sql: SQL query returned: success (107) sql: 1 record(s) updated rlm_sql (sql): Released connection (132) (107) [sql] = ok (107) [exec] = noop (107) attr_filter.accounting_response: EXPAND %{User-Name} (107) attr_filter.accounting_response: --> AYSHA222 (107) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (107) [attr_filter.accounting_response] = updated (107) } # accounting = updated (107) Sent Accounting-Response Id 47 from 103.204.70.55:1813 to 103.190.8.10:34023 length 20 (107) Finished request (107) Cleaning up request packet ID 47 with timestamp +21 due to done Waking up in 0.6 seconds. (108) Received Accounting-Request Id 87 from 27.100.14.6:48444 to 103.204.70.55:1813 length 228 (108) Service-Type = Framed-User (108) Framed-Protocol = PPP (108) NAS-Port = 15735048 (108) NAS-Port-Type = Ethernet (108) User-Name = "1321030039" (108) Calling-Station-Id = "24:94:93:1C:F3:77" (108) NAS-Port-Id = "ether3" (108) Acct-Session-Id = "81c0155a" (108) Framed-IP-Address = 10.10.10.177 (108) Acct-Authentic = RADIUS (108) Event-Timestamp = "Mar 27 2026 04:23:15 IST" (108) Acct-Session-Time = 47881 (108) Idle-Timeout = 0 (108) Session-Timeout = 2537685 (108) X-Ascend-Data-Rate = 100000000 (108) Ascend-Xmit-Rate = 100000000 (108) Mikrotik-Rate-Limit = "100M/100M" (108) Acct-Input-Octets = 109105189 (108) Acct-Input-Gigawords = 0 (108) Acct-Input-Packets = 755721 (108) Acct-Output-Octets = 3531021364 (108) Acct-Output-Gigawords = 0 (108) Acct-Output-Packets = 2787321 (108) Acct-Status-Type = Interim-Update (108) NAS-Identifier = "MikroTik" (108) Acct-Delay-Time = 0 (108) NAS-IP-Address = 27.100.14.6 (108) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (108) preacct { (108) [preprocess] = ok (108) policy acct_unique { (108) update request { (108) &Tmp-String-9 := "ai:" (108) } # update request = noop (108) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (108) EXPAND %{hex:&Class} (108) --> (108) EXPAND ^%{hex:&Tmp-String-9} (108) --> ^61693a (108) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (108) else { (108) update request { (108) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (108) --> 584b86fbbbd57b670f1ac05b10fd822e (108) &Acct-Unique-Session-Id := 584b86fbbbd57b670f1ac05b10fd822e (108) } # update request = noop (108) } # else = noop (108) update request { (108) &Tmp-String-9 !* ANY (108) } # update request = noop (108) } # policy acct_unique = noop (108) suffix: Checking for suffix after "@" (108) suffix: No '@' in User-Name = "1321030039", looking up realm NULL (108) suffix: No such realm "NULL" (108) [suffix] = noop (108) [files] = noop (108) } # preacct = ok (108) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (108) accounting { (108) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (108) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (108) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (108) detail: EXPAND %t (108) detail: --> Fri Mar 27 04:23:15 2026 (108) [detail] = ok (108) [unix] = noop (108) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (108) sql: --> type.interim-update.query (108) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (132) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (133), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (133) (108) sql: EXPAND %{User-Name} (108) sql: --> 1321030039 (108) sql: SQL-User-Name set to '1321030039' (108) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (108) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565595), acctinterval = 1774565595 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.177', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 47881, acctinputoctets = '0' << 32 | '109105189', acctoutputoctets = '0' << 32 | '3531021364' WHERE AcctUniqueId = '584b86fbbbd57b670f1ac05b10fd822e' (108) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565595), acctinterval = 1774565595 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.177', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 47881, acctinputoctets = '0' << 32 | '109105189', acctoutputoctets = '0' << 32 | '3531021364' WHERE AcctUniqueId = '584b86fbbbd57b670f1ac05b10fd822e' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (108) sql: SQL query returned: success (108) sql: 1 record(s) updated rlm_sql (sql): Released connection (133) (108) [sql] = ok (108) [exec] = noop (108) attr_filter.accounting_response: EXPAND %{User-Name} (108) attr_filter.accounting_response: --> 1321030039 (108) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (108) [attr_filter.accounting_response] = updated (108) } # accounting = updated (108) Sent Accounting-Response Id 87 from 103.204.70.55:1813 to 27.100.14.6:48444 length 20 (108) Finished request (108) Cleaning up request packet ID 87 with timestamp +21 due to done Waking up in 0.5 seconds. (109) Received Accounting-Request Id 88 from 27.100.14.6:46779 to 103.204.70.55:1813 length 228 (109) Service-Type = Framed-User (109) Framed-Protocol = PPP (109) NAS-Port = 15740255 (109) NAS-Port-Type = Ethernet (109) User-Name = "9068022762" (109) Calling-Station-Id = "44:95:3B:97:2A:C2" (109) NAS-Port-Id = "ether3" (109) Acct-Session-Id = "81c0286d" (109) Framed-IP-Address = 10.10.10.154 (109) Acct-Authentic = RADIUS (109) Event-Timestamp = "Mar 27 2026 04:23:16 IST" (109) Acct-Session-Time = 23400 (109) Idle-Timeout = 0 (109) Session-Timeout = 29470004 (109) X-Ascend-Data-Rate = 110000000 (109) Ascend-Xmit-Rate = 110000000 (109) Mikrotik-Rate-Limit = "110M/110M" (109) Acct-Input-Octets = 55189659 (109) Acct-Input-Gigawords = 0 (109) Acct-Input-Packets = 299243 (109) Acct-Output-Octets = 2336470154 (109) Acct-Output-Gigawords = 0 (109) Acct-Output-Packets = 1874504 (109) Acct-Status-Type = Interim-Update (109) NAS-Identifier = "MikroTik" (109) Acct-Delay-Time = 0 (109) NAS-IP-Address = 27.100.14.6 (109) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (109) preacct { (109) [preprocess] = ok (109) policy acct_unique { (109) update request { (109) &Tmp-String-9 := "ai:" (109) } # update request = noop (109) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (109) EXPAND %{hex:&Class} (109) --> (109) EXPAND ^%{hex:&Tmp-String-9} (109) --> ^61693a (109) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (109) else { (109) update request { (109) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (109) --> 6e60addaafee12e368439a9b3779e3ba (109) &Acct-Unique-Session-Id := 6e60addaafee12e368439a9b3779e3ba (109) } # update request = noop (109) } # else = noop (109) update request { (109) &Tmp-String-9 !* ANY (109) } # update request = noop (109) } # policy acct_unique = noop (109) suffix: Checking for suffix after "@" (109) suffix: No '@' in User-Name = "9068022762", looking up realm NULL (109) suffix: No such realm "NULL" (109) [suffix] = noop (109) [files] = noop (109) } # preacct = ok (109) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (109) accounting { (109) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (109) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (109) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (109) detail: EXPAND %t (109) detail: --> Fri Mar 27 04:23:16 2026 (109) [detail] = ok (109) [unix] = noop (109) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (109) sql: --> type.interim-update.query (109) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (133) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (134), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (134) (109) sql: EXPAND %{User-Name} (109) sql: --> 9068022762 (109) sql: SQL-User-Name set to '9068022762' (109) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (109) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565596), acctinterval = 1774565596 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.154', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 23400, acctinputoctets = '0' << 32 | '55189659', acctoutputoctets = '0' << 32 | '2336470154' WHERE AcctUniqueId = '6e60addaafee12e368439a9b3779e3ba' (109) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565596), acctinterval = 1774565596 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.154', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 23400, acctinputoctets = '0' << 32 | '55189659', acctoutputoctets = '0' << 32 | '2336470154' WHERE AcctUniqueId = '6e60addaafee12e368439a9b3779e3ba' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (109) sql: SQL query returned: success (109) sql: 1 record(s) updated rlm_sql (sql): Released connection (134) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (135), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (134) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (109) [sql] = ok (109) [exec] = noop (109) attr_filter.accounting_response: EXPAND %{User-Name} (109) attr_filter.accounting_response: --> 9068022762 (109) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (109) [attr_filter.accounting_response] = updated (109) } # accounting = updated (109) Sent Accounting-Response Id 88 from 103.204.70.55:1813 to 27.100.14.6:46779 length 20 (109) Finished request (109) Cleaning up request packet ID 88 with timestamp +22 due to done Waking up in 0.2 seconds. (99) Cleaning up request packet ID 39 with timestamp +20 due to cleanup_delay was reached Waking up in 0.7 seconds. (110) Received Access-Request Id 48 from 103.190.8.10:59239 to 103.204.70.55:1812 length 172 (110) Service-Type = Framed-User (110) Framed-Protocol = PPP (110) NAS-Port = 16116455 (110) NAS-Port-Type = Ethernet (110) User-Name = "Komal44" (110) Calling-Station-Id = "10:27:F5:C4:B7:5B" (110) NAS-Port-Id = "RB_INTERNET-71" (110) Acct-Session-Id = "8155ddd2" (110) CHAP-Challenge = 0xe09aa5b037c9328d1c7de0d5e0b2ee22 (110) CHAP-Password = 0x015fa18cf88b51dfb344be0ceffda7dcc3 (110) NAS-Identifier = "CORE-ROUTER" (110) NAS-IP-Address = 103.190.8.10 (110) Message-Authenticator = 0x1a0a83503ab476642f67012553dd0e47 (110) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (110) authorize { (110) [preprocess] = ok (110) chap: &control:Auth-Type := CHAP (110) [chap] = ok (110) [mschap] = noop (110) [digest] = noop (110) suffix: Checking for suffix after "@" (110) suffix: No '@' in User-Name = "Komal44", looking up realm NULL (110) suffix: No such realm "NULL" (110) [suffix] = noop (110) eap: No EAP-Message, not doing EAP (110) [eap] = noop (110) files: users: Matched entry DEFAULT at line 167 (110) [files] = ok (110) sql: EXPAND %{User-Name} (110) sql: --> Komal44 (110) sql: SQL-User-Name set to 'Komal44' rlm_sql (sql): Reserved connection (135) (110) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (110) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'Komal44' ORDER BY id (110) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'Komal44' ORDER BY id (110) sql: User found in radcheck table (110) sql: Conditional check items matched, merging assignment check items (110) sql: Cleartext-Password := "123456" (110) sql: Expiration := "Mar 26 2026 23:59:59 IST" (110) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (110) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'Komal44' ORDER BY id (110) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'Komal44' ORDER BY id (110) sql: User found in radreply table, merging reply items (110) sql: Mikrotik-Rate-Limit := "105M/105M" (110) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (110) sql: --> SELECT groupname FROM radusergroup WHERE username = 'Komal44' ORDER BY priority (110) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'Komal44' ORDER BY priority (110) sql: User found in the group table (110) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (110) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (110) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (110) sql: Group "REELTIME-100-Mbps-Rs-100": Conditional check items matched (110) sql: Group "REELTIME-100-Mbps-Rs-100": Merging assignment check items (110) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (110) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (110) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (110) sql: Group "REELTIME-100-Mbps-Rs-100": Merging reply items (110) sql: Mikrotik-Rate-Limit := "105M/105M" rlm_sql (sql): Released connection (135) (110) [sql] = ok (110) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (110) [expiration] = userlock (110) } # authorize = userlock (110) Using Post-Auth-Type Reject (110) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (110) Post-Auth-Type REJECT { (110) sql: EXPAND .query (110) sql: --> .query (110) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (135) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (136), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (136) (110) sql: EXPAND %{User-Name} (110) sql: --> Komal44 (110) sql: SQL-User-Name set to 'Komal44' (110) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (110) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'Komal44', '0x015fa18cf88b51dfb344be0ceffda7dcc3', 'Access-Reject', '2026-03-27 04:23:16.561684' ) (110) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'Komal44', '0x015fa18cf88b51dfb344be0ceffda7dcc3', 'Access-Reject', '2026-03-27 04:23:16.561684' ) (110) sql: SQL query returned: success (110) sql: 1 record(s) updated rlm_sql (sql): Released connection (136) (110) [sql] = ok (110) attr_filter.access_reject: EXPAND %{User-Name} (110) attr_filter.access_reject: --> Komal44 (110) attr_filter.access_reject: Matched entry DEFAULT at line 11 (110) [attr_filter.access_reject] = updated (110) [eap] = noop (110) policy remove_reply_message_if_eap { (110) if (&reply:EAP-Message && &reply:Reply-Message) { (110) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (110) else { (110) [noop] = noop (110) } # else = noop (110) } # policy remove_reply_message_if_eap = noop (110) } # Post-Auth-Type REJECT = updated (110) Sent Access-Reject Id 48 from 103.204.70.55:1812 to 103.190.8.10:59239 length 38 (110) Finished request Waking up in 0.6 seconds. (111) Received Access-Request Id 49 from 103.190.8.10:41404 to 103.204.70.55:1812 length 179 (111) Service-Type = Framed-User (111) Framed-Protocol = PPP (111) NAS-Port = 16116456 (111) NAS-Port-Type = Ethernet (111) User-Name = "SUNNY261" (111) Calling-Station-Id = "E8:65:D4:15:37:A8" (111) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (111) Acct-Session-Id = "8155ddd3" (111) CHAP-Challenge = 0x23b53837acc253fa98aa8319589d5113 (111) CHAP-Password = 0x0140d4e482c75d3226dc12f12ad2ea402d (111) NAS-Identifier = "CORE-ROUTER" (111) NAS-IP-Address = 103.190.8.10 (111) Message-Authenticator = 0x30854351e22c7d4af9696aef3db039a9 (111) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (111) authorize { (111) [preprocess] = ok (111) chap: &control:Auth-Type := CHAP (111) [chap] = ok (111) [mschap] = noop (111) [digest] = noop (111) suffix: Checking for suffix after "@" (111) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (111) suffix: No such realm "NULL" (111) [suffix] = noop (111) eap: No EAP-Message, not doing EAP (111) [eap] = noop (111) files: users: Matched entry DEFAULT at line 167 (111) [files] = ok (111) sql: EXPAND %{User-Name} (111) sql: --> SUNNY261 (111) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (136) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (137), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (137) (111) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (111) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (111) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (111) sql: User found in radcheck table (111) sql: Conditional check items matched, merging assignment check items (111) sql: Cleartext-Password := "123456" (111) sql: Expiration := "Mar 26 2026 23:59:59 IST" (111) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (111) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (111) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (111) sql: User found in radreply table, merging reply items (111) sql: Mikrotik-Rate-Limit := "62M/62M" (111) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (111) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (111) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (111) sql: User found in the group table (111) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (111) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (111) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (111) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (111) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (111) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (111) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (111) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (111) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (111) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (137) (111) [sql] = ok (111) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (111) [expiration] = userlock (111) } # authorize = userlock (111) Using Post-Auth-Type Reject (111) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (111) Post-Auth-Type REJECT { (111) sql: EXPAND .query (111) sql: --> .query (111) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (137) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (138), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (138) (111) sql: EXPAND %{User-Name} (111) sql: --> SUNNY261 (111) sql: SQL-User-Name set to 'SUNNY261' (111) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (111) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0140d4e482c75d3226dc12f12ad2ea402d', 'Access-Reject', '2026-03-27 04:23:16.615329' ) (111) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0140d4e482c75d3226dc12f12ad2ea402d', 'Access-Reject', '2026-03-27 04:23:16.615329' ) (111) sql: SQL query returned: success (111) sql: 1 record(s) updated rlm_sql (sql): Released connection (138) (111) [sql] = ok (111) attr_filter.access_reject: EXPAND %{User-Name} (111) attr_filter.access_reject: --> SUNNY261 (111) attr_filter.access_reject: Matched entry DEFAULT at line 11 (111) [attr_filter.access_reject] = updated (111) [eap] = noop (111) policy remove_reply_message_if_eap { (111) if (&reply:EAP-Message && &reply:Reply-Message) { (111) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (111) else { (111) [noop] = noop (111) } # else = noop (111) } # policy remove_reply_message_if_eap = noop (111) } # Post-Auth-Type REJECT = updated (111) Sent Access-Reject Id 49 from 103.204.70.55:1812 to 103.190.8.10:41404 length 38 (111) Finished request Waking up in 0.5 seconds. (112) Received Accounting-Request Id 50 from 103.190.8.10:35459 to 103.204.70.55:1813 length 241 (112) Service-Type = Framed-User (112) Framed-Protocol = PPP (112) NAS-Port = 16112369 (112) NAS-Port-Type = Ethernet (112) User-Name = "ISMAEEL6" (112) Calling-Station-Id = "00:1E:A6:AE:FB:73" (112) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (112) Acct-Session-Id = "8155ce55" (112) Framed-IP-Address = 172.16.4.135 (112) Acct-Authentic = RADIUS (112) Event-Timestamp = "Mar 27 2026 04:23:16 IST" (112) Acct-Session-Time = 3900 (112) Idle-Timeout = 0 (112) Session-Timeout = 2234503 (112) X-Ascend-Data-Rate = 62000000 (112) Ascend-Xmit-Rate = 62000000 (112) Mikrotik-Rate-Limit = "62M/62M" (112) Acct-Input-Octets = 1336951 (112) Acct-Input-Gigawords = 0 (112) Acct-Input-Packets = 4704 (112) Acct-Output-Octets = 4990577 (112) Acct-Output-Gigawords = 0 (112) Acct-Output-Packets = 6208 (112) Acct-Status-Type = Interim-Update (112) NAS-Identifier = "CORE-ROUTER" (112) Acct-Delay-Time = 0 (112) NAS-IP-Address = 103.190.8.10 (112) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (112) preacct { (112) [preprocess] = ok (112) policy acct_unique { (112) update request { (112) &Tmp-String-9 := "ai:" (112) } # update request = noop (112) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (112) EXPAND %{hex:&Class} (112) --> (112) EXPAND ^%{hex:&Tmp-String-9} (112) --> ^61693a (112) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (112) else { (112) update request { (112) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (112) --> 7661b5ef9511f84276730a3b1dd07d2a (112) &Acct-Unique-Session-Id := 7661b5ef9511f84276730a3b1dd07d2a (112) } # update request = noop (112) } # else = noop (112) update request { (112) &Tmp-String-9 !* ANY (112) } # update request = noop (112) } # policy acct_unique = noop (112) suffix: Checking for suffix after "@" (112) suffix: No '@' in User-Name = "ISMAEEL6", looking up realm NULL (112) suffix: No such realm "NULL" (112) [suffix] = noop (112) [files] = noop (112) } # preacct = ok (112) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (112) accounting { (112) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (112) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (112) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (112) detail: EXPAND %t (112) detail: --> Fri Mar 27 04:23:16 2026 (112) [detail] = ok (112) [unix] = noop (112) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (112) sql: --> type.interim-update.query (112) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (138) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (139), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (139) (112) sql: EXPAND %{User-Name} (112) sql: --> ISMAEEL6 (112) sql: SQL-User-Name set to 'ISMAEEL6' (112) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (112) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565596), acctinterval = 1774565596 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.135', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 3900, acctinputoctets = '0' << 32 | '1336951', acctoutputoctets = '0' << 32 | '4990577' WHERE AcctUniqueId = '7661b5ef9511f84276730a3b1dd07d2a' (112) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565596), acctinterval = 1774565596 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.135', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 3900, acctinputoctets = '0' << 32 | '1336951', acctoutputoctets = '0' << 32 | '4990577' WHERE AcctUniqueId = '7661b5ef9511f84276730a3b1dd07d2a' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (112) sql: SQL query returned: success (112) sql: 1 record(s) updated rlm_sql (sql): Released connection (139) (112) [sql] = ok (112) [exec] = noop (112) attr_filter.accounting_response: EXPAND %{User-Name} (112) attr_filter.accounting_response: --> ISMAEEL6 (112) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (112) [attr_filter.accounting_response] = updated (112) } # accounting = updated (112) Sent Accounting-Response Id 50 from 103.204.70.55:1813 to 103.190.8.10:35459 length 20 (112) Finished request (112) Cleaning up request packet ID 50 with timestamp +22 due to done Waking up in 0.4 seconds. (113) Received Accounting-Request Id 51 from 103.190.8.10:37644 to 103.204.70.55:1813 length 244 (113) Service-Type = Framed-User (113) Framed-Protocol = PPP (113) NAS-Port = 16091238 (113) NAS-Port-Type = Ethernet (113) User-Name = "JITENDRA299" (113) Calling-Station-Id = "84:D8:1B:44:CA:1E" (113) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (113) Acct-Session-Id = "81557d65" (113) Framed-IP-Address = 172.16.4.143 (113) Acct-Authentic = RADIUS (113) Event-Timestamp = "Mar 27 2026 04:23:16 IST" (113) Acct-Session-Time = 54601 (113) Idle-Timeout = 0 (113) Session-Timeout = 211604 (113) X-Ascend-Data-Rate = 62000000 (113) Ascend-Xmit-Rate = 62000000 (113) Mikrotik-Rate-Limit = "62M/62M" (113) Acct-Input-Octets = 146522886 (113) Acct-Input-Gigawords = 0 (113) Acct-Input-Packets = 571374 (113) Acct-Output-Octets = 369820009 (113) Acct-Output-Gigawords = 1 (113) Acct-Output-Packets = 3903950 (113) Acct-Status-Type = Interim-Update (113) NAS-Identifier = "CORE-ROUTER" (113) Acct-Delay-Time = 0 (113) NAS-IP-Address = 103.190.8.10 (113) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (113) preacct { (113) [preprocess] = ok (113) policy acct_unique { (113) update request { (113) &Tmp-String-9 := "ai:" (113) } # update request = noop (113) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (113) EXPAND %{hex:&Class} (113) --> (113) EXPAND ^%{hex:&Tmp-String-9} (113) --> ^61693a (113) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (113) else { (113) update request { (113) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (113) --> 72d6cd7897022df0345db47d54657ebb (113) &Acct-Unique-Session-Id := 72d6cd7897022df0345db47d54657ebb (113) } # update request = noop (113) } # else = noop (113) update request { (113) &Tmp-String-9 !* ANY (113) } # update request = noop (113) } # policy acct_unique = noop (113) suffix: Checking for suffix after "@" (113) suffix: No '@' in User-Name = "JITENDRA299", looking up realm NULL (113) suffix: No such realm "NULL" (113) [suffix] = noop (113) [files] = noop (113) } # preacct = ok (113) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (113) accounting { (113) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (113) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (113) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (113) detail: EXPAND %t (113) detail: --> Fri Mar 27 04:23:16 2026 (113) [detail] = ok (113) [unix] = noop (113) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (113) sql: --> type.interim-update.query (113) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (139) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (140), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (140) (113) sql: EXPAND %{User-Name} (113) sql: --> JITENDRA299 (113) sql: SQL-User-Name set to 'JITENDRA299' (113) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (113) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565596), acctinterval = 1774565596 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.143', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54601, acctinputoctets = '0' << 32 | '146522886', acctoutputoctets = '1' << 32 | '369820009' WHERE AcctUniqueId = '72d6cd7897022df0345db47d54657ebb' (113) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565596), acctinterval = 1774565596 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.143', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54601, acctinputoctets = '0' << 32 | '146522886', acctoutputoctets = '1' << 32 | '369820009' WHERE AcctUniqueId = '72d6cd7897022df0345db47d54657ebb' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (113) sql: SQL query returned: success (113) sql: 1 record(s) updated rlm_sql (sql): Released connection (140) (113) [sql] = ok (113) [exec] = noop (113) attr_filter.accounting_response: EXPAND %{User-Name} (113) attr_filter.accounting_response: --> JITENDRA299 (113) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (113) [attr_filter.accounting_response] = updated (113) } # accounting = updated (113) Sent Accounting-Response Id 51 from 103.204.70.55:1813 to 103.190.8.10:37644 length 20 (113) Finished request (113) Cleaning up request packet ID 51 with timestamp +22 due to done Waking up in 0.3 seconds. (114) Received Accounting-Request Id 52 from 103.190.8.10:49980 to 103.204.70.55:1813 length 241 (114) Service-Type = Framed-User (114) Framed-Protocol = PPP (114) NAS-Port = 16095571 (114) NAS-Port-Type = Ethernet (114) User-Name = "RAHUL260" (114) Calling-Station-Id = "B8:19:04:DD:88:B7" (114) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (114) Acct-Session-Id = "81558e4f" (114) Framed-IP-Address = 172.16.4.53 (114) Acct-Authentic = RADIUS (114) Event-Timestamp = "Mar 27 2026 04:23:16 IST" (114) Acct-Session-Time = 39000 (114) Idle-Timeout = 0 (114) Session-Timeout = 4688803 (114) X-Ascend-Data-Rate = 62000000 (114) Ascend-Xmit-Rate = 62000000 (114) Mikrotik-Rate-Limit = "62M/62M" (114) Acct-Input-Octets = 343479162 (114) Acct-Input-Gigawords = 0 (114) Acct-Input-Packets = 441364 (114) Acct-Output-Octets = 55880961 (114) Acct-Output-Gigawords = 0 (114) Acct-Output-Packets = 289338 (114) Acct-Status-Type = Interim-Update (114) NAS-Identifier = "CORE-ROUTER" (114) Acct-Delay-Time = 0 (114) NAS-IP-Address = 103.190.8.10 (114) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (114) preacct { (114) [preprocess] = ok (114) policy acct_unique { (114) update request { (114) &Tmp-String-9 := "ai:" (114) } # update request = noop (114) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (114) EXPAND %{hex:&Class} (114) --> (114) EXPAND ^%{hex:&Tmp-String-9} (114) --> ^61693a (114) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (114) else { (114) update request { (114) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (114) --> 31279386518044a7306c20ed2121d1b6 (114) &Acct-Unique-Session-Id := 31279386518044a7306c20ed2121d1b6 (114) } # update request = noop (114) } # else = noop (114) update request { (114) &Tmp-String-9 !* ANY (114) } # update request = noop (114) } # policy acct_unique = noop (114) suffix: Checking for suffix after "@" (114) suffix: No '@' in User-Name = "RAHUL260", looking up realm NULL (114) suffix: No such realm "NULL" (114) [suffix] = noop (114) [files] = noop (114) } # preacct = ok (114) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (114) accounting { (114) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (114) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (114) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (114) detail: EXPAND %t (114) detail: --> Fri Mar 27 04:23:16 2026 (114) [detail] = ok (114) [unix] = noop (114) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (114) sql: --> type.interim-update.query (114) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (140) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (141), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (141) (114) sql: EXPAND %{User-Name} (114) sql: --> RAHUL260 (114) sql: SQL-User-Name set to 'RAHUL260' (114) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (114) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565596), acctinterval = 1774565596 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.53', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39000, acctinputoctets = '0' << 32 | '343479162', acctoutputoctets = '0' << 32 | '55880961' WHERE AcctUniqueId = '31279386518044a7306c20ed2121d1b6' (114) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565596), acctinterval = 1774565596 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.53', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39000, acctinputoctets = '0' << 32 | '343479162', acctoutputoctets = '0' << 32 | '55880961' WHERE AcctUniqueId = '31279386518044a7306c20ed2121d1b6' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (114) sql: SQL query returned: success (114) sql: 1 record(s) updated rlm_sql (sql): Released connection (141) (114) [sql] = ok (114) [exec] = noop (114) attr_filter.accounting_response: EXPAND %{User-Name} (114) attr_filter.accounting_response: --> RAHUL260 (114) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (114) [attr_filter.accounting_response] = updated (114) } # accounting = updated (114) Sent Accounting-Response Id 52 from 103.204.70.55:1813 to 103.190.8.10:49980 length 20 (114) Finished request (114) Cleaning up request packet ID 52 with timestamp +22 due to done Waking up in 0.2 seconds. (115) Received Accounting-Request Id 53 from 103.190.8.10:36009 to 103.204.70.55:1813 length 244 (115) Service-Type = Framed-User (115) Framed-Protocol = PPP (115) NAS-Port = 16095570 (115) NAS-Port-Type = Ethernet (115) User-Name = "RAMPAL210" (115) Calling-Station-Id = "78:17:35:2A:BD:24" (115) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (115) Acct-Session-Id = "81558e4e" (115) Framed-IP-Address = 172.16.3.29 (115) Acct-Authentic = RADIUS (115) Event-Timestamp = "Mar 27 2026 04:23:16 IST" (115) Acct-Session-Time = 39000 (115) Idle-Timeout = 0 (115) Session-Timeout = 973603 (115) X-Ascend-Data-Rate = 105000000 (115) Ascend-Xmit-Rate = 105000000 (115) Mikrotik-Rate-Limit = "105M/105M" (115) Acct-Input-Octets = 182000632 (115) Acct-Input-Gigawords = 0 (115) Acct-Input-Packets = 917342 (115) Acct-Output-Octets = 2120783134 (115) Acct-Output-Gigawords = 1 (115) Acct-Output-Packets = 5064718 (115) Acct-Status-Type = Interim-Update (115) NAS-Identifier = "CORE-ROUTER" (115) Acct-Delay-Time = 0 (115) NAS-IP-Address = 103.190.8.10 (115) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (115) preacct { (115) [preprocess] = ok (115) policy acct_unique { (115) update request { (115) &Tmp-String-9 := "ai:" (115) } # update request = noop (115) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (115) EXPAND %{hex:&Class} (115) --> (115) EXPAND ^%{hex:&Tmp-String-9} (115) --> ^61693a (115) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (115) else { (115) update request { (115) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (115) --> 63bccfb8171cde69c307a8a8b9ffeaa4 (115) &Acct-Unique-Session-Id := 63bccfb8171cde69c307a8a8b9ffeaa4 (115) } # update request = noop (115) } # else = noop (115) update request { (115) &Tmp-String-9 !* ANY (115) } # update request = noop (115) } # policy acct_unique = noop (115) suffix: Checking for suffix after "@" (115) suffix: No '@' in User-Name = "RAMPAL210", looking up realm NULL (115) suffix: No such realm "NULL" (115) [suffix] = noop (115) [files] = noop (115) } # preacct = ok (115) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (115) accounting { (115) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (115) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (115) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (115) detail: EXPAND %t (115) detail: --> Fri Mar 27 04:23:17 2026 (115) [detail] = ok (115) [unix] = noop (115) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (115) sql: --> type.interim-update.query (115) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (141) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (142), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (142) (115) sql: EXPAND %{User-Name} (115) sql: --> RAMPAL210 (115) sql: SQL-User-Name set to 'RAMPAL210' (115) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (115) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565596), acctinterval = 1774565596 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.29', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39000, acctinputoctets = '0' << 32 | '182000632', acctoutputoctets = '1' << 32 | '2120783134' WHERE AcctUniqueId = '63bccfb8171cde69c307a8a8b9ffeaa4' (115) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565596), acctinterval = 1774565596 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.29', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39000, acctinputoctets = '0' << 32 | '182000632', acctoutputoctets = '1' << 32 | '2120783134' WHERE AcctUniqueId = '63bccfb8171cde69c307a8a8b9ffeaa4' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (115) sql: SQL query returned: success (115) sql: 1 record(s) updated rlm_sql (sql): Released connection (142) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (143), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (142) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (115) [sql] = ok (115) [exec] = noop (115) attr_filter.accounting_response: EXPAND %{User-Name} (115) attr_filter.accounting_response: --> RAMPAL210 (115) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (115) [attr_filter.accounting_response] = updated (115) } # accounting = updated (115) Sent Accounting-Response Id 53 from 103.204.70.55:1813 to 103.190.8.10:36009 length 20 (115) Finished request (115) Cleaning up request packet ID 53 with timestamp +22 due to done Waking up in 0.2 seconds. (103) Cleaning up request packet ID 43 with timestamp +21 due to cleanup_delay was reached Waking up in 0.3 seconds. (116) Received Accounting-Request Id 54 from 103.190.8.10:46519 to 103.204.70.55:1813 length 242 (116) Service-Type = Framed-User (116) Framed-Protocol = PPP (116) NAS-Port = 16091277 (116) NAS-Port-Type = Ethernet (116) User-Name = "LOVE244" (116) Calling-Station-Id = "F0:ED:B8:18:A2:01" (116) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (116) Acct-Session-Id = "81557d8c" (116) Framed-IP-Address = 172.16.4.64 (116) Acct-Authentic = RADIUS (116) Event-Timestamp = "Mar 27 2026 04:23:17 IST" (116) Acct-Session-Time = 54472 (116) Idle-Timeout = 0 (116) Session-Timeout = 14294674 (116) X-Ascend-Data-Rate = 105000000 (116) Ascend-Xmit-Rate = 105000000 (116) Mikrotik-Rate-Limit = "105M/105M" (116) Acct-Input-Octets = 717918332 (116) Acct-Input-Gigawords = 0 (116) Acct-Input-Packets = 2934143 (116) Acct-Output-Octets = 3549285684 (116) Acct-Output-Gigawords = 3 (116) Acct-Output-Packets = 14325104 (116) Acct-Status-Type = Interim-Update (116) NAS-Identifier = "CORE-ROUTER" (116) Acct-Delay-Time = 0 (116) NAS-IP-Address = 103.190.8.10 (116) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (116) preacct { (116) [preprocess] = ok (116) policy acct_unique { (116) update request { (116) &Tmp-String-9 := "ai:" (116) } # update request = noop (116) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (116) EXPAND %{hex:&Class} (116) --> (116) EXPAND ^%{hex:&Tmp-String-9} (116) --> ^61693a (116) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (116) else { (116) update request { (116) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (116) --> aa642b7a3e36a2a6ae17f83e2e96f654 (116) &Acct-Unique-Session-Id := aa642b7a3e36a2a6ae17f83e2e96f654 (116) } # update request = noop (116) } # else = noop (116) update request { (116) &Tmp-String-9 !* ANY (116) } # update request = noop (116) } # policy acct_unique = noop (116) suffix: Checking for suffix after "@" (116) suffix: No '@' in User-Name = "LOVE244", looking up realm NULL (116) suffix: No such realm "NULL" (116) [suffix] = noop (116) [files] = noop (116) } # preacct = ok (116) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (116) accounting { (116) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (116) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (116) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (116) detail: EXPAND %t (116) detail: --> Fri Mar 27 04:23:17 2026 (116) [detail] = ok (116) [unix] = noop (116) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (116) sql: --> type.interim-update.query (116) sql: Using query template 'query' rlm_sql (sql): Reserved connection (143) (116) sql: EXPAND %{User-Name} (116) sql: --> LOVE244 (116) sql: SQL-User-Name set to 'LOVE244' (116) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (116) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565597), acctinterval = 1774565597 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.64', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54472, acctinputoctets = '0' << 32 | '717918332', acctoutputoctets = '3' << 32 | '3549285684' WHERE AcctUniqueId = 'aa642b7a3e36a2a6ae17f83e2e96f654' (116) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565597), acctinterval = 1774565597 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.64', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54472, acctinputoctets = '0' << 32 | '717918332', acctoutputoctets = '3' << 32 | '3549285684' WHERE AcctUniqueId = 'aa642b7a3e36a2a6ae17f83e2e96f654' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (116) sql: SQL query returned: success (116) sql: 1 record(s) updated rlm_sql (sql): Released connection (143) (116) [sql] = ok (116) [exec] = noop (116) attr_filter.accounting_response: EXPAND %{User-Name} (116) attr_filter.accounting_response: --> LOVE244 (116) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (116) [attr_filter.accounting_response] = updated (116) } # accounting = updated (116) Sent Accounting-Response Id 54 from 103.204.70.55:1813 to 103.190.8.10:46519 length 20 (116) Finished request (116) Cleaning up request packet ID 54 with timestamp +23 due to done Waking up in 0.2 seconds. (117) Received Accounting-Request Id 55 from 103.190.8.10:48237 to 103.204.70.55:1813 length 246 (117) Service-Type = Framed-User (117) Framed-Protocol = PPP (117) NAS-Port = 16095573 (117) NAS-Port-Type = Ethernet (117) User-Name = "DEMOSAJID94" (117) Calling-Station-Id = "78:17:35:C2:E5:04" (117) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (117) Acct-Session-Id = "81558e51" (117) Framed-IP-Address = 172.16.3.86 (117) Acct-Authentic = RADIUS (117) Event-Timestamp = "Mar 27 2026 04:23:17 IST" (117) Acct-Session-Time = 39001 (117) Idle-Timeout = 0 (117) Session-Timeout = 3392803 (117) X-Ascend-Data-Rate = 105000000 (117) Ascend-Xmit-Rate = 105000000 (117) Mikrotik-Rate-Limit = "105M/105M" (117) Acct-Input-Octets = 428379900 (117) Acct-Input-Gigawords = 0 (117) Acct-Input-Packets = 1872385 (117) Acct-Output-Octets = 1383963141 (117) Acct-Output-Gigawords = 2 (117) Acct-Output-Packets = 8377404 (117) Acct-Status-Type = Interim-Update (117) NAS-Identifier = "CORE-ROUTER" (117) Acct-Delay-Time = 0 (117) NAS-IP-Address = 103.190.8.10 (117) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (117) preacct { (117) [preprocess] = ok (117) policy acct_unique { (117) update request { (117) &Tmp-String-9 := "ai:" (117) } # update request = noop (117) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (117) EXPAND %{hex:&Class} (117) --> (117) EXPAND ^%{hex:&Tmp-String-9} (117) --> ^61693a (117) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (117) else { (117) update request { (117) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (117) --> 5b70ef46c3b16dbc137ae0d2eaee96f8 (117) &Acct-Unique-Session-Id := 5b70ef46c3b16dbc137ae0d2eaee96f8 (117) } # update request = noop (117) } # else = noop (117) update request { (117) &Tmp-String-9 !* ANY (117) } # update request = noop (117) } # policy acct_unique = noop (117) suffix: Checking for suffix after "@" (117) suffix: No '@' in User-Name = "DEMOSAJID94", looking up realm NULL (117) suffix: No such realm "NULL" (117) [suffix] = noop (117) [files] = noop (117) } # preacct = ok (117) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (117) accounting { (117) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (117) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (117) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (117) detail: EXPAND %t (117) detail: --> Fri Mar 27 04:23:17 2026 (117) [detail] = ok (117) [unix] = noop (117) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (117) sql: --> type.interim-update.query (117) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (143) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (144), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (144) (117) sql: EXPAND %{User-Name} (117) sql: --> DEMOSAJID94 (117) sql: SQL-User-Name set to 'DEMOSAJID94' (117) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (117) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565597), acctinterval = 1774565597 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.86', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '428379900', acctoutputoctets = '2' << 32 | '1383963141' WHERE AcctUniqueId = '5b70ef46c3b16dbc137ae0d2eaee96f8' (117) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565597), acctinterval = 1774565597 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.86', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '428379900', acctoutputoctets = '2' << 32 | '1383963141' WHERE AcctUniqueId = '5b70ef46c3b16dbc137ae0d2eaee96f8' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (117) sql: SQL query returned: success (117) sql: 1 record(s) updated rlm_sql (sql): Released connection (144) (117) [sql] = ok (117) [exec] = noop (117) attr_filter.accounting_response: EXPAND %{User-Name} (117) attr_filter.accounting_response: --> DEMOSAJID94 (117) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (117) [attr_filter.accounting_response] = updated (117) } # accounting = updated (117) Sent Accounting-Response Id 55 from 103.204.70.55:1813 to 103.190.8.10:48237 length 20 (117) Finished request (117) Cleaning up request packet ID 55 with timestamp +23 due to done (118) Received Accounting-Request Id 56 from 103.190.8.10:57327 to 103.204.70.55:1813 length 241 (118) Service-Type = Framed-User (118) Framed-Protocol = PPP (118) NAS-Port = 16095572 (118) NAS-Port-Type = Ethernet (118) User-Name = "PALTU268" (118) Calling-Station-Id = "B8:19:04:DE:10:84" (118) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (118) Acct-Session-Id = "81558e50" (118) Framed-IP-Address = 172.16.4.51 (118) Acct-Authentic = RADIUS (118) Event-Timestamp = "Mar 27 2026 04:23:17 IST" (118) Acct-Session-Time = 39001 (118) Idle-Timeout = 0 (118) Session-Timeout = 8576803 (118) X-Ascend-Data-Rate = 62000000 (118) Ascend-Xmit-Rate = 62000000 (118) Mikrotik-Rate-Limit = "62M/62M" (118) Acct-Input-Octets = 489138720 (118) Acct-Input-Gigawords = 0 (118) Acct-Input-Packets = 2366030 (118) Acct-Output-Octets = 2466293285 (118) Acct-Output-Gigawords = 1 (118) Acct-Output-Packets = 5561672 (118) Acct-Status-Type = Interim-Update (118) NAS-Identifier = "CORE-ROUTER" (118) Acct-Delay-Time = 0 (118) NAS-IP-Address = 103.190.8.10 (118) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (118) preacct { (118) [preprocess] = ok (118) policy acct_unique { (118) update request { (118) &Tmp-String-9 := "ai:" (118) } # update request = noop (118) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (118) EXPAND %{hex:&Class} (118) --> (118) EXPAND ^%{hex:&Tmp-String-9} (118) --> ^61693a (118) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (118) else { (118) update request { (118) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (118) --> 7b344fd3c86ffe28b0e17401d9f6fbcc (118) &Acct-Unique-Session-Id := 7b344fd3c86ffe28b0e17401d9f6fbcc (118) } # update request = noop (118) } # else = noop (118) update request { (118) &Tmp-String-9 !* ANY (118) } # update request = noop (118) } # policy acct_unique = noop (118) suffix: Checking for suffix after "@" (118) suffix: No '@' in User-Name = "PALTU268", looking up realm NULL (118) suffix: No such realm "NULL" (118) [suffix] = noop (118) [files] = noop (118) } # preacct = ok (118) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (118) accounting { (118) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (118) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (118) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (118) detail: EXPAND %t (118) detail: --> Fri Mar 27 04:23:17 2026 (118) [detail] = ok (118) [unix] = noop (118) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (118) sql: --> type.interim-update.query (118) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (144) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (145), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (145) (118) sql: EXPAND %{User-Name} (118) sql: --> PALTU268 (118) sql: SQL-User-Name set to 'PALTU268' (118) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (118) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565597), acctinterval = 1774565597 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.51', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '489138720', acctoutputoctets = '1' << 32 | '2466293285' WHERE AcctUniqueId = '7b344fd3c86ffe28b0e17401d9f6fbcc' (118) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565597), acctinterval = 1774565597 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.51', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '489138720', acctoutputoctets = '1' << 32 | '2466293285' WHERE AcctUniqueId = '7b344fd3c86ffe28b0e17401d9f6fbcc' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (118) sql: SQL query returned: success (118) sql: 1 record(s) updated rlm_sql (sql): Released connection (145) (118) [sql] = ok (118) [exec] = noop (118) attr_filter.accounting_response: EXPAND %{User-Name} (118) attr_filter.accounting_response: --> PALTU268 (118) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (118) [attr_filter.accounting_response] = updated (118) } # accounting = updated (118) Sent Accounting-Response Id 56 from 103.204.70.55:1813 to 103.190.8.10:57327 length 20 (118) Finished request (118) Cleaning up request packet ID 56 with timestamp +23 due to done (105) Cleaning up request packet ID 45 with timestamp +21 due to cleanup_delay was reached Waking up in 1.0 seconds. (119) Received Access-Request Id 57 from 103.190.8.10:48603 to 103.204.70.55:1812 length 179 (119) Service-Type = Framed-User (119) Framed-Protocol = PPP (119) NAS-Port = 16116458 (119) NAS-Port-Type = Ethernet (119) User-Name = "SUNNY261" (119) Calling-Station-Id = "E8:65:D4:15:37:A8" (119) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (119) Acct-Session-Id = "8155ddd4" (119) CHAP-Challenge = 0x3c9ab32717aa9dfa285409024e9a6227 (119) CHAP-Password = 0x013c1d0d2c8c2c3189a4d843833ebd1289 (119) NAS-Identifier = "CORE-ROUTER" (119) NAS-IP-Address = 103.190.8.10 (119) Message-Authenticator = 0x23e0e2667a32e2de241e35143e763019 (119) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (119) authorize { (119) [preprocess] = ok (119) chap: &control:Auth-Type := CHAP (119) [chap] = ok (119) [mschap] = noop (119) [digest] = noop (119) suffix: Checking for suffix after "@" (119) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (119) suffix: No such realm "NULL" (119) [suffix] = noop (119) eap: No EAP-Message, not doing EAP (119) [eap] = noop (119) files: users: Matched entry DEFAULT at line 167 (119) [files] = ok (119) sql: EXPAND %{User-Name} (119) sql: --> SUNNY261 (119) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (145) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (146), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (146) (119) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (119) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (119) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (119) sql: User found in radcheck table (119) sql: Conditional check items matched, merging assignment check items (119) sql: Cleartext-Password := "123456" (119) sql: Expiration := "Mar 26 2026 23:59:59 IST" (119) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (119) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (119) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (119) sql: User found in radreply table, merging reply items (119) sql: Mikrotik-Rate-Limit := "62M/62M" (119) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (119) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (119) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (119) sql: User found in the group table (119) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (119) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (119) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (119) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (119) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (119) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (119) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (119) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (119) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (119) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (146) (119) [sql] = ok (119) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (119) [expiration] = userlock (119) } # authorize = userlock (119) Using Post-Auth-Type Reject (119) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (119) Post-Auth-Type REJECT { (119) sql: EXPAND .query (119) sql: --> .query (119) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (146) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (147), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (147) (119) sql: EXPAND %{User-Name} (119) sql: --> SUNNY261 (119) sql: SQL-User-Name set to 'SUNNY261' (119) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (119) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x013c1d0d2c8c2c3189a4d843833ebd1289', 'Access-Reject', '2026-03-27 04:23:17.718231' ) (119) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x013c1d0d2c8c2c3189a4d843833ebd1289', 'Access-Reject', '2026-03-27 04:23:17.718231' ) (119) sql: SQL query returned: success (119) sql: 1 record(s) updated rlm_sql (sql): Released connection (147) (119) [sql] = ok (119) attr_filter.access_reject: EXPAND %{User-Name} (119) attr_filter.access_reject: --> SUNNY261 (119) attr_filter.access_reject: Matched entry DEFAULT at line 11 (119) [attr_filter.access_reject] = updated (119) [eap] = noop (119) policy remove_reply_message_if_eap { (119) if (&reply:EAP-Message && &reply:Reply-Message) { (119) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (119) else { (119) [noop] = noop (119) } # else = noop (119) } # policy remove_reply_message_if_eap = noop (119) } # Post-Auth-Type REJECT = updated (119) Sent Access-Reject Id 57 from 103.204.70.55:1812 to 103.190.8.10:48603 length 38 (119) Finished request Waking up in 0.8 seconds. (120) Received Accounting-Request Id 89 from 27.100.14.6:46994 to 103.204.70.55:1813 length 228 (120) Service-Type = Framed-User (120) Framed-Protocol = PPP (120) NAS-Port = 15734918 (120) NAS-Port-Type = Ethernet (120) User-Name = "8708765340" (120) Calling-Station-Id = "6C:08:31:11:D6:91" (120) NAS-Port-Id = "ether3" (120) Acct-Session-Id = "81c014e1" (120) Framed-IP-Address = 10.10.10.237 (120) Acct-Authentic = RADIUS (120) Event-Timestamp = "Mar 27 2026 04:23:17 IST" (120) Acct-Session-Time = 48421 (120) Idle-Timeout = 0 (120) Session-Timeout = 29581423 (120) X-Ascend-Data-Rate = 110000000 (120) Ascend-Xmit-Rate = 110000000 (120) Mikrotik-Rate-Limit = "110M/110M" (120) Acct-Input-Octets = 233628369 (120) Acct-Input-Gigawords = 0 (120) Acct-Input-Packets = 892411 (120) Acct-Output-Octets = 4178225009 (120) Acct-Output-Gigawords = 0 (120) Acct-Output-Packets = 3372142 (120) Acct-Status-Type = Interim-Update (120) NAS-Identifier = "MikroTik" (120) Acct-Delay-Time = 0 (120) NAS-IP-Address = 27.100.14.6 (120) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (120) preacct { (120) [preprocess] = ok (120) policy acct_unique { (120) update request { (120) &Tmp-String-9 := "ai:" (120) } # update request = noop (120) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (120) EXPAND %{hex:&Class} (120) --> (120) EXPAND ^%{hex:&Tmp-String-9} (120) --> ^61693a (120) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (120) else { (120) update request { (120) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (120) --> 16aaa13da84c68499459d08e72795b6d (120) &Acct-Unique-Session-Id := 16aaa13da84c68499459d08e72795b6d (120) } # update request = noop (120) } # else = noop (120) update request { (120) &Tmp-String-9 !* ANY (120) } # update request = noop (120) } # policy acct_unique = noop (120) suffix: Checking for suffix after "@" (120) suffix: No '@' in User-Name = "8708765340", looking up realm NULL (120) suffix: No such realm "NULL" (120) [suffix] = noop (120) [files] = noop (120) } # preacct = ok (120) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (120) accounting { (120) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (120) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (120) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (120) detail: EXPAND %t (120) detail: --> Fri Mar 27 04:23:17 2026 (120) [detail] = ok (120) [unix] = noop (120) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (120) sql: --> type.interim-update.query (120) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (147) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (148), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (148) (120) sql: EXPAND %{User-Name} (120) sql: --> 8708765340 (120) sql: SQL-User-Name set to '8708765340' (120) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (120) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565597), acctinterval = 1774565597 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.237', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 48421, acctinputoctets = '0' << 32 | '233628369', acctoutputoctets = '0' << 32 | '4178225009' WHERE AcctUniqueId = '16aaa13da84c68499459d08e72795b6d' (120) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565597), acctinterval = 1774565597 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.237', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 48421, acctinputoctets = '0' << 32 | '233628369', acctoutputoctets = '0' << 32 | '4178225009' WHERE AcctUniqueId = '16aaa13da84c68499459d08e72795b6d' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (120) sql: SQL query returned: success (120) sql: 1 record(s) updated rlm_sql (sql): Released connection (148) (120) [sql] = ok (120) [exec] = noop (120) attr_filter.accounting_response: EXPAND %{User-Name} (120) attr_filter.accounting_response: --> 8708765340 (120) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (120) [attr_filter.accounting_response] = updated (120) } # accounting = updated (120) Sent Accounting-Response Id 89 from 103.204.70.55:1813 to 27.100.14.6:46994 length 20 (120) Finished request (120) Cleaning up request packet ID 89 with timestamp +23 due to done Waking up in 0.5 seconds. (121) Received Accounting-Request Id 58 from 103.190.8.10:34553 to 103.204.70.55:1813 length 248 (121) Service-Type = Framed-User (121) Framed-Protocol = PPP (121) NAS-Port = 16094513 (121) NAS-Port-Type = Ethernet (121) User-Name = "DEEPANSHI222D" (121) Calling-Station-Id = "F8:C4:F3:8F:FF:6B" (121) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (121) Acct-Session-Id = "81558a32" (121) Framed-IP-Address = 172.16.3.212 (121) Acct-Authentic = RADIUS (121) Event-Timestamp = "Mar 27 2026 04:23:18 IST" (121) Acct-Session-Time = 42641 (121) Idle-Timeout = 0 (121) Session-Timeout = 2273243 (121) X-Ascend-Data-Rate = 105000000 (121) Ascend-Xmit-Rate = 105000000 (121) Mikrotik-Rate-Limit = "105M/105M" (121) Acct-Input-Octets = 679874198 (121) Acct-Input-Gigawords = 0 (121) Acct-Input-Packets = 2028651 (121) Acct-Output-Octets = 878889832 (121) Acct-Output-Gigawords = 2 (121) Acct-Output-Packets = 7690894 (121) Acct-Status-Type = Interim-Update (121) NAS-Identifier = "CORE-ROUTER" (121) Acct-Delay-Time = 0 (121) NAS-IP-Address = 103.190.8.10 (121) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (121) preacct { (121) [preprocess] = ok (121) policy acct_unique { (121) update request { (121) &Tmp-String-9 := "ai:" (121) } # update request = noop (121) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (121) EXPAND %{hex:&Class} (121) --> (121) EXPAND ^%{hex:&Tmp-String-9} (121) --> ^61693a (121) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (121) else { (121) update request { (121) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (121) --> 349830001a8261750fcd750fa153fca3 (121) &Acct-Unique-Session-Id := 349830001a8261750fcd750fa153fca3 (121) } # update request = noop (121) } # else = noop (121) update request { (121) &Tmp-String-9 !* ANY (121) } # update request = noop (121) } # policy acct_unique = noop (121) suffix: Checking for suffix after "@" (121) suffix: No '@' in User-Name = "DEEPANSHI222D", looking up realm NULL (121) suffix: No such realm "NULL" (121) [suffix] = noop (121) [files] = noop (121) } # preacct = ok (121) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (121) accounting { (121) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (121) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (121) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (121) detail: EXPAND %t (121) detail: --> Fri Mar 27 04:23:18 2026 (121) [detail] = ok (121) [unix] = noop (121) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (121) sql: --> type.interim-update.query (121) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (148) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (149), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (149) (121) sql: EXPAND %{User-Name} (121) sql: --> DEEPANSHI222D (121) sql: SQL-User-Name set to 'DEEPANSHI222D' (121) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (121) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.212', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '679874198', acctoutputoctets = '2' << 32 | '878889832' WHERE AcctUniqueId = '349830001a8261750fcd750fa153fca3' (121) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.212', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '679874198', acctoutputoctets = '2' << 32 | '878889832' WHERE AcctUniqueId = '349830001a8261750fcd750fa153fca3' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (121) sql: SQL query returned: success (121) sql: 1 record(s) updated rlm_sql (sql): Released connection (149) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (150), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (149) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (121) [sql] = ok (121) [exec] = noop (121) attr_filter.accounting_response: EXPAND %{User-Name} (121) attr_filter.accounting_response: --> DEEPANSHI222D (121) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (121) [attr_filter.accounting_response] = updated (121) } # accounting = updated (121) Sent Accounting-Response Id 58 from 103.204.70.55:1813 to 103.190.8.10:34553 length 20 (121) Finished request (121) Cleaning up request packet ID 58 with timestamp +24 due to done Waking up in 0.5 seconds. (122) Received Accounting-Request Id 59 from 103.190.8.10:33203 to 103.204.70.55:1813 length 252 (122) Service-Type = Framed-User (122) Framed-Protocol = PPP (122) NAS-Port = 16095575 (122) NAS-Port-Type = Ethernet (122) User-Name = "CHANDRASHEKHAR323" (122) Calling-Station-Id = "78:17:35:2C:09:44" (122) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (122) Acct-Session-Id = "81558e53" (122) Framed-IP-Address = 172.16.3.30 (122) Acct-Authentic = RADIUS (122) Event-Timestamp = "Mar 27 2026 04:23:18 IST" (122) Acct-Session-Time = 39000 (122) Idle-Timeout = 0 (122) Session-Timeout = 1232802 (122) X-Ascend-Data-Rate = 105000000 (122) Ascend-Xmit-Rate = 105000000 (122) Mikrotik-Rate-Limit = "105M/105M" (122) Acct-Input-Octets = 238974065 (122) Acct-Input-Gigawords = 0 (122) Acct-Input-Packets = 1217913 (122) Acct-Output-Octets = 585832413 (122) Acct-Output-Gigawords = 1 (122) Acct-Output-Packets = 4114830 (122) Acct-Status-Type = Interim-Update (122) NAS-Identifier = "CORE-ROUTER" (122) Acct-Delay-Time = 0 (122) NAS-IP-Address = 103.190.8.10 (122) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (122) preacct { (122) [preprocess] = ok (122) policy acct_unique { (122) update request { (122) &Tmp-String-9 := "ai:" (122) } # update request = noop (122) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (122) EXPAND %{hex:&Class} (122) --> (122) EXPAND ^%{hex:&Tmp-String-9} (122) --> ^61693a (122) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (122) else { (122) update request { (122) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (122) --> ce2755a471e90660cba91b50f4f50395 (122) &Acct-Unique-Session-Id := ce2755a471e90660cba91b50f4f50395 (122) } # update request = noop (122) } # else = noop (122) update request { (122) &Tmp-String-9 !* ANY (122) } # update request = noop (122) } # policy acct_unique = noop (122) suffix: Checking for suffix after "@" (122) suffix: No '@' in User-Name = "CHANDRASHEKHAR323", looking up realm NULL (122) suffix: No such realm "NULL" (122) [suffix] = noop (122) [files] = noop (122) } # preacct = ok (122) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (122) accounting { (122) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (122) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (122) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (122) detail: EXPAND %t (122) detail: --> Fri Mar 27 04:23:18 2026 (122) [detail] = ok (122) [unix] = noop (122) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (122) sql: --> type.interim-update.query (122) sql: Using query template 'query' rlm_sql (sql): Reserved connection (150) (122) sql: EXPAND %{User-Name} (122) sql: --> CHANDRASHEKHAR323 (122) sql: SQL-User-Name set to 'CHANDRASHEKHAR323' (122) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (122) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.30', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39000, acctinputoctets = '0' << 32 | '238974065', acctoutputoctets = '1' << 32 | '585832413' WHERE AcctUniqueId = 'ce2755a471e90660cba91b50f4f50395' (122) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.30', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39000, acctinputoctets = '0' << 32 | '238974065', acctoutputoctets = '1' << 32 | '585832413' WHERE AcctUniqueId = 'ce2755a471e90660cba91b50f4f50395' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (122) sql: SQL query returned: success (122) sql: 1 record(s) updated rlm_sql (sql): Released connection (150) (122) [sql] = ok (122) [exec] = noop (122) attr_filter.accounting_response: EXPAND %{User-Name} (122) attr_filter.accounting_response: --> CHANDRASHEKHAR323 (122) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (122) [attr_filter.accounting_response] = updated (122) } # accounting = updated (122) Sent Accounting-Response Id 59 from 103.204.70.55:1813 to 103.190.8.10:33203 length 20 (122) Finished request (122) Cleaning up request packet ID 59 with timestamp +24 due to done Waking up in 0.5 seconds. (123) Received Accounting-Request Id 90 from 27.100.14.6:53125 to 103.204.70.55:1813 length 228 (123) Service-Type = Framed-User (123) Framed-Protocol = PPP (123) NAS-Port = 15735095 (123) NAS-Port-Type = Ethernet (123) User-Name = "9050627584" (123) Calling-Station-Id = "14:C3:5E:15:42:87" (123) NAS-Port-Id = "ether3" (123) Acct-Session-Id = "81c01582" (123) Framed-IP-Address = 10.10.10.185 (123) Acct-Authentic = RADIUS (123) Event-Timestamp = "Mar 27 2026 04:23:18 IST" (123) Acct-Session-Time = 47521 (123) Idle-Timeout = 0 (123) Session-Timeout = 28802923 (123) X-Ascend-Data-Rate = 110000000 (123) Ascend-Xmit-Rate = 110000000 (123) Mikrotik-Rate-Limit = "110M/110M" (123) Acct-Input-Octets = 423837698 (123) Acct-Input-Gigawords = 0 (123) Acct-Input-Packets = 1998488 (123) Acct-Output-Octets = 157080792 (123) Acct-Output-Gigawords = 3 (123) Acct-Output-Packets = 9855808 (123) Acct-Status-Type = Interim-Update (123) NAS-Identifier = "MikroTik" (123) Acct-Delay-Time = 0 (123) NAS-IP-Address = 27.100.14.6 (123) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (123) preacct { (123) [preprocess] = ok (123) policy acct_unique { (123) update request { (123) &Tmp-String-9 := "ai:" (123) } # update request = noop (123) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (123) EXPAND %{hex:&Class} (123) --> (123) EXPAND ^%{hex:&Tmp-String-9} (123) --> ^61693a (123) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (123) else { (123) update request { (123) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (123) --> e947c9a618afada5ae5ab77e3ea54860 (123) &Acct-Unique-Session-Id := e947c9a618afada5ae5ab77e3ea54860 (123) } # update request = noop (123) } # else = noop (123) update request { (123) &Tmp-String-9 !* ANY (123) } # update request = noop (123) } # policy acct_unique = noop (123) suffix: Checking for suffix after "@" (123) suffix: No '@' in User-Name = "9050627584", looking up realm NULL (123) suffix: No such realm "NULL" (123) [suffix] = noop (123) [files] = noop (123) } # preacct = ok (123) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (123) accounting { (123) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (123) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (123) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (123) detail: EXPAND %t (123) detail: --> Fri Mar 27 04:23:18 2026 (123) [detail] = ok (123) [unix] = noop (123) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (123) sql: --> type.interim-update.query (123) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (150) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (151), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (151) (123) sql: EXPAND %{User-Name} (123) sql: --> 9050627584 (123) sql: SQL-User-Name set to '9050627584' (123) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (123) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.185', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 47521, acctinputoctets = '0' << 32 | '423837698', acctoutputoctets = '3' << 32 | '157080792' WHERE AcctUniqueId = 'e947c9a618afada5ae5ab77e3ea54860' (123) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.185', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 47521, acctinputoctets = '0' << 32 | '423837698', acctoutputoctets = '3' << 32 | '157080792' WHERE AcctUniqueId = 'e947c9a618afada5ae5ab77e3ea54860' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (123) sql: SQL query returned: success (123) sql: 1 record(s) updated rlm_sql (sql): Released connection (151) (123) [sql] = ok (123) [exec] = noop (123) attr_filter.accounting_response: EXPAND %{User-Name} (123) attr_filter.accounting_response: --> 9050627584 (123) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (123) [attr_filter.accounting_response] = updated (123) } # accounting = updated (123) Sent Accounting-Response Id 90 from 103.204.70.55:1813 to 27.100.14.6:53125 length 20 (123) Finished request (123) Cleaning up request packet ID 90 with timestamp +24 due to done Waking up in 0.4 seconds. (124) Received Accounting-Request Id 60 from 103.190.8.10:58158 to 103.204.70.55:1813 length 248 (124) Service-Type = Framed-User (124) Framed-Protocol = PPP (124) NAS-Port = 16095653 (124) NAS-Port-Type = Ethernet (124) User-Name = "DEMOOFFICE261" (124) Calling-Station-Id = "78:BB:C1:10:EE:81" (124) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (124) Acct-Session-Id = "81558ea3" (124) Framed-IP-Address = 172.16.3.123 (124) Acct-Authentic = RADIUS (124) Event-Timestamp = "Mar 27 2026 04:23:18 IST" (124) Acct-Session-Time = 38741 (124) Idle-Timeout = 0 (124) Session-Timeout = 11341342 (124) X-Ascend-Data-Rate = 305000000 (124) Ascend-Xmit-Rate = 305000000 (124) Mikrotik-Rate-Limit = "305M/305M" (124) Acct-Input-Octets = 274599140 (124) Acct-Input-Gigawords = 0 (124) Acct-Input-Packets = 1644334 (124) Acct-Output-Octets = 2902544085 (124) Acct-Output-Gigawords = 2 (124) Acct-Output-Packets = 8418405 (124) Acct-Status-Type = Interim-Update (124) NAS-Identifier = "CORE-ROUTER" (124) Acct-Delay-Time = 0 (124) NAS-IP-Address = 103.190.8.10 (124) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (124) preacct { (124) [preprocess] = ok (124) policy acct_unique { (124) update request { (124) &Tmp-String-9 := "ai:" (124) } # update request = noop (124) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (124) EXPAND %{hex:&Class} (124) --> (124) EXPAND ^%{hex:&Tmp-String-9} (124) --> ^61693a (124) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (124) else { (124) update request { (124) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (124) --> db65bd1a63ed239b7ff888b21babf607 (124) &Acct-Unique-Session-Id := db65bd1a63ed239b7ff888b21babf607 (124) } # update request = noop (124) } # else = noop (124) update request { (124) &Tmp-String-9 !* ANY (124) } # update request = noop (124) } # policy acct_unique = noop (124) suffix: Checking for suffix after "@" (124) suffix: No '@' in User-Name = "DEMOOFFICE261", looking up realm NULL (124) suffix: No such realm "NULL" (124) [suffix] = noop (124) [files] = noop (124) } # preacct = ok (124) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (124) accounting { (124) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (124) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (124) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (124) detail: EXPAND %t (124) detail: --> Fri Mar 27 04:23:18 2026 (124) [detail] = ok (124) [unix] = noop (124) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (124) sql: --> type.interim-update.query (124) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (151) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (152), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (152) (124) sql: EXPAND %{User-Name} (124) sql: --> DEMOOFFICE261 (124) sql: SQL-User-Name set to 'DEMOOFFICE261' (124) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (124) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.123', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38741, acctinputoctets = '0' << 32 | '274599140', acctoutputoctets = '2' << 32 | '2902544085' WHERE AcctUniqueId = 'db65bd1a63ed239b7ff888b21babf607' (124) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.123', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38741, acctinputoctets = '0' << 32 | '274599140', acctoutputoctets = '2' << 32 | '2902544085' WHERE AcctUniqueId = 'db65bd1a63ed239b7ff888b21babf607' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (124) sql: SQL query returned: success (124) sql: 1 record(s) updated rlm_sql (sql): Released connection (152) (124) [sql] = ok (124) [exec] = noop (124) attr_filter.accounting_response: EXPAND %{User-Name} (124) attr_filter.accounting_response: --> DEMOOFFICE261 (124) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (124) [attr_filter.accounting_response] = updated (124) } # accounting = updated (124) Sent Accounting-Response Id 60 from 103.204.70.55:1813 to 103.190.8.10:58158 length 20 (124) Finished request (124) Cleaning up request packet ID 60 with timestamp +24 due to done Waking up in 0.2 seconds. (125) Received Accounting-Request Id 61 from 103.190.8.10:33476 to 103.204.70.55:1813 length 243 (125) Service-Type = Framed-User (125) Framed-Protocol = PPP (125) NAS-Port = 16095574 (125) NAS-Port-Type = Ethernet (125) User-Name = "RAJBEER261" (125) Calling-Station-Id = "78:17:35:C7:C4:F7" (125) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (125) Acct-Session-Id = "81558e52" (125) Framed-IP-Address = 172.16.4.145 (125) Acct-Authentic = RADIUS (125) Event-Timestamp = "Mar 27 2026 04:23:18 IST" (125) Acct-Session-Time = 39001 (125) Idle-Timeout = 0 (125) Session-Timeout = 8663202 (125) X-Ascend-Data-Rate = 62000000 (125) Ascend-Xmit-Rate = 62000000 (125) Mikrotik-Rate-Limit = "62M/62M" (125) Acct-Input-Octets = 873120098 (125) Acct-Input-Gigawords = 0 (125) Acct-Input-Packets = 3143072 (125) Acct-Output-Octets = 3659650300 (125) Acct-Output-Gigawords = 3 (125) Acct-Output-Packets = 13415178 (125) Acct-Status-Type = Interim-Update (125) NAS-Identifier = "CORE-ROUTER" (125) Acct-Delay-Time = 0 (125) NAS-IP-Address = 103.190.8.10 (125) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (125) preacct { (125) [preprocess] = ok (125) policy acct_unique { (125) update request { (125) &Tmp-String-9 := "ai:" (125) } # update request = noop (125) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (125) EXPAND %{hex:&Class} (125) --> (125) EXPAND ^%{hex:&Tmp-String-9} (125) --> ^61693a (125) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (125) else { (125) update request { (125) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (125) --> c098df805a45684369416eff2646fae7 (125) &Acct-Unique-Session-Id := c098df805a45684369416eff2646fae7 (125) } # update request = noop (125) } # else = noop (125) update request { (125) &Tmp-String-9 !* ANY (125) } # update request = noop (125) } # policy acct_unique = noop (125) suffix: Checking for suffix after "@" (125) suffix: No '@' in User-Name = "RAJBEER261", looking up realm NULL (125) suffix: No such realm "NULL" (125) [suffix] = noop (125) [files] = noop (125) } # preacct = ok (125) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (125) accounting { (125) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (125) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (125) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (125) detail: EXPAND %t (125) detail: --> Fri Mar 27 04:23:18 2026 (125) [detail] = ok (125) [unix] = noop (125) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (125) sql: --> type.interim-update.query (125) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (152) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (153), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (153) (125) sql: EXPAND %{User-Name} (125) sql: --> RAJBEER261 (125) sql: SQL-User-Name set to 'RAJBEER261' (125) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (125) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.145', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '873120098', acctoutputoctets = '3' << 32 | '3659650300' WHERE AcctUniqueId = 'c098df805a45684369416eff2646fae7' (125) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.145', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '873120098', acctoutputoctets = '3' << 32 | '3659650300' WHERE AcctUniqueId = 'c098df805a45684369416eff2646fae7' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (125) sql: SQL query returned: success (125) sql: 1 record(s) updated rlm_sql (sql): Released connection (153) (125) [sql] = ok (125) [exec] = noop (125) attr_filter.accounting_response: EXPAND %{User-Name} (125) attr_filter.accounting_response: --> RAJBEER261 (125) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (125) [attr_filter.accounting_response] = updated (125) } # accounting = updated (125) Sent Accounting-Response Id 61 from 103.204.70.55:1813 to 103.190.8.10:33476 length 20 (125) Finished request (125) Cleaning up request packet ID 61 with timestamp +24 due to done Waking up in 0.2 seconds. (110) Cleaning up request packet ID 48 with timestamp +22 due to cleanup_delay was reached (126) Received Access-Request Id 62 from 103.190.8.10:42791 to 103.204.70.55:1812 length 178 (126) Service-Type = Framed-User (126) Framed-Protocol = PPP (126) NAS-Port = 16116457 (126) NAS-Port-Type = Ethernet (126) User-Name = "B883_Mukesh" (126) Calling-Station-Id = "C0:25:2F:D3:FD:3F" (126) NAS-Port-Id = "VLAN-83-SK VISON" (126) Acct-Session-Id = "8155ddd5" (126) CHAP-Challenge = 0x7ba44f2f9a8477f5741eaa727459d1dc (126) CHAP-Password = 0x0187d71bcec157fe95f439d1747c289fed (126) NAS-Identifier = "CORE-ROUTER" (126) NAS-IP-Address = 103.190.8.10 (126) Message-Authenticator = 0x3fba0732433a598412aacadb5618949d (126) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (126) authorize { (126) [preprocess] = ok (126) chap: &control:Auth-Type := CHAP (126) [chap] = ok (126) [mschap] = noop (126) [digest] = noop (126) suffix: Checking for suffix after "@" (126) suffix: No '@' in User-Name = "B883_Mukesh", looking up realm NULL (126) suffix: No such realm "NULL" (126) [suffix] = noop (126) eap: No EAP-Message, not doing EAP (126) [eap] = noop (126) files: users: Matched entry DEFAULT at line 167 (126) [files] = ok (126) sql: EXPAND %{User-Name} (126) sql: --> B883_Mukesh (126) sql: SQL-User-Name set to 'B883_Mukesh' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (153) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (154), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (154) (126) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (126) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'B883_Mukesh' ORDER BY id (126) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'B883_Mukesh' ORDER BY id (126) sql: User found in radcheck table (126) sql: Conditional check items matched, merging assignment check items (126) sql: Cleartext-Password := "B883_Mukesh" (126) sql: Expiration := "Mar 26 2026 23:59:59 IST" (126) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (126) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'B883_Mukesh' ORDER BY id (126) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'B883_Mukesh' ORDER BY id (126) sql: User found in radreply table, merging reply items (126) sql: Mikrotik-Address-List := "EXPIRED" (126) sql: Framed-Pool := "EXPIRED_POOL" (126) sql: Mikrotik-Rate-Limit := "64k/64k" (126) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (126) sql: --> SELECT groupname FROM radusergroup WHERE username = 'B883_Mukesh' ORDER BY priority (126) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'B883_Mukesh' ORDER BY priority (126) sql: User found in the group table (126) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (126) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (126) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (126) sql: Group "REELTIME-100-Mbps-Rs-100": Conditional check items matched (126) sql: Group "REELTIME-100-Mbps-Rs-100": Merging assignment check items (126) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (126) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (126) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (126) sql: Group "REELTIME-100-Mbps-Rs-100": Merging reply items (126) sql: Mikrotik-Rate-Limit := "105M/105M" rlm_sql (sql): Released connection (154) (126) [sql] = ok (126) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (126) [expiration] = userlock (126) } # authorize = userlock (126) Using Post-Auth-Type Reject (126) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (126) Post-Auth-Type REJECT { (126) sql: EXPAND .query (126) sql: --> .query (126) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (154) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (155), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (155) (126) sql: EXPAND %{User-Name} (126) sql: --> B883_Mukesh (126) sql: SQL-User-Name set to 'B883_Mukesh' (126) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (126) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'B883_Mukesh', '0x0187d71bcec157fe95f439d1747c289fed', 'Access-Reject', '2026-03-27 04:23:18.583567' ) (126) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'B883_Mukesh', '0x0187d71bcec157fe95f439d1747c289fed', 'Access-Reject', '2026-03-27 04:23:18.583567' ) (126) sql: SQL query returned: success (126) sql: 1 record(s) updated rlm_sql (sql): Released connection (155) (126) [sql] = ok (126) attr_filter.access_reject: EXPAND %{User-Name} (126) attr_filter.access_reject: --> B883_Mukesh (126) attr_filter.access_reject: Matched entry DEFAULT at line 11 (126) [attr_filter.access_reject] = updated (126) [eap] = noop (126) policy remove_reply_message_if_eap { (126) if (&reply:EAP-Message && &reply:Reply-Message) { (126) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (126) else { (126) [noop] = noop (126) } # else = noop (126) } # policy remove_reply_message_if_eap = noop (126) } # Post-Auth-Type REJECT = updated (126) Sent Access-Reject Id 62 from 103.204.70.55:1812 to 103.190.8.10:42791 length 38 (126) Finished request (111) Cleaning up request packet ID 49 with timestamp +22 due to cleanup_delay was reached Waking up in 1.1 seconds. (127) Received Access-Request Id 63 from 103.190.8.10:46399 to 103.204.70.55:1812 length 179 (127) Service-Type = Framed-User (127) Framed-Protocol = PPP (127) NAS-Port = 16116453 (127) NAS-Port-Type = Ethernet (127) User-Name = "VIPUL252" (127) Calling-Station-Id = "C8:3A:35:0A:E9:A0" (127) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (127) Acct-Session-Id = "8155ddd6" (127) CHAP-Challenge = 0x4e76020e53573e8b6075cc2e77f69934 (127) CHAP-Password = 0x0165653bff8221e5188cfde1fb64de4b2c (127) NAS-Identifier = "CORE-ROUTER" (127) NAS-IP-Address = 103.190.8.10 (127) Message-Authenticator = 0x8e5f9446a3e6b6cfb59176c19ff3b3a0 (127) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (127) authorize { (127) [preprocess] = ok (127) chap: &control:Auth-Type := CHAP (127) [chap] = ok (127) [mschap] = noop (127) [digest] = noop (127) suffix: Checking for suffix after "@" (127) suffix: No '@' in User-Name = "VIPUL252", looking up realm NULL (127) suffix: No such realm "NULL" (127) [suffix] = noop (127) eap: No EAP-Message, not doing EAP (127) [eap] = noop (127) files: users: Matched entry DEFAULT at line 167 (127) [files] = ok (127) sql: EXPAND %{User-Name} (127) sql: --> VIPUL252 (127) sql: SQL-User-Name set to 'VIPUL252' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (155) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (156), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (156) (127) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (127) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'VIPUL252' ORDER BY id (127) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'VIPUL252' ORDER BY id (127) sql: User found in radcheck table (127) sql: Conditional check items matched, merging assignment check items (127) sql: Cleartext-Password := "8588009898" (127) sql: Expiration := "Mar 24 2026 23:59:59 IST" (127) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (127) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'VIPUL252' ORDER BY id (127) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'VIPUL252' ORDER BY id (127) sql: User found in radreply table, merging reply items (127) sql: Mikrotik-Address-List := "EXPIRED" (127) sql: Framed-Pool := "EXPIRED_POOL" (127) sql: Mikrotik-Rate-Limit := "64k/64k" (127) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (127) sql: --> SELECT groupname FROM radusergroup WHERE username = 'VIPUL252' ORDER BY priority (127) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'VIPUL252' ORDER BY priority (127) sql: User found in the group table (127) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (127) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (127) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (127) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (127) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (127) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (127) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (127) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (127) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (127) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (156) (127) [sql] = ok (127) expiration: ERROR: Account expired at 'Mar 24 2026 23:59:59 IST' (127) [expiration] = userlock (127) } # authorize = userlock (127) Using Post-Auth-Type Reject (127) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (127) Post-Auth-Type REJECT { (127) sql: EXPAND .query (127) sql: --> .query (127) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (156) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (157), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (157) (127) sql: EXPAND %{User-Name} (127) sql: --> VIPUL252 (127) sql: SQL-User-Name set to 'VIPUL252' (127) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (127) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'VIPUL252', '0x0165653bff8221e5188cfde1fb64de4b2c', 'Access-Reject', '2026-03-27 04:23:18.670367' ) (127) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'VIPUL252', '0x0165653bff8221e5188cfde1fb64de4b2c', 'Access-Reject', '2026-03-27 04:23:18.670367' ) (127) sql: SQL query returned: success (127) sql: 1 record(s) updated rlm_sql (sql): Released connection (157) (127) [sql] = ok (127) attr_filter.access_reject: EXPAND %{User-Name} (127) attr_filter.access_reject: --> VIPUL252 (127) attr_filter.access_reject: Matched entry DEFAULT at line 11 (127) [attr_filter.access_reject] = updated (127) [eap] = noop (127) policy remove_reply_message_if_eap { (127) if (&reply:EAP-Message && &reply:Reply-Message) { (127) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (127) else { (127) [noop] = noop (127) } # else = noop (127) } # policy remove_reply_message_if_eap = noop (127) } # Post-Auth-Type REJECT = updated (127) Sent Access-Reject Id 63 from 103.204.70.55:1812 to 103.190.8.10:46399 length 38 (127) Finished request Waking up in 1.0 seconds. (128) Received Accounting-Request Id 64 from 103.190.8.10:57782 to 103.204.70.55:1813 length 242 (128) Service-Type = Framed-User (128) Framed-Protocol = PPP (128) NAS-Port = 16110064 (128) NAS-Port-Type = Ethernet (128) User-Name = "SIMRAN271" (128) Calling-Station-Id = "24:0B:88:F5:F8:74" (128) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (128) Acct-Session-Id = "8155c597" (128) Framed-IP-Address = 172.16.3.81 (128) Acct-Authentic = RADIUS (128) Event-Timestamp = "Mar 27 2026 04:23:18 IST" (128) Acct-Session-Time = 6110 (128) Idle-Timeout = 0 (128) Session-Timeout = 2150311 (128) X-Ascend-Data-Rate = 62000000 (128) Ascend-Xmit-Rate = 62000000 (128) Mikrotik-Rate-Limit = "62M/62M" (128) Acct-Input-Octets = 22640443 (128) Acct-Input-Gigawords = 0 (128) Acct-Input-Packets = 58130 (128) Acct-Output-Octets = 540478097 (128) Acct-Output-Gigawords = 0 (128) Acct-Output-Packets = 445050 (128) Acct-Status-Type = Interim-Update (128) NAS-Identifier = "CORE-ROUTER" (128) Acct-Delay-Time = 0 (128) NAS-IP-Address = 103.190.8.10 (128) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (128) preacct { (128) [preprocess] = ok (128) policy acct_unique { (128) update request { (128) &Tmp-String-9 := "ai:" (128) } # update request = noop (128) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (128) EXPAND %{hex:&Class} (128) --> (128) EXPAND ^%{hex:&Tmp-String-9} (128) --> ^61693a (128) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (128) else { (128) update request { (128) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (128) --> e084f379d08e667c9b69265b84e59c4b (128) &Acct-Unique-Session-Id := e084f379d08e667c9b69265b84e59c4b (128) } # update request = noop (128) } # else = noop (128) update request { (128) &Tmp-String-9 !* ANY (128) } # update request = noop (128) } # policy acct_unique = noop (128) suffix: Checking for suffix after "@" (128) suffix: No '@' in User-Name = "SIMRAN271", looking up realm NULL (128) suffix: No such realm "NULL" (128) [suffix] = noop (128) [files] = noop (128) } # preacct = ok (128) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (128) accounting { (128) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (128) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (128) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (128) detail: EXPAND %t (128) detail: --> Fri Mar 27 04:23:18 2026 (128) [detail] = ok (128) [unix] = noop (128) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (128) sql: --> type.interim-update.query (128) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (157) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (158), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (158) (128) sql: EXPAND %{User-Name} (128) sql: --> SIMRAN271 (128) sql: SQL-User-Name set to 'SIMRAN271' (128) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (128) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.81', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 6110, acctinputoctets = '0' << 32 | '22640443', acctoutputoctets = '0' << 32 | '540478097' WHERE AcctUniqueId = 'e084f379d08e667c9b69265b84e59c4b' (128) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.81', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 6110, acctinputoctets = '0' << 32 | '22640443', acctoutputoctets = '0' << 32 | '540478097' WHERE AcctUniqueId = 'e084f379d08e667c9b69265b84e59c4b' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (128) sql: SQL query returned: success (128) sql: 1 record(s) updated rlm_sql (sql): Released connection (158) (128) [sql] = ok (128) [exec] = noop (128) attr_filter.accounting_response: EXPAND %{User-Name} (128) attr_filter.accounting_response: --> SIMRAN271 (128) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (128) [attr_filter.accounting_response] = updated (128) } # accounting = updated (128) Sent Accounting-Response Id 64 from 103.204.70.55:1813 to 103.190.8.10:57782 length 20 (128) Finished request (128) Cleaning up request packet ID 64 with timestamp +24 due to done Waking up in 0.9 seconds. (129) Received Accounting-Request Id 65 from 103.190.8.10:51723 to 103.204.70.55:1813 length 241 (129) Service-Type = Framed-User (129) Framed-Protocol = PPP (129) NAS-Port = 16095926 (129) NAS-Port-Type = Ethernet (129) User-Name = "JEROM160" (129) Calling-Station-Id = "60:32:B1:88:B8:0F" (129) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (129) Acct-Session-Id = "81558fb3" (129) Framed-IP-Address = 172.16.4.206 (129) Acct-Authentic = RADIUS (129) Event-Timestamp = "Mar 27 2026 04:23:18 IST" (129) Acct-Session-Time = 37831 (129) Idle-Timeout = 0 (129) Session-Timeout = 2354832 (129) X-Ascend-Data-Rate = 62000000 (129) Ascend-Xmit-Rate = 62000000 (129) Mikrotik-Rate-Limit = "62M/62M" (129) Acct-Input-Octets = 141597357 (129) Acct-Input-Gigawords = 0 (129) Acct-Input-Packets = 562574 (129) Acct-Output-Octets = 2650326243 (129) Acct-Output-Gigawords = 0 (129) Acct-Output-Packets = 2282243 (129) Acct-Status-Type = Interim-Update (129) NAS-Identifier = "CORE-ROUTER" (129) Acct-Delay-Time = 0 (129) NAS-IP-Address = 103.190.8.10 (129) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (129) preacct { (129) [preprocess] = ok (129) policy acct_unique { (129) update request { (129) &Tmp-String-9 := "ai:" (129) } # update request = noop (129) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (129) EXPAND %{hex:&Class} (129) --> (129) EXPAND ^%{hex:&Tmp-String-9} (129) --> ^61693a (129) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (129) else { (129) update request { (129) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (129) --> cbeb5dd9440a0111673c57cd89f743c7 (129) &Acct-Unique-Session-Id := cbeb5dd9440a0111673c57cd89f743c7 (129) } # update request = noop (129) } # else = noop (129) update request { (129) &Tmp-String-9 !* ANY (129) } # update request = noop (129) } # policy acct_unique = noop (129) suffix: Checking for suffix after "@" (129) suffix: No '@' in User-Name = "JEROM160", looking up realm NULL (129) suffix: No such realm "NULL" (129) [suffix] = noop (129) [files] = noop (129) } # preacct = ok (129) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (129) accounting { (129) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (129) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (129) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (129) detail: EXPAND %t (129) detail: --> Fri Mar 27 04:23:18 2026 (129) [detail] = ok (129) [unix] = noop (129) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (129) sql: --> type.interim-update.query (129) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (158) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (159), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (159) (129) sql: EXPAND %{User-Name} (129) sql: --> JEROM160 (129) sql: SQL-User-Name set to 'JEROM160' (129) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (129) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.206', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 37831, acctinputoctets = '0' << 32 | '141597357', acctoutputoctets = '0' << 32 | '2650326243' WHERE AcctUniqueId = 'cbeb5dd9440a0111673c57cd89f743c7' (129) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565598), acctinterval = 1774565598 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.206', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 37831, acctinputoctets = '0' << 32 | '141597357', acctoutputoctets = '0' << 32 | '2650326243' WHERE AcctUniqueId = 'cbeb5dd9440a0111673c57cd89f743c7' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (129) sql: SQL query returned: success (129) sql: 1 record(s) updated rlm_sql (sql): Released connection (159) (129) [sql] = ok (129) [exec] = noop (129) attr_filter.accounting_response: EXPAND %{User-Name} (129) attr_filter.accounting_response: --> JEROM160 (129) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (129) [attr_filter.accounting_response] = updated (129) } # accounting = updated (129) Sent Accounting-Response Id 65 from 103.204.70.55:1813 to 103.190.8.10:51723 length 20 (129) Finished request (129) Cleaning up request packet ID 65 with timestamp +24 due to done Waking up in 0.9 seconds. (130) Received Access-Request Id 66 from 103.190.8.10:40866 to 103.204.70.55:1812 length 179 (130) Service-Type = Framed-User (130) Framed-Protocol = PPP (130) NAS-Port = 16116459 (130) NAS-Port-Type = Ethernet (130) User-Name = "SUNNY261" (130) Calling-Station-Id = "E8:65:D4:15:37:A8" (130) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (130) Acct-Session-Id = "8155ddd7" (130) CHAP-Challenge = 0x71b4813e4dddf67e1059a906f60ea838 (130) CHAP-Password = 0x01f279a7f617bd81084f02a9ce436a3b6b (130) NAS-Identifier = "CORE-ROUTER" (130) NAS-IP-Address = 103.190.8.10 (130) Message-Authenticator = 0x7c992c5862477b349e9f0b6b4fe0e2e7 (130) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (130) authorize { (130) [preprocess] = ok (130) chap: &control:Auth-Type := CHAP (130) [chap] = ok (130) [mschap] = noop (130) [digest] = noop (130) suffix: Checking for suffix after "@" (130) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (130) suffix: No such realm "NULL" (130) [suffix] = noop (130) eap: No EAP-Message, not doing EAP (130) [eap] = noop (130) files: users: Matched entry DEFAULT at line 167 (130) [files] = ok (130) sql: EXPAND %{User-Name} (130) sql: --> SUNNY261 (130) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (159) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (160), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (160) (130) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (130) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (130) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (130) sql: User found in radcheck table (130) sql: Conditional check items matched, merging assignment check items (130) sql: Cleartext-Password := "123456" (130) sql: Expiration := "Mar 26 2026 23:59:59 IST" (130) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (130) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (130) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (130) sql: User found in radreply table, merging reply items (130) sql: Mikrotik-Rate-Limit := "62M/62M" (130) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (130) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (130) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (130) sql: User found in the group table (130) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (130) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (130) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (130) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (130) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (130) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (130) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (130) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (130) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (130) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (160) (130) [sql] = ok (130) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (130) [expiration] = userlock (130) } # authorize = userlock (130) Using Post-Auth-Type Reject (130) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (130) Post-Auth-Type REJECT { (130) sql: EXPAND .query (130) sql: --> .query (130) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (160) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (161), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (161) (130) sql: EXPAND %{User-Name} (130) sql: --> SUNNY261 (130) sql: SQL-User-Name set to 'SUNNY261' (130) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (130) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01f279a7f617bd81084f02a9ce436a3b6b', 'Access-Reject', '2026-03-27 04:23:18.824292' ) (130) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01f279a7f617bd81084f02a9ce436a3b6b', 'Access-Reject', '2026-03-27 04:23:18.824292' ) (130) sql: SQL query returned: success (130) sql: 1 record(s) updated rlm_sql (sql): Released connection (161) (130) [sql] = ok (130) attr_filter.access_reject: EXPAND %{User-Name} (130) attr_filter.access_reject: --> SUNNY261 (130) attr_filter.access_reject: Matched entry DEFAULT at line 11 (130) [attr_filter.access_reject] = updated (130) [eap] = noop (130) policy remove_reply_message_if_eap { (130) if (&reply:EAP-Message && &reply:Reply-Message) { (130) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (130) else { (130) [noop] = noop (130) } # else = noop (130) } # policy remove_reply_message_if_eap = noop (130) } # Post-Auth-Type REJECT = updated (130) Sent Access-Reject Id 66 from 103.204.70.55:1812 to 103.190.8.10:40866 length 38 (130) Finished request Waking up in 0.8 seconds. (131) Received Accounting-Request Id 67 from 103.190.8.10:35506 to 103.204.70.55:1813 length 242 (131) Service-Type = Framed-User (131) Framed-Protocol = PPP (131) NAS-Port = 16091278 (131) NAS-Port-Type = Ethernet (131) User-Name = "ANAND2A" (131) Calling-Station-Id = "F0:ED:B8:0C:56:E9" (131) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (131) Acct-Session-Id = "81557d8d" (131) Framed-IP-Address = 172.16.3.125 (131) Acct-Authentic = RADIUS (131) Event-Timestamp = "Mar 27 2026 04:23:19 IST" (131) Acct-Session-Time = 54471 (131) Idle-Timeout = 0 (131) Session-Timeout = 9801871 (131) X-Ascend-Data-Rate = 105000000 (131) Ascend-Xmit-Rate = 105000000 (131) Mikrotik-Rate-Limit = "105M/105M" (131) Acct-Input-Octets = 492121218 (131) Acct-Input-Gigawords = 0 (131) Acct-Input-Packets = 4152551 (131) Acct-Output-Octets = 4119404152 (131) Acct-Output-Gigawords = 5 (131) Acct-Output-Packets = 18955865 (131) Acct-Status-Type = Interim-Update (131) NAS-Identifier = "CORE-ROUTER" (131) Acct-Delay-Time = 0 (131) NAS-IP-Address = 103.190.8.10 (131) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (131) preacct { (131) [preprocess] = ok (131) policy acct_unique { (131) update request { (131) &Tmp-String-9 := "ai:" (131) } # update request = noop (131) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (131) EXPAND %{hex:&Class} (131) --> (131) EXPAND ^%{hex:&Tmp-String-9} (131) --> ^61693a (131) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (131) else { (131) update request { (131) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (131) --> 07f3f511c6ea32933600fe2ad355382c (131) &Acct-Unique-Session-Id := 07f3f511c6ea32933600fe2ad355382c (131) } # update request = noop (131) } # else = noop (131) update request { (131) &Tmp-String-9 !* ANY (131) } # update request = noop (131) } # policy acct_unique = noop (131) suffix: Checking for suffix after "@" (131) suffix: No '@' in User-Name = "ANAND2A", looking up realm NULL (131) suffix: No such realm "NULL" (131) [suffix] = noop (131) [files] = noop (131) } # preacct = ok (131) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (131) accounting { (131) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (131) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (131) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (131) detail: EXPAND %t (131) detail: --> Fri Mar 27 04:23:19 2026 (131) [detail] = ok (131) [unix] = noop (131) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (131) sql: --> type.interim-update.query (131) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (161) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (162), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (162) (131) sql: EXPAND %{User-Name} (131) sql: --> ANAND2A (131) sql: SQL-User-Name set to 'ANAND2A' (131) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (131) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565599), acctinterval = 1774565599 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.125', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54471, acctinputoctets = '0' << 32 | '492121218', acctoutputoctets = '5' << 32 | '4119404152' WHERE AcctUniqueId = '07f3f511c6ea32933600fe2ad355382c' (131) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565599), acctinterval = 1774565599 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.125', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54471, acctinputoctets = '0' << 32 | '492121218', acctoutputoctets = '5' << 32 | '4119404152' WHERE AcctUniqueId = '07f3f511c6ea32933600fe2ad355382c' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (131) sql: SQL query returned: success (131) sql: 1 record(s) updated rlm_sql (sql): Released connection (162) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (163), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (162) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (131) [sql] = ok (131) [exec] = noop (131) attr_filter.accounting_response: EXPAND %{User-Name} (131) attr_filter.accounting_response: --> ANAND2A (131) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (131) [attr_filter.accounting_response] = updated (131) } # accounting = updated (131) Sent Accounting-Response Id 67 from 103.204.70.55:1813 to 103.190.8.10:35506 length 20 (131) Finished request (131) Cleaning up request packet ID 67 with timestamp +25 due to done Waking up in 0.5 seconds. (132) Received Access-Request Id 68 from 103.190.8.10:34137 to 103.204.70.55:1812 length 179 (132) Service-Type = Framed-User (132) Framed-Protocol = PPP (132) NAS-Port = 16116460 (132) NAS-Port-Type = Ethernet (132) User-Name = "VIPUL252" (132) Calling-Station-Id = "C8:3A:35:0A:E9:A0" (132) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (132) Acct-Session-Id = "8155ddd8" (132) CHAP-Challenge = 0x1265a6c99301e12fb0ce2bab22bfebe2 (132) CHAP-Password = 0x01d90cb3e0e1b80e31eae54776cdb45405 (132) NAS-Identifier = "CORE-ROUTER" (132) NAS-IP-Address = 103.190.8.10 (132) Message-Authenticator = 0x15657dba8069ba91e9f51c01e5b917a3 (132) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (132) authorize { (132) [preprocess] = ok (132) chap: &control:Auth-Type := CHAP (132) [chap] = ok (132) [mschap] = noop (132) [digest] = noop (132) suffix: Checking for suffix after "@" (132) suffix: No '@' in User-Name = "VIPUL252", looking up realm NULL (132) suffix: No such realm "NULL" (132) [suffix] = noop (132) eap: No EAP-Message, not doing EAP (132) [eap] = noop (132) files: users: Matched entry DEFAULT at line 167 (132) [files] = ok (132) sql: EXPAND %{User-Name} (132) sql: --> VIPUL252 (132) sql: SQL-User-Name set to 'VIPUL252' rlm_sql (sql): Reserved connection (163) (132) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (132) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'VIPUL252' ORDER BY id (132) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'VIPUL252' ORDER BY id (132) sql: User found in radcheck table (132) sql: Conditional check items matched, merging assignment check items (132) sql: Cleartext-Password := "8588009898" (132) sql: Expiration := "Mar 24 2026 23:59:59 IST" (132) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (132) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'VIPUL252' ORDER BY id (132) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'VIPUL252' ORDER BY id (132) sql: User found in radreply table, merging reply items (132) sql: Mikrotik-Address-List := "EXPIRED" (132) sql: Framed-Pool := "EXPIRED_POOL" (132) sql: Mikrotik-Rate-Limit := "64k/64k" (132) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (132) sql: --> SELECT groupname FROM radusergroup WHERE username = 'VIPUL252' ORDER BY priority (132) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'VIPUL252' ORDER BY priority (132) sql: User found in the group table (132) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (132) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (132) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (132) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (132) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (132) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (132) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (132) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (132) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (132) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (163) (132) [sql] = ok (132) expiration: ERROR: Account expired at 'Mar 24 2026 23:59:59 IST' (132) [expiration] = userlock (132) } # authorize = userlock (132) Using Post-Auth-Type Reject (132) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (132) Post-Auth-Type REJECT { (132) sql: EXPAND .query (132) sql: --> .query (132) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (163) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (164), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (164) (132) sql: EXPAND %{User-Name} (132) sql: --> VIPUL252 (132) sql: SQL-User-Name set to 'VIPUL252' (132) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (132) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'VIPUL252', '0x01d90cb3e0e1b80e31eae54776cdb45405', 'Access-Reject', '2026-03-27 04:23:19.707429' ) (132) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'VIPUL252', '0x01d90cb3e0e1b80e31eae54776cdb45405', 'Access-Reject', '2026-03-27 04:23:19.707429' ) (132) sql: SQL query returned: success (132) sql: 1 record(s) updated rlm_sql (sql): Released connection (164) (132) [sql] = ok (132) attr_filter.access_reject: EXPAND %{User-Name} (132) attr_filter.access_reject: --> VIPUL252 (132) attr_filter.access_reject: Matched entry DEFAULT at line 11 (132) [attr_filter.access_reject] = updated (132) [eap] = noop (132) policy remove_reply_message_if_eap { (132) if (&reply:EAP-Message && &reply:Reply-Message) { (132) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (132) else { (132) [noop] = noop (132) } # else = noop (132) } # policy remove_reply_message_if_eap = noop (132) } # Post-Auth-Type REJECT = updated (132) Sent Access-Reject Id 68 from 103.204.70.55:1812 to 103.190.8.10:34137 length 38 (132) Finished request (119) Cleaning up request packet ID 57 with timestamp +23 due to cleanup_delay was reached Waking up in 0.8 seconds. (133) Received Access-Request Id 69 from 103.190.8.10:46907 to 103.204.70.55:1812 length 179 (133) Service-Type = Framed-User (133) Framed-Protocol = PPP (133) NAS-Port = 16116461 (133) NAS-Port-Type = Ethernet (133) User-Name = "SUNNY261" (133) Calling-Station-Id = "E8:65:D4:15:37:A8" (133) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (133) Acct-Session-Id = "8155ddd9" (133) CHAP-Challenge = 0xeca2de9a9871cd1813923a5289df96b4 (133) CHAP-Password = 0x01d2566fb17ab34c12a009e2adaa6a6dc4 (133) NAS-Identifier = "CORE-ROUTER" (133) NAS-IP-Address = 103.190.8.10 (133) Message-Authenticator = 0xccc8b874f329a7ab4fc3bfc7198e6eaa (133) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (133) authorize { (133) [preprocess] = ok (133) chap: &control:Auth-Type := CHAP (133) [chap] = ok (133) [mschap] = noop (133) [digest] = noop (133) suffix: Checking for suffix after "@" (133) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (133) suffix: No such realm "NULL" (133) [suffix] = noop (133) eap: No EAP-Message, not doing EAP (133) [eap] = noop (133) files: users: Matched entry DEFAULT at line 167 (133) [files] = ok (133) sql: EXPAND %{User-Name} (133) sql: --> SUNNY261 (133) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (164) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (165), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (165) (133) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (133) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (133) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (133) sql: User found in radcheck table (133) sql: Conditional check items matched, merging assignment check items (133) sql: Cleartext-Password := "123456" (133) sql: Expiration := "Mar 26 2026 23:59:59 IST" (133) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (133) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (133) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (133) sql: User found in radreply table, merging reply items (133) sql: Mikrotik-Rate-Limit := "62M/62M" (133) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (133) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (133) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (133) sql: User found in the group table (133) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (133) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (133) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (133) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (133) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (133) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (133) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (133) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (133) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (133) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (165) (133) [sql] = ok (133) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (133) [expiration] = userlock (133) } # authorize = userlock (133) Using Post-Auth-Type Reject (133) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (133) Post-Auth-Type REJECT { (133) sql: EXPAND .query (133) sql: --> .query (133) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (165) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (166), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (166) (133) sql: EXPAND %{User-Name} (133) sql: --> SUNNY261 (133) sql: SQL-User-Name set to 'SUNNY261' (133) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (133) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01d2566fb17ab34c12a009e2adaa6a6dc4', 'Access-Reject', '2026-03-27 04:23:19.918203' ) (133) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01d2566fb17ab34c12a009e2adaa6a6dc4', 'Access-Reject', '2026-03-27 04:23:19.918203' ) (133) sql: SQL query returned: success (133) sql: 1 record(s) updated rlm_sql (sql): Released connection (166) (133) [sql] = ok (133) attr_filter.access_reject: EXPAND %{User-Name} (133) attr_filter.access_reject: --> SUNNY261 (133) attr_filter.access_reject: Matched entry DEFAULT at line 11 (133) [attr_filter.access_reject] = updated (133) [eap] = noop (133) policy remove_reply_message_if_eap { (133) if (&reply:EAP-Message && &reply:Reply-Message) { (133) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (133) else { (133) [noop] = noop (133) } # else = noop (133) } # policy remove_reply_message_if_eap = noop (133) } # Post-Auth-Type REJECT = updated (133) Sent Access-Reject Id 69 from 103.204.70.55:1812 to 103.190.8.10:46907 length 38 (133) Finished request Waking up in 0.6 seconds. (134) Received Accounting-Request Id 70 from 103.190.8.10:58000 to 103.204.70.55:1813 length 240 (134) Service-Type = Framed-User (134) Framed-Protocol = PPP (134) NAS-Port = 16095569 (134) NAS-Port-Type = Ethernet (134) User-Name = "GURU184" (134) Calling-Station-Id = "04:95:E6:A3:00:E0" (134) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (134) Acct-Session-Id = "81558e54" (134) Framed-IP-Address = 172.16.3.64 (134) Acct-Authentic = RADIUS (134) Event-Timestamp = "Mar 27 2026 04:23:19 IST" (134) Acct-Session-Time = 39001 (134) Idle-Timeout = 0 (134) Session-Timeout = 2096800 (134) X-Ascend-Data-Rate = 62000000 (134) Ascend-Xmit-Rate = 62000000 (134) Mikrotik-Rate-Limit = "62M/62M" (134) Acct-Input-Octets = 130595899 (134) Acct-Input-Gigawords = 0 (134) Acct-Input-Packets = 397834 (134) Acct-Output-Octets = 2792890511 (134) Acct-Output-Gigawords = 0 (134) Acct-Output-Packets = 2331581 (134) Acct-Status-Type = Interim-Update (134) NAS-Identifier = "CORE-ROUTER" (134) Acct-Delay-Time = 0 (134) NAS-IP-Address = 103.190.8.10 (134) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (134) preacct { (134) [preprocess] = ok (134) policy acct_unique { (134) update request { (134) &Tmp-String-9 := "ai:" (134) } # update request = noop (134) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (134) EXPAND %{hex:&Class} (134) --> (134) EXPAND ^%{hex:&Tmp-String-9} (134) --> ^61693a (134) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (134) else { (134) update request { (134) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (134) --> 496fd105af0dd1809dba56b5f069ae2d (134) &Acct-Unique-Session-Id := 496fd105af0dd1809dba56b5f069ae2d (134) } # update request = noop (134) } # else = noop (134) update request { (134) &Tmp-String-9 !* ANY (134) } # update request = noop (134) } # policy acct_unique = noop (134) suffix: Checking for suffix after "@" (134) suffix: No '@' in User-Name = "GURU184", looking up realm NULL (134) suffix: No such realm "NULL" (134) [suffix] = noop (134) [files] = noop (134) } # preacct = ok (134) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (134) accounting { (134) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (134) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (134) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (134) detail: EXPAND %t (134) detail: --> Fri Mar 27 04:23:19 2026 (134) [detail] = ok (134) [unix] = noop (134) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (134) sql: --> type.interim-update.query (134) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (166) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (167), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (167) (134) sql: EXPAND %{User-Name} (134) sql: --> GURU184 (134) sql: SQL-User-Name set to 'GURU184' (134) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (134) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565599), acctinterval = 1774565599 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.64', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '130595899', acctoutputoctets = '0' << 32 | '2792890511' WHERE AcctUniqueId = '496fd105af0dd1809dba56b5f069ae2d' (134) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565599), acctinterval = 1774565599 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.64', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 39001, acctinputoctets = '0' << 32 | '130595899', acctoutputoctets = '0' << 32 | '2792890511' WHERE AcctUniqueId = '496fd105af0dd1809dba56b5f069ae2d' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (134) sql: SQL query returned: success (134) sql: 1 record(s) updated rlm_sql (sql): Released connection (167) (134) [sql] = ok (134) [exec] = noop (134) attr_filter.accounting_response: EXPAND %{User-Name} (134) attr_filter.accounting_response: --> GURU184 (134) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (134) [attr_filter.accounting_response] = updated (134) } # accounting = updated (134) Sent Accounting-Response Id 70 from 103.204.70.55:1813 to 103.190.8.10:58000 length 20 (134) Finished request (134) Cleaning up request packet ID 70 with timestamp +25 due to done Waking up in 0.6 seconds. (126) Cleaning up request packet ID 62 with timestamp +24 due to cleanup_delay was reached (127) Cleaning up request packet ID 63 with timestamp +24 due to cleanup_delay was reached Waking up in 0.1 seconds. (135) Received Accounting-Request Id 71 from 103.190.8.10:51722 to 103.204.70.55:1813 length 236 (135) Service-Type = Framed-User (135) Framed-Protocol = PPP (135) NAS-Port = 16099968 (135) NAS-Port-Type = Ethernet (135) User-Name = "Singh46" (135) Calling-Station-Id = "34:E8:94:69:87:49" (135) NAS-Port-Id = "RB_INTERNET-71" (135) Acct-Session-Id = "81559ee8" (135) Framed-IP-Address = 172.16.4.89 (135) Acct-Authentic = RADIUS (135) Event-Timestamp = "Mar 27 2026 04:23:20 IST" (135) Acct-Session-Time = 17940 (135) Idle-Timeout = 0 (135) Session-Timeout = 779739 (135) X-Ascend-Data-Rate = 105000000 (135) Ascend-Xmit-Rate = 105000000 (135) Mikrotik-Rate-Limit = "105M/105M" (135) Acct-Input-Octets = 64780709 (135) Acct-Input-Gigawords = 0 (135) Acct-Input-Packets = 164421 (135) Acct-Output-Octets = 1376535001 (135) Acct-Output-Gigawords = 0 (135) Acct-Output-Packets = 1134376 (135) Acct-Status-Type = Interim-Update (135) NAS-Identifier = "CORE-ROUTER" (135) Acct-Delay-Time = 0 (135) NAS-IP-Address = 103.190.8.10 (135) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (135) preacct { (135) [preprocess] = ok (135) policy acct_unique { (135) update request { (135) &Tmp-String-9 := "ai:" (135) } # update request = noop (135) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (135) EXPAND %{hex:&Class} (135) --> (135) EXPAND ^%{hex:&Tmp-String-9} (135) --> ^61693a (135) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (135) else { (135) update request { (135) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (135) --> f0e56f9ea5f7d4362322aac2dc7e7294 (135) &Acct-Unique-Session-Id := f0e56f9ea5f7d4362322aac2dc7e7294 (135) } # update request = noop (135) } # else = noop (135) update request { (135) &Tmp-String-9 !* ANY (135) } # update request = noop (135) } # policy acct_unique = noop (135) suffix: Checking for suffix after "@" (135) suffix: No '@' in User-Name = "Singh46", looking up realm NULL (135) suffix: No such realm "NULL" (135) [suffix] = noop (135) [files] = noop (135) } # preacct = ok (135) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (135) accounting { (135) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (135) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (135) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (135) detail: EXPAND %t (135) detail: --> Fri Mar 27 04:23:20 2026 (135) [detail] = ok (135) [unix] = noop (135) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (135) sql: --> type.interim-update.query (135) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (167) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (168), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (168) (135) sql: EXPAND %{User-Name} (135) sql: --> Singh46 (135) sql: SQL-User-Name set to 'Singh46' (135) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (135) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565600), acctinterval = 1774565600 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.89', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 17940, acctinputoctets = '0' << 32 | '64780709', acctoutputoctets = '0' << 32 | '1376535001' WHERE AcctUniqueId = 'f0e56f9ea5f7d4362322aac2dc7e7294' (135) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565600), acctinterval = 1774565600 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.89', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 17940, acctinputoctets = '0' << 32 | '64780709', acctoutputoctets = '0' << 32 | '1376535001' WHERE AcctUniqueId = 'f0e56f9ea5f7d4362322aac2dc7e7294' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (135) sql: SQL query returned: success (135) sql: 1 record(s) updated rlm_sql (sql): Released connection (168) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (169), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (168) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (135) [sql] = ok (135) [exec] = noop (135) attr_filter.accounting_response: EXPAND %{User-Name} (135) attr_filter.accounting_response: --> Singh46 (135) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (135) [attr_filter.accounting_response] = updated (135) } # accounting = updated (135) Sent Accounting-Response Id 71 from 103.204.70.55:1813 to 103.190.8.10:51722 length 20 (135) Finished request (135) Cleaning up request packet ID 71 with timestamp +26 due to done (130) Cleaning up request packet ID 66 with timestamp +24 due to cleanup_delay was reached Waking up in 0.8 seconds. (136) Received Access-Request Id 72 from 103.190.8.10:36544 to 103.204.70.55:1812 length 179 (136) Service-Type = Framed-User (136) Framed-Protocol = PPP (136) NAS-Port = 16116462 (136) NAS-Port-Type = Ethernet (136) User-Name = "SUNNY261" (136) Calling-Station-Id = "E8:65:D4:15:37:A8" (136) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (136) Acct-Session-Id = "8155ddda" (136) CHAP-Challenge = 0xc4d1212a329d855a51a8930f1b945cc5 (136) CHAP-Password = 0x01c0cea8f8bfc9b71dadd11f3ef281d1e6 (136) NAS-Identifier = "CORE-ROUTER" (136) NAS-IP-Address = 103.190.8.10 (136) Message-Authenticator = 0x49425de8402560253c679289b412c7b6 (136) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (136) authorize { (136) [preprocess] = ok (136) chap: &control:Auth-Type := CHAP (136) [chap] = ok (136) [mschap] = noop (136) [digest] = noop (136) suffix: Checking for suffix after "@" (136) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (136) suffix: No such realm "NULL" (136) [suffix] = noop (136) eap: No EAP-Message, not doing EAP (136) [eap] = noop (136) files: users: Matched entry DEFAULT at line 167 (136) [files] = ok (136) sql: EXPAND %{User-Name} (136) sql: --> SUNNY261 (136) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (169) (136) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (136) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (136) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (136) sql: User found in radcheck table (136) sql: Conditional check items matched, merging assignment check items (136) sql: Cleartext-Password := "123456" (136) sql: Expiration := "Mar 26 2026 23:59:59 IST" (136) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (136) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (136) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (136) sql: User found in radreply table, merging reply items (136) sql: Mikrotik-Rate-Limit := "62M/62M" (136) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (136) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (136) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (136) sql: User found in the group table (136) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (136) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (136) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (136) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (136) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (136) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (136) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (136) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (136) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (136) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (169) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (170), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (169) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (136) [sql] = ok (136) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (136) [expiration] = userlock (136) } # authorize = userlock (136) Using Post-Auth-Type Reject (136) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (136) Post-Auth-Type REJECT { (136) sql: EXPAND .query (136) sql: --> .query (136) sql: Using query template 'query' rlm_sql (sql): Reserved connection (170) (136) sql: EXPAND %{User-Name} (136) sql: --> SUNNY261 (136) sql: SQL-User-Name set to 'SUNNY261' (136) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (136) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01c0cea8f8bfc9b71dadd11f3ef281d1e6', 'Access-Reject', '2026-03-27 04:23:21.018187' ) (136) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01c0cea8f8bfc9b71dadd11f3ef281d1e6', 'Access-Reject', '2026-03-27 04:23:21.018187' ) (136) sql: SQL query returned: success (136) sql: 1 record(s) updated rlm_sql (sql): Released connection (170) (136) [sql] = ok (136) attr_filter.access_reject: EXPAND %{User-Name} (136) attr_filter.access_reject: --> SUNNY261 (136) attr_filter.access_reject: Matched entry DEFAULT at line 11 (136) [attr_filter.access_reject] = updated (136) [eap] = noop (136) policy remove_reply_message_if_eap { (136) if (&reply:EAP-Message && &reply:Reply-Message) { (136) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (136) else { (136) [noop] = noop (136) } # else = noop (136) } # policy remove_reply_message_if_eap = noop (136) } # Post-Auth-Type REJECT = updated (136) Sent Access-Reject Id 72 from 103.204.70.55:1812 to 103.190.8.10:36544 length 38 (136) Finished request Waking up in 0.6 seconds. (137) Received Accounting-Request Id 73 from 103.190.8.10:55637 to 103.204.70.55:1813 length 247 (137) Service-Type = Framed-User (137) Framed-Protocol = PPP (137) NAS-Port = 16097472 (137) NAS-Port-Type = Ethernet (137) User-Name = "MOHDYASEEN5K" (137) Calling-Station-Id = "8C:A3:99:19:AB:E1" (137) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (137) Acct-Session-Id = "815595ba" (137) Framed-IP-Address = 172.16.3.158 (137) Acct-Authentic = RADIUS (137) Event-Timestamp = "Mar 27 2026 04:23:21 IST" (137) Acct-Session-Time = 31330 (137) Idle-Timeout = 0 (137) Session-Timeout = 4853929 (137) X-Ascend-Data-Rate = 105000000 (137) Ascend-Xmit-Rate = 105000000 (137) Mikrotik-Rate-Limit = "105M/105M" (137) Acct-Input-Octets = 11700465 (137) Acct-Input-Gigawords = 0 (137) Acct-Input-Packets = 82492 (137) Acct-Output-Octets = 19571301 (137) Acct-Output-Gigawords = 0 (137) Acct-Output-Packets = 57433 (137) Acct-Status-Type = Interim-Update (137) NAS-Identifier = "CORE-ROUTER" (137) Acct-Delay-Time = 0 (137) NAS-IP-Address = 103.190.8.10 (137) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (137) preacct { (137) [preprocess] = ok (137) policy acct_unique { (137) update request { (137) &Tmp-String-9 := "ai:" (137) } # update request = noop (137) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (137) EXPAND %{hex:&Class} (137) --> (137) EXPAND ^%{hex:&Tmp-String-9} (137) --> ^61693a (137) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (137) else { (137) update request { (137) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (137) --> e9901b04a4c984ebc776369df6611625 (137) &Acct-Unique-Session-Id := e9901b04a4c984ebc776369df6611625 (137) } # update request = noop (137) } # else = noop (137) update request { (137) &Tmp-String-9 !* ANY (137) } # update request = noop (137) } # policy acct_unique = noop (137) suffix: Checking for suffix after "@" (137) suffix: No '@' in User-Name = "MOHDYASEEN5K", looking up realm NULL (137) suffix: No such realm "NULL" (137) [suffix] = noop (137) [files] = noop (137) } # preacct = ok (137) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (137) accounting { (137) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (137) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (137) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (137) detail: EXPAND %t (137) detail: --> Fri Mar 27 04:23:21 2026 (137) [detail] = ok (137) [unix] = noop (137) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (137) sql: --> type.interim-update.query (137) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (170) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (171), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (171) (137) sql: EXPAND %{User-Name} (137) sql: --> MOHDYASEEN5K (137) sql: SQL-User-Name set to 'MOHDYASEEN5K' (137) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (137) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565601), acctinterval = 1774565601 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.158', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 31330, acctinputoctets = '0' << 32 | '11700465', acctoutputoctets = '0' << 32 | '19571301' WHERE AcctUniqueId = 'e9901b04a4c984ebc776369df6611625' (137) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565601), acctinterval = 1774565601 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.158', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 31330, acctinputoctets = '0' << 32 | '11700465', acctoutputoctets = '0' << 32 | '19571301' WHERE AcctUniqueId = 'e9901b04a4c984ebc776369df6611625' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (137) sql: SQL query returned: success (137) sql: 1 record(s) updated rlm_sql (sql): Released connection (171) (137) [sql] = ok (137) [exec] = noop (137) attr_filter.accounting_response: EXPAND %{User-Name} (137) attr_filter.accounting_response: --> MOHDYASEEN5K (137) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (137) [attr_filter.accounting_response] = updated (137) } # accounting = updated (137) Sent Accounting-Response Id 73 from 103.204.70.55:1813 to 103.190.8.10:55637 length 20 (137) Finished request (137) Cleaning up request packet ID 73 with timestamp +27 due to done Waking up in 0.6 seconds. (138) Received Accounting-Request Id 74 from 103.190.8.10:50326 to 103.204.70.55:1813 length 245 (138) Service-Type = Framed-User (138) Framed-Protocol = PPP (138) NAS-Port = 16091239 (138) NAS-Port-Type = Ethernet (138) User-Name = "ASHWANI245" (138) Calling-Station-Id = "BC:62:D2:0E:A6:C1" (138) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (138) Acct-Session-Id = "81557d66" (138) Framed-IP-Address = 172.16.3.152 (138) Acct-Authentic = RADIUS (138) Event-Timestamp = "Mar 27 2026 04:23:21 IST" (138) Acct-Session-Time = 54601 (138) Idle-Timeout = 0 (138) Session-Timeout = 21897999 (138) X-Ascend-Data-Rate = 105000000 (138) Ascend-Xmit-Rate = 105000000 (138) Mikrotik-Rate-Limit = "105M/105M" (138) Acct-Input-Octets = 716657486 (138) Acct-Input-Gigawords = 0 (138) Acct-Input-Packets = 5267033 (138) Acct-Output-Octets = 2512854531 (138) Acct-Output-Gigawords = 5 (138) Acct-Output-Packets = 18138306 (138) Acct-Status-Type = Interim-Update (138) NAS-Identifier = "CORE-ROUTER" (138) Acct-Delay-Time = 0 (138) NAS-IP-Address = 103.190.8.10 (138) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (138) preacct { (138) [preprocess] = ok (138) policy acct_unique { (138) update request { (138) &Tmp-String-9 := "ai:" (138) } # update request = noop (138) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (138) EXPAND %{hex:&Class} (138) --> (138) EXPAND ^%{hex:&Tmp-String-9} (138) --> ^61693a (138) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (138) else { (138) update request { (138) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (138) --> e30a87385245bf88aa6fac1a6de057f9 (138) &Acct-Unique-Session-Id := e30a87385245bf88aa6fac1a6de057f9 (138) } # update request = noop (138) } # else = noop (138) update request { (138) &Tmp-String-9 !* ANY (138) } # update request = noop (138) } # policy acct_unique = noop (138) suffix: Checking for suffix after "@" (138) suffix: No '@' in User-Name = "ASHWANI245", looking up realm NULL (138) suffix: No such realm "NULL" (138) [suffix] = noop (138) [files] = noop (138) } # preacct = ok (138) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (138) accounting { (138) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (138) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (138) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (138) detail: EXPAND %t (138) detail: --> Fri Mar 27 04:23:21 2026 (138) [detail] = ok (138) [unix] = noop (138) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (138) sql: --> type.interim-update.query (138) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (171) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (172), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (172) (138) sql: EXPAND %{User-Name} (138) sql: --> ASHWANI245 (138) sql: SQL-User-Name set to 'ASHWANI245' (138) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (138) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565601), acctinterval = 1774565601 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.152', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54601, acctinputoctets = '0' << 32 | '716657486', acctoutputoctets = '5' << 32 | '2512854531' WHERE AcctUniqueId = 'e30a87385245bf88aa6fac1a6de057f9' (138) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565601), acctinterval = 1774565601 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.152', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54601, acctinputoctets = '0' << 32 | '716657486', acctoutputoctets = '5' << 32 | '2512854531' WHERE AcctUniqueId = 'e30a87385245bf88aa6fac1a6de057f9' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (138) sql: SQL query returned: success (138) sql: 1 record(s) updated rlm_sql (sql): Released connection (172) (138) [sql] = ok (138) [exec] = noop (138) attr_filter.accounting_response: EXPAND %{User-Name} (138) attr_filter.accounting_response: --> ASHWANI245 (138) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (138) [attr_filter.accounting_response] = updated (138) } # accounting = updated (138) Sent Accounting-Response Id 74 from 103.204.70.55:1813 to 103.190.8.10:50326 length 20 (138) Finished request (138) Cleaning up request packet ID 74 with timestamp +27 due to done Waking up in 0.2 seconds. (132) Cleaning up request packet ID 68 with timestamp +25 due to cleanup_delay was reached Waking up in 0.2 seconds. (133) Cleaning up request packet ID 69 with timestamp +25 due to cleanup_delay was reached Waking up in 1.1 seconds. (139) Received Access-Request Id 75 from 103.190.8.10:58007 to 103.204.70.55:1812 length 179 (139) Service-Type = Framed-User (139) Framed-Protocol = PPP (139) NAS-Port = 16116463 (139) NAS-Port-Type = Ethernet (139) User-Name = "SUNNY261" (139) Calling-Station-Id = "E8:65:D4:15:37:A8" (139) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (139) Acct-Session-Id = "8155dddb" (139) CHAP-Challenge = 0xcc819a20678387426cbff7d33eaa57e2 (139) CHAP-Password = 0x0114023e74fd7e66ab8e6c15ef4a8765af (139) NAS-Identifier = "CORE-ROUTER" (139) NAS-IP-Address = 103.190.8.10 (139) Message-Authenticator = 0xf5fd8f5a1dcfc43f921dbecb8b309a3e (139) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (139) authorize { (139) [preprocess] = ok (139) chap: &control:Auth-Type := CHAP (139) [chap] = ok (139) [mschap] = noop (139) [digest] = noop (139) suffix: Checking for suffix after "@" (139) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (139) suffix: No such realm "NULL" (139) [suffix] = noop (139) eap: No EAP-Message, not doing EAP (139) [eap] = noop (139) files: users: Matched entry DEFAULT at line 167 (139) [files] = ok (139) sql: EXPAND %{User-Name} (139) sql: --> SUNNY261 (139) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (172) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (173), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (173) (139) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (139) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (139) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (139) sql: User found in radcheck table (139) sql: Conditional check items matched, merging assignment check items (139) sql: Cleartext-Password := "123456" (139) sql: Expiration := "Mar 26 2026 23:59:59 IST" (139) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (139) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (139) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (139) sql: User found in radreply table, merging reply items (139) sql: Mikrotik-Rate-Limit := "62M/62M" (139) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (139) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (139) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (139) sql: User found in the group table (139) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (139) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (139) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (139) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (139) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (139) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (139) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (139) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (139) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (139) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (173) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (174), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (173) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (139) [sql] = ok (139) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (139) [expiration] = userlock (139) } # authorize = userlock (139) Using Post-Auth-Type Reject (139) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (139) Post-Auth-Type REJECT { (139) sql: EXPAND .query (139) sql: --> .query (139) sql: Using query template 'query' rlm_sql (sql): Reserved connection (174) (139) sql: EXPAND %{User-Name} (139) sql: --> SUNNY261 (139) sql: SQL-User-Name set to 'SUNNY261' (139) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (139) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0114023e74fd7e66ab8e6c15ef4a8765af', 'Access-Reject', '2026-03-27 04:23:22.118634' ) (139) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0114023e74fd7e66ab8e6c15ef4a8765af', 'Access-Reject', '2026-03-27 04:23:22.118634' ) (139) sql: SQL query returned: success (139) sql: 1 record(s) updated rlm_sql (sql): Released connection (174) (139) [sql] = ok (139) attr_filter.access_reject: EXPAND %{User-Name} (139) attr_filter.access_reject: --> SUNNY261 (139) attr_filter.access_reject: Matched entry DEFAULT at line 11 (139) [attr_filter.access_reject] = updated (139) [eap] = noop (139) policy remove_reply_message_if_eap { (139) if (&reply:EAP-Message && &reply:Reply-Message) { (139) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (139) else { (139) [noop] = noop (139) } # else = noop (139) } # policy remove_reply_message_if_eap = noop (139) } # Post-Auth-Type REJECT = updated (139) Sent Access-Reject Id 75 from 103.204.70.55:1812 to 103.190.8.10:58007 length 38 (139) Finished request Waking up in 0.8 seconds. (140) Received Accounting-Request Id 91 from 27.100.14.6:41523 to 103.204.70.55:1813 length 228 (140) Service-Type = Framed-User (140) Framed-Protocol = PPP (140) NAS-Port = 15739710 (140) NAS-Port-Type = Ethernet (140) User-Name = "9034540001" (140) Calling-Station-Id = "D0:15:BB:0A:0D:B4" (140) NAS-Port-Id = "ether3" (140) Acct-Session-Id = "81c0267a" (140) Framed-IP-Address = 10.10.10.211 (140) Acct-Authentic = RADIUS (140) Event-Timestamp = "Mar 27 2026 04:23:22 IST" (140) Acct-Session-Time = 30244 (140) Idle-Timeout = 0 (140) Session-Timeout = 31032038 (140) X-Ascend-Data-Rate = 110000000 (140) Ascend-Xmit-Rate = 110000000 (140) Mikrotik-Rate-Limit = "110M/110M" (140) Acct-Input-Octets = 223479692 (140) Acct-Input-Gigawords = 0 (140) Acct-Input-Packets = 936127 (140) Acct-Output-Octets = 2477576846 (140) Acct-Output-Gigawords = 1 (140) Acct-Output-Packets = 5327282 (140) Acct-Status-Type = Interim-Update (140) NAS-Identifier = "MikroTik" (140) Acct-Delay-Time = 0 (140) NAS-IP-Address = 27.100.14.6 (140) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (140) preacct { (140) [preprocess] = ok (140) policy acct_unique { (140) update request { (140) &Tmp-String-9 := "ai:" (140) } # update request = noop (140) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (140) EXPAND %{hex:&Class} (140) --> (140) EXPAND ^%{hex:&Tmp-String-9} (140) --> ^61693a (140) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (140) else { (140) update request { (140) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (140) --> f34d3a454bbb2d4dd3520a6e491415a3 (140) &Acct-Unique-Session-Id := f34d3a454bbb2d4dd3520a6e491415a3 (140) } # update request = noop (140) } # else = noop (140) update request { (140) &Tmp-String-9 !* ANY (140) } # update request = noop (140) } # policy acct_unique = noop (140) suffix: Checking for suffix after "@" (140) suffix: No '@' in User-Name = "9034540001", looking up realm NULL (140) suffix: No such realm "NULL" (140) [suffix] = noop (140) [files] = noop (140) } # preacct = ok (140) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (140) accounting { (140) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (140) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (140) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (140) detail: EXPAND %t (140) detail: --> Fri Mar 27 04:23:22 2026 (140) [detail] = ok (140) [unix] = noop (140) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (140) sql: --> type.interim-update.query (140) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (174) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (175), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (175) (140) sql: EXPAND %{User-Name} (140) sql: --> 9034540001 (140) sql: SQL-User-Name set to '9034540001' (140) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (140) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565602), acctinterval = 1774565602 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.211', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30244, acctinputoctets = '0' << 32 | '223479692', acctoutputoctets = '1' << 32 | '2477576846' WHERE AcctUniqueId = 'f34d3a454bbb2d4dd3520a6e491415a3' (140) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565602), acctinterval = 1774565602 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.211', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30244, acctinputoctets = '0' << 32 | '223479692', acctoutputoctets = '1' << 32 | '2477576846' WHERE AcctUniqueId = 'f34d3a454bbb2d4dd3520a6e491415a3' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (140) sql: SQL query returned: success (140) sql: 1 record(s) updated rlm_sql (sql): Released connection (175) (140) [sql] = ok (140) [exec] = noop (140) attr_filter.accounting_response: EXPAND %{User-Name} (140) attr_filter.accounting_response: --> 9034540001 (140) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (140) [attr_filter.accounting_response] = updated (140) } # accounting = updated (140) Sent Accounting-Response Id 91 from 103.204.70.55:1813 to 27.100.14.6:41523 length 20 (140) Finished request (140) Cleaning up request packet ID 91 with timestamp +28 due to done Waking up in 0.7 seconds. (136) Cleaning up request packet ID 72 with timestamp +27 due to cleanup_delay was reached Waking up in 1.1 seconds. (141) Received Accounting-Request Id 92 from 27.100.14.6:52691 to 103.204.70.55:1813 length 228 (141) Service-Type = Framed-User (141) Framed-Protocol = PPP (141) NAS-Port = 15739711 (141) NAS-Port-Type = Ethernet (141) User-Name = "9813107630" (141) Calling-Station-Id = "14:C3:5E:15:4B:43" (141) NAS-Port-Id = "ether3" (141) Acct-Session-Id = "81c0267b" (141) Framed-IP-Address = 10.10.10.189 (141) Acct-Authentic = RADIUS (141) Event-Timestamp = "Mar 27 2026 04:23:23 IST" (141) Acct-Session-Time = 30244 (141) Idle-Timeout = 0 (141) Session-Timeout = 30081637 (141) X-Ascend-Data-Rate = 110000000 (141) Ascend-Xmit-Rate = 110000000 (141) Mikrotik-Rate-Limit = "110M/110M" (141) Acct-Input-Octets = 2457077 (141) Acct-Input-Gigawords = 0 (141) Acct-Input-Packets = 22553 (141) Acct-Output-Octets = 1374597 (141) Acct-Output-Gigawords = 0 (141) Acct-Output-Packets = 14810 (141) Acct-Status-Type = Interim-Update (141) NAS-Identifier = "MikroTik" (141) Acct-Delay-Time = 0 (141) NAS-IP-Address = 27.100.14.6 (141) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (141) preacct { (141) [preprocess] = ok (141) policy acct_unique { (141) update request { (141) &Tmp-String-9 := "ai:" (141) } # update request = noop (141) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (141) EXPAND %{hex:&Class} (141) --> (141) EXPAND ^%{hex:&Tmp-String-9} (141) --> ^61693a (141) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (141) else { (141) update request { (141) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (141) --> 1ccf6c3c2d419e2114705f6f03ea33dd (141) &Acct-Unique-Session-Id := 1ccf6c3c2d419e2114705f6f03ea33dd (141) } # update request = noop (141) } # else = noop (141) update request { (141) &Tmp-String-9 !* ANY (141) } # update request = noop (141) } # policy acct_unique = noop (141) suffix: Checking for suffix after "@" (141) suffix: No '@' in User-Name = "9813107630", looking up realm NULL (141) suffix: No such realm "NULL" (141) [suffix] = noop (141) [files] = noop (141) } # preacct = ok (141) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (141) accounting { (141) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (141) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (141) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (141) detail: EXPAND %t (141) detail: --> Fri Mar 27 04:23:23 2026 (141) [detail] = ok (141) [unix] = noop (141) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (141) sql: --> type.interim-update.query (141) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (175) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (176), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (176) (141) sql: EXPAND %{User-Name} (141) sql: --> 9813107630 (141) sql: SQL-User-Name set to '9813107630' (141) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (141) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565603), acctinterval = 1774565603 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.189', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30244, acctinputoctets = '0' << 32 | '2457077', acctoutputoctets = '0' << 32 | '1374597' WHERE AcctUniqueId = '1ccf6c3c2d419e2114705f6f03ea33dd' (141) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565603), acctinterval = 1774565603 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.189', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30244, acctinputoctets = '0' << 32 | '2457077', acctoutputoctets = '0' << 32 | '1374597' WHERE AcctUniqueId = '1ccf6c3c2d419e2114705f6f03ea33dd' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (141) sql: SQL query returned: success (141) sql: 1 record(s) updated rlm_sql (sql): Released connection (176) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (177), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (176) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (141) [sql] = ok (141) [exec] = noop (141) attr_filter.accounting_response: EXPAND %{User-Name} (141) attr_filter.accounting_response: --> 9813107630 (141) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (141) [attr_filter.accounting_response] = updated (141) } # accounting = updated (141) Sent Accounting-Response Id 92 from 103.204.70.55:1813 to 27.100.14.6:52691 length 20 (141) Finished request (141) Cleaning up request packet ID 92 with timestamp +29 due to done Waking up in 0.9 seconds. (142) Received Access-Request Id 76 from 103.190.8.10:45026 to 103.204.70.55:1812 length 179 (142) Service-Type = Framed-User (142) Framed-Protocol = PPP (142) NAS-Port = 16116464 (142) NAS-Port-Type = Ethernet (142) User-Name = "SUNNY261" (142) Calling-Station-Id = "E8:65:D4:15:37:A8" (142) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (142) Acct-Session-Id = "8155dddc" (142) CHAP-Challenge = 0x812b76cbf0dfbf7d3265a46a3aa53c47 (142) CHAP-Password = 0x019385f2e0826b73db41314ce5d621d2b9 (142) NAS-Identifier = "CORE-ROUTER" (142) NAS-IP-Address = 103.190.8.10 (142) Message-Authenticator = 0xdcd2265b734d9d847f5b08cccc01def9 (142) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (142) authorize { (142) [preprocess] = ok (142) chap: &control:Auth-Type := CHAP (142) [chap] = ok (142) [mschap] = noop (142) [digest] = noop (142) suffix: Checking for suffix after "@" (142) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (142) suffix: No such realm "NULL" (142) [suffix] = noop (142) eap: No EAP-Message, not doing EAP (142) [eap] = noop (142) files: users: Matched entry DEFAULT at line 167 (142) [files] = ok (142) sql: EXPAND %{User-Name} (142) sql: --> SUNNY261 (142) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (177) (142) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (142) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (142) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (142) sql: User found in radcheck table (142) sql: Conditional check items matched, merging assignment check items (142) sql: Cleartext-Password := "123456" (142) sql: Expiration := "Mar 26 2026 23:59:59 IST" (142) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (142) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (142) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (142) sql: User found in radreply table, merging reply items (142) sql: Mikrotik-Rate-Limit := "62M/62M" (142) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (142) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (142) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (142) sql: User found in the group table (142) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (142) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (142) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (142) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (142) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (142) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (142) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (142) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (142) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (142) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (177) (142) [sql] = ok (142) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (142) [expiration] = userlock (142) } # authorize = userlock (142) Using Post-Auth-Type Reject (142) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (142) Post-Auth-Type REJECT { (142) sql: EXPAND .query (142) sql: --> .query (142) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (177) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (178), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (178) (142) sql: EXPAND %{User-Name} (142) sql: --> SUNNY261 (142) sql: SQL-User-Name set to 'SUNNY261' (142) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (142) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x019385f2e0826b73db41314ce5d621d2b9', 'Access-Reject', '2026-03-27 04:23:23.218355' ) (142) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x019385f2e0826b73db41314ce5d621d2b9', 'Access-Reject', '2026-03-27 04:23:23.218355' ) (142) sql: SQL query returned: success (142) sql: 1 record(s) updated rlm_sql (sql): Released connection (178) (142) [sql] = ok (142) attr_filter.access_reject: EXPAND %{User-Name} (142) attr_filter.access_reject: --> SUNNY261 (142) attr_filter.access_reject: Matched entry DEFAULT at line 11 (142) [attr_filter.access_reject] = updated (142) [eap] = noop (142) policy remove_reply_message_if_eap { (142) if (&reply:EAP-Message && &reply:Reply-Message) { (142) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (142) else { (142) [noop] = noop (142) } # else = noop (142) } # policy remove_reply_message_if_eap = noop (142) } # Post-Auth-Type REJECT = updated (142) Sent Access-Reject Id 76 from 103.204.70.55:1812 to 103.190.8.10:45026 length 38 (142) Finished request Waking up in 0.9 seconds. (143) Received Accounting-Request Id 77 from 103.190.8.10:52998 to 103.204.70.55:1813 length 243 (143) Service-Type = Framed-User (143) Framed-Protocol = PPP (143) NAS-Port = 16086106 (143) NAS-Port-Type = Ethernet (143) User-Name = "VINOD213" (143) Calling-Station-Id = "78:17:35:8F:6C:34" (143) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (143) Acct-Session-Id = "81556b23" (143) Framed-IP-Address = 172.16.5.76 (143) Acct-Authentic = RADIUS (143) Event-Timestamp = "Mar 27 2026 04:23:23 IST" (143) Acct-Session-Time = 76963 (143) Idle-Timeout = 0 (143) Session-Timeout = 1875559 (143) X-Ascend-Data-Rate = 105000000 (143) Ascend-Xmit-Rate = 105000000 (143) Mikrotik-Rate-Limit = "105M/105M" (143) Acct-Input-Octets = 236545130 (143) Acct-Input-Gigawords = 0 (143) Acct-Input-Packets = 1147747 (143) Acct-Output-Octets = 2057387692 (143) Acct-Output-Gigawords = 1 (143) Acct-Output-Packets = 5191606 (143) Acct-Status-Type = Interim-Update (143) NAS-Identifier = "CORE-ROUTER" (143) Acct-Delay-Time = 0 (143) NAS-IP-Address = 103.190.8.10 (143) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (143) preacct { (143) [preprocess] = ok (143) policy acct_unique { (143) update request { (143) &Tmp-String-9 := "ai:" (143) } # update request = noop (143) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (143) EXPAND %{hex:&Class} (143) --> (143) EXPAND ^%{hex:&Tmp-String-9} (143) --> ^61693a (143) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (143) else { (143) update request { (143) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (143) --> 1264b9be44ed956356f75339abfab61e (143) &Acct-Unique-Session-Id := 1264b9be44ed956356f75339abfab61e (143) } # update request = noop (143) } # else = noop (143) update request { (143) &Tmp-String-9 !* ANY (143) } # update request = noop (143) } # policy acct_unique = noop (143) suffix: Checking for suffix after "@" (143) suffix: No '@' in User-Name = "VINOD213", looking up realm NULL (143) suffix: No such realm "NULL" (143) [suffix] = noop (143) [files] = noop (143) } # preacct = ok (143) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (143) accounting { (143) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (143) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (143) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (143) detail: EXPAND %t (143) detail: --> Fri Mar 27 04:23:23 2026 (143) [detail] = ok (143) [unix] = noop (143) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (143) sql: --> type.interim-update.query (143) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (178) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (179), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (179) (143) sql: EXPAND %{User-Name} (143) sql: --> VINOD213 (143) sql: SQL-User-Name set to 'VINOD213' (143) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (143) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565603), acctinterval = 1774565603 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.76', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 76963, acctinputoctets = '0' << 32 | '236545130', acctoutputoctets = '1' << 32 | '2057387692' WHERE AcctUniqueId = '1264b9be44ed956356f75339abfab61e' (143) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565603), acctinterval = 1774565603 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.76', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 76963, acctinputoctets = '0' << 32 | '236545130', acctoutputoctets = '1' << 32 | '2057387692' WHERE AcctUniqueId = '1264b9be44ed956356f75339abfab61e' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (143) sql: SQL query returned: success (143) sql: 1 record(s) updated rlm_sql (sql): Released connection (179) (143) [sql] = ok (143) [exec] = noop (143) attr_filter.accounting_response: EXPAND %{User-Name} (143) attr_filter.accounting_response: --> VINOD213 (143) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (143) [attr_filter.accounting_response] = updated (143) } # accounting = updated (143) Sent Accounting-Response Id 77 from 103.204.70.55:1813 to 103.190.8.10:52998 length 20 (143) Finished request (143) Cleaning up request packet ID 77 with timestamp +29 due to done Waking up in 0.6 seconds. (144) Received Accounting-Request Id 93 from 27.100.14.6:54400 to 103.204.70.55:1813 length 228 (144) Service-Type = Framed-User (144) Framed-Protocol = PPP (144) NAS-Port = 15739712 (144) NAS-Port-Type = Ethernet (144) User-Name = "1321030033" (144) Calling-Station-Id = "54:47:E8:5B:FB:E8" (144) NAS-Port-Id = "ether3" (144) Acct-Session-Id = "81c0267c" (144) Framed-IP-Address = 10.10.10.231 (144) Acct-Authentic = RADIUS (144) Event-Timestamp = "Mar 27 2026 04:23:23 IST" (144) Acct-Session-Time = 30241 (144) Idle-Timeout = 0 (144) Session-Timeout = 2520036 (144) X-Ascend-Data-Rate = 100000000 (144) Ascend-Xmit-Rate = 100000000 (144) Mikrotik-Rate-Limit = "100M/100M" (144) Acct-Input-Octets = 80701609 (144) Acct-Input-Gigawords = 0 (144) Acct-Input-Packets = 541475 (144) Acct-Output-Octets = 906097056 (144) Acct-Output-Gigawords = 0 (144) Acct-Output-Packets = 995493 (144) Acct-Status-Type = Interim-Update (144) NAS-Identifier = "MikroTik" (144) Acct-Delay-Time = 0 (144) NAS-IP-Address = 27.100.14.6 (144) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (144) preacct { (144) [preprocess] = ok (144) policy acct_unique { (144) update request { (144) &Tmp-String-9 := "ai:" (144) } # update request = noop (144) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (144) EXPAND %{hex:&Class} (144) --> (144) EXPAND ^%{hex:&Tmp-String-9} (144) --> ^61693a (144) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (144) else { (144) update request { (144) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (144) --> ba5f57fdc765218665817da1049e2766 (144) &Acct-Unique-Session-Id := ba5f57fdc765218665817da1049e2766 (144) } # update request = noop (144) } # else = noop (144) update request { (144) &Tmp-String-9 !* ANY (144) } # update request = noop (144) } # policy acct_unique = noop (144) suffix: Checking for suffix after "@" (144) suffix: No '@' in User-Name = "1321030033", looking up realm NULL (144) suffix: No such realm "NULL" (144) [suffix] = noop (144) [files] = noop (144) } # preacct = ok (144) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (144) accounting { (144) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (144) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (144) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (144) detail: EXPAND %t (144) detail: --> Fri Mar 27 04:23:23 2026 (144) [detail] = ok (144) [unix] = noop (144) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (144) sql: --> type.interim-update.query (144) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (179) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (180), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (180) (144) sql: EXPAND %{User-Name} (144) sql: --> 1321030033 (144) sql: SQL-User-Name set to '1321030033' (144) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (144) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565603), acctinterval = 1774565603 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.231', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30241, acctinputoctets = '0' << 32 | '80701609', acctoutputoctets = '0' << 32 | '906097056' WHERE AcctUniqueId = 'ba5f57fdc765218665817da1049e2766' (144) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565603), acctinterval = 1774565603 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.231', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30241, acctinputoctets = '0' << 32 | '80701609', acctoutputoctets = '0' << 32 | '906097056' WHERE AcctUniqueId = 'ba5f57fdc765218665817da1049e2766' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (144) sql: SQL query returned: success (144) sql: 1 record(s) updated rlm_sql (sql): Released connection (180) (144) [sql] = ok (144) [exec] = noop (144) attr_filter.accounting_response: EXPAND %{User-Name} (144) attr_filter.accounting_response: --> 1321030033 (144) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (144) [attr_filter.accounting_response] = updated (144) } # accounting = updated (144) Sent Accounting-Response Id 93 from 103.204.70.55:1813 to 27.100.14.6:54400 length 20 (144) Finished request (144) Cleaning up request packet ID 93 with timestamp +29 due to done Waking up in 0.5 seconds. (145) Received Accounting-Request Id 78 from 103.190.8.10:41177 to 103.204.70.55:1813 length 242 (145) Service-Type = Framed-User (145) Framed-Protocol = PPP (145) NAS-Port = 16095772 (145) NAS-Port-Type = Ethernet (145) User-Name = "ANKIT6H" (145) Calling-Station-Id = "50:42:89:8C:56:5C" (145) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (145) Acct-Session-Id = "81558f19" (145) Framed-IP-Address = 172.16.4.113 (145) Acct-Authentic = RADIUS (145) Event-Timestamp = "Mar 27 2026 04:23:23 IST" (145) Acct-Session-Time = 38351 (145) Idle-Timeout = 0 (145) Session-Timeout = 7452947 (145) X-Ascend-Data-Rate = 105000000 (145) Ascend-Xmit-Rate = 105000000 (145) Mikrotik-Rate-Limit = "105M/105M" (145) Acct-Input-Octets = 972523026 (145) Acct-Input-Gigawords = 0 (145) Acct-Input-Packets = 3446579 (145) Acct-Output-Octets = 2527826649 (145) Acct-Output-Gigawords = 3 (145) Acct-Output-Packets = 12389594 (145) Acct-Status-Type = Interim-Update (145) NAS-Identifier = "CORE-ROUTER" (145) Acct-Delay-Time = 0 (145) NAS-IP-Address = 103.190.8.10 (145) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (145) preacct { (145) [preprocess] = ok (145) policy acct_unique { (145) update request { (145) &Tmp-String-9 := "ai:" (145) } # update request = noop (145) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (145) EXPAND %{hex:&Class} (145) --> (145) EXPAND ^%{hex:&Tmp-String-9} (145) --> ^61693a (145) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (145) else { (145) update request { (145) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (145) --> 74340491a0f1f97fee6cf66abba91d73 (145) &Acct-Unique-Session-Id := 74340491a0f1f97fee6cf66abba91d73 (145) } # update request = noop (145) } # else = noop (145) update request { (145) &Tmp-String-9 !* ANY (145) } # update request = noop (145) } # policy acct_unique = noop (145) suffix: Checking for suffix after "@" (145) suffix: No '@' in User-Name = "ANKIT6H", looking up realm NULL (145) suffix: No such realm "NULL" (145) [suffix] = noop (145) [files] = noop (145) } # preacct = ok (145) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (145) accounting { (145) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (145) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (145) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (145) detail: EXPAND %t (145) detail: --> Fri Mar 27 04:23:23 2026 (145) [detail] = ok (145) [unix] = noop (145) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (145) sql: --> type.interim-update.query (145) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (180) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (181), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (181) (145) sql: EXPAND %{User-Name} (145) sql: --> ANKIT6H (145) sql: SQL-User-Name set to 'ANKIT6H' (145) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (145) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565603), acctinterval = 1774565603 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.113', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38351, acctinputoctets = '0' << 32 | '972523026', acctoutputoctets = '3' << 32 | '2527826649' WHERE AcctUniqueId = '74340491a0f1f97fee6cf66abba91d73' (145) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565603), acctinterval = 1774565603 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.113', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38351, acctinputoctets = '0' << 32 | '972523026', acctoutputoctets = '3' << 32 | '2527826649' WHERE AcctUniqueId = '74340491a0f1f97fee6cf66abba91d73' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (145) sql: SQL query returned: success (145) sql: 1 record(s) updated rlm_sql (sql): Released connection (181) (145) [sql] = ok (145) [exec] = noop (145) attr_filter.accounting_response: EXPAND %{User-Name} (145) attr_filter.accounting_response: --> ANKIT6H (145) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (145) [attr_filter.accounting_response] = updated (145) } # accounting = updated (145) Sent Accounting-Response Id 78 from 103.204.70.55:1813 to 103.190.8.10:41177 length 20 (145) Finished request (145) Cleaning up request packet ID 78 with timestamp +29 due to done Waking up in 0.4 seconds. (146) Received Accounting-Request Id 79 from 103.190.8.10:46465 to 103.204.70.55:1813 length 240 (146) Service-Type = Framed-User (146) Framed-Protocol = PPP (146) NAS-Port = 16089757 (146) NAS-Port-Type = Ethernet (146) User-Name = "RAMDEMO" (146) Calling-Station-Id = "C4:27:28:8F:C2:3E" (146) NAS-Port-Id = "Vlan-89-VIKASH_NET" (146) Acct-Session-Id = "815577a6" (146) Framed-IP-Address = 172.16.5.196 (146) Acct-Authentic = RADIUS (146) Event-Timestamp = "Mar 27 2026 04:23:23 IST" (146) Acct-Session-Time = 62012 (146) Idle-Timeout = 0 (146) Session-Timeout = 15425408 (146) X-Ascend-Data-Rate = 105000000 (146) Ascend-Xmit-Rate = 105000000 (146) Mikrotik-Rate-Limit = "105M/105M" (146) Acct-Input-Octets = 599034239 (146) Acct-Input-Gigawords = 0 (146) Acct-Input-Packets = 3474228 (146) Acct-Output-Octets = 4256427238 (146) Acct-Output-Gigawords = 3 (146) Acct-Output-Packets = 14456526 (146) Acct-Status-Type = Interim-Update (146) NAS-Identifier = "CORE-ROUTER" (146) Acct-Delay-Time = 0 (146) NAS-IP-Address = 103.190.8.10 (146) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (146) preacct { (146) [preprocess] = ok (146) policy acct_unique { (146) update request { (146) &Tmp-String-9 := "ai:" (146) } # update request = noop (146) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (146) EXPAND %{hex:&Class} (146) --> (146) EXPAND ^%{hex:&Tmp-String-9} (146) --> ^61693a (146) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (146) else { (146) update request { (146) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (146) --> 07c9c0fc0e46291ad64c693afe4c61e2 (146) &Acct-Unique-Session-Id := 07c9c0fc0e46291ad64c693afe4c61e2 (146) } # update request = noop (146) } # else = noop (146) update request { (146) &Tmp-String-9 !* ANY (146) } # update request = noop (146) } # policy acct_unique = noop (146) suffix: Checking for suffix after "@" (146) suffix: No '@' in User-Name = "RAMDEMO", looking up realm NULL (146) suffix: No such realm "NULL" (146) [suffix] = noop (146) [files] = noop (146) } # preacct = ok (146) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (146) accounting { (146) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (146) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (146) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (146) detail: EXPAND %t (146) detail: --> Fri Mar 27 04:23:23 2026 (146) [detail] = ok (146) [unix] = noop (146) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (146) sql: --> type.interim-update.query (146) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (181) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (182), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (182) (146) sql: EXPAND %{User-Name} (146) sql: --> RAMDEMO (146) sql: SQL-User-Name set to 'RAMDEMO' (146) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (146) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565603), acctinterval = 1774565603 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.196', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 62012, acctinputoctets = '0' << 32 | '599034239', acctoutputoctets = '3' << 32 | '4256427238' WHERE AcctUniqueId = '07c9c0fc0e46291ad64c693afe4c61e2' (146) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565603), acctinterval = 1774565603 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.196', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 62012, acctinputoctets = '0' << 32 | '599034239', acctoutputoctets = '3' << 32 | '4256427238' WHERE AcctUniqueId = '07c9c0fc0e46291ad64c693afe4c61e2' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (146) sql: SQL query returned: success (146) sql: 1 record(s) updated rlm_sql (sql): Released connection (182) (146) [sql] = ok (146) [exec] = noop (146) attr_filter.accounting_response: EXPAND %{User-Name} (146) attr_filter.accounting_response: --> RAMDEMO (146) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (146) [attr_filter.accounting_response] = updated (146) } # accounting = updated (146) Sent Accounting-Response Id 79 from 103.204.70.55:1813 to 103.190.8.10:46465 length 20 (146) Finished request (146) Cleaning up request packet ID 79 with timestamp +29 due to done Waking up in 0.2 seconds. (139) Cleaning up request packet ID 75 with timestamp +28 due to cleanup_delay was reached Waking up in 1.0 seconds. (147) Received Accounting-Request Id 80 from 103.190.8.10:40480 to 103.204.70.55:1813 length 239 (147) Service-Type = Framed-User (147) Framed-Protocol = PPP (147) NAS-Port = 16098523 (147) NAS-Port-Type = Ethernet (147) User-Name = "RAVI_H32" (147) Calling-Station-Id = "A8:E2:07:3C:AF:D0" (147) NAS-Port-Id = "VLAN-83-SK VISON" (147) Acct-Session-Id = "8155999e" (147) Framed-IP-Address = 172.16.3.237 (147) Acct-Authentic = RADIUS (147) Event-Timestamp = "Mar 27 2026 04:23:24 IST" (147) Acct-Session-Time = 26131 (147) Idle-Timeout = 0 (147) Session-Timeout = 1219926 (147) X-Ascend-Data-Rate = 105000000 (147) Ascend-Xmit-Rate = 105000000 (147) Mikrotik-Rate-Limit = "105M/105M" (147) Acct-Input-Octets = 76500843 (147) Acct-Input-Gigawords = 0 (147) Acct-Input-Packets = 413605 (147) Acct-Output-Octets = 2491425456 (147) Acct-Output-Gigawords = 0 (147) Acct-Output-Packets = 1986090 (147) Acct-Status-Type = Interim-Update (147) NAS-Identifier = "CORE-ROUTER" (147) Acct-Delay-Time = 0 (147) NAS-IP-Address = 103.190.8.10 (147) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (147) preacct { (147) [preprocess] = ok (147) policy acct_unique { (147) update request { (147) &Tmp-String-9 := "ai:" (147) } # update request = noop (147) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (147) EXPAND %{hex:&Class} (147) --> (147) EXPAND ^%{hex:&Tmp-String-9} (147) --> ^61693a (147) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (147) else { (147) update request { (147) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (147) --> fc54f19c9c52013a7378cfecf93869e0 (147) &Acct-Unique-Session-Id := fc54f19c9c52013a7378cfecf93869e0 (147) } # update request = noop (147) } # else = noop (147) update request { (147) &Tmp-String-9 !* ANY (147) } # update request = noop (147) } # policy acct_unique = noop (147) suffix: Checking for suffix after "@" (147) suffix: No '@' in User-Name = "RAVI_H32", looking up realm NULL (147) suffix: No such realm "NULL" (147) [suffix] = noop (147) [files] = noop (147) } # preacct = ok (147) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (147) accounting { (147) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (147) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (147) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (147) detail: EXPAND %t (147) detail: --> Fri Mar 27 04:23:24 2026 (147) [detail] = ok (147) [unix] = noop (147) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (147) sql: --> type.interim-update.query (147) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (182) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (183), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (183) (147) sql: EXPAND %{User-Name} (147) sql: --> RAVI_H32 (147) sql: SQL-User-Name set to 'RAVI_H32' (147) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (147) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565604), acctinterval = 1774565604 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.237', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 26131, acctinputoctets = '0' << 32 | '76500843', acctoutputoctets = '0' << 32 | '2491425456' WHERE AcctUniqueId = 'fc54f19c9c52013a7378cfecf93869e0' (147) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565604), acctinterval = 1774565604 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.237', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 26131, acctinputoctets = '0' << 32 | '76500843', acctoutputoctets = '0' << 32 | '2491425456' WHERE AcctUniqueId = 'fc54f19c9c52013a7378cfecf93869e0' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (147) sql: SQL query returned: success (147) sql: 1 record(s) updated rlm_sql (sql): Released connection (183) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (184), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (183) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (147) [sql] = ok (147) [exec] = noop (147) attr_filter.accounting_response: EXPAND %{User-Name} (147) attr_filter.accounting_response: --> RAVI_H32 (147) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (147) [attr_filter.accounting_response] = updated (147) } # accounting = updated (147) Sent Accounting-Response Id 80 from 103.204.70.55:1813 to 103.190.8.10:40480 length 20 (147) Finished request (147) Cleaning up request packet ID 80 with timestamp +30 due to done Waking up in 1.0 seconds. (148) Received Access-Request Id 81 from 103.190.8.10:41516 to 103.204.70.55:1812 length 179 (148) Service-Type = Framed-User (148) Framed-Protocol = PPP (148) NAS-Port = 16116465 (148) NAS-Port-Type = Ethernet (148) User-Name = "SUNNY261" (148) Calling-Station-Id = "E8:65:D4:15:37:A8" (148) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (148) Acct-Session-Id = "8155dddd" (148) CHAP-Challenge = 0x634001b6204d8c1e6ac423ac13efbecd (148) CHAP-Password = 0x0127cd09050483ca2e254532a4c369f7ba (148) NAS-Identifier = "CORE-ROUTER" (148) NAS-IP-Address = 103.190.8.10 (148) Message-Authenticator = 0x13a2f89dc984277b49aea916f233fa00 (148) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (148) authorize { (148) [preprocess] = ok (148) chap: &control:Auth-Type := CHAP (148) [chap] = ok (148) [mschap] = noop (148) [digest] = noop (148) suffix: Checking for suffix after "@" (148) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (148) suffix: No such realm "NULL" (148) [suffix] = noop (148) eap: No EAP-Message, not doing EAP (148) [eap] = noop (148) files: users: Matched entry DEFAULT at line 167 (148) [files] = ok (148) sql: EXPAND %{User-Name} (148) sql: --> SUNNY261 (148) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (184) (148) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (148) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (148) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (148) sql: User found in radcheck table (148) sql: Conditional check items matched, merging assignment check items (148) sql: Cleartext-Password := "123456" (148) sql: Expiration := "Mar 26 2026 23:59:59 IST" (148) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (148) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (148) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (148) sql: User found in radreply table, merging reply items (148) sql: Mikrotik-Rate-Limit := "62M/62M" (148) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (148) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (148) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (148) sql: User found in the group table (148) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (148) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (148) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (148) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (148) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (148) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (148) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (148) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (148) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (148) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (184) (148) [sql] = ok (148) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (148) [expiration] = userlock (148) } # authorize = userlock (148) Using Post-Auth-Type Reject (148) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (148) Post-Auth-Type REJECT { (148) sql: EXPAND .query (148) sql: --> .query (148) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (184) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (185), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (185) (148) sql: EXPAND %{User-Name} (148) sql: --> SUNNY261 (148) sql: SQL-User-Name set to 'SUNNY261' (148) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (148) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0127cd09050483ca2e254532a4c369f7ba', 'Access-Reject', '2026-03-27 04:23:24.318824' ) (148) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x0127cd09050483ca2e254532a4c369f7ba', 'Access-Reject', '2026-03-27 04:23:24.318824' ) (148) sql: SQL query returned: success (148) sql: 1 record(s) updated rlm_sql (sql): Released connection (185) (148) [sql] = ok (148) attr_filter.access_reject: EXPAND %{User-Name} (148) attr_filter.access_reject: --> SUNNY261 (148) attr_filter.access_reject: Matched entry DEFAULT at line 11 (148) [attr_filter.access_reject] = updated (148) [eap] = noop (148) policy remove_reply_message_if_eap { (148) if (&reply:EAP-Message && &reply:Reply-Message) { (148) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (148) else { (148) [noop] = noop (148) } # else = noop (148) } # policy remove_reply_message_if_eap = noop (148) } # Post-Auth-Type REJECT = updated (148) Sent Access-Reject Id 81 from 103.204.70.55:1812 to 103.190.8.10:41516 length 38 (148) Finished request Waking up in 0.8 seconds. (149) Received Accounting-Request Id 82 from 103.190.8.10:37966 to 103.204.70.55:1813 length 242 (149) Service-Type = Framed-User (149) Framed-Protocol = PPP (149) NAS-Port = 16099374 (149) NAS-Port-Type = Ethernet (149) User-Name = "VIKAS82" (149) Calling-Station-Id = "14:EB:B6:E5:9B:FA" (149) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (149) Acct-Session-Id = "81559cb8" (149) Framed-IP-Address = 172.16.3.220 (149) Acct-Authentic = RADIUS (149) Event-Timestamp = "Mar 27 2026 04:23:24 IST" (149) Acct-Session-Time = 21191 (149) Idle-Timeout = 0 (149) Session-Timeout = 2770185 (149) X-Ascend-Data-Rate = 105000000 (149) Ascend-Xmit-Rate = 105000000 (149) Mikrotik-Rate-Limit = "105M/105M" (149) Acct-Input-Octets = 1157962956 (149) Acct-Input-Gigawords = 0 (149) Acct-Input-Packets = 4148788 (149) Acct-Output-Octets = 2529183073 (149) Acct-Output-Gigawords = 4 (149) Acct-Output-Packets = 16021570 (149) Acct-Status-Type = Interim-Update (149) NAS-Identifier = "CORE-ROUTER" (149) Acct-Delay-Time = 0 (149) NAS-IP-Address = 103.190.8.10 (149) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (149) preacct { (149) [preprocess] = ok (149) policy acct_unique { (149) update request { (149) &Tmp-String-9 := "ai:" (149) } # update request = noop (149) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (149) EXPAND %{hex:&Class} (149) --> (149) EXPAND ^%{hex:&Tmp-String-9} (149) --> ^61693a (149) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (149) else { (149) update request { (149) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (149) --> a37853f796e5f3b18d14bb4d53399eef (149) &Acct-Unique-Session-Id := a37853f796e5f3b18d14bb4d53399eef (149) } # update request = noop (149) } # else = noop (149) update request { (149) &Tmp-String-9 !* ANY (149) } # update request = noop (149) } # policy acct_unique = noop (149) suffix: Checking for suffix after "@" (149) suffix: No '@' in User-Name = "VIKAS82", looking up realm NULL (149) suffix: No such realm "NULL" (149) [suffix] = noop (149) [files] = noop (149) } # preacct = ok (149) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (149) accounting { (149) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (149) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (149) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (149) detail: EXPAND %t (149) detail: --> Fri Mar 27 04:23:24 2026 (149) [detail] = ok (149) [unix] = noop (149) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (149) sql: --> type.interim-update.query (149) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (185) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (186), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (186) (149) sql: EXPAND %{User-Name} (149) sql: --> VIKAS82 (149) sql: SQL-User-Name set to 'VIKAS82' (149) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (149) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565604), acctinterval = 1774565604 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.220', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21191, acctinputoctets = '0' << 32 | '1157962956', acctoutputoctets = '4' << 32 | '2529183073' WHERE AcctUniqueId = 'a37853f796e5f3b18d14bb4d53399eef' (149) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565604), acctinterval = 1774565604 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.220', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21191, acctinputoctets = '0' << 32 | '1157962956', acctoutputoctets = '4' << 32 | '2529183073' WHERE AcctUniqueId = 'a37853f796e5f3b18d14bb4d53399eef' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (149) sql: SQL query returned: success (149) sql: 1 record(s) updated rlm_sql (sql): Released connection (186) (149) [sql] = ok (149) [exec] = noop (149) attr_filter.accounting_response: EXPAND %{User-Name} (149) attr_filter.accounting_response: --> VIKAS82 (149) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (149) [attr_filter.accounting_response] = updated (149) } # accounting = updated (149) Sent Accounting-Response Id 82 from 103.204.70.55:1813 to 103.190.8.10:37966 length 20 (149) Finished request (149) Cleaning up request packet ID 82 with timestamp +30 due to done Waking up in 0.8 seconds. (150) Received Accounting-Request Id 83 from 103.190.8.10:39385 to 103.204.70.55:1813 length 236 (150) Service-Type = Framed-User (150) Framed-Protocol = PPP (150) NAS-Port = 16096727 (150) NAS-Port-Type = Ethernet (150) User-Name = "ajit123" (150) Calling-Station-Id = "50:2B:73:A3:F7:E8" (150) NAS-Port-Id = "RB_INTERNET-71" (150) Acct-Session-Id = "815592d2" (150) Framed-IP-Address = 172.16.3.72 (150) Acct-Authentic = RADIUS (150) Event-Timestamp = "Mar 27 2026 04:23:24 IST" (150) Acct-Session-Time = 34711 (150) Idle-Timeout = 0 (150) Session-Timeout = 8572506 (150) X-Ascend-Data-Rate = 105000000 (150) Ascend-Xmit-Rate = 105000000 (150) Mikrotik-Rate-Limit = "105M/105M" (150) Acct-Input-Octets = 451528560 (150) Acct-Input-Gigawords = 0 (150) Acct-Input-Packets = 3329944 (150) Acct-Output-Octets = 3210683306 (150) Acct-Output-Gigawords = 2 (150) Acct-Output-Packets = 8989472 (150) Acct-Status-Type = Interim-Update (150) NAS-Identifier = "CORE-ROUTER" (150) Acct-Delay-Time = 0 (150) NAS-IP-Address = 103.190.8.10 (150) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (150) preacct { (150) [preprocess] = ok (150) policy acct_unique { (150) update request { (150) &Tmp-String-9 := "ai:" (150) } # update request = noop (150) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (150) EXPAND %{hex:&Class} (150) --> (150) EXPAND ^%{hex:&Tmp-String-9} (150) --> ^61693a (150) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (150) else { (150) update request { (150) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (150) --> 07a6f3c2b9258583e2f68f2cf0428e18 (150) &Acct-Unique-Session-Id := 07a6f3c2b9258583e2f68f2cf0428e18 (150) } # update request = noop (150) } # else = noop (150) update request { (150) &Tmp-String-9 !* ANY (150) } # update request = noop (150) } # policy acct_unique = noop (150) suffix: Checking for suffix after "@" (150) suffix: No '@' in User-Name = "ajit123", looking up realm NULL (150) suffix: No such realm "NULL" (150) [suffix] = noop (150) [files] = noop (150) } # preacct = ok (150) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (150) accounting { (150) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (150) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (150) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (150) detail: EXPAND %t (150) detail: --> Fri Mar 27 04:23:24 2026 (150) [detail] = ok (150) [unix] = noop (150) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (150) sql: --> type.interim-update.query (150) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (186) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (187), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (187) (150) sql: EXPAND %{User-Name} (150) sql: --> ajit123 (150) sql: SQL-User-Name set to 'ajit123' (150) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (150) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565604), acctinterval = 1774565604 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.72', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 34711, acctinputoctets = '0' << 32 | '451528560', acctoutputoctets = '2' << 32 | '3210683306' WHERE AcctUniqueId = '07a6f3c2b9258583e2f68f2cf0428e18' (150) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565604), acctinterval = 1774565604 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.72', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 34711, acctinputoctets = '0' << 32 | '451528560', acctoutputoctets = '2' << 32 | '3210683306' WHERE AcctUniqueId = '07a6f3c2b9258583e2f68f2cf0428e18' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (150) sql: SQL query returned: success (150) sql: 1 record(s) updated rlm_sql (sql): Released connection (187) (150) [sql] = ok (150) [exec] = noop (150) attr_filter.accounting_response: EXPAND %{User-Name} (150) attr_filter.accounting_response: --> ajit123 (150) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (150) [attr_filter.accounting_response] = updated (150) } # accounting = updated (150) Sent Accounting-Response Id 83 from 103.204.70.55:1813 to 103.190.8.10:39385 length 20 (150) Finished request (150) Cleaning up request packet ID 83 with timestamp +30 due to done Waking up in 0.8 seconds. (151) Received Accounting-Request Id 84 from 103.190.8.10:35944 to 103.204.70.55:1813 length 244 (151) Service-Type = Framed-User (151) Framed-Protocol = PPP (151) NAS-Port = 16094447 (151) NAS-Port-Type = Ethernet (151) User-Name = "GYANEDER258" (151) Calling-Station-Id = "50:2B:73:3B:E5:C9" (151) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (151) Acct-Session-Id = "815589ed" (151) Framed-IP-Address = 172.16.4.226 (151) Acct-Authentic = RADIUS (151) Event-Timestamp = "Mar 27 2026 04:23:24 IST" (151) Acct-Session-Time = 42901 (151) Idle-Timeout = 0 (151) Session-Timeout = 1927896 (151) X-Ascend-Data-Rate = 62000000 (151) Ascend-Xmit-Rate = 62000000 (151) Mikrotik-Rate-Limit = "62M/62M" (151) Acct-Input-Octets = 656484745 (151) Acct-Input-Gigawords = 0 (151) Acct-Input-Packets = 2906697 (151) Acct-Output-Octets = 854540765 (151) Acct-Output-Gigawords = 2 (151) Acct-Output-Packets = 7855840 (151) Acct-Status-Type = Interim-Update (151) NAS-Identifier = "CORE-ROUTER" (151) Acct-Delay-Time = 0 (151) NAS-IP-Address = 103.190.8.10 (151) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (151) preacct { (151) [preprocess] = ok (151) policy acct_unique { (151) update request { (151) &Tmp-String-9 := "ai:" (151) } # update request = noop (151) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (151) EXPAND %{hex:&Class} (151) --> (151) EXPAND ^%{hex:&Tmp-String-9} (151) --> ^61693a (151) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (151) else { (151) update request { (151) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (151) --> 8c4311c771de0402ea4fc96b5af2f287 (151) &Acct-Unique-Session-Id := 8c4311c771de0402ea4fc96b5af2f287 (151) } # update request = noop (151) } # else = noop (151) update request { (151) &Tmp-String-9 !* ANY (151) } # update request = noop (151) } # policy acct_unique = noop (151) suffix: Checking for suffix after "@" (151) suffix: No '@' in User-Name = "GYANEDER258", looking up realm NULL (151) suffix: No such realm "NULL" (151) [suffix] = noop (151) [files] = noop (151) } # preacct = ok (151) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (151) accounting { (151) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (151) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (151) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (151) detail: EXPAND %t (151) detail: --> Fri Mar 27 04:23:24 2026 (151) [detail] = ok (151) [unix] = noop (151) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (151) sql: --> type.interim-update.query (151) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (187) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (188), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (188) (151) sql: EXPAND %{User-Name} (151) sql: --> GYANEDER258 (151) sql: SQL-User-Name set to 'GYANEDER258' (151) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (151) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565604), acctinterval = 1774565604 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.226', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42901, acctinputoctets = '0' << 32 | '656484745', acctoutputoctets = '2' << 32 | '854540765' WHERE AcctUniqueId = '8c4311c771de0402ea4fc96b5af2f287' (151) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565604), acctinterval = 1774565604 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.226', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42901, acctinputoctets = '0' << 32 | '656484745', acctoutputoctets = '2' << 32 | '854540765' WHERE AcctUniqueId = '8c4311c771de0402ea4fc96b5af2f287' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (151) sql: SQL query returned: success (151) sql: 1 record(s) updated rlm_sql (sql): Released connection (188) (151) [sql] = ok (151) [exec] = noop (151) attr_filter.accounting_response: EXPAND %{User-Name} (151) attr_filter.accounting_response: --> GYANEDER258 (151) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (151) [attr_filter.accounting_response] = updated (151) } # accounting = updated (151) Sent Accounting-Response Id 84 from 103.204.70.55:1813 to 103.190.8.10:35944 length 20 (151) Finished request (151) Cleaning up request packet ID 84 with timestamp +30 due to done Waking up in 0.8 seconds. (152) Received Accounting-Request Id 85 from 103.190.8.10:60425 to 103.204.70.55:1813 length 241 (152) Service-Type = Framed-User (152) Framed-Protocol = PPP (152) NAS-Port = 16099426 (152) NAS-Port-Type = Ethernet (152) User-Name = "JYOTI210" (152) Calling-Station-Id = "CC:32:E5:32:23:87" (152) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (152) Acct-Session-Id = "81559cf0" (152) Framed-IP-Address = 172.16.4.149 (152) Acct-Authentic = RADIUS (152) Event-Timestamp = "Mar 27 2026 04:23:24 IST" (152) Acct-Session-Time = 21061 (152) Idle-Timeout = 0 (152) Session-Timeout = 1301255 (152) X-Ascend-Data-Rate = 62000000 (152) Ascend-Xmit-Rate = 62000000 (152) Mikrotik-Rate-Limit = "62M/62M" (152) Acct-Input-Octets = 102893538 (152) Acct-Input-Gigawords = 0 (152) Acct-Input-Packets = 725670 (152) Acct-Output-Octets = 1567936168 (152) Acct-Output-Gigawords = 1 (152) Acct-Output-Packets = 4655931 (152) Acct-Status-Type = Interim-Update (152) NAS-Identifier = "CORE-ROUTER" (152) Acct-Delay-Time = 0 (152) NAS-IP-Address = 103.190.8.10 (152) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (152) preacct { (152) [preprocess] = ok (152) policy acct_unique { (152) update request { (152) &Tmp-String-9 := "ai:" (152) } # update request = noop (152) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (152) EXPAND %{hex:&Class} (152) --> (152) EXPAND ^%{hex:&Tmp-String-9} (152) --> ^61693a (152) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (152) else { (152) update request { (152) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (152) --> f7d2e9d2822678c697e5a009433d44b8 (152) &Acct-Unique-Session-Id := f7d2e9d2822678c697e5a009433d44b8 (152) } # update request = noop (152) } # else = noop (152) update request { (152) &Tmp-String-9 !* ANY (152) } # update request = noop (152) } # policy acct_unique = noop (152) suffix: Checking for suffix after "@" (152) suffix: No '@' in User-Name = "JYOTI210", looking up realm NULL (152) suffix: No such realm "NULL" (152) [suffix] = noop (152) [files] = noop (152) } # preacct = ok (152) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (152) accounting { (152) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (152) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (152) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (152) detail: EXPAND %t (152) detail: --> Fri Mar 27 04:23:24 2026 (152) [detail] = ok (152) [unix] = noop (152) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (152) sql: --> type.interim-update.query (152) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (188) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (189), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (189) (152) sql: EXPAND %{User-Name} (152) sql: --> JYOTI210 (152) sql: SQL-User-Name set to 'JYOTI210' (152) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (152) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565604), acctinterval = 1774565604 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.149', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21061, acctinputoctets = '0' << 32 | '102893538', acctoutputoctets = '1' << 32 | '1567936168' WHERE AcctUniqueId = 'f7d2e9d2822678c697e5a009433d44b8' (152) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565604), acctinterval = 1774565604 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.149', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21061, acctinputoctets = '0' << 32 | '102893538', acctoutputoctets = '1' << 32 | '1567936168' WHERE AcctUniqueId = 'f7d2e9d2822678c697e5a009433d44b8' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (152) sql: SQL query returned: success (152) sql: 1 record(s) updated rlm_sql (sql): Released connection (189) (152) [sql] = ok (152) [exec] = noop (152) attr_filter.accounting_response: EXPAND %{User-Name} (152) attr_filter.accounting_response: --> JYOTI210 (152) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (152) [attr_filter.accounting_response] = updated (152) } # accounting = updated (152) Sent Accounting-Response Id 85 from 103.204.70.55:1813 to 103.190.8.10:60425 length 20 (152) Finished request (152) Cleaning up request packet ID 85 with timestamp +30 due to done Waking up in 0.8 seconds. (153) Received Access-Request Id 86 from 103.190.8.10:39838 to 103.204.70.55:1812 length 162 (153) Service-Type = Framed-User (153) Framed-Protocol = PPP (153) NAS-Port = 16116466 (153) NAS-Port-Type = Ethernet (153) User-Name = "SUKRITI210" (153) Calling-Station-Id = "F0:E0:D0:06:A9:FB" (153) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (153) Acct-Session-Id = "8155ddde" (153) User-Password = "123456" (153) NAS-Identifier = "CORE-ROUTER" (153) NAS-IP-Address = 103.190.8.10 (153) Message-Authenticator = 0xc2802774d7298066e7fbfef96452d909 (153) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (153) authorize { (153) [preprocess] = ok (153) [chap] = noop (153) [mschap] = noop (153) [digest] = noop (153) suffix: Checking for suffix after "@" (153) suffix: No '@' in User-Name = "SUKRITI210", looking up realm NULL (153) suffix: No such realm "NULL" (153) [suffix] = noop (153) eap: No EAP-Message, not doing EAP (153) [eap] = noop (153) files: users: Matched entry DEFAULT at line 167 (153) [files] = ok (153) sql: EXPAND %{User-Name} (153) sql: --> SUKRITI210 (153) sql: SQL-User-Name set to 'SUKRITI210' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (189) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (190), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (190) (153) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (153) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUKRITI210' ORDER BY id (153) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUKRITI210' ORDER BY id (153) sql: User found in radcheck table (153) sql: Conditional check items matched, merging assignment check items (153) sql: Cleartext-Password := "123456" (153) sql: Expiration := "Dec 7 2026 23:59:59 IST" (153) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (153) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUKRITI210' ORDER BY id (153) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUKRITI210' ORDER BY id (153) sql: User found in radreply table, merging reply items (153) sql: Mikrotik-Rate-Limit := "62M/62M" (153) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (153) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUKRITI210' ORDER BY priority (153) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUKRITI210' ORDER BY priority (153) sql: User found in the group table (153) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (153) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-4=2B2' ORDER BY id (153) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-4=2B2' ORDER BY id (153) sql: Group "REELTIME-60-Mbps-4+2": Conditional check items matched (153) sql: Group "REELTIME-60-Mbps-4+2": Merging assignment check items (153) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (153) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-4=2B2' ORDER BY id (153) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-4=2B2' ORDER BY id (153) sql: Group "REELTIME-60-Mbps-4+2": Merging reply items rlm_sql (sql): Released connection (190) (153) [sql] = ok (153) expiration: Account will expire at 'Dec 7 2026 23:59:59 IST' (153) [expiration] = ok (153) [logintime] = noop (153) [pap] = updated (153) } # authorize = updated (153) Found Auth-Type = PAP (153) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (153) Auth-Type PAP { (153) pap: Login attempt with password (153) pap: Comparing with "known good" Cleartext-Password (153) pap: User authenticated successfully (153) [pap] = ok (153) } # Auth-Type PAP = ok (153) # Executing section post-auth from file /etc/freeradius/3.0/sites-enabled/default (153) post-auth { (153) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) { (153) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE (153) update { (153) No attributes updated for RHS &session-state: (153) } # update = noop (153) sql: EXPAND .query (153) sql: --> .query (153) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (190) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (191), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (191) (153) sql: EXPAND %{User-Name} (153) sql: --> SUKRITI210 (153) sql: SQL-User-Name set to 'SUKRITI210' (153) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (153) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUKRITI210', '123456', 'Access-Accept', '2026-03-27 04:23:24.833759' ) (153) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUKRITI210', '123456', 'Access-Accept', '2026-03-27 04:23:24.833759' ) (153) sql: SQL query returned: success (153) sql: 1 record(s) updated rlm_sql (sql): Released connection (191) (153) [sql] = ok (153) [exec] = noop (153) policy remove_reply_message_if_eap { (153) if (&reply:EAP-Message && &reply:Reply-Message) { (153) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (153) else { (153) [noop] = noop (153) } # else = noop (153) } # policy remove_reply_message_if_eap = noop (153) if (EAP-Key-Name && &reply:EAP-Session-Id) { (153) if (EAP-Key-Name && &reply:EAP-Session-Id) -> FALSE (153) } # post-auth = ok (153) Sent Access-Accept Id 86 from 103.204.70.55:1812 to 103.190.8.10:39838 length 71 (153) Framed-Protocol = PPP (153) Framed-Compression = Van-Jacobson-TCP-IP (153) Mikrotik-Rate-Limit = "62M/62M" (153) Session-Timeout = 22102595 (153) Finished request Waking up in 0.3 seconds. (154) Received Accounting-Request Id 87 from 103.190.8.10:51192 to 103.204.70.55:1813 length 156 (154) Service-Type = Framed-User (154) Framed-Protocol = PPP (154) NAS-Port = 16116466 (154) NAS-Port-Type = Ethernet (154) User-Name = "SUKRITI210" (154) Calling-Station-Id = "F0:E0:D0:06:A9:FB" (154) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (154) Acct-Session-Id = "8155ddde" (154) Framed-IP-Address = 172.16.4.222 (154) Acct-Authentic = RADIUS (154) Event-Timestamp = "Mar 27 2026 04:23:24 IST" (154) Acct-Status-Type = Start (154) NAS-Identifier = "CORE-ROUTER" (154) Acct-Delay-Time = 0 (154) NAS-IP-Address = 103.190.8.10 (154) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (154) preacct { (154) [preprocess] = ok (154) policy acct_unique { (154) update request { (154) &Tmp-String-9 := "ai:" (154) } # update request = noop (154) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (154) EXPAND %{hex:&Class} (154) --> (154) EXPAND ^%{hex:&Tmp-String-9} (154) --> ^61693a (154) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (154) else { (154) update request { (154) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (154) --> 8c91b8a2fd58f9068368e0d9e9198bee (154) &Acct-Unique-Session-Id := 8c91b8a2fd58f9068368e0d9e9198bee (154) } # update request = noop (154) } # else = noop (154) update request { (154) &Tmp-String-9 !* ANY (154) } # update request = noop (154) } # policy acct_unique = noop (154) suffix: Checking for suffix after "@" (154) suffix: No '@' in User-Name = "SUKRITI210", looking up realm NULL (154) suffix: No such realm "NULL" (154) [suffix] = noop (154) [files] = noop (154) } # preacct = ok (154) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (154) accounting { (154) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (154) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (154) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (154) detail: EXPAND %t (154) detail: --> Fri Mar 27 04:23:24 2026 (154) [detail] = ok (154) [unix] = ok (154) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (154) sql: --> type.start.query (154) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (191) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (192), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (192) (154) sql: EXPAND %{User-Name} (154) sql: --> SUKRITI210 (154) sql: SQL-User-Name set to 'SUKRITI210' (154) sql: EXPAND INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}', '%{Delegated-IPv6-Prefix}' ) (154) sql: --> INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('8155ddde', '8c91b8a2fd58f9068368e0d9e9198bee', 'SUKRITI210', '', '103.190.8.10', 'VLAN-82--GENEXIS OLT', 'Ethernet', FROM_UNIXTIME(1774565604), FROM_UNIXTIME(1774565604), NULL, '0', 'RADIUS', '', '', '0', '0', '', 'F0:E0:D0:06:A9:FB', '', 'Framed-User', 'PPP', '172.16.4.222', '', '', '', '' ) (154) sql: Executing query: INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('8155ddde', '8c91b8a2fd58f9068368e0d9e9198bee', 'SUKRITI210', '', '103.190.8.10', 'VLAN-82--GENEXIS OLT', 'Ethernet', FROM_UNIXTIME(1774565604), FROM_UNIXTIME(1774565604), NULL, '0', 'RADIUS', '', '', '0', '0', '', 'F0:E0:D0:06:A9:FB', '', 'Framed-User', 'PPP', '172.16.4.222', '', '', '', '' ) (154) sql: SQL query returned: success (154) sql: 1 record(s) updated rlm_sql (sql): Released connection (192) (154) [sql] = ok (154) [exec] = noop (154) attr_filter.accounting_response: EXPAND %{User-Name} (154) attr_filter.accounting_response: --> SUKRITI210 (154) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (154) [attr_filter.accounting_response] = updated (154) } # accounting = updated (154) Sent Accounting-Response Id 87 from 103.204.70.55:1813 to 103.190.8.10:51192 length 20 (154) Finished request (154) Cleaning up request packet ID 87 with timestamp +30 due to done Waking up in 0.3 seconds. (155) Received Accounting-Request Id 88 from 103.190.8.10:42041 to 103.204.70.55:1813 length 216 (155) Service-Type = Framed-User (155) Framed-Protocol = PPP (155) NAS-Port = 16116466 (155) NAS-Port-Type = Ethernet (155) User-Name = "SUKRITI210" (155) Calling-Station-Id = "F0:E0:D0:06:A9:FB" (155) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (155) Acct-Session-Id = "8155ddde" (155) Framed-IP-Address = 172.16.4.222 (155) Acct-Authentic = RADIUS (155) Event-Timestamp = "Mar 27 2026 04:23:24 IST" (155) Acct-Session-Time = 0 (155) Idle-Timeout = 0 (155) Session-Timeout = 0 (155) Acct-Input-Octets = 0 (155) Acct-Input-Gigawords = 0 (155) Acct-Input-Packets = 0 (155) Acct-Output-Octets = 0 (155) Acct-Output-Gigawords = 0 (155) Acct-Output-Packets = 0 (155) Acct-Status-Type = Stop (155) Acct-Terminate-Cause = NAS-Request (155) NAS-Identifier = "CORE-ROUTER" (155) Acct-Delay-Time = 0 (155) NAS-IP-Address = 103.190.8.10 (155) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (155) preacct { (155) [preprocess] = ok (155) policy acct_unique { (155) update request { (155) &Tmp-String-9 := "ai:" (155) } # update request = noop (155) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (155) EXPAND %{hex:&Class} (155) --> (155) EXPAND ^%{hex:&Tmp-String-9} (155) --> ^61693a (155) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (155) else { (155) update request { (155) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (155) --> 8c91b8a2fd58f9068368e0d9e9198bee (155) &Acct-Unique-Session-Id := 8c91b8a2fd58f9068368e0d9e9198bee (155) } # update request = noop (155) } # else = noop (155) update request { (155) &Tmp-String-9 !* ANY (155) } # update request = noop (155) } # policy acct_unique = noop (155) suffix: Checking for suffix after "@" (155) suffix: No '@' in User-Name = "SUKRITI210", looking up realm NULL (155) suffix: No such realm "NULL" (155) [suffix] = noop (155) [files] = noop (155) } # preacct = ok (155) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (155) accounting { (155) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (155) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (155) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (155) detail: EXPAND %t (155) detail: --> Fri Mar 27 04:23:24 2026 (155) [detail] = ok (155) [unix] = ok (155) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (155) sql: --> type.stop.query (155) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (192) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (193), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (193) (155) sql: EXPAND %{User-Name} (155) sql: --> SUKRITI210 (155) sql: SQL-User-Name set to 'SUKRITI210' (155) sql: EXPAND UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', acctterminatecause = '%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (155) sql: --> UPDATE radacct SET acctstoptime = FROM_UNIXTIME(1774565604), acctsessiontime = 0, acctinputoctets = '0' << 32 | '0', acctoutputoctets = '0' << 32 | '0', acctterminatecause = 'NAS-Request', connectinfo_stop = '' WHERE AcctUniqueId = '8c91b8a2fd58f9068368e0d9e9198bee' (155) sql: Executing query: UPDATE radacct SET acctstoptime = FROM_UNIXTIME(1774565604), acctsessiontime = 0, acctinputoctets = '0' << 32 | '0', acctoutputoctets = '0' << 32 | '0', acctterminatecause = 'NAS-Request', connectinfo_stop = '' WHERE AcctUniqueId = '8c91b8a2fd58f9068368e0d9e9198bee' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 0 (155) sql: SQL query returned: success (155) sql: 1 record(s) updated rlm_sql (sql): Released connection (193) (155) [sql] = ok (155) [exec] = noop (155) attr_filter.accounting_response: EXPAND %{User-Name} (155) attr_filter.accounting_response: --> SUKRITI210 (155) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (155) [attr_filter.accounting_response] = updated (155) } # accounting = updated (155) Sent Accounting-Response Id 88 from 103.204.70.55:1813 to 103.190.8.10:42041 length 20 (155) Finished request (155) Cleaning up request packet ID 88 with timestamp +30 due to done Waking up in 0.3 seconds. (156) Received Accounting-Request Id 89 from 103.190.8.10:50969 to 103.204.70.55:1813 length 241 (156) Service-Type = Framed-User (156) Framed-Protocol = PPP (156) NAS-Port = 16091662 (156) NAS-Port-Type = Ethernet (156) User-Name = "GEETA216" (156) Calling-Station-Id = "4C:06:17:1F:6F:22" (156) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (156) Acct-Session-Id = "81557f0d" (156) Framed-IP-Address = 172.16.5.148 (156) Acct-Authentic = RADIUS (156) Event-Timestamp = "Mar 27 2026 04:23:25 IST" (156) Acct-Session-Time = 52911 (156) Idle-Timeout = 0 (156) Session-Timeout = 1592306 (156) X-Ascend-Data-Rate = 62000000 (156) Ascend-Xmit-Rate = 62000000 (156) Mikrotik-Rate-Limit = "62M/62M" (156) Acct-Input-Octets = 779310553 (156) Acct-Input-Gigawords = 0 (156) Acct-Input-Packets = 4024715 (156) Acct-Output-Octets = 3755732824 (156) Acct-Output-Gigawords = 4 (156) Acct-Output-Packets = 17102767 (156) Acct-Status-Type = Interim-Update (156) NAS-Identifier = "CORE-ROUTER" (156) Acct-Delay-Time = 0 (156) NAS-IP-Address = 103.190.8.10 (156) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (156) preacct { (156) [preprocess] = ok (156) policy acct_unique { (156) update request { (156) &Tmp-String-9 := "ai:" (156) } # update request = noop (156) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (156) EXPAND %{hex:&Class} (156) --> (156) EXPAND ^%{hex:&Tmp-String-9} (156) --> ^61693a (156) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (156) else { (156) update request { (156) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (156) --> d9f740516948697d9fbd2e1b7232ad60 (156) &Acct-Unique-Session-Id := d9f740516948697d9fbd2e1b7232ad60 (156) } # update request = noop (156) } # else = noop (156) update request { (156) &Tmp-String-9 !* ANY (156) } # update request = noop (156) } # policy acct_unique = noop (156) suffix: Checking for suffix after "@" (156) suffix: No '@' in User-Name = "GEETA216", looking up realm NULL (156) suffix: No such realm "NULL" (156) [suffix] = noop (156) [files] = noop (156) } # preacct = ok (156) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (156) accounting { (156) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (156) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (156) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (156) detail: EXPAND %t (156) detail: --> Fri Mar 27 04:23:25 2026 (156) [detail] = ok (156) [unix] = noop (156) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (156) sql: --> type.interim-update.query (156) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (193) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (194), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (194) (156) sql: EXPAND %{User-Name} (156) sql: --> GEETA216 (156) sql: SQL-User-Name set to 'GEETA216' (156) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (156) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.148', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 52911, acctinputoctets = '0' << 32 | '779310553', acctoutputoctets = '4' << 32 | '3755732824' WHERE AcctUniqueId = 'd9f740516948697d9fbd2e1b7232ad60' (156) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.148', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 52911, acctinputoctets = '0' << 32 | '779310553', acctoutputoctets = '4' << 32 | '3755732824' WHERE AcctUniqueId = 'd9f740516948697d9fbd2e1b7232ad60' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (156) sql: SQL query returned: success (156) sql: 1 record(s) updated rlm_sql (sql): Released connection (194) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (195), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (194) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (156) [sql] = ok (156) [exec] = noop (156) attr_filter.accounting_response: EXPAND %{User-Name} (156) attr_filter.accounting_response: --> GEETA216 (156) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (156) [attr_filter.accounting_response] = updated (156) } # accounting = updated (156) Sent Accounting-Response Id 89 from 103.204.70.55:1813 to 103.190.8.10:50969 length 20 (156) Finished request (156) Cleaning up request packet ID 89 with timestamp +31 due to done Waking up in 0.1 seconds. (142) Cleaning up request packet ID 76 with timestamp +29 due to cleanup_delay was reached Waking up in 1.1 seconds. (157) Received Accounting-Request Id 90 from 103.190.8.10:40076 to 103.204.70.55:1813 length 240 (157) Service-Type = Framed-User (157) Framed-Protocol = PPP (157) NAS-Port = 16116452 (157) NAS-Port-Type = Ethernet (157) User-Name = "Mala@" (157) Calling-Station-Id = "04:95:E6:A7:C7:C0" (157) NAS-Port-Id = "RB_INTERNET-71" (157) Acct-Session-Id = "8155ddd0" (157) Framed-IP-Address = 172.16.3.243 (157) Acct-Authentic = RADIUS (157) Event-Timestamp = "Mar 27 2026 04:23:25 IST" (157) Acct-Session-Time = 11 (157) Idle-Timeout = 0 (157) Session-Timeout = 10 (157) X-Ascend-Data-Rate = 105000000 (157) Ascend-Xmit-Rate = 105000000 (157) Mikrotik-Rate-Limit = "105M/105M" (157) Acct-Input-Octets = 890 (157) Acct-Input-Gigawords = 0 (157) Acct-Input-Packets = 14 (157) Acct-Output-Octets = 300 (157) Acct-Output-Gigawords = 0 (157) Acct-Output-Packets = 8 (157) Acct-Status-Type = Stop (157) Acct-Terminate-Cause = Session-Timeout (157) NAS-Identifier = "CORE-ROUTER" (157) Acct-Delay-Time = 0 (157) NAS-IP-Address = 103.190.8.10 (157) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (157) preacct { (157) [preprocess] = ok (157) policy acct_unique { (157) update request { (157) &Tmp-String-9 := "ai:" (157) } # update request = noop (157) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (157) EXPAND %{hex:&Class} (157) --> (157) EXPAND ^%{hex:&Tmp-String-9} (157) --> ^61693a (157) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (157) else { (157) update request { (157) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (157) --> e9f06e19832a43b4f157b3165eaef893 (157) &Acct-Unique-Session-Id := e9f06e19832a43b4f157b3165eaef893 (157) } # update request = noop (157) } # else = noop (157) update request { (157) &Tmp-String-9 !* ANY (157) } # update request = noop (157) } # policy acct_unique = noop (157) suffix: Checking for suffix after "@" (157) suffix: Looking up realm "" for User-Name = "Mala@" (157) suffix: No such realm "" (157) [suffix] = noop (157) [files] = noop (157) } # preacct = ok (157) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (157) accounting { (157) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (157) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (157) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (157) detail: EXPAND %t (157) detail: --> Fri Mar 27 04:23:25 2026 (157) [detail] = ok (157) [unix] = ok (157) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (157) sql: --> type.stop.query (157) sql: Using query template 'query' rlm_sql (sql): Reserved connection (195) (157) sql: EXPAND %{User-Name} (157) sql: --> Mala@ (157) sql: SQL-User-Name set to 'Mala@' (157) sql: EXPAND UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', acctterminatecause = '%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (157) sql: --> UPDATE radacct SET acctstoptime = FROM_UNIXTIME(1774565605), acctsessiontime = 11, acctinputoctets = '0' << 32 | '890', acctoutputoctets = '0' << 32 | '300', acctterminatecause = 'Session-Timeout', connectinfo_stop = '' WHERE AcctUniqueId = 'e9f06e19832a43b4f157b3165eaef893' (157) sql: Executing query: UPDATE radacct SET acctstoptime = FROM_UNIXTIME(1774565605), acctsessiontime = 11, acctinputoctets = '0' << 32 | '890', acctoutputoctets = '0' << 32 | '300', acctterminatecause = 'Session-Timeout', connectinfo_stop = '' WHERE AcctUniqueId = 'e9f06e19832a43b4f157b3165eaef893' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 0 (157) sql: SQL query returned: success (157) sql: 1 record(s) updated rlm_sql (sql): Released connection (195) (157) [sql] = ok (157) [exec] = noop (157) attr_filter.accounting_response: EXPAND %{User-Name} (157) attr_filter.accounting_response: --> Mala@ (157) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (157) [attr_filter.accounting_response] = updated (157) } # accounting = updated (157) Sent Accounting-Response Id 90 from 103.204.70.55:1813 to 103.190.8.10:40076 length 20 (157) Finished request (157) Cleaning up request packet ID 90 with timestamp +31 due to done Waking up in 0.9 seconds. (158) Received Accounting-Request Id 91 from 103.190.8.10:36026 to 103.204.70.55:1813 length 234 (158) Service-Type = Framed-User (158) Framed-Protocol = PPP (158) NAS-Port = 16090437 (158) NAS-Port-Type = Ethernet (158) User-Name = "gnc_vidya313" (158) Calling-Station-Id = "B8:B7:DB:58:EE:01" (158) NAS-Port-Id = "NEW_LCO" (158) Acct-Session-Id = "81557a44" (158) Framed-IP-Address = 172.16.3.222 (158) Acct-Authentic = RADIUS (158) Event-Timestamp = "Mar 27 2026 04:23:25 IST" (158) Acct-Session-Time = 58632 (158) Idle-Timeout = 0 (158) Session-Timeout = 8855626 (158) X-Ascend-Data-Rate = 205000000 (158) Ascend-Xmit-Rate = 205000000 (158) Mikrotik-Rate-Limit = "205M/205M" (158) Acct-Input-Octets = 637412915 (158) Acct-Input-Gigawords = 0 (158) Acct-Input-Packets = 4659987 (158) Acct-Output-Octets = 3859972181 (158) Acct-Output-Gigawords = 6 (158) Acct-Output-Packets = 21619105 (158) Acct-Status-Type = Interim-Update (158) NAS-Identifier = "CORE-ROUTER" (158) Acct-Delay-Time = 0 (158) NAS-IP-Address = 103.190.8.10 (158) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (158) preacct { (158) [preprocess] = ok (158) policy acct_unique { (158) update request { (158) &Tmp-String-9 := "ai:" (158) } # update request = noop (158) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (158) EXPAND %{hex:&Class} (158) --> (158) EXPAND ^%{hex:&Tmp-String-9} (158) --> ^61693a (158) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (158) else { (158) update request { (158) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (158) --> 9c0da281dcd55341594ddd3428cd0bcd (158) &Acct-Unique-Session-Id := 9c0da281dcd55341594ddd3428cd0bcd (158) } # update request = noop (158) } # else = noop (158) update request { (158) &Tmp-String-9 !* ANY (158) } # update request = noop (158) } # policy acct_unique = noop (158) suffix: Checking for suffix after "@" (158) suffix: No '@' in User-Name = "gnc_vidya313", looking up realm NULL (158) suffix: No such realm "NULL" (158) [suffix] = noop (158) [files] = noop (158) } # preacct = ok (158) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (158) accounting { (158) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (158) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (158) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (158) detail: EXPAND %t (158) detail: --> Fri Mar 27 04:23:25 2026 (158) [detail] = ok (158) [unix] = noop (158) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (158) sql: --> type.interim-update.query (158) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (195) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (196), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (196) (158) sql: EXPAND %{User-Name} (158) sql: --> gnc_vidya313 (158) sql: SQL-User-Name set to 'gnc_vidya313' (158) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (158) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.222', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 58632, acctinputoctets = '0' << 32 | '637412915', acctoutputoctets = '6' << 32 | '3859972181' WHERE AcctUniqueId = '9c0da281dcd55341594ddd3428cd0bcd' (158) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.222', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 58632, acctinputoctets = '0' << 32 | '637412915', acctoutputoctets = '6' << 32 | '3859972181' WHERE AcctUniqueId = '9c0da281dcd55341594ddd3428cd0bcd' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (158) sql: SQL query returned: success (158) sql: 1 record(s) updated rlm_sql (sql): Released connection (196) (158) [sql] = ok (158) [exec] = noop (158) attr_filter.accounting_response: EXPAND %{User-Name} (158) attr_filter.accounting_response: --> gnc_vidya313 (158) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (158) [attr_filter.accounting_response] = updated (158) } # accounting = updated (158) Sent Accounting-Response Id 91 from 103.204.70.55:1813 to 103.190.8.10:36026 length 20 (158) Finished request (158) Cleaning up request packet ID 91 with timestamp +31 due to done Waking up in 0.9 seconds. (159) Received Accounting-Request Id 92 from 103.190.8.10:46772 to 103.204.70.55:1813 length 243 (159) Service-Type = Framed-User (159) Framed-Protocol = PPP (159) NAS-Port = 16085325 (159) NAS-Port-Type = Ethernet (159) User-Name = "gnc_jisnal_516gx65505" (159) Calling-Station-Id = "20:0C:86:2A:0A:C1" (159) NAS-Port-Id = "NEW_LCO" (159) Acct-Session-Id = "81556880" (159) Framed-IP-Address = 172.16.3.245 (159) Acct-Authentic = RADIUS (159) Event-Timestamp = "Mar 27 2026 04:23:25 IST" (159) Acct-Session-Time = 80472 (159) Idle-Timeout = 0 (159) Session-Timeout = 16567066 (159) X-Ascend-Data-Rate = 105000000 (159) Ascend-Xmit-Rate = 105000000 (159) Mikrotik-Rate-Limit = "105M/105M" (159) Acct-Input-Octets = 1063919459 (159) Acct-Input-Gigawords = 0 (159) Acct-Input-Packets = 3054723 (159) Acct-Output-Octets = 4122848687 (159) Acct-Output-Gigawords = 4 (159) Acct-Output-Packets = 18167064 (159) Acct-Status-Type = Interim-Update (159) NAS-Identifier = "CORE-ROUTER" (159) Acct-Delay-Time = 0 (159) NAS-IP-Address = 103.190.8.10 (159) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (159) preacct { (159) [preprocess] = ok (159) policy acct_unique { (159) update request { (159) &Tmp-String-9 := "ai:" (159) } # update request = noop (159) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (159) EXPAND %{hex:&Class} (159) --> (159) EXPAND ^%{hex:&Tmp-String-9} (159) --> ^61693a (159) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (159) else { (159) update request { (159) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (159) --> fbc8ab9a3687569b2bade1ff9684faa9 (159) &Acct-Unique-Session-Id := fbc8ab9a3687569b2bade1ff9684faa9 (159) } # update request = noop (159) } # else = noop (159) update request { (159) &Tmp-String-9 !* ANY (159) } # update request = noop (159) } # policy acct_unique = noop (159) suffix: Checking for suffix after "@" (159) suffix: No '@' in User-Name = "gnc_jisnal_516gx65505", looking up realm NULL (159) suffix: No such realm "NULL" (159) [suffix] = noop (159) [files] = noop (159) } # preacct = ok (159) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (159) accounting { (159) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (159) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (159) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (159) detail: EXPAND %t (159) detail: --> Fri Mar 27 04:23:25 2026 (159) [detail] = ok (159) [unix] = noop (159) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (159) sql: --> type.interim-update.query (159) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (196) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (197), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (197) (159) sql: EXPAND %{User-Name} (159) sql: --> gnc_jisnal_516gx65505 (159) sql: SQL-User-Name set to 'gnc_jisnal_516gx65505' (159) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (159) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.245', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 80472, acctinputoctets = '0' << 32 | '1063919459', acctoutputoctets = '4' << 32 | '4122848687' WHERE AcctUniqueId = 'fbc8ab9a3687569b2bade1ff9684faa9' (159) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.245', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 80472, acctinputoctets = '0' << 32 | '1063919459', acctoutputoctets = '4' << 32 | '4122848687' WHERE AcctUniqueId = 'fbc8ab9a3687569b2bade1ff9684faa9' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (159) sql: SQL query returned: success (159) sql: 1 record(s) updated rlm_sql (sql): Released connection (197) (159) [sql] = ok (159) [exec] = noop (159) attr_filter.accounting_response: EXPAND %{User-Name} (159) attr_filter.accounting_response: --> gnc_jisnal_516gx65505 (159) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (159) [attr_filter.accounting_response] = updated (159) } # accounting = updated (159) Sent Accounting-Response Id 92 from 103.204.70.55:1813 to 103.190.8.10:46772 length 20 (159) Finished request (159) Cleaning up request packet ID 92 with timestamp +31 due to done Waking up in 0.9 seconds. (160) Received Accounting-Request Id 93 from 103.190.8.10:38663 to 103.204.70.55:1813 length 242 (160) Service-Type = Framed-User (160) Framed-Protocol = PPP (160) NAS-Port = 16091073 (160) NAS-Port-Type = Ethernet (160) User-Name = "ANIKET136" (160) Calling-Station-Id = "BC:62:D2:16:15:B9" (160) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (160) Acct-Session-Id = "81557cc1" (160) Framed-IP-Address = 172.16.3.239 (160) Acct-Authentic = RADIUS (160) Event-Timestamp = "Mar 27 2026 04:23:25 IST" (160) Acct-Session-Time = 55252 (160) Idle-Timeout = 0 (160) Session-Timeout = 5137045 (160) X-Ascend-Data-Rate = 62000000 (160) Ascend-Xmit-Rate = 62000000 (160) Mikrotik-Rate-Limit = "62M/62M" (160) Acct-Input-Octets = 728589320 (160) Acct-Input-Gigawords = 0 (160) Acct-Input-Packets = 3309360 (160) Acct-Output-Octets = 1493925451 (160) Acct-Output-Gigawords = 5 (160) Acct-Output-Packets = 18284051 (160) Acct-Status-Type = Interim-Update (160) NAS-Identifier = "CORE-ROUTER" (160) Acct-Delay-Time = 0 (160) NAS-IP-Address = 103.190.8.10 (160) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (160) preacct { (160) [preprocess] = ok (160) policy acct_unique { (160) update request { (160) &Tmp-String-9 := "ai:" (160) } # update request = noop (160) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (160) EXPAND %{hex:&Class} (160) --> (160) EXPAND ^%{hex:&Tmp-String-9} (160) --> ^61693a (160) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (160) else { (160) update request { (160) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (160) --> 2351bc3e4eba3320e0c7f5de38a4b1b9 (160) &Acct-Unique-Session-Id := 2351bc3e4eba3320e0c7f5de38a4b1b9 (160) } # update request = noop (160) } # else = noop (160) update request { (160) &Tmp-String-9 !* ANY (160) } # update request = noop (160) } # policy acct_unique = noop (160) suffix: Checking for suffix after "@" (160) suffix: No '@' in User-Name = "ANIKET136", looking up realm NULL (160) suffix: No such realm "NULL" (160) [suffix] = noop (160) [files] = noop (160) } # preacct = ok (160) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (160) accounting { (160) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (160) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (160) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (160) detail: EXPAND %t (160) detail: --> Fri Mar 27 04:23:25 2026 (160) [detail] = ok (160) [unix] = noop (160) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (160) sql: --> type.interim-update.query (160) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (197) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (198), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (198) (160) sql: EXPAND %{User-Name} (160) sql: --> ANIKET136 (160) sql: SQL-User-Name set to 'ANIKET136' (160) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (160) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.239', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55252, acctinputoctets = '0' << 32 | '728589320', acctoutputoctets = '5' << 32 | '1493925451' WHERE AcctUniqueId = '2351bc3e4eba3320e0c7f5de38a4b1b9' (160) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.239', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 55252, acctinputoctets = '0' << 32 | '728589320', acctoutputoctets = '5' << 32 | '1493925451' WHERE AcctUniqueId = '2351bc3e4eba3320e0c7f5de38a4b1b9' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (160) sql: SQL query returned: success (160) sql: 1 record(s) updated rlm_sql (sql): Released connection (198) (160) [sql] = ok (160) [exec] = noop (160) attr_filter.accounting_response: EXPAND %{User-Name} (160) attr_filter.accounting_response: --> ANIKET136 (160) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (160) [attr_filter.accounting_response] = updated (160) } # accounting = updated (160) Sent Accounting-Response Id 93 from 103.204.70.55:1813 to 103.190.8.10:38663 length 20 (160) Finished request (160) Cleaning up request packet ID 93 with timestamp +31 due to done Waking up in 0.8 seconds. (161) Received Accounting-Request Id 94 from 103.190.8.10:42860 to 103.204.70.55:1813 length 247 (161) Service-Type = Framed-User (161) Framed-Protocol = PPP (161) NAS-Port = 16094520 (161) NAS-Port-Type = Ethernet (161) User-Name = "RAMVRIKSH256" (161) Calling-Station-Id = "10:10:81:FB:E3:46" (161) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (161) Acct-Session-Id = "81558a39" (161) Framed-IP-Address = 172.16.4.96 (161) Acct-Authentic = RADIUS (161) Event-Timestamp = "Mar 27 2026 04:23:25 IST" (161) Acct-Session-Time = 42641 (161) Idle-Timeout = 0 (161) Session-Timeout = 14196434 (161) X-Ascend-Data-Rate = 105000000 (161) Ascend-Xmit-Rate = 105000000 (161) Mikrotik-Rate-Limit = "105M/105M" (161) Acct-Input-Octets = 54 (161) Acct-Input-Gigawords = 0 (161) Acct-Input-Packets = 3 (161) Acct-Output-Octets = 72 (161) Acct-Output-Gigawords = 0 (161) Acct-Output-Packets = 5 (161) Acct-Status-Type = Interim-Update (161) NAS-Identifier = "CORE-ROUTER" (161) Acct-Delay-Time = 0 (161) NAS-IP-Address = 103.190.8.10 (161) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (161) preacct { (161) [preprocess] = ok (161) policy acct_unique { (161) update request { (161) &Tmp-String-9 := "ai:" (161) } # update request = noop (161) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (161) EXPAND %{hex:&Class} (161) --> (161) EXPAND ^%{hex:&Tmp-String-9} (161) --> ^61693a (161) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (161) else { (161) update request { (161) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (161) --> 13b3eb9866bab0756c45b5ff9cf4ef8d (161) &Acct-Unique-Session-Id := 13b3eb9866bab0756c45b5ff9cf4ef8d (161) } # update request = noop (161) } # else = noop (161) update request { (161) &Tmp-String-9 !* ANY (161) } # update request = noop (161) } # policy acct_unique = noop (161) suffix: Checking for suffix after "@" (161) suffix: No '@' in User-Name = "RAMVRIKSH256", looking up realm NULL (161) suffix: No such realm "NULL" (161) [suffix] = noop (161) [files] = noop (161) } # preacct = ok (161) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (161) accounting { (161) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (161) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (161) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (161) detail: EXPAND %t (161) detail: --> Fri Mar 27 04:23:25 2026 (161) [detail] = ok (161) [unix] = noop (161) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (161) sql: --> type.interim-update.query (161) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (198) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (199), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (199) (161) sql: EXPAND %{User-Name} (161) sql: --> RAMVRIKSH256 (161) sql: SQL-User-Name set to 'RAMVRIKSH256' (161) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (161) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.96', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '54', acctoutputoctets = '0' << 32 | '72' WHERE AcctUniqueId = '13b3eb9866bab0756c45b5ff9cf4ef8d' (161) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.96', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '54', acctoutputoctets = '0' << 32 | '72' WHERE AcctUniqueId = '13b3eb9866bab0756c45b5ff9cf4ef8d' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (161) sql: SQL query returned: success (161) sql: 1 record(s) updated rlm_sql (sql): Released connection (199) (161) [sql] = ok (161) [exec] = noop (161) attr_filter.accounting_response: EXPAND %{User-Name} (161) attr_filter.accounting_response: --> RAMVRIKSH256 (161) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (161) [attr_filter.accounting_response] = updated (161) } # accounting = updated (161) Sent Accounting-Response Id 94 from 103.204.70.55:1813 to 103.190.8.10:42860 length 20 (161) Finished request (161) Cleaning up request packet ID 94 with timestamp +31 due to done Waking up in 0.6 seconds. (162) Received Accounting-Request Id 95 from 103.190.8.10:35150 to 103.204.70.55:1813 length 241 (162) Service-Type = Framed-User (162) Framed-Protocol = PPP (162) NAS-Port = 16094522 (162) NAS-Port-Type = Ethernet (162) User-Name = "KARAN302" (162) Calling-Station-Id = "B0:8B:92:97:B9:48" (162) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (162) Acct-Session-Id = "81558a37" (162) Framed-IP-Address = 172.16.4.93 (162) Acct-Authentic = RADIUS (162) Event-Timestamp = "Mar 27 2026 04:23:25 IST" (162) Acct-Session-Time = 42641 (162) Idle-Timeout = 0 (162) Session-Timeout = 804435 (162) X-Ascend-Data-Rate = 62000000 (162) Ascend-Xmit-Rate = 62000000 (162) Mikrotik-Rate-Limit = "62M/62M" (162) Acct-Input-Octets = 404979345 (162) Acct-Input-Gigawords = 0 (162) Acct-Input-Packets = 3375650 (162) Acct-Output-Octets = 235339339 (162) Acct-Output-Gigawords = 5 (162) Acct-Output-Packets = 17424327 (162) Acct-Status-Type = Interim-Update (162) NAS-Identifier = "CORE-ROUTER" (162) Acct-Delay-Time = 0 (162) NAS-IP-Address = 103.190.8.10 (162) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (162) preacct { (162) [preprocess] = ok (162) policy acct_unique { (162) update request { (162) &Tmp-String-9 := "ai:" (162) } # update request = noop (162) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (162) EXPAND %{hex:&Class} (162) --> (162) EXPAND ^%{hex:&Tmp-String-9} (162) --> ^61693a (162) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (162) else { (162) update request { (162) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (162) --> f008cd057032063f44eaa1e9855c80d8 (162) &Acct-Unique-Session-Id := f008cd057032063f44eaa1e9855c80d8 (162) } # update request = noop (162) } # else = noop (162) update request { (162) &Tmp-String-9 !* ANY (162) } # update request = noop (162) } # policy acct_unique = noop (162) suffix: Checking for suffix after "@" (162) suffix: No '@' in User-Name = "KARAN302", looking up realm NULL (162) suffix: No such realm "NULL" (162) [suffix] = noop (162) [files] = noop (162) } # preacct = ok (162) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (162) accounting { (162) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (162) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (162) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (162) detail: EXPAND %t (162) detail: --> Fri Mar 27 04:23:25 2026 (162) [detail] = ok (162) [unix] = noop (162) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (162) sql: --> type.interim-update.query (162) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (199) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (200), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (200) (162) sql: EXPAND %{User-Name} (162) sql: --> KARAN302 (162) sql: SQL-User-Name set to 'KARAN302' (162) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (162) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.93', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '404979345', acctoutputoctets = '5' << 32 | '235339339' WHERE AcctUniqueId = 'f008cd057032063f44eaa1e9855c80d8' (162) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.93', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '404979345', acctoutputoctets = '5' << 32 | '235339339' WHERE AcctUniqueId = 'f008cd057032063f44eaa1e9855c80d8' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (162) sql: SQL query returned: success (162) sql: 1 record(s) updated rlm_sql (sql): Released connection (200) (162) [sql] = ok (162) [exec] = noop (162) attr_filter.accounting_response: EXPAND %{User-Name} (162) attr_filter.accounting_response: --> KARAN302 (162) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (162) [attr_filter.accounting_response] = updated (162) } # accounting = updated (162) Sent Accounting-Response Id 95 from 103.204.70.55:1813 to 103.190.8.10:35150 length 20 (162) Finished request (162) Cleaning up request packet ID 95 with timestamp +31 due to done Waking up in 0.6 seconds. (163) Received Accounting-Request Id 96 from 103.190.8.10:46148 to 103.204.70.55:1813 length 243 (163) Service-Type = Framed-User (163) Framed-Protocol = PPP (163) NAS-Port = 16089419 (163) NAS-Port-Type = Ethernet (163) User-Name = "BIPNA55" (163) Calling-Station-Id = "B8:19:04:DF:81:04" (163) NAS-Port-Id = "VLAN-100--GENEXIS OLT" (163) Acct-Session-Id = "8155767c" (163) Framed-IP-Address = 172.16.4.2 (163) Acct-Authentic = RADIUS (163) Event-Timestamp = "Mar 27 2026 04:23:25 IST" (163) Acct-Session-Time = 63441 (163) Idle-Timeout = 0 (163) Session-Timeout = 26572435 (163) X-Ascend-Data-Rate = 105000000 (163) Ascend-Xmit-Rate = 105000000 (163) Mikrotik-Rate-Limit = "105M/105M" (163) Acct-Input-Octets = 2811153069 (163) Acct-Input-Gigawords = 0 (163) Acct-Input-Packets = 5096782 (163) Acct-Output-Octets = 67724799 (163) Acct-Output-Gigawords = 4 (163) Acct-Output-Packets = 15270341 (163) Acct-Status-Type = Interim-Update (163) NAS-Identifier = "CORE-ROUTER" (163) Acct-Delay-Time = 0 (163) NAS-IP-Address = 103.190.8.10 (163) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (163) preacct { (163) [preprocess] = ok (163) policy acct_unique { (163) update request { (163) &Tmp-String-9 := "ai:" (163) } # update request = noop (163) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (163) EXPAND %{hex:&Class} (163) --> (163) EXPAND ^%{hex:&Tmp-String-9} (163) --> ^61693a (163) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (163) else { (163) update request { (163) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (163) --> f6680a28dfa8ad481d482c0f3b7a44c7 (163) &Acct-Unique-Session-Id := f6680a28dfa8ad481d482c0f3b7a44c7 (163) } # update request = noop (163) } # else = noop (163) update request { (163) &Tmp-String-9 !* ANY (163) } # update request = noop (163) } # policy acct_unique = noop (163) suffix: Checking for suffix after "@" (163) suffix: No '@' in User-Name = "BIPNA55", looking up realm NULL (163) suffix: No such realm "NULL" (163) [suffix] = noop (163) [files] = noop (163) } # preacct = ok (163) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (163) accounting { (163) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (163) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (163) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (163) detail: EXPAND %t (163) detail: --> Fri Mar 27 04:23:25 2026 (163) [detail] = ok (163) [unix] = noop (163) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (163) sql: --> type.interim-update.query (163) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (200) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (201), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (201) (163) sql: EXPAND %{User-Name} (163) sql: --> BIPNA55 (163) sql: SQL-User-Name set to 'BIPNA55' (163) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (163) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.2', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 63441, acctinputoctets = '0' << 32 | '2811153069', acctoutputoctets = '4' << 32 | '67724799' WHERE AcctUniqueId = 'f6680a28dfa8ad481d482c0f3b7a44c7' (163) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.2', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 63441, acctinputoctets = '0' << 32 | '2811153069', acctoutputoctets = '4' << 32 | '67724799' WHERE AcctUniqueId = 'f6680a28dfa8ad481d482c0f3b7a44c7' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (163) sql: SQL query returned: success (163) sql: 1 record(s) updated rlm_sql (sql): Released connection (201) (163) [sql] = ok (163) [exec] = noop (163) attr_filter.accounting_response: EXPAND %{User-Name} (163) attr_filter.accounting_response: --> BIPNA55 (163) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (163) [attr_filter.accounting_response] = updated (163) } # accounting = updated (163) Sent Accounting-Response Id 96 from 103.204.70.55:1813 to 103.190.8.10:46148 length 20 (163) Finished request (163) Cleaning up request packet ID 96 with timestamp +31 due to done Waking up in 0.5 seconds. (164) Received Accounting-Request Id 97 from 103.190.8.10:39861 to 103.204.70.55:1813 length 243 (164) Service-Type = Framed-User (164) Framed-Protocol = PPP (164) NAS-Port = 16094523 (164) NAS-Port-Type = Ethernet (164) User-Name = "SEEMA305" (164) Calling-Station-Id = "B0:8B:92:A8:C8:2A" (164) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (164) Acct-Session-Id = "81558a38" (164) Framed-IP-Address = 172.16.4.32 (164) Acct-Authentic = RADIUS (164) Event-Timestamp = "Mar 27 2026 04:23:25 IST" (164) Acct-Session-Time = 42641 (164) Idle-Timeout = 0 (164) Session-Timeout = 113235 (164) X-Ascend-Data-Rate = 105000000 (164) Ascend-Xmit-Rate = 105000000 (164) Mikrotik-Rate-Limit = "105M/105M" (164) Acct-Input-Octets = 296453063 (164) Acct-Input-Gigawords = 0 (164) Acct-Input-Packets = 3201306 (164) Acct-Output-Octets = 744424537 (164) Acct-Output-Gigawords = 4 (164) Acct-Output-Packets = 12703238 (164) Acct-Status-Type = Interim-Update (164) NAS-Identifier = "CORE-ROUTER" (164) Acct-Delay-Time = 0 (164) NAS-IP-Address = 103.190.8.10 (164) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (164) preacct { (164) [preprocess] = ok (164) policy acct_unique { (164) update request { (164) &Tmp-String-9 := "ai:" (164) } # update request = noop (164) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (164) EXPAND %{hex:&Class} (164) --> (164) EXPAND ^%{hex:&Tmp-String-9} (164) --> ^61693a (164) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (164) else { (164) update request { (164) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (164) --> 8442220c5aa2977bcae9c7e9aaed9942 (164) &Acct-Unique-Session-Id := 8442220c5aa2977bcae9c7e9aaed9942 (164) } # update request = noop (164) } # else = noop (164) update request { (164) &Tmp-String-9 !* ANY (164) } # update request = noop (164) } # policy acct_unique = noop (164) suffix: Checking for suffix after "@" (164) suffix: No '@' in User-Name = "SEEMA305", looking up realm NULL (164) suffix: No such realm "NULL" (164) [suffix] = noop (164) [files] = noop (164) } # preacct = ok (164) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (164) accounting { (164) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (164) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (164) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (164) detail: EXPAND %t (164) detail: --> Fri Mar 27 04:23:25 2026 (164) [detail] = ok (164) [unix] = noop (164) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (164) sql: --> type.interim-update.query (164) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (201) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (202), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (202) (164) sql: EXPAND %{User-Name} (164) sql: --> SEEMA305 (164) sql: SQL-User-Name set to 'SEEMA305' (164) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (164) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.32', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '296453063', acctoutputoctets = '4' << 32 | '744424537' WHERE AcctUniqueId = '8442220c5aa2977bcae9c7e9aaed9942' (164) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565605), acctinterval = 1774565605 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.32', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '296453063', acctoutputoctets = '4' << 32 | '744424537' WHERE AcctUniqueId = '8442220c5aa2977bcae9c7e9aaed9942' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (164) sql: SQL query returned: success (164) sql: 1 record(s) updated rlm_sql (sql): Released connection (202) (164) [sql] = ok (164) [exec] = noop (164) attr_filter.accounting_response: EXPAND %{User-Name} (164) attr_filter.accounting_response: --> SEEMA305 (164) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (164) [attr_filter.accounting_response] = updated (164) } # accounting = updated (164) Sent Accounting-Response Id 97 from 103.204.70.55:1813 to 103.190.8.10:39861 length 20 (164) Finished request (164) Cleaning up request packet ID 97 with timestamp +31 due to done Waking up in 0.5 seconds. (148) Cleaning up request packet ID 81 with timestamp +30 due to cleanup_delay was reached Waking up in 0.5 seconds. (165) Received Accounting-Request Id 98 from 103.190.8.10:56307 to 103.204.70.55:1813 length 236 (165) Service-Type = Framed-User (165) Framed-Protocol = PPP (165) NAS-Port = 16090876 (165) NAS-Port-Type = Ethernet (165) User-Name = "gnc_monu_godam" (165) Calling-Station-Id = "24:A3:F0:A3:C6:44" (165) NAS-Port-Id = "NEW_LCO" (165) Acct-Session-Id = "81557bfb" (165) Framed-IP-Address = 172.16.3.232 (165) Acct-Authentic = RADIUS (165) Event-Timestamp = "Mar 27 2026 04:23:26 IST" (165) Acct-Session-Time = 56162 (165) Idle-Timeout = 0 (165) Session-Timeout = 1595554 (165) X-Ascend-Data-Rate = 205000000 (165) Ascend-Xmit-Rate = 205000000 (165) Mikrotik-Rate-Limit = "205M/205M" (165) Acct-Input-Octets = 76050593 (165) Acct-Input-Gigawords = 0 (165) Acct-Input-Packets = 139834 (165) Acct-Output-Octets = 33383289 (165) Acct-Output-Gigawords = 0 (165) Acct-Output-Packets = 102484 (165) Acct-Status-Type = Interim-Update (165) NAS-Identifier = "CORE-ROUTER" (165) Acct-Delay-Time = 0 (165) NAS-IP-Address = 103.190.8.10 (165) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (165) preacct { (165) [preprocess] = ok (165) policy acct_unique { (165) update request { (165) &Tmp-String-9 := "ai:" (165) } # update request = noop (165) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (165) EXPAND %{hex:&Class} (165) --> (165) EXPAND ^%{hex:&Tmp-String-9} (165) --> ^61693a (165) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (165) else { (165) update request { (165) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (165) --> 5224ccff466a08982303909f462920fb (165) &Acct-Unique-Session-Id := 5224ccff466a08982303909f462920fb (165) } # update request = noop (165) } # else = noop (165) update request { (165) &Tmp-String-9 !* ANY (165) } # update request = noop (165) } # policy acct_unique = noop (165) suffix: Checking for suffix after "@" (165) suffix: No '@' in User-Name = "gnc_monu_godam", looking up realm NULL (165) suffix: No such realm "NULL" (165) [suffix] = noop (165) [files] = noop (165) } # preacct = ok (165) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (165) accounting { (165) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (165) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (165) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (165) detail: EXPAND %t (165) detail: --> Fri Mar 27 04:23:26 2026 (165) [detail] = ok (165) [unix] = noop (165) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (165) sql: --> type.interim-update.query (165) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (202) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (203), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (203) (165) sql: EXPAND %{User-Name} (165) sql: --> gnc_monu_godam (165) sql: SQL-User-Name set to 'gnc_monu_godam' (165) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (165) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565606), acctinterval = 1774565606 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.232', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 56162, acctinputoctets = '0' << 32 | '76050593', acctoutputoctets = '0' << 32 | '33383289' WHERE AcctUniqueId = '5224ccff466a08982303909f462920fb' (165) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565606), acctinterval = 1774565606 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.232', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 56162, acctinputoctets = '0' << 32 | '76050593', acctoutputoctets = '0' << 32 | '33383289' WHERE AcctUniqueId = '5224ccff466a08982303909f462920fb' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (165) sql: SQL query returned: success (165) sql: 1 record(s) updated rlm_sql (sql): Released connection (203) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (204), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (203) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (165) [sql] = ok (165) [exec] = noop (165) attr_filter.accounting_response: EXPAND %{User-Name} (165) attr_filter.accounting_response: --> gnc_monu_godam (165) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (165) [attr_filter.accounting_response] = updated (165) } # accounting = updated (165) Sent Accounting-Response Id 98 from 103.204.70.55:1813 to 103.190.8.10:56307 length 20 (165) Finished request (165) Cleaning up request packet ID 98 with timestamp +32 due to done Waking up in 0.2 seconds. (153) Cleaning up request packet ID 86 with timestamp +30 due to cleanup_delay was reached Ready to process requests (166) Received Accounting-Request Id 99 from 103.190.8.10:44360 to 103.204.70.55:1813 length 239 (166) Service-Type = Framed-User (166) Framed-Protocol = PPP (166) NAS-Port = 16097128 (166) NAS-Port-Type = Ethernet (166) User-Name = "AJU185" (166) Calling-Station-Id = "50:2B:73:C2:AF:E8" (166) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (166) Acct-Session-Id = "81559461" (166) Framed-IP-Address = 172.16.5.159 (166) Acct-Authentic = RADIUS (166) Event-Timestamp = "Mar 27 2026 04:23:27 IST" (166) Acct-Session-Time = 32891 (166) Idle-Timeout = 0 (166) Session-Timeout = 2004284 (166) X-Ascend-Data-Rate = 62000000 (166) Ascend-Xmit-Rate = 62000000 (166) Mikrotik-Rate-Limit = "62M/62M" (166) Acct-Input-Octets = 1090720108 (166) Acct-Input-Gigawords = 0 (166) Acct-Input-Packets = 1334180 (166) Acct-Output-Octets = 2533631334 (166) Acct-Output-Gigawords = 0 (166) Acct-Output-Packets = 2485649 (166) Acct-Status-Type = Interim-Update (166) NAS-Identifier = "CORE-ROUTER" (166) Acct-Delay-Time = 0 (166) NAS-IP-Address = 103.190.8.10 (166) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (166) preacct { (166) [preprocess] = ok (166) policy acct_unique { (166) update request { (166) &Tmp-String-9 := "ai:" (166) } # update request = noop (166) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (166) EXPAND %{hex:&Class} (166) --> (166) EXPAND ^%{hex:&Tmp-String-9} (166) --> ^61693a (166) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (166) else { (166) update request { (166) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (166) --> 67a688f8748c081b5ab60d9b61936a8d (166) &Acct-Unique-Session-Id := 67a688f8748c081b5ab60d9b61936a8d (166) } # update request = noop (166) } # else = noop (166) update request { (166) &Tmp-String-9 !* ANY (166) } # update request = noop (166) } # policy acct_unique = noop (166) suffix: Checking for suffix after "@" (166) suffix: No '@' in User-Name = "AJU185", looking up realm NULL (166) suffix: No such realm "NULL" (166) [suffix] = noop (166) [files] = noop (166) } # preacct = ok (166) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (166) accounting { (166) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (166) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (166) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (166) detail: EXPAND %t (166) detail: --> Fri Mar 27 04:23:27 2026 (166) [detail] = ok (166) [unix] = noop (166) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (166) sql: --> type.interim-update.query (166) sql: Using query template 'query' rlm_sql (sql): Reserved connection (204) (166) sql: EXPAND %{User-Name} (166) sql: --> AJU185 (166) sql: SQL-User-Name set to 'AJU185' (166) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (166) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.159', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 32891, acctinputoctets = '0' << 32 | '1090720108', acctoutputoctets = '0' << 32 | '2533631334' WHERE AcctUniqueId = '67a688f8748c081b5ab60d9b61936a8d' (166) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.159', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 32891, acctinputoctets = '0' << 32 | '1090720108', acctoutputoctets = '0' << 32 | '2533631334' WHERE AcctUniqueId = '67a688f8748c081b5ab60d9b61936a8d' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (166) sql: SQL query returned: success (166) sql: 1 record(s) updated rlm_sql (sql): Released connection (204) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (205), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (204) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (166) [sql] = ok (166) [exec] = noop (166) attr_filter.accounting_response: EXPAND %{User-Name} (166) attr_filter.accounting_response: --> AJU185 (166) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (166) [attr_filter.accounting_response] = updated (166) } # accounting = updated (166) Sent Accounting-Response Id 99 from 103.204.70.55:1813 to 103.190.8.10:44360 length 20 (166) Finished request (166) Cleaning up request packet ID 99 with timestamp +33 due to done Ready to process requests (167) Received Accounting-Request Id 100 from 103.190.8.10:58000 to 103.204.70.55:1813 length 209 (167) Service-Type = Framed-User (167) Framed-Protocol = PPP (167) NAS-Port = 16094225 (167) NAS-Port-Type = Ethernet (167) User-Name = "BHARTI345" (167) Calling-Station-Id = "B8:19:04:CE:B7:F4" (167) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (167) Acct-Session-Id = "8155890e" (167) Framed-IP-Address = 172.16.4.250 (167) Acct-Authentic = RADIUS (167) Event-Timestamp = "Mar 27 2026 04:23:27 IST" (167) Acct-Session-Time = 43682 (167) Idle-Timeout = 0 (167) Session-Timeout = 22146273 (167) Acct-Input-Octets = 21744323 (167) Acct-Input-Gigawords = 0 (167) Acct-Input-Packets = 81965 (167) Acct-Output-Octets = 290020344 (167) Acct-Output-Gigawords = 0 (167) Acct-Output-Packets = 258782 (167) Acct-Status-Type = Interim-Update (167) NAS-Identifier = "CORE-ROUTER" (167) Acct-Delay-Time = 0 (167) NAS-IP-Address = 103.190.8.10 (167) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (167) preacct { (167) [preprocess] = ok (167) policy acct_unique { (167) update request { (167) &Tmp-String-9 := "ai:" (167) } # update request = noop (167) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (167) EXPAND %{hex:&Class} (167) --> (167) EXPAND ^%{hex:&Tmp-String-9} (167) --> ^61693a (167) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (167) else { (167) update request { (167) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (167) --> c7dbed5b5d9014e467e1830a57dec2da (167) &Acct-Unique-Session-Id := c7dbed5b5d9014e467e1830a57dec2da (167) } # update request = noop (167) } # else = noop (167) update request { (167) &Tmp-String-9 !* ANY (167) } # update request = noop (167) } # policy acct_unique = noop (167) suffix: Checking for suffix after "@" (167) suffix: No '@' in User-Name = "BHARTI345", looking up realm NULL (167) suffix: No such realm "NULL" (167) [suffix] = noop (167) [files] = noop (167) } # preacct = ok (167) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (167) accounting { (167) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (167) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (167) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (167) detail: EXPAND %t (167) detail: --> Fri Mar 27 04:23:27 2026 (167) [detail] = ok (167) [unix] = noop (167) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (167) sql: --> type.interim-update.query (167) sql: Using query template 'query' rlm_sql (sql): Reserved connection (205) (167) sql: EXPAND %{User-Name} (167) sql: --> BHARTI345 (167) sql: SQL-User-Name set to 'BHARTI345' (167) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (167) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.250', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 43682, acctinputoctets = '0' << 32 | '21744323', acctoutputoctets = '0' << 32 | '290020344' WHERE AcctUniqueId = 'c7dbed5b5d9014e467e1830a57dec2da' (167) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.250', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 43682, acctinputoctets = '0' << 32 | '21744323', acctoutputoctets = '0' << 32 | '290020344' WHERE AcctUniqueId = 'c7dbed5b5d9014e467e1830a57dec2da' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (167) sql: SQL query returned: success (167) sql: 1 record(s) updated rlm_sql (sql): Released connection (205) (167) [sql] = ok (167) [exec] = noop (167) attr_filter.accounting_response: EXPAND %{User-Name} (167) attr_filter.accounting_response: --> BHARTI345 (167) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (167) [attr_filter.accounting_response] = updated (167) } # accounting = updated (167) Sent Accounting-Response Id 100 from 103.204.70.55:1813 to 103.190.8.10:58000 length 20 (167) Finished request (167) Cleaning up request packet ID 100 with timestamp +33 due to done Ready to process requests (168) Received Accounting-Request Id 101 from 103.190.8.10:49571 to 103.204.70.55:1813 length 241 (168) Service-Type = Framed-User (168) Framed-Protocol = PPP (168) NAS-Port = 16094226 (168) NAS-Port-Type = Ethernet (168) User-Name = "SIRAJ180" (168) Calling-Station-Id = "B8:19:04:DD:8B:44" (168) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (168) Acct-Session-Id = "8155890f" (168) Framed-IP-Address = 172.16.3.5 (168) Acct-Authentic = RADIUS (168) Event-Timestamp = "Mar 27 2026 04:23:27 IST" (168) Acct-Session-Time = 43681 (168) Idle-Timeout = 0 (168) Session-Timeout = 14715873 (168) X-Ascend-Data-Rate = 62000000 (168) Ascend-Xmit-Rate = 62000000 (168) Mikrotik-Rate-Limit = "62M/62M" (168) Acct-Input-Octets = 638896418 (168) Acct-Input-Gigawords = 0 (168) Acct-Input-Packets = 3038499 (168) Acct-Output-Octets = 1277219458 (168) Acct-Output-Gigawords = 4 (168) Acct-Output-Packets = 15060682 (168) Acct-Status-Type = Interim-Update (168) NAS-Identifier = "CORE-ROUTER" (168) Acct-Delay-Time = 0 (168) NAS-IP-Address = 103.190.8.10 (168) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (168) preacct { (168) [preprocess] = ok (168) policy acct_unique { (168) update request { (168) &Tmp-String-9 := "ai:" (168) } # update request = noop (168) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (168) EXPAND %{hex:&Class} (168) --> (168) EXPAND ^%{hex:&Tmp-String-9} (168) --> ^61693a (168) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (168) else { (168) update request { (168) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (168) --> 2ed83dae4cbdf9c2b4da6504e52ea90a (168) &Acct-Unique-Session-Id := 2ed83dae4cbdf9c2b4da6504e52ea90a (168) } # update request = noop (168) } # else = noop (168) update request { (168) &Tmp-String-9 !* ANY (168) } # update request = noop (168) } # policy acct_unique = noop (168) suffix: Checking for suffix after "@" (168) suffix: No '@' in User-Name = "SIRAJ180", looking up realm NULL (168) suffix: No such realm "NULL" (168) [suffix] = noop (168) [files] = noop (168) } # preacct = ok (168) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (168) accounting { (168) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (168) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (168) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (168) detail: EXPAND %t (168) detail: --> Fri Mar 27 04:23:27 2026 (168) [detail] = ok (168) [unix] = noop (168) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (168) sql: --> type.interim-update.query (168) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (205) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (206), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (206) (168) sql: EXPAND %{User-Name} (168) sql: --> SIRAJ180 (168) sql: SQL-User-Name set to 'SIRAJ180' (168) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (168) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.5', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 43681, acctinputoctets = '0' << 32 | '638896418', acctoutputoctets = '4' << 32 | '1277219458' WHERE AcctUniqueId = '2ed83dae4cbdf9c2b4da6504e52ea90a' (168) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.5', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 43681, acctinputoctets = '0' << 32 | '638896418', acctoutputoctets = '4' << 32 | '1277219458' WHERE AcctUniqueId = '2ed83dae4cbdf9c2b4da6504e52ea90a' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (168) sql: SQL query returned: success (168) sql: 1 record(s) updated rlm_sql (sql): Released connection (206) (168) [sql] = ok (168) [exec] = noop (168) attr_filter.accounting_response: EXPAND %{User-Name} (168) attr_filter.accounting_response: --> SIRAJ180 (168) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (168) [attr_filter.accounting_response] = updated (168) } # accounting = updated (168) Sent Accounting-Response Id 101 from 103.204.70.55:1813 to 103.190.8.10:49571 length 20 (168) Finished request (168) Cleaning up request packet ID 101 with timestamp +33 due to done Ready to process requests (169) Received Accounting-Request Id 102 from 103.190.8.10:44998 to 103.204.70.55:1813 length 242 (169) Service-Type = Framed-User (169) Framed-Protocol = PPP (169) NAS-Port = 16094262 (169) NAS-Port-Type = Ethernet (169) User-Name = "RITESH185" (169) Calling-Station-Id = "40:33:06:41:24:C2" (169) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (169) Acct-Session-Id = "81558934" (169) Framed-IP-Address = 172.16.5.16 (169) Acct-Authentic = RADIUS (169) Event-Timestamp = "Mar 27 2026 04:23:27 IST" (169) Acct-Session-Time = 43552 (169) Idle-Timeout = 0 (169) Session-Timeout = 8926944 (169) X-Ascend-Data-Rate = 62000000 (169) Ascend-Xmit-Rate = 62000000 (169) Mikrotik-Rate-Limit = "62M/62M" (169) Acct-Input-Octets = 1043708224 (169) Acct-Input-Gigawords = 0 (169) Acct-Input-Packets = 5521947 (169) Acct-Output-Octets = 2657780318 (169) Acct-Output-Gigawords = 6 (169) Acct-Output-Packets = 22683674 (169) Acct-Status-Type = Interim-Update (169) NAS-Identifier = "CORE-ROUTER" (169) Acct-Delay-Time = 0 (169) NAS-IP-Address = 103.190.8.10 (169) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (169) preacct { (169) [preprocess] = ok (169) policy acct_unique { (169) update request { (169) &Tmp-String-9 := "ai:" (169) } # update request = noop (169) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (169) EXPAND %{hex:&Class} (169) --> (169) EXPAND ^%{hex:&Tmp-String-9} (169) --> ^61693a (169) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (169) else { (169) update request { (169) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (169) --> 82ef9a44bb5c91d6f3f2dc9e269d3ad0 (169) &Acct-Unique-Session-Id := 82ef9a44bb5c91d6f3f2dc9e269d3ad0 (169) } # update request = noop (169) } # else = noop (169) update request { (169) &Tmp-String-9 !* ANY (169) } # update request = noop (169) } # policy acct_unique = noop (169) suffix: Checking for suffix after "@" (169) suffix: No '@' in User-Name = "RITESH185", looking up realm NULL (169) suffix: No such realm "NULL" (169) [suffix] = noop (169) [files] = noop (169) } # preacct = ok (169) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (169) accounting { (169) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (169) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (169) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (169) detail: EXPAND %t (169) detail: --> Fri Mar 27 04:23:27 2026 (169) [detail] = ok (169) [unix] = noop (169) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (169) sql: --> type.interim-update.query (169) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (206) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (207), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (207) (169) sql: EXPAND %{User-Name} (169) sql: --> RITESH185 (169) sql: SQL-User-Name set to 'RITESH185' (169) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (169) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.16', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 43552, acctinputoctets = '0' << 32 | '1043708224', acctoutputoctets = '6' << 32 | '2657780318' WHERE AcctUniqueId = '82ef9a44bb5c91d6f3f2dc9e269d3ad0' (169) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.16', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 43552, acctinputoctets = '0' << 32 | '1043708224', acctoutputoctets = '6' << 32 | '2657780318' WHERE AcctUniqueId = '82ef9a44bb5c91d6f3f2dc9e269d3ad0' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (169) sql: SQL query returned: success (169) sql: 1 record(s) updated rlm_sql (sql): Released connection (207) (169) [sql] = ok (169) [exec] = noop (169) attr_filter.accounting_response: EXPAND %{User-Name} (169) attr_filter.accounting_response: --> RITESH185 (169) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (169) [attr_filter.accounting_response] = updated (169) } # accounting = updated (169) Sent Accounting-Response Id 102 from 103.204.70.55:1813 to 103.190.8.10:44998 length 20 (169) Finished request (169) Cleaning up request packet ID 102 with timestamp +33 due to done Ready to process requests (170) Received Accounting-Request Id 103 from 103.190.8.10:47151 to 103.204.70.55:1813 length 233 (170) Service-Type = Framed-User (170) Framed-Protocol = PPP (170) NAS-Port = 16099368 (170) NAS-Port-Type = Ethernet (170) User-Name = "Ali4" (170) Calling-Station-Id = "C0:2B:56:03:B0:45" (170) NAS-Port-Id = "RB_INTERNET-71" (170) Acct-Session-Id = "81559cb9" (170) Framed-IP-Address = 172.16.3.228 (170) Acct-Authentic = RADIUS (170) Event-Timestamp = "Mar 27 2026 04:23:27 IST" (170) Acct-Session-Time = 21191 (170) Idle-Timeout = 0 (170) Session-Timeout = 14779782 (170) X-Ascend-Data-Rate = 305000000 (170) Ascend-Xmit-Rate = 305000000 (170) Mikrotik-Rate-Limit = "305M/305M" (170) Acct-Input-Octets = 395500069 (170) Acct-Input-Gigawords = 0 (170) Acct-Input-Packets = 1684568 (170) Acct-Output-Octets = 1975825538 (170) Acct-Output-Gigawords = 2 (170) Acct-Output-Packets = 8586640 (170) Acct-Status-Type = Interim-Update (170) NAS-Identifier = "CORE-ROUTER" (170) Acct-Delay-Time = 0 (170) NAS-IP-Address = 103.190.8.10 (170) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (170) preacct { (170) [preprocess] = ok (170) policy acct_unique { (170) update request { (170) &Tmp-String-9 := "ai:" (170) } # update request = noop (170) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (170) EXPAND %{hex:&Class} (170) --> (170) EXPAND ^%{hex:&Tmp-String-9} (170) --> ^61693a (170) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (170) else { (170) update request { (170) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (170) --> 9d1ff00a7f84aab087fd47394df3e8a0 (170) &Acct-Unique-Session-Id := 9d1ff00a7f84aab087fd47394df3e8a0 (170) } # update request = noop (170) } # else = noop (170) update request { (170) &Tmp-String-9 !* ANY (170) } # update request = noop (170) } # policy acct_unique = noop (170) suffix: Checking for suffix after "@" (170) suffix: No '@' in User-Name = "Ali4", looking up realm NULL (170) suffix: No such realm "NULL" (170) [suffix] = noop (170) [files] = noop (170) } # preacct = ok (170) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (170) accounting { (170) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (170) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (170) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (170) detail: EXPAND %t (170) detail: --> Fri Mar 27 04:23:27 2026 (170) [detail] = ok (170) [unix] = noop (170) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (170) sql: --> type.interim-update.query (170) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (207) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (208), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (208) (170) sql: EXPAND %{User-Name} (170) sql: --> Ali4 (170) sql: SQL-User-Name set to 'Ali4' (170) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (170) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.228', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21191, acctinputoctets = '0' << 32 | '395500069', acctoutputoctets = '2' << 32 | '1975825538' WHERE AcctUniqueId = '9d1ff00a7f84aab087fd47394df3e8a0' (170) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.228', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21191, acctinputoctets = '0' << 32 | '395500069', acctoutputoctets = '2' << 32 | '1975825538' WHERE AcctUniqueId = '9d1ff00a7f84aab087fd47394df3e8a0' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (170) sql: SQL query returned: success (170) sql: 1 record(s) updated rlm_sql (sql): Released connection (208) (170) [sql] = ok (170) [exec] = noop (170) attr_filter.accounting_response: EXPAND %{User-Name} (170) attr_filter.accounting_response: --> Ali4 (170) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (170) [attr_filter.accounting_response] = updated (170) } # accounting = updated (170) Sent Accounting-Response Id 103 from 103.204.70.55:1813 to 103.190.8.10:47151 length 20 (170) Finished request (170) Cleaning up request packet ID 103 with timestamp +33 due to done Ready to process requests (171) Received Accounting-Request Id 104 from 103.190.8.10:45328 to 103.204.70.55:1813 length 236 (171) Service-Type = Framed-User (171) Framed-Protocol = PPP (171) NAS-Port = 16099371 (171) NAS-Port-Type = Ethernet (171) User-Name = "gnc_deepak_825" (171) Calling-Station-Id = "24:A3:F0:A3:C3:54" (171) NAS-Port-Id = "NEW_LCO" (171) Acct-Session-Id = "81559cbb" (171) Framed-IP-Address = 172.16.3.249 (171) Acct-Authentic = RADIUS (171) Event-Timestamp = "Mar 27 2026 04:23:27 IST" (171) Acct-Session-Time = 21190 (171) Idle-Timeout = 0 (171) Session-Timeout = 5534982 (171) X-Ascend-Data-Rate = 305000000 (171) Ascend-Xmit-Rate = 305000000 (171) Mikrotik-Rate-Limit = "305M/305M" (171) Acct-Input-Octets = 218629 (171) Acct-Input-Gigawords = 0 (171) Acct-Input-Packets = 2919 (171) Acct-Output-Octets = 134002 (171) Acct-Output-Gigawords = 0 (171) Acct-Output-Packets = 1931 (171) Acct-Status-Type = Interim-Update (171) NAS-Identifier = "CORE-ROUTER" (171) Acct-Delay-Time = 0 (171) NAS-IP-Address = 103.190.8.10 (171) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (171) preacct { (171) [preprocess] = ok (171) policy acct_unique { (171) update request { (171) &Tmp-String-9 := "ai:" (171) } # update request = noop (171) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (171) EXPAND %{hex:&Class} (171) --> (171) EXPAND ^%{hex:&Tmp-String-9} (171) --> ^61693a (171) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (171) else { (171) update request { (171) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (171) --> 9b9454d8f0c9353d036eb91bb9b52c05 (171) &Acct-Unique-Session-Id := 9b9454d8f0c9353d036eb91bb9b52c05 (171) } # update request = noop (171) } # else = noop (171) update request { (171) &Tmp-String-9 !* ANY (171) } # update request = noop (171) } # policy acct_unique = noop (171) suffix: Checking for suffix after "@" (171) suffix: No '@' in User-Name = "gnc_deepak_825", looking up realm NULL (171) suffix: No such realm "NULL" (171) [suffix] = noop (171) [files] = noop (171) } # preacct = ok (171) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (171) accounting { (171) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (171) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (171) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (171) detail: EXPAND %t (171) detail: --> Fri Mar 27 04:23:27 2026 (171) [detail] = ok (171) [unix] = noop (171) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (171) sql: --> type.interim-update.query (171) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (208) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (209), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (209) (171) sql: EXPAND %{User-Name} (171) sql: --> gnc_deepak_825 (171) sql: SQL-User-Name set to 'gnc_deepak_825' (171) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (171) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.249', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21190, acctinputoctets = '0' << 32 | '218629', acctoutputoctets = '0' << 32 | '134002' WHERE AcctUniqueId = '9b9454d8f0c9353d036eb91bb9b52c05' (171) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.249', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21190, acctinputoctets = '0' << 32 | '218629', acctoutputoctets = '0' << 32 | '134002' WHERE AcctUniqueId = '9b9454d8f0c9353d036eb91bb9b52c05' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (171) sql: SQL query returned: success (171) sql: 1 record(s) updated rlm_sql (sql): Released connection (209) (171) [sql] = ok (171) [exec] = noop (171) attr_filter.accounting_response: EXPAND %{User-Name} (171) attr_filter.accounting_response: --> gnc_deepak_825 (171) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (171) [attr_filter.accounting_response] = updated (171) } # accounting = updated (171) Sent Accounting-Response Id 104 from 103.204.70.55:1813 to 103.190.8.10:45328 length 20 (171) Finished request (171) Cleaning up request packet ID 104 with timestamp +33 due to done Ready to process requests (172) Received Accounting-Request Id 105 from 103.190.8.10:35387 to 103.204.70.55:1813 length 235 (172) Service-Type = Framed-User (172) Framed-Protocol = PPP (172) NAS-Port = 16099370 (172) NAS-Port-Type = Ethernet (172) User-Name = "gnc_manish_k5" (172) Calling-Station-Id = "24:A3:F0:A3:C7:04" (172) NAS-Port-Id = "NEW_LCO" (172) Acct-Session-Id = "81559cbc" (172) Framed-IP-Address = 172.16.3.250 (172) Acct-Authentic = RADIUS (172) Event-Timestamp = "Mar 27 2026 04:23:27 IST" (172) Acct-Session-Time = 21190 (172) Idle-Timeout = 0 (172) Session-Timeout = 2770182 (172) X-Ascend-Data-Rate = 305000000 (172) Ascend-Xmit-Rate = 305000000 (172) Mikrotik-Rate-Limit = "305M/305M" (172) Acct-Input-Octets = 885659 (172) Acct-Input-Gigawords = 0 (172) Acct-Input-Packets = 7008 (172) Acct-Output-Octets = 333812 (172) Acct-Output-Gigawords = 0 (172) Acct-Output-Packets = 5650 (172) Acct-Status-Type = Interim-Update (172) NAS-Identifier = "CORE-ROUTER" (172) Acct-Delay-Time = 0 (172) NAS-IP-Address = 103.190.8.10 (172) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (172) preacct { (172) [preprocess] = ok (172) policy acct_unique { (172) update request { (172) &Tmp-String-9 := "ai:" (172) } # update request = noop (172) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (172) EXPAND %{hex:&Class} (172) --> (172) EXPAND ^%{hex:&Tmp-String-9} (172) --> ^61693a (172) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (172) else { (172) update request { (172) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (172) --> 74c377755c9c996a132e3968363fbe4a (172) &Acct-Unique-Session-Id := 74c377755c9c996a132e3968363fbe4a (172) } # update request = noop (172) } # else = noop (172) update request { (172) &Tmp-String-9 !* ANY (172) } # update request = noop (172) } # policy acct_unique = noop (172) suffix: Checking for suffix after "@" (172) suffix: No '@' in User-Name = "gnc_manish_k5", looking up realm NULL (172) suffix: No such realm "NULL" (172) [suffix] = noop (172) [files] = noop (172) } # preacct = ok (172) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (172) accounting { (172) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (172) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (172) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (172) detail: EXPAND %t (172) detail: --> Fri Mar 27 04:23:27 2026 (172) [detail] = ok (172) [unix] = noop (172) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (172) sql: --> type.interim-update.query (172) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (209) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (210), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (210) (172) sql: EXPAND %{User-Name} (172) sql: --> gnc_manish_k5 (172) sql: SQL-User-Name set to 'gnc_manish_k5' (172) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (172) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.250', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21190, acctinputoctets = '0' << 32 | '885659', acctoutputoctets = '0' << 32 | '333812' WHERE AcctUniqueId = '74c377755c9c996a132e3968363fbe4a' (172) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.250', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21190, acctinputoctets = '0' << 32 | '885659', acctoutputoctets = '0' << 32 | '333812' WHERE AcctUniqueId = '74c377755c9c996a132e3968363fbe4a' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (172) sql: SQL query returned: success (172) sql: 1 record(s) updated rlm_sql (sql): Released connection (210) (172) [sql] = ok (172) [exec] = noop (172) attr_filter.accounting_response: EXPAND %{User-Name} (172) attr_filter.accounting_response: --> gnc_manish_k5 (172) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (172) [attr_filter.accounting_response] = updated (172) } # accounting = updated (172) Sent Accounting-Response Id 105 from 103.204.70.55:1813 to 103.190.8.10:35387 length 20 (172) Finished request (172) Cleaning up request packet ID 105 with timestamp +33 due to done Ready to process requests (173) Received Accounting-Request Id 106 from 103.190.8.10:55380 to 103.204.70.55:1813 length 254 (173) Service-Type = Framed-User (173) Framed-Protocol = PPP (173) NAS-Port = 16099369 (173) NAS-Port-Type = Ethernet (173) User-Name = "sarvan_01" (173) Calling-Station-Id = "88:C9:B3:06:F1:CC" (173) Called-Station-Id = "TRIPLE9191" (173) NAS-Port-Id = "Vlan-89-VIKASH_NET" (173) Acct-Session-Id = "81559cba" (173) Framed-IP-Address = 172.16.3.240 (173) Acct-Authentic = RADIUS (173) Event-Timestamp = "Mar 27 2026 04:23:27 IST" (173) Acct-Session-Time = 21191 (173) Idle-Timeout = 0 (173) Session-Timeout = 1906182 (173) X-Ascend-Data-Rate = 105000000 (173) Ascend-Xmit-Rate = 105000000 (173) Mikrotik-Rate-Limit = "105M/105M" (173) Acct-Input-Octets = 986906102 (173) Acct-Input-Gigawords = 0 (173) Acct-Input-Packets = 2237281 (173) Acct-Output-Octets = 3866926477 (173) Acct-Output-Gigawords = 1 (173) Acct-Output-Packets = 6751010 (173) Acct-Status-Type = Interim-Update (173) NAS-Identifier = "CORE-ROUTER" (173) Acct-Delay-Time = 0 (173) NAS-IP-Address = 103.190.8.10 (173) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (173) preacct { (173) [preprocess] = ok (173) policy acct_unique { (173) update request { (173) &Tmp-String-9 := "ai:" (173) } # update request = noop (173) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (173) EXPAND %{hex:&Class} (173) --> (173) EXPAND ^%{hex:&Tmp-String-9} (173) --> ^61693a (173) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (173) else { (173) update request { (173) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (173) --> 37246857e8bb98a261e039ece9ae822a (173) &Acct-Unique-Session-Id := 37246857e8bb98a261e039ece9ae822a (173) } # update request = noop (173) } # else = noop (173) update request { (173) &Tmp-String-9 !* ANY (173) } # update request = noop (173) } # policy acct_unique = noop (173) suffix: Checking for suffix after "@" (173) suffix: No '@' in User-Name = "sarvan_01", looking up realm NULL (173) suffix: No such realm "NULL" (173) [suffix] = noop (173) [files] = noop (173) } # preacct = ok (173) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (173) accounting { (173) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (173) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (173) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (173) detail: EXPAND %t (173) detail: --> Fri Mar 27 04:23:27 2026 (173) [detail] = ok (173) [unix] = noop (173) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (173) sql: --> type.interim-update.query (173) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (210) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (211), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (211) (173) sql: EXPAND %{User-Name} (173) sql: --> sarvan_01 (173) sql: SQL-User-Name set to 'sarvan_01' (173) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (173) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.240', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21191, acctinputoctets = '0' << 32 | '986906102', acctoutputoctets = '1' << 32 | '3866926477' WHERE AcctUniqueId = '37246857e8bb98a261e039ece9ae822a' (173) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565607), acctinterval = 1774565607 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.240', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21191, acctinputoctets = '0' << 32 | '986906102', acctoutputoctets = '1' << 32 | '3866926477' WHERE AcctUniqueId = '37246857e8bb98a261e039ece9ae822a' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (173) sql: SQL query returned: success (173) sql: 1 record(s) updated rlm_sql (sql): Released connection (211) (173) [sql] = ok (173) [exec] = noop (173) attr_filter.accounting_response: EXPAND %{User-Name} (173) attr_filter.accounting_response: --> sarvan_01 (173) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (173) [attr_filter.accounting_response] = updated (173) } # accounting = updated (173) Sent Accounting-Response Id 106 from 103.204.70.55:1813 to 103.190.8.10:55380 length 20 (173) Finished request (173) Cleaning up request packet ID 106 with timestamp +33 due to done Ready to process requests (174) Received Accounting-Request Id 107 from 103.190.8.10:52246 to 103.204.70.55:1813 length 234 (174) Service-Type = Framed-User (174) Framed-Protocol = PPP (174) NAS-Port = 16099373 (174) NAS-Port-Type = Ethernet (174) User-Name = "gnc_deepaK93" (174) Calling-Station-Id = "24:A3:F0:A3:D3:84" (174) NAS-Port-Id = "NEW_LCO" (174) Acct-Session-Id = "81559cbd" (174) Framed-IP-Address = 172.16.3.254 (174) Acct-Authentic = RADIUS (174) Event-Timestamp = "Mar 27 2026 04:23:28 IST" (174) Acct-Session-Time = 21190 (174) Idle-Timeout = 0 (174) Session-Timeout = 4843782 (174) X-Ascend-Data-Rate = 205000000 (174) Ascend-Xmit-Rate = 205000000 (174) Mikrotik-Rate-Limit = "205M/205M" (174) Acct-Input-Octets = 176843116 (174) Acct-Input-Gigawords = 0 (174) Acct-Input-Packets = 440956 (174) Acct-Output-Octets = 2583858412 (174) Acct-Output-Gigawords = 0 (174) Acct-Output-Packets = 2151988 (174) Acct-Status-Type = Interim-Update (174) NAS-Identifier = "CORE-ROUTER" (174) Acct-Delay-Time = 0 (174) NAS-IP-Address = 103.190.8.10 (174) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (174) preacct { (174) [preprocess] = ok (174) policy acct_unique { (174) update request { (174) &Tmp-String-9 := "ai:" (174) } # update request = noop (174) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (174) EXPAND %{hex:&Class} (174) --> (174) EXPAND ^%{hex:&Tmp-String-9} (174) --> ^61693a (174) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (174) else { (174) update request { (174) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (174) --> 726770609ece4d715fbe624ad1df9b99 (174) &Acct-Unique-Session-Id := 726770609ece4d715fbe624ad1df9b99 (174) } # update request = noop (174) } # else = noop (174) update request { (174) &Tmp-String-9 !* ANY (174) } # update request = noop (174) } # policy acct_unique = noop (174) suffix: Checking for suffix after "@" (174) suffix: No '@' in User-Name = "gnc_deepaK93", looking up realm NULL (174) suffix: No such realm "NULL" (174) [suffix] = noop (174) [files] = noop (174) } # preacct = ok (174) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (174) accounting { (174) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (174) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (174) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (174) detail: EXPAND %t (174) detail: --> Fri Mar 27 04:23:28 2026 (174) [detail] = ok (174) [unix] = noop (174) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (174) sql: --> type.interim-update.query (174) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (211) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (212), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (212) (174) sql: EXPAND %{User-Name} (174) sql: --> gnc_deepaK93 (174) sql: SQL-User-Name set to 'gnc_deepaK93' (174) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (174) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565608), acctinterval = 1774565608 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.254', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21190, acctinputoctets = '0' << 32 | '176843116', acctoutputoctets = '0' << 32 | '2583858412' WHERE AcctUniqueId = '726770609ece4d715fbe624ad1df9b99' (174) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565608), acctinterval = 1774565608 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.254', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21190, acctinputoctets = '0' << 32 | '176843116', acctoutputoctets = '0' << 32 | '2583858412' WHERE AcctUniqueId = '726770609ece4d715fbe624ad1df9b99' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (174) sql: SQL query returned: success (174) sql: 1 record(s) updated rlm_sql (sql): Released connection (212) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (213), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (212) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (174) [sql] = ok (174) [exec] = noop (174) attr_filter.accounting_response: EXPAND %{User-Name} (174) attr_filter.accounting_response: --> gnc_deepaK93 (174) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (174) [attr_filter.accounting_response] = updated (174) } # accounting = updated (174) Sent Accounting-Response Id 107 from 103.204.70.55:1813 to 103.190.8.10:52246 length 20 (174) Finished request (174) Cleaning up request packet ID 107 with timestamp +34 due to done Ready to process requests (175) Received Access-Request Id 108 from 103.190.8.10:35187 to 103.204.70.55:1812 length 179 (175) Service-Type = Framed-User (175) Framed-Protocol = PPP (175) NAS-Port = 16116467 (175) NAS-Port-Type = Ethernet (175) User-Name = "SUNNY261" (175) Calling-Station-Id = "E8:65:D4:15:37:A8" (175) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (175) Acct-Session-Id = "8155dddf" (175) CHAP-Challenge = 0x42f9ed768dcc3a0d8d0cda4bc1054365 (175) CHAP-Password = 0x016721fb5b157228f48a3e8a24dc519a73 (175) NAS-Identifier = "CORE-ROUTER" (175) NAS-IP-Address = 103.190.8.10 (175) Message-Authenticator = 0xd90652523c0ccc728abd7e3d6421bc7f (175) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (175) authorize { (175) [preprocess] = ok (175) chap: &control:Auth-Type := CHAP (175) [chap] = ok (175) [mschap] = noop (175) [digest] = noop (175) suffix: Checking for suffix after "@" (175) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (175) suffix: No such realm "NULL" (175) [suffix] = noop (175) eap: No EAP-Message, not doing EAP (175) [eap] = noop (175) files: users: Matched entry DEFAULT at line 167 (175) [files] = ok (175) sql: EXPAND %{User-Name} (175) sql: --> SUNNY261 (175) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (213) (175) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (175) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (175) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (175) sql: User found in radcheck table (175) sql: Conditional check items matched, merging assignment check items (175) sql: Cleartext-Password := "123456" (175) sql: Expiration := "Mar 26 2026 23:59:59 IST" (175) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (175) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (175) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (175) sql: User found in radreply table, merging reply items (175) sql: Mikrotik-Rate-Limit := "62M/62M" (175) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (175) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (175) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (175) sql: User found in the group table (175) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (175) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (175) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (175) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (175) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (175) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (175) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (175) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (175) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (175) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (213) (175) [sql] = ok (175) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (175) [expiration] = userlock (175) } # authorize = userlock (175) Using Post-Auth-Type Reject (175) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (175) Post-Auth-Type REJECT { (175) sql: EXPAND .query (175) sql: --> .query (175) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (213) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (214), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (214) (175) sql: EXPAND %{User-Name} (175) sql: --> SUNNY261 (175) sql: SQL-User-Name set to 'SUNNY261' (175) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (175) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x016721fb5b157228f48a3e8a24dc519a73', 'Access-Reject', '2026-03-27 04:23:28.945862' ) (175) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x016721fb5b157228f48a3e8a24dc519a73', 'Access-Reject', '2026-03-27 04:23:28.945862' ) (175) sql: SQL query returned: success (175) sql: 1 record(s) updated rlm_sql (sql): Released connection (214) (175) [sql] = ok (175) attr_filter.access_reject: EXPAND %{User-Name} (175) attr_filter.access_reject: --> SUNNY261 (175) attr_filter.access_reject: Matched entry DEFAULT at line 11 (175) [attr_filter.access_reject] = updated (175) [eap] = noop (175) policy remove_reply_message_if_eap { (175) if (&reply:EAP-Message && &reply:Reply-Message) { (175) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (175) else { (175) [noop] = noop (175) } # else = noop (175) } # policy remove_reply_message_if_eap = noop (175) } # Post-Auth-Type REJECT = updated (175) Sent Access-Reject Id 108 from 103.204.70.55:1812 to 103.190.8.10:35187 length 38 (175) Finished request Waking up in 1.9 seconds. (176) Received Accounting-Request Id 109 from 103.190.8.10:33080 to 103.204.70.55:1813 length 249 (176) Service-Type = Framed-User (176) Framed-Protocol = PPP (176) NAS-Port = 16094890 (176) NAS-Port-Type = Ethernet (176) User-Name = "DEEPAKHAUZKHAS" (176) Calling-Station-Id = "20:0C:86:3F:49:69" (176) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (176) Acct-Session-Id = "81558ba7" (176) Framed-IP-Address = 172.16.3.130 (176) Acct-Authentic = RADIUS (176) Event-Timestamp = "Mar 27 2026 04:23:29 IST" (176) Acct-Session-Time = 41471 (176) Idle-Timeout = 0 (176) Session-Timeout = 6160062 (176) X-Ascend-Data-Rate = 305000000 (176) Ascend-Xmit-Rate = 305000000 (176) Mikrotik-Rate-Limit = "305M/305M" (176) Acct-Input-Octets = 63831376 (176) Acct-Input-Gigawords = 0 (176) Acct-Input-Packets = 180061 (176) Acct-Output-Octets = 903083869 (176) Acct-Output-Gigawords = 0 (176) Acct-Output-Packets = 736513 (176) Acct-Status-Type = Interim-Update (176) NAS-Identifier = "CORE-ROUTER" (176) Acct-Delay-Time = 0 (176) NAS-IP-Address = 103.190.8.10 (176) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (176) preacct { (176) [preprocess] = ok (176) policy acct_unique { (176) update request { (176) &Tmp-String-9 := "ai:" (176) } # update request = noop (176) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (176) EXPAND %{hex:&Class} (176) --> (176) EXPAND ^%{hex:&Tmp-String-9} (176) --> ^61693a (176) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (176) else { (176) update request { (176) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (176) --> 29b03f8bf47a3834ed0b0767373fbe65 (176) &Acct-Unique-Session-Id := 29b03f8bf47a3834ed0b0767373fbe65 (176) } # update request = noop (176) } # else = noop (176) update request { (176) &Tmp-String-9 !* ANY (176) } # update request = noop (176) } # policy acct_unique = noop (176) suffix: Checking for suffix after "@" (176) suffix: No '@' in User-Name = "DEEPAKHAUZKHAS", looking up realm NULL (176) suffix: No such realm "NULL" (176) [suffix] = noop (176) [files] = noop (176) } # preacct = ok (176) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (176) accounting { (176) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (176) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (176) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (176) detail: EXPAND %t (176) detail: --> Fri Mar 27 04:23:29 2026 (176) [detail] = ok (176) [unix] = noop (176) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (176) sql: --> type.interim-update.query (176) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (214) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (215), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (215) (176) sql: EXPAND %{User-Name} (176) sql: --> DEEPAKHAUZKHAS (176) sql: SQL-User-Name set to 'DEEPAKHAUZKHAS' (176) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (176) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565609), acctinterval = 1774565609 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.130', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 41471, acctinputoctets = '0' << 32 | '63831376', acctoutputoctets = '0' << 32 | '903083869' WHERE AcctUniqueId = '29b03f8bf47a3834ed0b0767373fbe65' (176) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565609), acctinterval = 1774565609 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.130', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 41471, acctinputoctets = '0' << 32 | '63831376', acctoutputoctets = '0' << 32 | '903083869' WHERE AcctUniqueId = '29b03f8bf47a3834ed0b0767373fbe65' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (176) sql: SQL query returned: success (176) sql: 1 record(s) updated rlm_sql (sql): Released connection (215) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (216), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (215) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (176) [sql] = ok (176) [exec] = noop (176) attr_filter.accounting_response: EXPAND %{User-Name} (176) attr_filter.accounting_response: --> DEEPAKHAUZKHAS (176) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (176) [attr_filter.accounting_response] = updated (176) } # accounting = updated (176) Sent Accounting-Response Id 109 from 103.204.70.55:1813 to 103.190.8.10:33080 length 20 (176) Finished request (176) Cleaning up request packet ID 109 with timestamp +35 due to done Waking up in 1.7 seconds. (177) Received Access-Request Id 110 from 103.190.8.10:38980 to 103.204.70.55:1812 length 179 (177) Service-Type = Framed-User (177) Framed-Protocol = PPP (177) NAS-Port = 16116469 (177) NAS-Port-Type = Ethernet (177) User-Name = "SUNNY261" (177) Calling-Station-Id = "E8:65:D4:15:37:A8" (177) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (177) Acct-Session-Id = "8155dde0" (177) CHAP-Challenge = 0x59ee5051c77afeee555e0949bc676f1c (177) CHAP-Password = 0x01b3565e2c120417f22bcf810cb48b5e81 (177) NAS-Identifier = "CORE-ROUTER" (177) NAS-IP-Address = 103.190.8.10 (177) Message-Authenticator = 0xa4e7a29ef7a04335583df219b28fd98f (177) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (177) authorize { (177) [preprocess] = ok (177) chap: &control:Auth-Type := CHAP (177) [chap] = ok (177) [mschap] = noop (177) [digest] = noop (177) suffix: Checking for suffix after "@" (177) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (177) suffix: No such realm "NULL" (177) [suffix] = noop (177) eap: No EAP-Message, not doing EAP (177) [eap] = noop (177) files: users: Matched entry DEFAULT at line 167 (177) [files] = ok (177) sql: EXPAND %{User-Name} (177) sql: --> SUNNY261 (177) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (216) (177) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (177) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (177) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (177) sql: User found in radcheck table (177) sql: Conditional check items matched, merging assignment check items (177) sql: Cleartext-Password := "123456" (177) sql: Expiration := "Mar 26 2026 23:59:59 IST" (177) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (177) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (177) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (177) sql: User found in radreply table, merging reply items (177) sql: Mikrotik-Rate-Limit := "62M/62M" (177) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (177) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (177) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (177) sql: User found in the group table (177) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (177) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (177) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (177) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (177) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (177) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (177) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (177) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (177) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (177) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (216) (177) [sql] = ok (177) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (177) [expiration] = userlock (177) } # authorize = userlock (177) Using Post-Auth-Type Reject (177) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (177) Post-Auth-Type REJECT { (177) sql: EXPAND .query (177) sql: --> .query (177) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (216) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (217), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (217) (177) sql: EXPAND %{User-Name} (177) sql: --> SUNNY261 (177) sql: SQL-User-Name set to 'SUNNY261' (177) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (177) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01b3565e2c120417f22bcf810cb48b5e81', 'Access-Reject', '2026-03-27 04:23:29.989081' ) (177) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01b3565e2c120417f22bcf810cb48b5e81', 'Access-Reject', '2026-03-27 04:23:29.989081' ) (177) sql: SQL query returned: success (177) sql: 1 record(s) updated rlm_sql (sql): Released connection (217) (177) [sql] = ok (177) attr_filter.access_reject: EXPAND %{User-Name} (177) attr_filter.access_reject: --> SUNNY261 (177) attr_filter.access_reject: Matched entry DEFAULT at line 11 (177) [attr_filter.access_reject] = updated (177) [eap] = noop (177) policy remove_reply_message_if_eap { (177) if (&reply:EAP-Message && &reply:Reply-Message) { (177) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (177) else { (177) [noop] = noop (177) } # else = noop (177) } # policy remove_reply_message_if_eap = noop (177) } # Post-Auth-Type REJECT = updated (177) Sent Access-Reject Id 110 from 103.204.70.55:1812 to 103.190.8.10:38980 length 38 (177) Finished request Waking up in 0.9 seconds. (178) Received Accounting-Request Id 111 from 103.190.8.10:48476 to 103.204.70.55:1813 length 237 (178) Service-Type = Framed-User (178) Framed-Protocol = PPP (178) NAS-Port = 16099375 (178) NAS-Port-Type = Ethernet (178) User-Name = "DEV_K9" (178) Calling-Station-Id = "54:47:E8:6B:E1:8C" (178) NAS-Port-Id = "VLAN-83-SK VISON" (178) Acct-Session-Id = "81559cbe" (178) Framed-IP-Address = 172.16.3.223 (178) Acct-Authentic = RADIUS (178) Event-Timestamp = "Mar 27 2026 04:23:30 IST" (178) Acct-Session-Time = 21190 (178) Idle-Timeout = 0 (178) Session-Timeout = 3806980 (178) X-Ascend-Data-Rate = 105000000 (178) Ascend-Xmit-Rate = 105000000 (178) Mikrotik-Rate-Limit = "105M/105M" (178) Acct-Input-Octets = 123469887 (178) Acct-Input-Gigawords = 0 (178) Acct-Input-Packets = 899317 (178) Acct-Output-Octets = 1421474660 (178) Acct-Output-Gigawords = 1 (178) Acct-Output-Packets = 4369565 (178) Acct-Status-Type = Interim-Update (178) NAS-Identifier = "CORE-ROUTER" (178) Acct-Delay-Time = 0 (178) NAS-IP-Address = 103.190.8.10 (178) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (178) preacct { (178) [preprocess] = ok (178) policy acct_unique { (178) update request { (178) &Tmp-String-9 := "ai:" (178) } # update request = noop (178) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (178) EXPAND %{hex:&Class} (178) --> (178) EXPAND ^%{hex:&Tmp-String-9} (178) --> ^61693a (178) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (178) else { (178) update request { (178) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (178) --> 73b49b9fece9913e0083624c8d06063b (178) &Acct-Unique-Session-Id := 73b49b9fece9913e0083624c8d06063b (178) } # update request = noop (178) } # else = noop (178) update request { (178) &Tmp-String-9 !* ANY (178) } # update request = noop (178) } # policy acct_unique = noop (178) suffix: Checking for suffix after "@" (178) suffix: No '@' in User-Name = "DEV_K9", looking up realm NULL (178) suffix: No such realm "NULL" (178) [suffix] = noop (178) [files] = noop (178) } # preacct = ok (178) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (178) accounting { (178) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (178) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (178) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (178) detail: EXPAND %t (178) detail: --> Fri Mar 27 04:23:30 2026 (178) [detail] = ok (178) [unix] = noop (178) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (178) sql: --> type.interim-update.query (178) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (217) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (218), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (218) (178) sql: EXPAND %{User-Name} (178) sql: --> DEV_K9 (178) sql: SQL-User-Name set to 'DEV_K9' (178) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (178) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565610), acctinterval = 1774565610 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.223', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21190, acctinputoctets = '0' << 32 | '123469887', acctoutputoctets = '1' << 32 | '1421474660' WHERE AcctUniqueId = '73b49b9fece9913e0083624c8d06063b' (178) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565610), acctinterval = 1774565610 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.223', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 21190, acctinputoctets = '0' << 32 | '123469887', acctoutputoctets = '1' << 32 | '1421474660' WHERE AcctUniqueId = '73b49b9fece9913e0083624c8d06063b' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (178) sql: SQL query returned: success (178) sql: 1 record(s) updated rlm_sql (sql): Released connection (218) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (219), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (218) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (178) [sql] = ok (178) [exec] = noop (178) attr_filter.accounting_response: EXPAND %{User-Name} (178) attr_filter.accounting_response: --> DEV_K9 (178) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (178) [attr_filter.accounting_response] = updated (178) } # accounting = updated (178) Sent Accounting-Response Id 111 from 103.204.70.55:1813 to 103.190.8.10:48476 length 20 (178) Finished request (178) Cleaning up request packet ID 111 with timestamp +35 due to done Waking up in 0.9 seconds. (175) Cleaning up request packet ID 108 with timestamp +34 due to cleanup_delay was reached Waking up in 1.0 seconds. (179) Received Access-Request Id 112 from 103.190.8.10:37223 to 103.204.70.55:1812 length 179 (179) Service-Type = Framed-User (179) Framed-Protocol = PPP (179) NAS-Port = 16116470 (179) NAS-Port-Type = Ethernet (179) User-Name = "SUNNY261" (179) Calling-Station-Id = "E8:65:D4:15:37:A8" (179) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (179) Acct-Session-Id = "8155dde1" (179) CHAP-Challenge = 0xc455821b5af77eaf48882b0032c0b1f1 (179) CHAP-Password = 0x017e8efbc596556587705735a5c9da827e (179) NAS-Identifier = "CORE-ROUTER" (179) NAS-IP-Address = 103.190.8.10 (179) Message-Authenticator = 0x4fdd590f133291c9de4bfae176e18ab1 (179) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (179) authorize { (179) [preprocess] = ok (179) chap: &control:Auth-Type := CHAP (179) [chap] = ok (179) [mschap] = noop (179) [digest] = noop (179) suffix: Checking for suffix after "@" (179) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (179) suffix: No such realm "NULL" (179) [suffix] = noop (179) eap: No EAP-Message, not doing EAP (179) [eap] = noop (179) files: users: Matched entry DEFAULT at line 167 (179) [files] = ok (179) sql: EXPAND %{User-Name} (179) sql: --> SUNNY261 (179) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (219) (179) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (179) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (179) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (179) sql: User found in radcheck table (179) sql: Conditional check items matched, merging assignment check items (179) sql: Cleartext-Password := "123456" (179) sql: Expiration := "Mar 26 2026 23:59:59 IST" (179) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (179) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (179) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (179) sql: User found in radreply table, merging reply items (179) sql: Mikrotik-Rate-Limit := "62M/62M" (179) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (179) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (179) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (179) sql: User found in the group table (179) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (179) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (179) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (179) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (179) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (179) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (179) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (179) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (179) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (179) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (219) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (220), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (219) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (179) [sql] = ok (179) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (179) [expiration] = userlock (179) } # authorize = userlock (179) Using Post-Auth-Type Reject (179) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (179) Post-Auth-Type REJECT { (179) sql: EXPAND .query (179) sql: --> .query (179) sql: Using query template 'query' rlm_sql (sql): Reserved connection (220) (179) sql: EXPAND %{User-Name} (179) sql: --> SUNNY261 (179) sql: SQL-User-Name set to 'SUNNY261' (179) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (179) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x017e8efbc596556587705735a5c9da827e', 'Access-Reject', '2026-03-27 04:23:31.089491' ) (179) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x017e8efbc596556587705735a5c9da827e', 'Access-Reject', '2026-03-27 04:23:31.089491' ) (179) sql: SQL query returned: success (179) sql: 1 record(s) updated rlm_sql (sql): Released connection (220) (179) [sql] = ok (179) attr_filter.access_reject: EXPAND %{User-Name} (179) attr_filter.access_reject: --> SUNNY261 (179) attr_filter.access_reject: Matched entry DEFAULT at line 11 (179) [attr_filter.access_reject] = updated (179) [eap] = noop (179) policy remove_reply_message_if_eap { (179) if (&reply:EAP-Message && &reply:Reply-Message) { (179) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (179) else { (179) [noop] = noop (179) } # else = noop (179) } # policy remove_reply_message_if_eap = noop (179) } # Post-Auth-Type REJECT = updated (179) Sent Access-Reject Id 112 from 103.204.70.55:1812 to 103.190.8.10:37223 length 38 (179) Finished request Waking up in 0.8 seconds. (180) Received Accounting-Request Id 113 from 103.190.8.10:57783 to 103.204.70.55:1813 length 244 (180) Service-Type = Framed-User (180) Framed-Protocol = PPP (180) NAS-Port = 16097605 (180) NAS-Port-Type = Ethernet (180) User-Name = "BHARAT129TF" (180) Calling-Station-Id = "50:2B:73:6F:5E:20" (180) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (180) Acct-Session-Id = "8155963e" (180) Framed-IP-Address = 172.16.5.44 (180) Acct-Authentic = RADIUS (180) Event-Timestamp = "Mar 27 2026 04:23:31 IST" (180) Acct-Session-Time = 30681 (180) Idle-Timeout = 0 (180) Session-Timeout = 1224469 (180) X-Ascend-Data-Rate = 62000000 (180) Ascend-Xmit-Rate = 62000000 (180) Mikrotik-Rate-Limit = "62M/62M" (180) Acct-Input-Octets = 1136793371 (180) Acct-Input-Gigawords = 0 (180) Acct-Input-Packets = 3089276 (180) Acct-Output-Octets = 2097070302 (180) Acct-Output-Gigawords = 2 (180) Acct-Output-Packets = 8707256 (180) Acct-Status-Type = Interim-Update (180) NAS-Identifier = "CORE-ROUTER" (180) Acct-Delay-Time = 0 (180) NAS-IP-Address = 103.190.8.10 (180) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (180) preacct { (180) [preprocess] = ok (180) policy acct_unique { (180) update request { (180) &Tmp-String-9 := "ai:" (180) } # update request = noop (180) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (180) EXPAND %{hex:&Class} (180) --> (180) EXPAND ^%{hex:&Tmp-String-9} (180) --> ^61693a (180) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (180) else { (180) update request { (180) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (180) --> e5e3f0e9181fa17dabe5e146ee49e100 (180) &Acct-Unique-Session-Id := e5e3f0e9181fa17dabe5e146ee49e100 (180) } # update request = noop (180) } # else = noop (180) update request { (180) &Tmp-String-9 !* ANY (180) } # update request = noop (180) } # policy acct_unique = noop (180) suffix: Checking for suffix after "@" (180) suffix: No '@' in User-Name = "BHARAT129TF", looking up realm NULL (180) suffix: No such realm "NULL" (180) [suffix] = noop (180) [files] = noop (180) } # preacct = ok (180) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (180) accounting { (180) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (180) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (180) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (180) detail: EXPAND %t (180) detail: --> Fri Mar 27 04:23:31 2026 (180) [detail] = ok (180) [unix] = noop (180) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (180) sql: --> type.interim-update.query (180) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (220) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (221), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (221) (180) sql: EXPAND %{User-Name} (180) sql: --> BHARAT129TF (180) sql: SQL-User-Name set to 'BHARAT129TF' (180) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (180) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565611), acctinterval = 1774565611 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.44', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30681, acctinputoctets = '0' << 32 | '1136793371', acctoutputoctets = '2' << 32 | '2097070302' WHERE AcctUniqueId = 'e5e3f0e9181fa17dabe5e146ee49e100' (180) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565611), acctinterval = 1774565611 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.44', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 30681, acctinputoctets = '0' << 32 | '1136793371', acctoutputoctets = '2' << 32 | '2097070302' WHERE AcctUniqueId = 'e5e3f0e9181fa17dabe5e146ee49e100' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (180) sql: SQL query returned: success (180) sql: 1 record(s) updated rlm_sql (sql): Released connection (221) (180) [sql] = ok (180) [exec] = noop (180) attr_filter.accounting_response: EXPAND %{User-Name} (180) attr_filter.accounting_response: --> BHARAT129TF (180) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (180) [attr_filter.accounting_response] = updated (180) } # accounting = updated (180) Sent Accounting-Response Id 113 from 103.204.70.55:1813 to 103.190.8.10:57783 length 20 (180) Finished request (180) Cleaning up request packet ID 113 with timestamp +37 due to done Waking up in 0.2 seconds. (181) Received Accounting-Request Id 114 from 103.190.8.10:41805 to 103.204.70.55:1813 length 240 (181) Service-Type = Framed-User (181) Framed-Protocol = PPP (181) NAS-Port = 16096423 (181) NAS-Port-Type = Ethernet (181) User-Name = "KISHAN6" (181) Calling-Station-Id = "78:17:35:95:7B:F4" (181) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (181) Acct-Session-Id = "815591a3" (181) Framed-IP-Address = 172.16.3.136 (181) Acct-Authentic = RADIUS (181) Event-Timestamp = "Mar 27 2026 04:23:31 IST" (181) Acct-Session-Time = 36011 (181) Idle-Timeout = 0 (181) Session-Timeout = 6068199 (181) X-Ascend-Data-Rate = 22000000 (181) Ascend-Xmit-Rate = 22000000 (181) Mikrotik-Rate-Limit = "22M/22M" (181) Acct-Input-Octets = 961841987 (181) Acct-Input-Gigawords = 0 (181) Acct-Input-Packets = 1951835 (181) Acct-Output-Octets = 5351947 (181) Acct-Output-Gigawords = 1 (181) Acct-Output-Packets = 3872282 (181) Acct-Status-Type = Interim-Update (181) NAS-Identifier = "CORE-ROUTER" (181) Acct-Delay-Time = 0 (181) NAS-IP-Address = 103.190.8.10 (181) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (181) preacct { (181) [preprocess] = ok (181) policy acct_unique { (181) update request { (181) &Tmp-String-9 := "ai:" (181) } # update request = noop (181) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (181) EXPAND %{hex:&Class} (181) --> (181) EXPAND ^%{hex:&Tmp-String-9} (181) --> ^61693a (181) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (181) else { (181) update request { (181) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (181) --> 7cf365cfd44c3db1df4a8511e61b3166 (181) &Acct-Unique-Session-Id := 7cf365cfd44c3db1df4a8511e61b3166 (181) } # update request = noop (181) } # else = noop (181) update request { (181) &Tmp-String-9 !* ANY (181) } # update request = noop (181) } # policy acct_unique = noop (181) suffix: Checking for suffix after "@" (181) suffix: No '@' in User-Name = "KISHAN6", looking up realm NULL (181) suffix: No such realm "NULL" (181) [suffix] = noop (181) [files] = noop (181) } # preacct = ok (181) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (181) accounting { (181) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (181) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (181) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (181) detail: EXPAND %t (181) detail: --> Fri Mar 27 04:23:31 2026 (181) [detail] = ok (181) [unix] = noop (181) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (181) sql: --> type.interim-update.query (181) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (221) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (222), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (222) (181) sql: EXPAND %{User-Name} (181) sql: --> KISHAN6 (181) sql: SQL-User-Name set to 'KISHAN6' (181) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (181) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565611), acctinterval = 1774565611 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.136', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 36011, acctinputoctets = '0' << 32 | '961841987', acctoutputoctets = '1' << 32 | '5351947' WHERE AcctUniqueId = '7cf365cfd44c3db1df4a8511e61b3166' (181) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565611), acctinterval = 1774565611 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.136', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 36011, acctinputoctets = '0' << 32 | '961841987', acctoutputoctets = '1' << 32 | '5351947' WHERE AcctUniqueId = '7cf365cfd44c3db1df4a8511e61b3166' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (181) sql: SQL query returned: success (181) sql: 1 record(s) updated rlm_sql (sql): Released connection (222) (181) [sql] = ok (181) [exec] = noop (181) attr_filter.accounting_response: EXPAND %{User-Name} (181) attr_filter.accounting_response: --> KISHAN6 (181) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (181) [attr_filter.accounting_response] = updated (181) } # accounting = updated (181) Sent Accounting-Response Id 114 from 103.204.70.55:1813 to 103.190.8.10:41805 length 20 (181) Finished request (181) Cleaning up request packet ID 114 with timestamp +37 due to done Waking up in 0.2 seconds. (177) Cleaning up request packet ID 110 with timestamp +35 due to cleanup_delay was reached Waking up in 1.0 seconds. (182) Received Accounting-Request Id 115 from 103.190.8.10:51678 to 103.204.70.55:1813 length 254 (182) Service-Type = Framed-User (182) Framed-Protocol = PPP (182) NAS-Port = 16097499 (182) NAS-Port-Type = Ethernet (182) User-Name = "DEMOMETRO" (182) Calling-Station-Id = "B0:4E:26:03:4D:4D" (182) NAS-Port-Id = "MISHRA_NEHURU_NAGAR_10.90.92.3" (182) Acct-Session-Id = "815595d5" (182) Framed-IP-Address = 172.16.5.51 (182) Acct-Authentic = RADIUS (182) Event-Timestamp = "Mar 27 2026 04:23:32 IST" (182) Acct-Session-Time = 31200 (182) Idle-Timeout = 0 (182) Session-Timeout = 2088988 (182) X-Ascend-Data-Rate = 105000000 (182) Ascend-Xmit-Rate = 105000000 (182) Mikrotik-Rate-Limit = "105M/105M" (182) Acct-Input-Octets = 1184536 (182) Acct-Input-Gigawords = 0 (182) Acct-Input-Packets = 10017 (182) Acct-Output-Octets = 4903973 (182) Acct-Output-Gigawords = 0 (182) Acct-Output-Packets = 9574 (182) Acct-Status-Type = Interim-Update (182) NAS-Identifier = "CORE-ROUTER" (182) Acct-Delay-Time = 0 (182) NAS-IP-Address = 103.190.8.10 (182) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (182) preacct { (182) [preprocess] = ok (182) policy acct_unique { (182) update request { (182) &Tmp-String-9 := "ai:" (182) } # update request = noop (182) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (182) EXPAND %{hex:&Class} (182) --> (182) EXPAND ^%{hex:&Tmp-String-9} (182) --> ^61693a (182) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (182) else { (182) update request { (182) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (182) --> 8f7f126d29435acab456d89c138c3f04 (182) &Acct-Unique-Session-Id := 8f7f126d29435acab456d89c138c3f04 (182) } # update request = noop (182) } # else = noop (182) update request { (182) &Tmp-String-9 !* ANY (182) } # update request = noop (182) } # policy acct_unique = noop (182) suffix: Checking for suffix after "@" (182) suffix: No '@' in User-Name = "DEMOMETRO", looking up realm NULL (182) suffix: No such realm "NULL" (182) [suffix] = noop (182) [files] = noop (182) } # preacct = ok (182) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (182) accounting { (182) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (182) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (182) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (182) detail: EXPAND %t (182) detail: --> Fri Mar 27 04:23:32 2026 (182) [detail] = ok (182) [unix] = noop (182) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (182) sql: --> type.interim-update.query (182) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (222) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (223), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (223) (182) sql: EXPAND %{User-Name} (182) sql: --> DEMOMETRO (182) sql: SQL-User-Name set to 'DEMOMETRO' (182) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (182) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565612), acctinterval = 1774565612 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.51', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 31200, acctinputoctets = '0' << 32 | '1184536', acctoutputoctets = '0' << 32 | '4903973' WHERE AcctUniqueId = '8f7f126d29435acab456d89c138c3f04' (182) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565612), acctinterval = 1774565612 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.51', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 31200, acctinputoctets = '0' << 32 | '1184536', acctoutputoctets = '0' << 32 | '4903973' WHERE AcctUniqueId = '8f7f126d29435acab456d89c138c3f04' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (182) sql: SQL query returned: success (182) sql: 1 record(s) updated rlm_sql (sql): Released connection (223) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (224), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (223) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (182) [sql] = ok (182) [exec] = noop (182) attr_filter.accounting_response: EXPAND %{User-Name} (182) attr_filter.accounting_response: --> DEMOMETRO (182) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (182) [attr_filter.accounting_response] = updated (182) } # accounting = updated (182) Sent Accounting-Response Id 115 from 103.204.70.55:1813 to 103.190.8.10:51678 length 20 (182) Finished request (182) Cleaning up request packet ID 115 with timestamp +38 due to done Waking up in 1.0 seconds. (183) Received Access-Request Id 116 from 103.190.8.10:44009 to 103.204.70.55:1812 length 170 (183) Service-Type = Framed-User (183) Framed-Protocol = PPP (183) NAS-Port = 16116472 (183) NAS-Port-Type = Ethernet (183) User-Name = "Mala@" (183) Calling-Station-Id = "04:95:E6:A7:C7:C0" (183) NAS-Port-Id = "RB_INTERNET-71" (183) Acct-Session-Id = "8155dde2" (183) CHAP-Challenge = 0x321c7f9315c2095ce0cc08e488991ce0 (183) CHAP-Password = 0x011bdfd47b6d9399185bc074828367a695 (183) NAS-Identifier = "CORE-ROUTER" (183) NAS-IP-Address = 103.190.8.10 (183) Message-Authenticator = 0x3c740a1f04cd30bb67ac5ce30327daa1 (183) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (183) authorize { (183) [preprocess] = ok (183) chap: &control:Auth-Type := CHAP (183) [chap] = ok (183) [mschap] = noop (183) [digest] = noop (183) suffix: Checking for suffix after "@" (183) suffix: Looking up realm "" for User-Name = "Mala@" (183) suffix: No such realm "" (183) [suffix] = noop (183) eap: No EAP-Message, not doing EAP (183) [eap] = noop (183) files: users: Matched entry DEFAULT at line 167 (183) [files] = ok (183) sql: EXPAND %{User-Name} (183) sql: --> Mala@ (183) sql: SQL-User-Name set to 'Mala@' rlm_sql (sql): Reserved connection (224) (183) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (183) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'Mala@' ORDER BY id (183) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'Mala@' ORDER BY id (183) sql: User found in radcheck table (183) sql: Conditional check items matched, merging assignment check items (183) sql: Cleartext-Password := "123456" (183) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (183) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'Mala@' ORDER BY id (183) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'Mala@' ORDER BY id (183) sql: User found in radreply table, merging reply items (183) sql: Mikrotik-Rate-Limit := "105M/105M" (183) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (183) sql: --> SELECT groupname FROM radusergroup WHERE username = 'Mala@' ORDER BY priority (183) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'Mala@' ORDER BY priority (183) sql: User found in the group table (183) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (183) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (183) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (183) sql: Group "REELTIME-100-Mbps-Rs-100": Conditional check items matched (183) sql: Group "REELTIME-100-Mbps-Rs-100": Merging assignment check items (183) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (183) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (183) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-100-Mbps-Rs-100' ORDER BY id (183) sql: Group "REELTIME-100-Mbps-Rs-100": Merging reply items (183) sql: Mikrotik-Rate-Limit := "105M/105M" rlm_sql (sql): Released connection (224) (183) [sql] = ok (183) [expiration] = noop (183) [logintime] = noop (183) pap: WARNING: Auth-Type already set. Not setting to PAP (183) [pap] = noop (183) } # authorize = ok (183) Found Auth-Type = CHAP (183) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (183) Auth-Type CHAP { (183) chap: Comparing with "known good" Cleartext-Password (183) chap: CHAP user "Mala@" authenticated successfully (183) [chap] = ok (183) } # Auth-Type CHAP = ok (183) # Executing section post-auth from file /etc/freeradius/3.0/sites-enabled/default (183) post-auth { (183) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) { (183) if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE (183) update { (183) No attributes updated for RHS &session-state: (183) } # update = noop (183) sql: EXPAND .query (183) sql: --> .query (183) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (224) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (225), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (225) (183) sql: EXPAND %{User-Name} (183) sql: --> Mala@ (183) sql: SQL-User-Name set to 'Mala@' (183) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (183) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'Mala@', '0x011bdfd47b6d9399185bc074828367a695', 'Access-Accept', '2026-03-27 04:23:32.460691' ) (183) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'Mala@', '0x011bdfd47b6d9399185bc074828367a695', 'Access-Accept', '2026-03-27 04:23:32.460691' ) (183) sql: SQL query returned: success (183) sql: 1 record(s) updated rlm_sql (sql): Released connection (225) (183) [sql] = ok (183) [exec] = noop (183) policy remove_reply_message_if_eap { (183) if (&reply:EAP-Message && &reply:Reply-Message) { (183) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (183) else { (183) [noop] = noop (183) } # else = noop (183) } # policy remove_reply_message_if_eap = noop (183) if (EAP-Key-Name && &reply:EAP-Session-Id) { (183) if (EAP-Key-Name && &reply:EAP-Session-Id) -> FALSE (183) } # post-auth = ok (183) Sent Access-Accept Id 116 from 103.204.70.55:1812 to 103.190.8.10:44009 length 67 (183) Framed-Protocol = PPP (183) Framed-Compression = Van-Jacobson-TCP-IP (183) Mikrotik-Rate-Limit = "105M/105M" (183) Finished request Waking up in 0.6 seconds. (184) Received Accounting-Request Id 117 from 103.190.8.10:49135 to 103.204.70.55:1813 length 145 (184) Service-Type = Framed-User (184) Framed-Protocol = PPP (184) NAS-Port = 16116472 (184) NAS-Port-Type = Ethernet (184) User-Name = "Mala@" (184) Calling-Station-Id = "04:95:E6:A7:C7:C0" (184) NAS-Port-Id = "RB_INTERNET-71" (184) Acct-Session-Id = "8155dde2" (184) Framed-IP-Address = 172.16.3.243 (184) Acct-Authentic = RADIUS (184) Event-Timestamp = "Mar 27 2026 04:23:32 IST" (184) Acct-Status-Type = Start (184) NAS-Identifier = "CORE-ROUTER" (184) Acct-Delay-Time = 0 (184) NAS-IP-Address = 103.190.8.10 (184) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (184) preacct { (184) [preprocess] = ok (184) policy acct_unique { (184) update request { (184) &Tmp-String-9 := "ai:" (184) } # update request = noop (184) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (184) EXPAND %{hex:&Class} (184) --> (184) EXPAND ^%{hex:&Tmp-String-9} (184) --> ^61693a (184) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (184) else { (184) update request { (184) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (184) --> bb08155de6ca5ee1ffa445b946d5c097 (184) &Acct-Unique-Session-Id := bb08155de6ca5ee1ffa445b946d5c097 (184) } # update request = noop (184) } # else = noop (184) update request { (184) &Tmp-String-9 !* ANY (184) } # update request = noop (184) } # policy acct_unique = noop (184) suffix: Checking for suffix after "@" (184) suffix: Looking up realm "" for User-Name = "Mala@" (184) suffix: No such realm "" (184) [suffix] = noop (184) [files] = noop (184) } # preacct = ok (184) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (184) accounting { (184) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (184) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (184) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (184) detail: EXPAND %t (184) detail: --> Fri Mar 27 04:23:32 2026 (184) [detail] = ok (184) [unix] = ok (184) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (184) sql: --> type.start.query (184) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (225) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (226), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (226) (184) sql: EXPAND %{User-Name} (184) sql: --> Mala@ (184) sql: SQL-User-Name set to 'Mala@' (184) sql: EXPAND INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}', '%{Delegated-IPv6-Prefix}' ) (184) sql: --> INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('8155dde2', 'bb08155de6ca5ee1ffa445b946d5c097', 'Mala@', '', '103.190.8.10', 'RB_INTERNET-71', 'Ethernet', FROM_UNIXTIME(1774565612), FROM_UNIXTIME(1774565612), NULL, '0', 'RADIUS', '', '', '0', '0', '', '04:95:E6:A7:C7:C0', '', 'Framed-User', 'PPP', '172.16.3.243', '', '', '', '' ) (184) sql: Executing query: INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_start, connectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('8155dde2', 'bb08155de6ca5ee1ffa445b946d5c097', 'Mala@', '', '103.190.8.10', 'RB_INTERNET-71', 'Ethernet', FROM_UNIXTIME(1774565612), FROM_UNIXTIME(1774565612), NULL, '0', 'RADIUS', '', '', '0', '0', '', '04:95:E6:A7:C7:C0', '', 'Framed-User', 'PPP', '172.16.3.243', '', '', '', '' ) (184) sql: SQL query returned: success (184) sql: 1 record(s) updated rlm_sql (sql): Released connection (226) (184) [sql] = ok (184) [exec] = noop (184) attr_filter.accounting_response: EXPAND %{User-Name} (184) attr_filter.accounting_response: --> Mala@ (184) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (184) [attr_filter.accounting_response] = updated (184) } # accounting = updated (184) Sent Accounting-Response Id 117 from 103.204.70.55:1813 to 103.190.8.10:49135 length 20 (184) Finished request (184) Cleaning up request packet ID 117 with timestamp +38 due to done Waking up in 0.6 seconds. (185) Received Accounting-Request Id 118 from 103.190.8.10:59712 to 103.204.70.55:1813 length 243 (185) Service-Type = Framed-User (185) Framed-Protocol = PPP (185) NAS-Port = 16095858 (185) NAS-Port-Type = Ethernet (185) User-Name = "SAHIL417" (185) Calling-Station-Id = "BC:62:D2:C1:9E:02" (185) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (185) Acct-Session-Id = "81558f6f" (185) Framed-IP-Address = 172.16.3.113 (185) Acct-Authentic = RADIUS (185) Event-Timestamp = "Mar 27 2026 04:23:32 IST" (185) Acct-Session-Time = 38091 (185) Idle-Timeout = 0 (185) Session-Timeout = 16697478 (185) X-Ascend-Data-Rate = 105000000 (185) Ascend-Xmit-Rate = 105000000 (185) Mikrotik-Rate-Limit = "105M/105M" (185) Acct-Input-Octets = 22577754 (185) Acct-Input-Gigawords = 0 (185) Acct-Input-Packets = 100259 (185) Acct-Output-Octets = 480748708 (185) Acct-Output-Gigawords = 0 (185) Acct-Output-Packets = 418693 (185) Acct-Status-Type = Interim-Update (185) NAS-Identifier = "CORE-ROUTER" (185) Acct-Delay-Time = 0 (185) NAS-IP-Address = 103.190.8.10 (185) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (185) preacct { (185) [preprocess] = ok (185) policy acct_unique { (185) update request { (185) &Tmp-String-9 := "ai:" (185) } # update request = noop (185) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (185) EXPAND %{hex:&Class} (185) --> (185) EXPAND ^%{hex:&Tmp-String-9} (185) --> ^61693a (185) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (185) else { (185) update request { (185) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (185) --> 2516f6055ad067b7cf768149f6af1f49 (185) &Acct-Unique-Session-Id := 2516f6055ad067b7cf768149f6af1f49 (185) } # update request = noop (185) } # else = noop (185) update request { (185) &Tmp-String-9 !* ANY (185) } # update request = noop (185) } # policy acct_unique = noop (185) suffix: Checking for suffix after "@" (185) suffix: No '@' in User-Name = "SAHIL417", looking up realm NULL (185) suffix: No such realm "NULL" (185) [suffix] = noop (185) [files] = noop (185) } # preacct = ok (185) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (185) accounting { (185) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (185) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (185) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (185) detail: EXPAND %t (185) detail: --> Fri Mar 27 04:23:32 2026 (185) [detail] = ok (185) [unix] = noop (185) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (185) sql: --> type.interim-update.query (185) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (226) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (227), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (227) (185) sql: EXPAND %{User-Name} (185) sql: --> SAHIL417 (185) sql: SQL-User-Name set to 'SAHIL417' (185) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (185) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565612), acctinterval = 1774565612 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.113', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38091, acctinputoctets = '0' << 32 | '22577754', acctoutputoctets = '0' << 32 | '480748708' WHERE AcctUniqueId = '2516f6055ad067b7cf768149f6af1f49' (185) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565612), acctinterval = 1774565612 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.113', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38091, acctinputoctets = '0' << 32 | '22577754', acctoutputoctets = '0' << 32 | '480748708' WHERE AcctUniqueId = '2516f6055ad067b7cf768149f6af1f49' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (185) sql: SQL query returned: success (185) sql: 1 record(s) updated rlm_sql (sql): Released connection (227) (185) [sql] = ok (185) [exec] = noop (185) attr_filter.accounting_response: EXPAND %{User-Name} (185) attr_filter.accounting_response: --> SAHIL417 (185) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (185) [attr_filter.accounting_response] = updated (185) } # accounting = updated (185) Sent Accounting-Response Id 118 from 103.204.70.55:1813 to 103.190.8.10:59712 length 20 (185) Finished request (185) Cleaning up request packet ID 118 with timestamp +38 due to done Waking up in 0.4 seconds. (186) Received Accounting-Request Id 94 from 27.100.14.6:50381 to 103.204.70.55:1813 length 228 (186) Service-Type = Framed-User (186) Framed-Protocol = PPP (186) NAS-Port = 15741139 (186) NAS-Port-Type = Ethernet (186) User-Name = "8950007061" (186) Calling-Station-Id = "50:2B:73:7A:CC:B8" (186) NAS-Port-Id = "ether3" (186) Acct-Session-Id = "81c02be1" (186) Framed-IP-Address = 10.10.10.197 (186) Acct-Authentic = RADIUS (186) Event-Timestamp = "Mar 27 2026 04:23:32 IST" (186) Acct-Session-Time = 5764 (186) Idle-Timeout = 0 (186) Session-Timeout = 30057147 (186) X-Ascend-Data-Rate = 110000000 (186) Ascend-Xmit-Rate = 110000000 (186) Mikrotik-Rate-Limit = "110M/110M" (186) Acct-Input-Octets = 220017 (186) Acct-Input-Gigawords = 0 (186) Acct-Input-Packets = 2332 (186) Acct-Output-Octets = 6396974 (186) Acct-Output-Gigawords = 0 (186) Acct-Output-Packets = 5188 (186) Acct-Status-Type = Interim-Update (186) NAS-Identifier = "MikroTik" (186) Acct-Delay-Time = 0 (186) NAS-IP-Address = 27.100.14.6 (186) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (186) preacct { (186) [preprocess] = ok (186) policy acct_unique { (186) update request { (186) &Tmp-String-9 := "ai:" (186) } # update request = noop (186) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (186) EXPAND %{hex:&Class} (186) --> (186) EXPAND ^%{hex:&Tmp-String-9} (186) --> ^61693a (186) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (186) else { (186) update request { (186) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (186) --> cc6f20f98893b399b719324eba0ecd71 (186) &Acct-Unique-Session-Id := cc6f20f98893b399b719324eba0ecd71 (186) } # update request = noop (186) } # else = noop (186) update request { (186) &Tmp-String-9 !* ANY (186) } # update request = noop (186) } # policy acct_unique = noop (186) suffix: Checking for suffix after "@" (186) suffix: No '@' in User-Name = "8950007061", looking up realm NULL (186) suffix: No such realm "NULL" (186) [suffix] = noop (186) [files] = noop (186) } # preacct = ok (186) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (186) accounting { (186) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (186) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (186) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (186) detail: EXPAND %t (186) detail: --> Fri Mar 27 04:23:32 2026 (186) [detail] = ok (186) [unix] = noop (186) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (186) sql: --> type.interim-update.query (186) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (227) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (228), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (228) (186) sql: EXPAND %{User-Name} (186) sql: --> 8950007061 (186) sql: SQL-User-Name set to '8950007061' (186) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (186) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565612), acctinterval = 1774565612 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.197', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 5764, acctinputoctets = '0' << 32 | '220017', acctoutputoctets = '0' << 32 | '6396974' WHERE AcctUniqueId = 'cc6f20f98893b399b719324eba0ecd71' (186) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565612), acctinterval = 1774565612 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.197', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 5764, acctinputoctets = '0' << 32 | '220017', acctoutputoctets = '0' << 32 | '6396974' WHERE AcctUniqueId = 'cc6f20f98893b399b719324eba0ecd71' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (186) sql: SQL query returned: success (186) sql: 1 record(s) updated rlm_sql (sql): Released connection (228) (186) [sql] = ok (186) [exec] = noop (186) attr_filter.accounting_response: EXPAND %{User-Name} (186) attr_filter.accounting_response: --> 8950007061 (186) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (186) [attr_filter.accounting_response] = updated (186) } # accounting = updated (186) Sent Accounting-Response Id 94 from 103.204.70.55:1813 to 27.100.14.6:50381 length 20 (186) Finished request (186) Cleaning up request packet ID 94 with timestamp +38 due to done Waking up in 0.2 seconds. (187) Received Accounting-Request Id 119 from 103.190.8.10:55317 to 103.204.70.55:1813 length 241 (187) Service-Type = Framed-User (187) Framed-Protocol = PPP (187) NAS-Port = 16089078 (187) NAS-Port-Type = Ethernet (187) User-Name = "POOJA275" (187) Calling-Station-Id = "F0:68:65:AC:5B:E7" (187) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (187) Acct-Session-Id = "81557553" (187) Framed-IP-Address = 172.16.4.233 (187) Acct-Authentic = RADIUS (187) Event-Timestamp = "Mar 27 2026 04:23:33 IST" (187) Acct-Session-Time = 65002 (187) Idle-Timeout = 0 (187) Session-Timeout = 826789 (187) X-Ascend-Data-Rate = 62000000 (187) Ascend-Xmit-Rate = 62000000 (187) Mikrotik-Rate-Limit = "62M/62M" (187) Acct-Input-Octets = 148166629 (187) Acct-Input-Gigawords = 0 (187) Acct-Input-Packets = 450968 (187) Acct-Output-Octets = 2091557931 (187) Acct-Output-Gigawords = 0 (187) Acct-Output-Packets = 1796274 (187) Acct-Status-Type = Interim-Update (187) NAS-Identifier = "CORE-ROUTER" (187) Acct-Delay-Time = 0 (187) NAS-IP-Address = 103.190.8.10 (187) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (187) preacct { (187) [preprocess] = ok (187) policy acct_unique { (187) update request { (187) &Tmp-String-9 := "ai:" (187) } # update request = noop (187) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (187) EXPAND %{hex:&Class} (187) --> (187) EXPAND ^%{hex:&Tmp-String-9} (187) --> ^61693a (187) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (187) else { (187) update request { (187) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (187) --> 8e0ad4f57e48d601ae2a7dbbbd268f79 (187) &Acct-Unique-Session-Id := 8e0ad4f57e48d601ae2a7dbbbd268f79 (187) } # update request = noop (187) } # else = noop (187) update request { (187) &Tmp-String-9 !* ANY (187) } # update request = noop (187) } # policy acct_unique = noop (187) suffix: Checking for suffix after "@" (187) suffix: No '@' in User-Name = "POOJA275", looking up realm NULL (187) suffix: No such realm "NULL" (187) [suffix] = noop (187) [files] = noop (187) } # preacct = ok (187) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (187) accounting { (187) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (187) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (187) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (187) detail: EXPAND %t (187) detail: --> Fri Mar 27 04:23:33 2026 (187) [detail] = ok (187) [unix] = noop (187) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (187) sql: --> type.interim-update.query (187) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (228) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (229), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (229) (187) sql: EXPAND %{User-Name} (187) sql: --> POOJA275 (187) sql: SQL-User-Name set to 'POOJA275' (187) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (187) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565613), acctinterval = 1774565613 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.233', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 65002, acctinputoctets = '0' << 32 | '148166629', acctoutputoctets = '0' << 32 | '2091557931' WHERE AcctUniqueId = '8e0ad4f57e48d601ae2a7dbbbd268f79' (187) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565613), acctinterval = 1774565613 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.233', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 65002, acctinputoctets = '0' << 32 | '148166629', acctoutputoctets = '0' << 32 | '2091557931' WHERE AcctUniqueId = '8e0ad4f57e48d601ae2a7dbbbd268f79' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (187) sql: SQL query returned: success (187) sql: 1 record(s) updated rlm_sql (sql): Released connection (229) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (230), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (229) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (187) [sql] = ok (187) [exec] = noop (187) attr_filter.accounting_response: EXPAND %{User-Name} (187) attr_filter.accounting_response: --> POOJA275 (187) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (187) [attr_filter.accounting_response] = updated (187) } # accounting = updated (187) Sent Accounting-Response Id 119 from 103.204.70.55:1813 to 103.190.8.10:55317 length 20 (187) Finished request (187) Cleaning up request packet ID 119 with timestamp +39 due to done (179) Cleaning up request packet ID 112 with timestamp +37 due to cleanup_delay was reached Waking up in 1.3 seconds. (188) Received Accounting-Request Id 120 from 103.190.8.10:59724 to 103.204.70.55:1813 length 240 (188) Service-Type = Framed-User (188) Framed-Protocol = PPP (188) NAS-Port = 16090400 (188) NAS-Port-Type = Ethernet (188) User-Name = "ADITYA498" (188) Calling-Station-Id = "04:20:84:AD:8D:A5" (188) NAS-Port-Id = "VLAN-83-SK VISON" (188) Acct-Session-Id = "81557a1f" (188) Framed-IP-Address = 172.16.4.8 (188) Acct-Authentic = RADIUS (188) Event-Timestamp = "Mar 27 2026 04:23:33 IST" (188) Acct-Session-Time = 58892 (188) Idle-Timeout = 0 (188) Session-Timeout = 1598277 (188) X-Ascend-Data-Rate = 105000000 (188) Ascend-Xmit-Rate = 105000000 (188) Mikrotik-Rate-Limit = "105M/105M" (188) Acct-Input-Octets = 3246088106 (188) Acct-Input-Gigawords = 3 (188) Acct-Input-Packets = 38641155 (188) Acct-Output-Octets = 2902956737 (188) Acct-Output-Gigawords = 5 (188) Acct-Output-Packets = 28663238 (188) Acct-Status-Type = Interim-Update (188) NAS-Identifier = "CORE-ROUTER" (188) Acct-Delay-Time = 0 (188) NAS-IP-Address = 103.190.8.10 (188) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (188) preacct { (188) [preprocess] = ok (188) policy acct_unique { (188) update request { (188) &Tmp-String-9 := "ai:" (188) } # update request = noop (188) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (188) EXPAND %{hex:&Class} (188) --> (188) EXPAND ^%{hex:&Tmp-String-9} (188) --> ^61693a (188) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (188) else { (188) update request { (188) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (188) --> 4f18f50bdc0203f697a335332d25c388 (188) &Acct-Unique-Session-Id := 4f18f50bdc0203f697a335332d25c388 (188) } # update request = noop (188) } # else = noop (188) update request { (188) &Tmp-String-9 !* ANY (188) } # update request = noop (188) } # policy acct_unique = noop (188) suffix: Checking for suffix after "@" (188) suffix: No '@' in User-Name = "ADITYA498", looking up realm NULL (188) suffix: No such realm "NULL" (188) [suffix] = noop (188) [files] = noop (188) } # preacct = ok (188) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (188) accounting { (188) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (188) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (188) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (188) detail: EXPAND %t (188) detail: --> Fri Mar 27 04:23:33 2026 (188) [detail] = ok (188) [unix] = noop (188) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (188) sql: --> type.interim-update.query (188) sql: Using query template 'query' rlm_sql (sql): Reserved connection (230) (188) sql: EXPAND %{User-Name} (188) sql: --> ADITYA498 (188) sql: SQL-User-Name set to 'ADITYA498' (188) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (188) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565613), acctinterval = 1774565613 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.8', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 58892, acctinputoctets = '3' << 32 | '3246088106', acctoutputoctets = '5' << 32 | '2902956737' WHERE AcctUniqueId = '4f18f50bdc0203f697a335332d25c388' (188) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565613), acctinterval = 1774565613 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.8', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 58892, acctinputoctets = '3' << 32 | '3246088106', acctoutputoctets = '5' << 32 | '2902956737' WHERE AcctUniqueId = '4f18f50bdc0203f697a335332d25c388' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (188) sql: SQL query returned: success (188) sql: 1 record(s) updated rlm_sql (sql): Released connection (230) (188) [sql] = ok (188) [exec] = noop (188) attr_filter.accounting_response: EXPAND %{User-Name} (188) attr_filter.accounting_response: --> ADITYA498 (188) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (188) [attr_filter.accounting_response] = updated (188) } # accounting = updated (188) Sent Accounting-Response Id 120 from 103.204.70.55:1813 to 103.190.8.10:59724 length 20 (188) Finished request (188) Cleaning up request packet ID 120 with timestamp +39 due to done Waking up in 0.5 seconds. (189) Received Accounting-Request Id 121 from 103.190.8.10:52346 to 103.204.70.55:1813 length 241 (189) Service-Type = Framed-User (189) Framed-Protocol = PPP (189) NAS-Port = 16095819 (189) NAS-Port-Type = Ethernet (189) User-Name = "AMIT43" (189) Calling-Station-Id = "A0:9B:17:B8:14:14" (189) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (189) Acct-Session-Id = "81558f48" (189) Framed-IP-Address = 172.16.4.202 (189) Acct-Authentic = RADIUS (189) Event-Timestamp = "Mar 27 2026 04:23:33 IST" (189) Acct-Session-Time = 38221 (189) Idle-Timeout = 0 (189) Session-Timeout = 1923207 (189) X-Ascend-Data-Rate = 105000000 (189) Ascend-Xmit-Rate = 105000000 (189) Mikrotik-Rate-Limit = "105M/105M" (189) Acct-Input-Octets = 59231496 (189) Acct-Input-Gigawords = 0 (189) Acct-Input-Packets = 275298 (189) Acct-Output-Octets = 1389783678 (189) Acct-Output-Gigawords = 0 (189) Acct-Output-Packets = 1113946 (189) Acct-Status-Type = Interim-Update (189) NAS-Identifier = "CORE-ROUTER" (189) Acct-Delay-Time = 0 (189) NAS-IP-Address = 103.190.8.10 (189) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (189) preacct { (189) [preprocess] = ok (189) policy acct_unique { (189) update request { (189) &Tmp-String-9 := "ai:" (189) } # update request = noop (189) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (189) EXPAND %{hex:&Class} (189) --> (189) EXPAND ^%{hex:&Tmp-String-9} (189) --> ^61693a (189) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (189) else { (189) update request { (189) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (189) --> f585c81a049658e71ba7e5a3f6f22332 (189) &Acct-Unique-Session-Id := f585c81a049658e71ba7e5a3f6f22332 (189) } # update request = noop (189) } # else = noop (189) update request { (189) &Tmp-String-9 !* ANY (189) } # update request = noop (189) } # policy acct_unique = noop (189) suffix: Checking for suffix after "@" (189) suffix: No '@' in User-Name = "AMIT43", looking up realm NULL (189) suffix: No such realm "NULL" (189) [suffix] = noop (189) [files] = noop (189) } # preacct = ok (189) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (189) accounting { (189) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (189) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (189) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (189) detail: EXPAND %t (189) detail: --> Fri Mar 27 04:23:33 2026 (189) [detail] = ok (189) [unix] = noop (189) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (189) sql: --> type.interim-update.query (189) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (230) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (231), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (231) (189) sql: EXPAND %{User-Name} (189) sql: --> AMIT43 (189) sql: SQL-User-Name set to 'AMIT43' (189) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (189) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565613), acctinterval = 1774565613 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.202', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38221, acctinputoctets = '0' << 32 | '59231496', acctoutputoctets = '0' << 32 | '1389783678' WHERE AcctUniqueId = 'f585c81a049658e71ba7e5a3f6f22332' (189) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565613), acctinterval = 1774565613 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.202', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38221, acctinputoctets = '0' << 32 | '59231496', acctoutputoctets = '0' << 32 | '1389783678' WHERE AcctUniqueId = 'f585c81a049658e71ba7e5a3f6f22332' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (189) sql: SQL query returned: success (189) sql: 1 record(s) updated rlm_sql (sql): Released connection (231) (189) [sql] = ok (189) [exec] = noop (189) attr_filter.accounting_response: EXPAND %{User-Name} (189) attr_filter.accounting_response: --> AMIT43 (189) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (189) [attr_filter.accounting_response] = updated (189) } # accounting = updated (189) Sent Accounting-Response Id 121 from 103.204.70.55:1813 to 103.190.8.10:52346 length 20 (189) Finished request (189) Cleaning up request packet ID 121 with timestamp +39 due to done Waking up in 0.4 seconds. (190) Received Accounting-Request Id 122 from 103.190.8.10:60184 to 103.204.70.55:1813 length 246 (190) Service-Type = Framed-User (190) Framed-Protocol = PPP (190) NAS-Port = 16094527 (190) NAS-Port-Type = Ethernet (190) User-Name = "NARENDER249" (190) Calling-Station-Id = "B0:8B:92:97:F2:90" (190) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (190) Acct-Session-Id = "81558a3c" (190) Framed-IP-Address = 172.16.3.91 (190) Acct-Authentic = RADIUS (190) Event-Timestamp = "Mar 27 2026 04:23:34 IST" (190) Acct-Session-Time = 42641 (190) Idle-Timeout = 0 (190) Session-Timeout = 3396427 (190) X-Ascend-Data-Rate = 105000000 (190) Ascend-Xmit-Rate = 105000000 (190) Mikrotik-Rate-Limit = "105M/105M" (190) Acct-Input-Octets = 1626076738 (190) Acct-Input-Gigawords = 0 (190) Acct-Input-Packets = 3325983 (190) Acct-Output-Octets = 1026047736 (190) Acct-Output-Gigawords = 3 (190) Acct-Output-Packets = 11743283 (190) Acct-Status-Type = Interim-Update (190) NAS-Identifier = "CORE-ROUTER" (190) Acct-Delay-Time = 0 (190) NAS-IP-Address = 103.190.8.10 (190) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (190) preacct { (190) [preprocess] = ok (190) policy acct_unique { (190) update request { (190) &Tmp-String-9 := "ai:" (190) } # update request = noop (190) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (190) EXPAND %{hex:&Class} (190) --> (190) EXPAND ^%{hex:&Tmp-String-9} (190) --> ^61693a (190) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (190) else { (190) update request { (190) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (190) --> bae02f7994bd7d1079f06ebb56de08fe (190) &Acct-Unique-Session-Id := bae02f7994bd7d1079f06ebb56de08fe (190) } # update request = noop (190) } # else = noop (190) update request { (190) &Tmp-String-9 !* ANY (190) } # update request = noop (190) } # policy acct_unique = noop (190) suffix: Checking for suffix after "@" (190) suffix: No '@' in User-Name = "NARENDER249", looking up realm NULL (190) suffix: No such realm "NULL" (190) [suffix] = noop (190) [files] = noop (190) } # preacct = ok (190) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (190) accounting { (190) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (190) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (190) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (190) detail: EXPAND %t (190) detail: --> Fri Mar 27 04:23:34 2026 (190) [detail] = ok (190) [unix] = noop (190) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (190) sql: --> type.interim-update.query (190) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (231) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (232), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (232) (190) sql: EXPAND %{User-Name} (190) sql: --> NARENDER249 (190) sql: SQL-User-Name set to 'NARENDER249' (190) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (190) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.91', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '1626076738', acctoutputoctets = '3' << 32 | '1026047736' WHERE AcctUniqueId = 'bae02f7994bd7d1079f06ebb56de08fe' (190) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.91', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '1626076738', acctoutputoctets = '3' << 32 | '1026047736' WHERE AcctUniqueId = 'bae02f7994bd7d1079f06ebb56de08fe' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (190) sql: SQL query returned: success (190) sql: 1 record(s) updated rlm_sql (sql): Released connection (232) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (233), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (232) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (190) [sql] = ok (190) [exec] = noop (190) attr_filter.accounting_response: EXPAND %{User-Name} (190) attr_filter.accounting_response: --> NARENDER249 (190) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (190) [attr_filter.accounting_response] = updated (190) } # accounting = updated (190) Sent Accounting-Response Id 122 from 103.204.70.55:1813 to 103.190.8.10:60184 length 20 (190) Finished request (190) Cleaning up request packet ID 122 with timestamp +40 due to done Waking up in 0.4 seconds. (191) Received Accounting-Request Id 123 from 103.190.8.10:50527 to 103.204.70.55:1813 length 241 (191) Service-Type = Framed-User (191) Framed-Protocol = PPP (191) NAS-Port = 16091191 (191) NAS-Port-Type = Ethernet (191) User-Name = "PRITPAL6" (191) Calling-Station-Id = "30:CC:21:E3:42:66" (191) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (191) Acct-Session-Id = "81557d35" (191) Framed-IP-Address = 172.16.3.46 (191) Acct-Authentic = RADIUS (191) Event-Timestamp = "Mar 27 2026 04:23:34 IST" (191) Acct-Session-Time = 54732 (191) Idle-Timeout = 0 (191) Session-Timeout = 7382917 (191) X-Ascend-Data-Rate = 62000000 (191) Ascend-Xmit-Rate = 62000000 (191) Mikrotik-Rate-Limit = "62M/62M" (191) Acct-Input-Octets = 86527753 (191) Acct-Input-Gigawords = 0 (191) Acct-Input-Packets = 547903 (191) Acct-Output-Octets = 2971560524 (191) Acct-Output-Gigawords = 0 (191) Acct-Output-Packets = 2456008 (191) Acct-Status-Type = Interim-Update (191) NAS-Identifier = "CORE-ROUTER" (191) Acct-Delay-Time = 0 (191) NAS-IP-Address = 103.190.8.10 (191) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (191) preacct { (191) [preprocess] = ok (191) policy acct_unique { (191) update request { (191) &Tmp-String-9 := "ai:" (191) } # update request = noop (191) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (191) EXPAND %{hex:&Class} (191) --> (191) EXPAND ^%{hex:&Tmp-String-9} (191) --> ^61693a (191) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (191) else { (191) update request { (191) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (191) --> 41854f1f2fbc9f9591d45cef9434dd44 (191) &Acct-Unique-Session-Id := 41854f1f2fbc9f9591d45cef9434dd44 (191) } # update request = noop (191) } # else = noop (191) update request { (191) &Tmp-String-9 !* ANY (191) } # update request = noop (191) } # policy acct_unique = noop (191) suffix: Checking for suffix after "@" (191) suffix: No '@' in User-Name = "PRITPAL6", looking up realm NULL (191) suffix: No such realm "NULL" (191) [suffix] = noop (191) [files] = noop (191) } # preacct = ok (191) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (191) accounting { (191) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (191) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (191) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (191) detail: EXPAND %t (191) detail: --> Fri Mar 27 04:23:34 2026 (191) [detail] = ok (191) [unix] = noop (191) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (191) sql: --> type.interim-update.query (191) sql: Using query template 'query' rlm_sql (sql): Reserved connection (233) (191) sql: EXPAND %{User-Name} (191) sql: --> PRITPAL6 (191) sql: SQL-User-Name set to 'PRITPAL6' (191) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (191) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.46', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54732, acctinputoctets = '0' << 32 | '86527753', acctoutputoctets = '0' << 32 | '2971560524' WHERE AcctUniqueId = '41854f1f2fbc9f9591d45cef9434dd44' (191) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.46', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 54732, acctinputoctets = '0' << 32 | '86527753', acctoutputoctets = '0' << 32 | '2971560524' WHERE AcctUniqueId = '41854f1f2fbc9f9591d45cef9434dd44' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (191) sql: SQL query returned: success (191) sql: 1 record(s) updated rlm_sql (sql): Released connection (233) (191) [sql] = ok (191) [exec] = noop (191) attr_filter.accounting_response: EXPAND %{User-Name} (191) attr_filter.accounting_response: --> PRITPAL6 (191) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (191) [attr_filter.accounting_response] = updated (191) } # accounting = updated (191) Sent Accounting-Response Id 123 from 103.204.70.55:1813 to 103.190.8.10:50527 length 20 (191) Finished request (191) Cleaning up request packet ID 123 with timestamp +40 due to done Waking up in 0.1 seconds. (192) Received Accounting-Request Id 124 from 103.190.8.10:37371 to 103.204.70.55:1813 length 243 (192) Service-Type = Framed-User (192) Framed-Protocol = PPP (192) NAS-Port = 16094709 (192) NAS-Port-Type = Ethernet (192) User-Name = "DEMORVINTERNET" (192) Calling-Station-Id = "A6:2B:EA:C2:58:F7" (192) NAS-Port-Id = "RB_INTERNET-71" (192) Acct-Session-Id = "81558af2" (192) Framed-IP-Address = 172.16.3.55 (192) Acct-Authentic = RADIUS (192) Event-Timestamp = "Mar 27 2026 04:23:34 IST" (192) Acct-Session-Time = 42121 (192) Idle-Timeout = 0 (192) Session-Timeout = 1840706 (192) X-Ascend-Data-Rate = 105000000 (192) Ascend-Xmit-Rate = 105000000 (192) Mikrotik-Rate-Limit = "105M/105M" (192) Acct-Input-Octets = 524720930 (192) Acct-Input-Gigawords = 0 (192) Acct-Input-Packets = 2084666 (192) Acct-Output-Octets = 880385124 (192) Acct-Output-Gigawords = 3 (192) Acct-Output-Packets = 11071490 (192) Acct-Status-Type = Interim-Update (192) NAS-Identifier = "CORE-ROUTER" (192) Acct-Delay-Time = 0 (192) NAS-IP-Address = 103.190.8.10 (192) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (192) preacct { (192) [preprocess] = ok (192) policy acct_unique { (192) update request { (192) &Tmp-String-9 := "ai:" (192) } # update request = noop (192) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (192) EXPAND %{hex:&Class} (192) --> (192) EXPAND ^%{hex:&Tmp-String-9} (192) --> ^61693a (192) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (192) else { (192) update request { (192) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (192) --> b5906cada89bd5cb98ece6edc2ca6ccd (192) &Acct-Unique-Session-Id := b5906cada89bd5cb98ece6edc2ca6ccd (192) } # update request = noop (192) } # else = noop (192) update request { (192) &Tmp-String-9 !* ANY (192) } # update request = noop (192) } # policy acct_unique = noop (192) suffix: Checking for suffix after "@" (192) suffix: No '@' in User-Name = "DEMORVINTERNET", looking up realm NULL (192) suffix: No such realm "NULL" (192) [suffix] = noop (192) [files] = noop (192) } # preacct = ok (192) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (192) accounting { (192) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (192) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (192) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (192) detail: EXPAND %t (192) detail: --> Fri Mar 27 04:23:34 2026 (192) [detail] = ok (192) [unix] = noop (192) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (192) sql: --> type.interim-update.query (192) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (233) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (234), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (234) (192) sql: EXPAND %{User-Name} (192) sql: --> DEMORVINTERNET (192) sql: SQL-User-Name set to 'DEMORVINTERNET' (192) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (192) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.55', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42121, acctinputoctets = '0' << 32 | '524720930', acctoutputoctets = '3' << 32 | '880385124' WHERE AcctUniqueId = 'b5906cada89bd5cb98ece6edc2ca6ccd' (192) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.55', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42121, acctinputoctets = '0' << 32 | '524720930', acctoutputoctets = '3' << 32 | '880385124' WHERE AcctUniqueId = 'b5906cada89bd5cb98ece6edc2ca6ccd' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (192) sql: SQL query returned: success (192) sql: 1 record(s) updated rlm_sql (sql): Released connection (234) (192) [sql] = ok (192) [exec] = noop (192) attr_filter.accounting_response: EXPAND %{User-Name} (192) attr_filter.accounting_response: --> DEMORVINTERNET (192) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (192) [attr_filter.accounting_response] = updated (192) } # accounting = updated (192) Sent Accounting-Response Id 124 from 103.204.70.55:1813 to 103.190.8.10:37371 length 20 (192) Finished request (192) Cleaning up request packet ID 124 with timestamp +40 due to done Waking up in 0.1 seconds. (193) Received Accounting-Request Id 125 from 103.190.8.10:35622 to 103.204.70.55:1813 length 240 (193) Service-Type = Framed-User (193) Framed-Protocol = PPP (193) NAS-Port = 16095774 (193) NAS-Port-Type = Ethernet (193) User-Name = "MILAN49" (193) Calling-Station-Id = "14:6B:9A:C7:38:CE" (193) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (193) Acct-Session-Id = "81558f1b" (193) Framed-IP-Address = 172.16.3.73 (193) Acct-Authentic = RADIUS (193) Event-Timestamp = "Mar 27 2026 04:23:34 IST" (193) Acct-Session-Time = 38351 (193) Idle-Timeout = 0 (193) Session-Timeout = 19462536 (193) X-Ascend-Data-Rate = 62000000 (193) Ascend-Xmit-Rate = 62000000 (193) Mikrotik-Rate-Limit = "62M/62M" (193) Acct-Input-Octets = 474728614 (193) Acct-Input-Gigawords = 0 (193) Acct-Input-Packets = 4032677 (193) Acct-Output-Octets = 1680109963 (193) Acct-Output-Gigawords = 4 (193) Acct-Output-Packets = 14397884 (193) Acct-Status-Type = Interim-Update (193) NAS-Identifier = "CORE-ROUTER" (193) Acct-Delay-Time = 0 (193) NAS-IP-Address = 103.190.8.10 (193) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (193) preacct { (193) [preprocess] = ok (193) policy acct_unique { (193) update request { (193) &Tmp-String-9 := "ai:" (193) } # update request = noop (193) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (193) EXPAND %{hex:&Class} (193) --> (193) EXPAND ^%{hex:&Tmp-String-9} (193) --> ^61693a (193) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (193) else { (193) update request { (193) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (193) --> bc20ca54883bdd2ece693a6657901e13 (193) &Acct-Unique-Session-Id := bc20ca54883bdd2ece693a6657901e13 (193) } # update request = noop (193) } # else = noop (193) update request { (193) &Tmp-String-9 !* ANY (193) } # update request = noop (193) } # policy acct_unique = noop (193) suffix: Checking for suffix after "@" (193) suffix: No '@' in User-Name = "MILAN49", looking up realm NULL (193) suffix: No such realm "NULL" (193) [suffix] = noop (193) [files] = noop (193) } # preacct = ok (193) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (193) accounting { (193) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (193) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (193) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (193) detail: EXPAND %t (193) detail: --> Fri Mar 27 04:23:34 2026 (193) [detail] = ok (193) [unix] = noop (193) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (193) sql: --> type.interim-update.query (193) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (234) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (235), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (235) (193) sql: EXPAND %{User-Name} (193) sql: --> MILAN49 (193) sql: SQL-User-Name set to 'MILAN49' (193) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (193) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.73', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38351, acctinputoctets = '0' << 32 | '474728614', acctoutputoctets = '4' << 32 | '1680109963' WHERE AcctUniqueId = 'bc20ca54883bdd2ece693a6657901e13' (193) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.73', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38351, acctinputoctets = '0' << 32 | '474728614', acctoutputoctets = '4' << 32 | '1680109963' WHERE AcctUniqueId = 'bc20ca54883bdd2ece693a6657901e13' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (193) sql: SQL query returned: success (193) sql: 1 record(s) updated rlm_sql (sql): Released connection (235) (193) [sql] = ok (193) [exec] = noop (193) attr_filter.accounting_response: EXPAND %{User-Name} (193) attr_filter.accounting_response: --> MILAN49 (193) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (193) [attr_filter.accounting_response] = updated (193) } # accounting = updated (193) Sent Accounting-Response Id 125 from 103.204.70.55:1813 to 103.190.8.10:35622 length 20 (193) Finished request (193) Cleaning up request packet ID 125 with timestamp +40 due to done Waking up in 0.1 seconds. (183) Cleaning up request packet ID 116 with timestamp +38 due to cleanup_delay was reached Ready to process requests (194) Received Accounting-Request Id 126 from 103.190.8.10:60771 to 103.204.70.55:1813 length 241 (194) Service-Type = Framed-User (194) Framed-Protocol = PPP (194) NAS-Port = 16112387 (194) NAS-Port-Type = Ethernet (194) User-Name = "ADITYA55" (194) Calling-Station-Id = "50:2B:73:02:72:18" (194) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (194) Acct-Session-Id = "8155ce6a" (194) Framed-IP-Address = 172.16.3.118 (194) Acct-Authentic = RADIUS (194) Event-Timestamp = "Mar 27 2026 04:23:34 IST" (194) Acct-Session-Time = 3900 (194) Idle-Timeout = 0 (194) Session-Timeout = 2061685 (194) X-Ascend-Data-Rate = 62000000 (194) Ascend-Xmit-Rate = 62000000 (194) Mikrotik-Rate-Limit = "62M/62M" (194) Acct-Input-Octets = 37644 (194) Acct-Input-Gigawords = 0 (194) Acct-Input-Packets = 464 (194) Acct-Output-Octets = 46123 (194) Acct-Output-Gigawords = 0 (194) Acct-Output-Packets = 454 (194) Acct-Status-Type = Interim-Update (194) NAS-Identifier = "CORE-ROUTER" (194) Acct-Delay-Time = 0 (194) NAS-IP-Address = 103.190.8.10 (194) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (194) preacct { (194) [preprocess] = ok (194) policy acct_unique { (194) update request { (194) &Tmp-String-9 := "ai:" (194) } # update request = noop (194) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (194) EXPAND %{hex:&Class} (194) --> (194) EXPAND ^%{hex:&Tmp-String-9} (194) --> ^61693a (194) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (194) else { (194) update request { (194) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (194) --> 12d3dd61cd9e8c3caae9d118eaeba505 (194) &Acct-Unique-Session-Id := 12d3dd61cd9e8c3caae9d118eaeba505 (194) } # update request = noop (194) } # else = noop (194) update request { (194) &Tmp-String-9 !* ANY (194) } # update request = noop (194) } # policy acct_unique = noop (194) suffix: Checking for suffix after "@" (194) suffix: No '@' in User-Name = "ADITYA55", looking up realm NULL (194) suffix: No such realm "NULL" (194) [suffix] = noop (194) [files] = noop (194) } # preacct = ok (194) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (194) accounting { (194) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (194) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (194) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (194) detail: EXPAND %t (194) detail: --> Fri Mar 27 04:23:34 2026 (194) [detail] = ok (194) [unix] = noop (194) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (194) sql: --> type.interim-update.query (194) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (235) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (236), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (236) (194) sql: EXPAND %{User-Name} (194) sql: --> ADITYA55 (194) sql: SQL-User-Name set to 'ADITYA55' (194) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (194) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.118', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 3900, acctinputoctets = '0' << 32 | '37644', acctoutputoctets = '0' << 32 | '46123' WHERE AcctUniqueId = '12d3dd61cd9e8c3caae9d118eaeba505' (194) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.118', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 3900, acctinputoctets = '0' << 32 | '37644', acctoutputoctets = '0' << 32 | '46123' WHERE AcctUniqueId = '12d3dd61cd9e8c3caae9d118eaeba505' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (194) sql: SQL query returned: success (194) sql: 1 record(s) updated rlm_sql (sql): Released connection (236) (194) [sql] = ok (194) [exec] = noop (194) attr_filter.accounting_response: EXPAND %{User-Name} (194) attr_filter.accounting_response: --> ADITYA55 (194) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (194) [attr_filter.accounting_response] = updated (194) } # accounting = updated (194) Sent Accounting-Response Id 126 from 103.204.70.55:1813 to 103.190.8.10:60771 length 20 (194) Finished request (194) Cleaning up request packet ID 126 with timestamp +40 due to done Ready to process requests (195) Received Accounting-Request Id 127 from 103.190.8.10:46289 to 103.204.70.55:1813 length 242 (195) Service-Type = Framed-User (195) Framed-Protocol = PPP (195) NAS-Port = 16099655 (195) NAS-Port-Type = Ethernet (195) User-Name = "ARYA268" (195) Calling-Station-Id = "78:17:35:8F:15:A4" (195) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (195) Acct-Session-Id = "81559dc7" (195) Framed-IP-Address = 172.16.5.167 (195) Acct-Authentic = RADIUS (195) Event-Timestamp = "Mar 27 2026 04:23:34 IST" (195) Acct-Session-Time = 19760 (195) Idle-Timeout = 0 (195) Session-Timeout = 14346345 (195) X-Ascend-Data-Rate = 105000000 (195) Ascend-Xmit-Rate = 105000000 (195) Mikrotik-Rate-Limit = "105M/105M" (195) Acct-Input-Octets = 149680883 (195) Acct-Input-Gigawords = 1 (195) Acct-Input-Packets = 5553832 (195) Acct-Output-Octets = 1699119364 (195) Acct-Output-Gigawords = 2 (195) Acct-Output-Packets = 11562861 (195) Acct-Status-Type = Interim-Update (195) NAS-Identifier = "CORE-ROUTER" (195) Acct-Delay-Time = 0 (195) NAS-IP-Address = 103.190.8.10 (195) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (195) preacct { (195) [preprocess] = ok (195) policy acct_unique { (195) update request { (195) &Tmp-String-9 := "ai:" (195) } # update request = noop (195) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (195) EXPAND %{hex:&Class} (195) --> (195) EXPAND ^%{hex:&Tmp-String-9} (195) --> ^61693a (195) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (195) else { (195) update request { (195) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (195) --> 878b92fcaf65e1f7561206a7819f6c78 (195) &Acct-Unique-Session-Id := 878b92fcaf65e1f7561206a7819f6c78 (195) } # update request = noop (195) } # else = noop (195) update request { (195) &Tmp-String-9 !* ANY (195) } # update request = noop (195) } # policy acct_unique = noop (195) suffix: Checking for suffix after "@" (195) suffix: No '@' in User-Name = "ARYA268", looking up realm NULL (195) suffix: No such realm "NULL" (195) [suffix] = noop (195) [files] = noop (195) } # preacct = ok (195) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (195) accounting { (195) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (195) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (195) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (195) detail: EXPAND %t (195) detail: --> Fri Mar 27 04:23:34 2026 (195) [detail] = ok (195) [unix] = noop (195) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (195) sql: --> type.interim-update.query (195) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (236) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (237), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (237) (195) sql: EXPAND %{User-Name} (195) sql: --> ARYA268 (195) sql: SQL-User-Name set to 'ARYA268' (195) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (195) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.167', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 19760, acctinputoctets = '1' << 32 | '149680883', acctoutputoctets = '2' << 32 | '1699119364' WHERE AcctUniqueId = '878b92fcaf65e1f7561206a7819f6c78' (195) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.167', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 19760, acctinputoctets = '1' << 32 | '149680883', acctoutputoctets = '2' << 32 | '1699119364' WHERE AcctUniqueId = '878b92fcaf65e1f7561206a7819f6c78' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (195) sql: SQL query returned: success (195) sql: 1 record(s) updated rlm_sql (sql): Released connection (237) (195) [sql] = ok (195) [exec] = noop (195) attr_filter.accounting_response: EXPAND %{User-Name} (195) attr_filter.accounting_response: --> ARYA268 (195) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (195) [attr_filter.accounting_response] = updated (195) } # accounting = updated (195) Sent Accounting-Response Id 127 from 103.204.70.55:1813 to 103.190.8.10:46289 length 20 (195) Finished request (195) Cleaning up request packet ID 127 with timestamp +40 due to done Ready to process requests (196) Received Accounting-Request Id 128 from 103.190.8.10:52181 to 103.204.70.55:1813 length 244 (196) Service-Type = Framed-User (196) Framed-Protocol = PPP (196) NAS-Port = 16095776 (196) NAS-Port-Type = Ethernet (196) User-Name = "RATANLAL386" (196) Calling-Station-Id = "E8:6E:44:81:2B:78" (196) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (196) Acct-Session-Id = "81558f1c" (196) Framed-IP-Address = 172.16.3.159 (196) Acct-Authentic = RADIUS (196) Event-Timestamp = "Mar 27 2026 04:23:34 IST" (196) Acct-Session-Time = 38351 (196) Idle-Timeout = 0 (196) Session-Timeout = 1577735 (196) X-Ascend-Data-Rate = 62000000 (196) Ascend-Xmit-Rate = 62000000 (196) Mikrotik-Rate-Limit = "62M/62M" (196) Acct-Input-Octets = 317247347 (196) Acct-Input-Gigawords = 0 (196) Acct-Input-Packets = 1235063 (196) Acct-Output-Octets = 2200292318 (196) Acct-Output-Gigawords = 1 (196) Acct-Output-Packets = 5451339 (196) Acct-Status-Type = Interim-Update (196) NAS-Identifier = "CORE-ROUTER" (196) Acct-Delay-Time = 0 (196) NAS-IP-Address = 103.190.8.10 (196) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (196) preacct { (196) [preprocess] = ok (196) policy acct_unique { (196) update request { (196) &Tmp-String-9 := "ai:" (196) } # update request = noop (196) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (196) EXPAND %{hex:&Class} (196) --> (196) EXPAND ^%{hex:&Tmp-String-9} (196) --> ^61693a (196) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (196) else { (196) update request { (196) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (196) --> 7cd421c56092d245c017c825e4ca7c9e (196) &Acct-Unique-Session-Id := 7cd421c56092d245c017c825e4ca7c9e (196) } # update request = noop (196) } # else = noop (196) update request { (196) &Tmp-String-9 !* ANY (196) } # update request = noop (196) } # policy acct_unique = noop (196) suffix: Checking for suffix after "@" (196) suffix: No '@' in User-Name = "RATANLAL386", looking up realm NULL (196) suffix: No such realm "NULL" (196) [suffix] = noop (196) [files] = noop (196) } # preacct = ok (196) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (196) accounting { (196) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (196) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (196) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (196) detail: EXPAND %t (196) detail: --> Fri Mar 27 04:23:34 2026 (196) [detail] = ok (196) [unix] = noop (196) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (196) sql: --> type.interim-update.query (196) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (237) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (238), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (238) (196) sql: EXPAND %{User-Name} (196) sql: --> RATANLAL386 (196) sql: SQL-User-Name set to 'RATANLAL386' (196) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (196) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.159', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38351, acctinputoctets = '0' << 32 | '317247347', acctoutputoctets = '1' << 32 | '2200292318' WHERE AcctUniqueId = '7cd421c56092d245c017c825e4ca7c9e' (196) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.159', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38351, acctinputoctets = '0' << 32 | '317247347', acctoutputoctets = '1' << 32 | '2200292318' WHERE AcctUniqueId = '7cd421c56092d245c017c825e4ca7c9e' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (196) sql: SQL query returned: success (196) sql: 1 record(s) updated rlm_sql (sql): Released connection (238) (196) [sql] = ok (196) [exec] = noop (196) attr_filter.accounting_response: EXPAND %{User-Name} (196) attr_filter.accounting_response: --> RATANLAL386 (196) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (196) [attr_filter.accounting_response] = updated (196) } # accounting = updated (196) Sent Accounting-Response Id 128 from 103.204.70.55:1813 to 103.190.8.10:52181 length 20 (196) Finished request (196) Cleaning up request packet ID 128 with timestamp +40 due to done Ready to process requests (197) Received Accounting-Request Id 129 from 103.190.8.10:60615 to 103.204.70.55:1813 length 242 (197) Service-Type = Framed-User (197) Framed-Protocol = PPP (197) NAS-Port = 16095775 (197) NAS-Port-Type = Ethernet (197) User-Name = "DEEPAK315" (197) Calling-Station-Id = "10:10:81:B9:FF:24" (197) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (197) Acct-Session-Id = "81558f1d" (197) Framed-IP-Address = 172.16.3.87 (197) Acct-Authentic = RADIUS (197) Event-Timestamp = "Mar 27 2026 04:23:34 IST" (197) Acct-Session-Time = 38351 (197) Idle-Timeout = 0 (197) Session-Timeout = 2355335 (197) X-Ascend-Data-Rate = 62000000 (197) Ascend-Xmit-Rate = 62000000 (197) Mikrotik-Rate-Limit = "62M/62M" (197) Acct-Input-Octets = 1456881559 (197) Acct-Input-Gigawords = 0 (197) Acct-Input-Packets = 7414044 (197) Acct-Output-Octets = 3181131991 (197) Acct-Output-Gigawords = 7 (197) Acct-Output-Packets = 27200076 (197) Acct-Status-Type = Interim-Update (197) NAS-Identifier = "CORE-ROUTER" (197) Acct-Delay-Time = 0 (197) NAS-IP-Address = 103.190.8.10 (197) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (197) preacct { (197) [preprocess] = ok (197) policy acct_unique { (197) update request { (197) &Tmp-String-9 := "ai:" (197) } # update request = noop (197) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (197) EXPAND %{hex:&Class} (197) --> (197) EXPAND ^%{hex:&Tmp-String-9} (197) --> ^61693a (197) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (197) else { (197) update request { (197) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (197) --> 7ebffda8e49cd0e7cc16a840d3803aaa (197) &Acct-Unique-Session-Id := 7ebffda8e49cd0e7cc16a840d3803aaa (197) } # update request = noop (197) } # else = noop (197) update request { (197) &Tmp-String-9 !* ANY (197) } # update request = noop (197) } # policy acct_unique = noop (197) suffix: Checking for suffix after "@" (197) suffix: No '@' in User-Name = "DEEPAK315", looking up realm NULL (197) suffix: No such realm "NULL" (197) [suffix] = noop (197) [files] = noop (197) } # preacct = ok (197) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (197) accounting { (197) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (197) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (197) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (197) detail: EXPAND %t (197) detail: --> Fri Mar 27 04:23:34 2026 (197) [detail] = ok (197) [unix] = noop (197) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (197) sql: --> type.interim-update.query (197) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (238) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (239), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (239) (197) sql: EXPAND %{User-Name} (197) sql: --> DEEPAK315 (197) sql: SQL-User-Name set to 'DEEPAK315' (197) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (197) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.87', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38351, acctinputoctets = '0' << 32 | '1456881559', acctoutputoctets = '7' << 32 | '3181131991' WHERE AcctUniqueId = '7ebffda8e49cd0e7cc16a840d3803aaa' (197) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565614), acctinterval = 1774565614 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.87', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 38351, acctinputoctets = '0' << 32 | '1456881559', acctoutputoctets = '7' << 32 | '3181131991' WHERE AcctUniqueId = '7ebffda8e49cd0e7cc16a840d3803aaa' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (197) sql: SQL query returned: success (197) sql: 1 record(s) updated rlm_sql (sql): Released connection (239) (197) [sql] = ok (197) [exec] = noop (197) attr_filter.accounting_response: EXPAND %{User-Name} (197) attr_filter.accounting_response: --> DEEPAK315 (197) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (197) [attr_filter.accounting_response] = updated (197) } # accounting = updated (197) Sent Accounting-Response Id 129 from 103.204.70.55:1813 to 103.190.8.10:60615 length 20 (197) Finished request (197) Cleaning up request packet ID 129 with timestamp +40 due to done Ready to process requests (198) Received Accounting-Request Id 130 from 103.190.8.10:37402 to 103.204.70.55:1813 length 243 (198) Service-Type = Framed-User (198) Framed-Protocol = PPP (198) NAS-Port = 16094528 (198) NAS-Port-Type = Ethernet (198) User-Name = "HUSSAIN216" (198) Calling-Station-Id = "D8:07:B6:EC:9B:62" (198) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (198) Acct-Session-Id = "81558a3d" (198) Framed-IP-Address = 172.16.4.118 (198) Acct-Authentic = RADIUS (198) Event-Timestamp = "Mar 27 2026 04:23:35 IST" (198) Acct-Session-Time = 42640 (198) Idle-Timeout = 0 (198) Session-Timeout = 19207625 (198) X-Ascend-Data-Rate = 62000000 (198) Ascend-Xmit-Rate = 62000000 (198) Mikrotik-Rate-Limit = "62M/62M" (198) Acct-Input-Octets = 774862946 (198) Acct-Input-Gigawords = 0 (198) Acct-Input-Packets = 2235596 (198) Acct-Output-Octets = 1069966500 (198) Acct-Output-Gigawords = 3 (198) Acct-Output-Packets = 11857730 (198) Acct-Status-Type = Interim-Update (198) NAS-Identifier = "CORE-ROUTER" (198) Acct-Delay-Time = 0 (198) NAS-IP-Address = 103.190.8.10 (198) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (198) preacct { (198) [preprocess] = ok (198) policy acct_unique { (198) update request { (198) &Tmp-String-9 := "ai:" (198) } # update request = noop (198) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (198) EXPAND %{hex:&Class} (198) --> (198) EXPAND ^%{hex:&Tmp-String-9} (198) --> ^61693a (198) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (198) else { (198) update request { (198) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (198) --> aee106e0f64fd960c72f7b4a9171e06d (198) &Acct-Unique-Session-Id := aee106e0f64fd960c72f7b4a9171e06d (198) } # update request = noop (198) } # else = noop (198) update request { (198) &Tmp-String-9 !* ANY (198) } # update request = noop (198) } # policy acct_unique = noop (198) suffix: Checking for suffix after "@" (198) suffix: No '@' in User-Name = "HUSSAIN216", looking up realm NULL (198) suffix: No such realm "NULL" (198) [suffix] = noop (198) [files] = noop (198) } # preacct = ok (198) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (198) accounting { (198) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (198) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (198) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (198) detail: EXPAND %t (198) detail: --> Fri Mar 27 04:23:35 2026 (198) [detail] = ok (198) [unix] = noop (198) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (198) sql: --> type.interim-update.query (198) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (239) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (240), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (240) (198) sql: EXPAND %{User-Name} (198) sql: --> HUSSAIN216 (198) sql: SQL-User-Name set to 'HUSSAIN216' (198) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (198) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565615), acctinterval = 1774565615 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.118', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42640, acctinputoctets = '0' << 32 | '774862946', acctoutputoctets = '3' << 32 | '1069966500' WHERE AcctUniqueId = 'aee106e0f64fd960c72f7b4a9171e06d' (198) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565615), acctinterval = 1774565615 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.118', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42640, acctinputoctets = '0' << 32 | '774862946', acctoutputoctets = '3' << 32 | '1069966500' WHERE AcctUniqueId = 'aee106e0f64fd960c72f7b4a9171e06d' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (198) sql: SQL query returned: success (198) sql: 1 record(s) updated rlm_sql (sql): Released connection (240) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (241), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (240) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (198) [sql] = ok (198) [exec] = noop (198) attr_filter.accounting_response: EXPAND %{User-Name} (198) attr_filter.accounting_response: --> HUSSAIN216 (198) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (198) [attr_filter.accounting_response] = updated (198) } # accounting = updated (198) Sent Accounting-Response Id 130 from 103.204.70.55:1813 to 103.190.8.10:37402 length 20 (198) Finished request (198) Cleaning up request packet ID 130 with timestamp +41 due to done Ready to process requests (199) Received Accounting-Request Id 131 from 103.190.8.10:39710 to 103.204.70.55:1813 length 236 (199) Service-Type = Framed-User (199) Framed-Protocol = PPP (199) NAS-Port = 16115392 (199) NAS-Port-Type = Ethernet (199) User-Name = "neeraj@" (199) Calling-Station-Id = "84:16:F9:3E:2B:0B" (199) NAS-Port-Id = "RB_INTERNET-71" (199) Acct-Session-Id = "8155d9cd" (199) Framed-IP-Address = 172.16.4.141 (199) Acct-Authentic = RADIUS (199) Event-Timestamp = "Mar 27 2026 04:23:35 IST" (199) Acct-Session-Time = 1040 (199) Idle-Timeout = 0 (199) Session-Timeout = 1713224 (199) X-Ascend-Data-Rate = 105000000 (199) Ascend-Xmit-Rate = 105000000 (199) Mikrotik-Rate-Limit = "105M/105M" (199) Acct-Input-Octets = 5835074 (199) Acct-Input-Gigawords = 0 (199) Acct-Input-Packets = 23398 (199) Acct-Output-Octets = 120859308 (199) Acct-Output-Gigawords = 0 (199) Acct-Output-Packets = 104041 (199) Acct-Status-Type = Interim-Update (199) NAS-Identifier = "CORE-ROUTER" (199) Acct-Delay-Time = 0 (199) NAS-IP-Address = 103.190.8.10 (199) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (199) preacct { (199) [preprocess] = ok (199) policy acct_unique { (199) update request { (199) &Tmp-String-9 := "ai:" (199) } # update request = noop (199) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (199) EXPAND %{hex:&Class} (199) --> (199) EXPAND ^%{hex:&Tmp-String-9} (199) --> ^61693a (199) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (199) else { (199) update request { (199) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (199) --> 1bf9ef1e9230440cb4bb1b419a24e87c (199) &Acct-Unique-Session-Id := 1bf9ef1e9230440cb4bb1b419a24e87c (199) } # update request = noop (199) } # else = noop (199) update request { (199) &Tmp-String-9 !* ANY (199) } # update request = noop (199) } # policy acct_unique = noop (199) suffix: Checking for suffix after "@" (199) suffix: Looking up realm "" for User-Name = "neeraj@" (199) suffix: No such realm "" (199) [suffix] = noop (199) [files] = noop (199) } # preacct = ok (199) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (199) accounting { (199) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (199) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (199) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (199) detail: EXPAND %t (199) detail: --> Fri Mar 27 04:23:35 2026 (199) [detail] = ok (199) [unix] = noop (199) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (199) sql: --> type.interim-update.query (199) sql: Using query template 'query' rlm_sql (sql): Reserved connection (241) (199) sql: EXPAND %{User-Name} (199) sql: --> neeraj@ (199) sql: SQL-User-Name set to 'neeraj@' (199) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (199) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565615), acctinterval = 1774565615 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.141', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 1040, acctinputoctets = '0' << 32 | '5835074', acctoutputoctets = '0' << 32 | '120859308' WHERE AcctUniqueId = '1bf9ef1e9230440cb4bb1b419a24e87c' (199) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565615), acctinterval = 1774565615 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.141', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 1040, acctinputoctets = '0' << 32 | '5835074', acctoutputoctets = '0' << 32 | '120859308' WHERE AcctUniqueId = '1bf9ef1e9230440cb4bb1b419a24e87c' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (199) sql: SQL query returned: success (199) sql: 1 record(s) updated rlm_sql (sql): Released connection (241) (199) [sql] = ok (199) [exec] = noop (199) attr_filter.accounting_response: EXPAND %{User-Name} (199) attr_filter.accounting_response: --> neeraj@ (199) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (199) [attr_filter.accounting_response] = updated (199) } # accounting = updated (199) Sent Accounting-Response Id 131 from 103.204.70.55:1813 to 103.190.8.10:39710 length 20 (199) Finished request (199) Cleaning up request packet ID 131 with timestamp +41 due to done Ready to process requests (200) Received Access-Request Id 132 from 103.190.8.10:46384 to 103.204.70.55:1812 length 179 (200) Service-Type = Framed-User (200) Framed-Protocol = PPP (200) NAS-Port = 16116471 (200) NAS-Port-Type = Ethernet (200) User-Name = "SUNNY261" (200) Calling-Station-Id = "E8:65:D4:15:37:A8" (200) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (200) Acct-Session-Id = "8155dde3" (200) CHAP-Challenge = 0x9c6c675295522ddf9d2e6de0df467515 (200) CHAP-Password = 0x01f026146de669469685bb17c639e25a4e (200) NAS-Identifier = "CORE-ROUTER" (200) NAS-IP-Address = 103.190.8.10 (200) Message-Authenticator = 0xc8db979c4f0c002fa523711ab40d16ae (200) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (200) authorize { (200) [preprocess] = ok (200) chap: &control:Auth-Type := CHAP (200) [chap] = ok (200) [mschap] = noop (200) [digest] = noop (200) suffix: Checking for suffix after "@" (200) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (200) suffix: No such realm "NULL" (200) [suffix] = noop (200) eap: No EAP-Message, not doing EAP (200) [eap] = noop (200) files: users: Matched entry DEFAULT at line 167 (200) [files] = ok (200) sql: EXPAND %{User-Name} (200) sql: --> SUNNY261 (200) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (241) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (242), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (242) (200) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (200) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (200) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (200) sql: User found in radcheck table (200) sql: Conditional check items matched, merging assignment check items (200) sql: Cleartext-Password := "123456" (200) sql: Expiration := "Mar 26 2026 23:59:59 IST" (200) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (200) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (200) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (200) sql: User found in radreply table, merging reply items (200) sql: Mikrotik-Rate-Limit := "62M/62M" (200) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (200) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (200) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (200) sql: User found in the group table (200) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (200) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (200) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (200) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (200) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (200) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (200) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (200) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (200) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (200) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (242) (200) [sql] = ok (200) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (200) [expiration] = userlock (200) } # authorize = userlock (200) Using Post-Auth-Type Reject (200) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (200) Post-Auth-Type REJECT { (200) sql: EXPAND .query (200) sql: --> .query (200) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (242) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (243), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (243) (200) sql: EXPAND %{User-Name} (200) sql: --> SUNNY261 (200) sql: SQL-User-Name set to 'SUNNY261' (200) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (200) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01f026146de669469685bb17c639e25a4e', 'Access-Reject', '2026-03-27 04:23:35.197800' ) (200) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01f026146de669469685bb17c639e25a4e', 'Access-Reject', '2026-03-27 04:23:35.197800' ) (200) sql: SQL query returned: success (200) sql: 1 record(s) updated rlm_sql (sql): Released connection (243) (200) [sql] = ok (200) attr_filter.access_reject: EXPAND %{User-Name} (200) attr_filter.access_reject: --> SUNNY261 (200) attr_filter.access_reject: Matched entry DEFAULT at line 11 (200) [attr_filter.access_reject] = updated (200) [eap] = noop (200) policy remove_reply_message_if_eap { (200) if (&reply:EAP-Message && &reply:Reply-Message) { (200) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (200) else { (200) [noop] = noop (200) } # else = noop (200) } # policy remove_reply_message_if_eap = noop (200) } # Post-Auth-Type REJECT = updated (200) Sent Access-Reject Id 132 from 103.204.70.55:1812 to 103.190.8.10:46384 length 38 (200) Finished request Waking up in 1.9 seconds. (201) Received Accounting-Request Id 133 from 103.190.8.10:49644 to 103.204.70.55:1813 length 242 (201) Service-Type = Framed-User (201) Framed-Protocol = PPP (201) NAS-Port = 16098880 (201) NAS-Port-Type = Ethernet (201) User-Name = "TUSHAR268" (201) Calling-Station-Id = "98:DE:D0:BD:C1:71" (201) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (201) Acct-Session-Id = "81559af0" (201) Framed-IP-Address = 172.16.5.135 (201) Acct-Authentic = RADIUS (201) Event-Timestamp = "Mar 27 2026 04:23:35 IST" (201) Acct-Session-Time = 24051 (201) Idle-Timeout = 0 (201) Session-Timeout = 16597034 (201) X-Ascend-Data-Rate = 62000000 (201) Ascend-Xmit-Rate = 62000000 (201) Mikrotik-Rate-Limit = "62M/62M" (201) Acct-Input-Octets = 235389992 (201) Acct-Input-Gigawords = 0 (201) Acct-Input-Packets = 1089417 (201) Acct-Output-Octets = 1223747480 (201) Acct-Output-Gigawords = 1 (201) Acct-Output-Packets = 4476230 (201) Acct-Status-Type = Interim-Update (201) NAS-Identifier = "CORE-ROUTER" (201) Acct-Delay-Time = 0 (201) NAS-IP-Address = 103.190.8.10 (201) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (201) preacct { (201) [preprocess] = ok (201) policy acct_unique { (201) update request { (201) &Tmp-String-9 := "ai:" (201) } # update request = noop (201) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (201) EXPAND %{hex:&Class} (201) --> (201) EXPAND ^%{hex:&Tmp-String-9} (201) --> ^61693a (201) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (201) else { (201) update request { (201) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (201) --> ca5694cfd858653f2eaeab4a050d422f (201) &Acct-Unique-Session-Id := ca5694cfd858653f2eaeab4a050d422f (201) } # update request = noop (201) } # else = noop (201) update request { (201) &Tmp-String-9 !* ANY (201) } # update request = noop (201) } # policy acct_unique = noop (201) suffix: Checking for suffix after "@" (201) suffix: No '@' in User-Name = "TUSHAR268", looking up realm NULL (201) suffix: No such realm "NULL" (201) [suffix] = noop (201) [files] = noop (201) } # preacct = ok (201) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (201) accounting { (201) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (201) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (201) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (201) detail: EXPAND %t (201) detail: --> Fri Mar 27 04:23:35 2026 (201) [detail] = ok (201) [unix] = noop (201) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (201) sql: --> type.interim-update.query (201) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (243) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (244), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (244) (201) sql: EXPAND %{User-Name} (201) sql: --> TUSHAR268 (201) sql: SQL-User-Name set to 'TUSHAR268' (201) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (201) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565615), acctinterval = 1774565615 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.135', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 24051, acctinputoctets = '0' << 32 | '235389992', acctoutputoctets = '1' << 32 | '1223747480' WHERE AcctUniqueId = 'ca5694cfd858653f2eaeab4a050d422f' (201) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565615), acctinterval = 1774565615 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.135', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 24051, acctinputoctets = '0' << 32 | '235389992', acctoutputoctets = '1' << 32 | '1223747480' WHERE AcctUniqueId = 'ca5694cfd858653f2eaeab4a050d422f' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (201) sql: SQL query returned: success (201) sql: 1 record(s) updated rlm_sql (sql): Released connection (244) (201) [sql] = ok (201) [exec] = noop (201) attr_filter.accounting_response: EXPAND %{User-Name} (201) attr_filter.accounting_response: --> TUSHAR268 (201) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (201) [attr_filter.accounting_response] = updated (201) } # accounting = updated (201) Sent Accounting-Response Id 133 from 103.204.70.55:1813 to 103.190.8.10:49644 length 20 (201) Finished request (201) Cleaning up request packet ID 133 with timestamp +41 due to done Waking up in 1.9 seconds. (202) Received Accounting-Request Id 134 from 103.190.8.10:33211 to 103.204.70.55:1813 length 242 (202) Service-Type = Framed-User (202) Framed-Protocol = PPP (202) NAS-Port = 16094530 (202) NAS-Port-Type = Ethernet (202) User-Name = "POONAM255" (202) Calling-Station-Id = "C0:06:C3:8D:3E:DB" (202) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (202) Acct-Session-Id = "81558a3f" (202) Framed-IP-Address = 172.16.4.120 (202) Acct-Authentic = RADIUS (202) Event-Timestamp = "Mar 27 2026 04:23:35 IST" (202) Acct-Session-Time = 42641 (202) Idle-Timeout = 0 (202) Session-Timeout = 10394824 (202) X-Ascend-Data-Rate = 62000000 (202) Ascend-Xmit-Rate = 62000000 (202) Mikrotik-Rate-Limit = "62M/62M" (202) Acct-Input-Octets = 183077108 (202) Acct-Input-Gigawords = 0 (202) Acct-Input-Packets = 962550 (202) Acct-Output-Octets = 1508182181 (202) Acct-Output-Gigawords = 1 (202) Acct-Output-Packets = 4510717 (202) Acct-Status-Type = Interim-Update (202) NAS-Identifier = "CORE-ROUTER" (202) Acct-Delay-Time = 0 (202) NAS-IP-Address = 103.190.8.10 (202) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (202) preacct { (202) [preprocess] = ok (202) policy acct_unique { (202) update request { (202) &Tmp-String-9 := "ai:" (202) } # update request = noop (202) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (202) EXPAND %{hex:&Class} (202) --> (202) EXPAND ^%{hex:&Tmp-String-9} (202) --> ^61693a (202) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (202) else { (202) update request { (202) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (202) --> d3f2413f4472fba5c2c394e654d6f5b2 (202) &Acct-Unique-Session-Id := d3f2413f4472fba5c2c394e654d6f5b2 (202) } # update request = noop (202) } # else = noop (202) update request { (202) &Tmp-String-9 !* ANY (202) } # update request = noop (202) } # policy acct_unique = noop (202) suffix: Checking for suffix after "@" (202) suffix: No '@' in User-Name = "POONAM255", looking up realm NULL (202) suffix: No such realm "NULL" (202) [suffix] = noop (202) [files] = noop (202) } # preacct = ok (202) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (202) accounting { (202) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (202) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (202) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (202) detail: EXPAND %t (202) detail: --> Fri Mar 27 04:23:35 2026 (202) [detail] = ok (202) [unix] = noop (202) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (202) sql: --> type.interim-update.query (202) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (244) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (245), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (245) (202) sql: EXPAND %{User-Name} (202) sql: --> POONAM255 (202) sql: SQL-User-Name set to 'POONAM255' (202) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (202) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565615), acctinterval = 1774565615 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.120', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '183077108', acctoutputoctets = '1' << 32 | '1508182181' WHERE AcctUniqueId = 'd3f2413f4472fba5c2c394e654d6f5b2' (202) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565615), acctinterval = 1774565615 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.4.120', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '183077108', acctoutputoctets = '1' << 32 | '1508182181' WHERE AcctUniqueId = 'd3f2413f4472fba5c2c394e654d6f5b2' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (202) sql: SQL query returned: success (202) sql: 1 record(s) updated rlm_sql (sql): Released connection (245) (202) [sql] = ok (202) [exec] = noop (202) attr_filter.accounting_response: EXPAND %{User-Name} (202) attr_filter.accounting_response: --> POONAM255 (202) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (202) [attr_filter.accounting_response] = updated (202) } # accounting = updated (202) Sent Accounting-Response Id 134 from 103.204.70.55:1813 to 103.190.8.10:33211 length 20 (202) Finished request (202) Cleaning up request packet ID 134 with timestamp +41 due to done Waking up in 1.2 seconds. (203) Received Accounting-Request Id 135 from 103.190.8.10:58130 to 103.204.70.55:1813 length 243 (203) Service-Type = Framed-User (203) Framed-Protocol = PPP (203) NAS-Port = 16094526 (203) NAS-Port-Type = Ethernet (203) User-Name = "DEEPESH293" (203) Calling-Station-Id = "50:42:89:12:CC:66" (203) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (203) Acct-Session-Id = "81558a40" (203) Framed-IP-Address = 172.16.3.15 (203) Acct-Authentic = RADIUS (203) Event-Timestamp = "Mar 27 2026 04:23:36 IST" (203) Acct-Session-Time = 42641 (203) Idle-Timeout = 0 (203) Session-Timeout = 2273224 (203) X-Ascend-Data-Rate = 62000000 (203) Ascend-Xmit-Rate = 62000000 (203) Mikrotik-Rate-Limit = "62M/62M" (203) Acct-Input-Octets = 635489890 (203) Acct-Input-Gigawords = 0 (203) Acct-Input-Packets = 3607940 (203) Acct-Output-Octets = 2027250213 (203) Acct-Output-Gigawords = 4 (203) Acct-Output-Packets = 14864392 (203) Acct-Status-Type = Interim-Update (203) NAS-Identifier = "CORE-ROUTER" (203) Acct-Delay-Time = 0 (203) NAS-IP-Address = 103.190.8.10 (203) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (203) preacct { (203) [preprocess] = ok (203) policy acct_unique { (203) update request { (203) &Tmp-String-9 := "ai:" (203) } # update request = noop (203) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (203) EXPAND %{hex:&Class} (203) --> (203) EXPAND ^%{hex:&Tmp-String-9} (203) --> ^61693a (203) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (203) else { (203) update request { (203) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (203) --> f7a9f633d820f058bd20add18dae1352 (203) &Acct-Unique-Session-Id := f7a9f633d820f058bd20add18dae1352 (203) } # update request = noop (203) } # else = noop (203) update request { (203) &Tmp-String-9 !* ANY (203) } # update request = noop (203) } # policy acct_unique = noop (203) suffix: Checking for suffix after "@" (203) suffix: No '@' in User-Name = "DEEPESH293", looking up realm NULL (203) suffix: No such realm "NULL" (203) [suffix] = noop (203) [files] = noop (203) } # preacct = ok (203) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (203) accounting { (203) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (203) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (203) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (203) detail: EXPAND %t (203) detail: --> Fri Mar 27 04:23:36 2026 (203) [detail] = ok (203) [unix] = noop (203) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (203) sql: --> type.interim-update.query (203) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (245) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (246), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (246) (203) sql: EXPAND %{User-Name} (203) sql: --> DEEPESH293 (203) sql: SQL-User-Name set to 'DEEPESH293' (203) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (203) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.15', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '635489890', acctoutputoctets = '4' << 32 | '2027250213' WHERE AcctUniqueId = 'f7a9f633d820f058bd20add18dae1352' (203) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.15', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 42641, acctinputoctets = '0' << 32 | '635489890', acctoutputoctets = '4' << 32 | '2027250213' WHERE AcctUniqueId = 'f7a9f633d820f058bd20add18dae1352' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (203) sql: SQL query returned: success (203) sql: 1 record(s) updated rlm_sql (sql): Released connection (246) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (247), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (246) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (203) [sql] = ok (203) [exec] = noop (203) attr_filter.accounting_response: EXPAND %{User-Name} (203) attr_filter.accounting_response: --> DEEPESH293 (203) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (203) [attr_filter.accounting_response] = updated (203) } # accounting = updated (203) Sent Accounting-Response Id 135 from 103.204.70.55:1813 to 103.190.8.10:58130 length 20 (203) Finished request (203) Cleaning up request packet ID 135 with timestamp +42 due to done Waking up in 0.9 seconds. (204) Received Access-Request Id 136 from 103.190.8.10:33208 to 103.204.70.55:1812 length 179 (204) Service-Type = Framed-User (204) Framed-Protocol = PPP (204) NAS-Port = 16116474 (204) NAS-Port-Type = Ethernet (204) User-Name = "SUNNY261" (204) Calling-Station-Id = "E8:65:D4:15:37:A8" (204) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (204) Acct-Session-Id = "8155dde4" (204) CHAP-Challenge = 0x3e75b5254064c78d8e19d321b06ff7e0 (204) CHAP-Password = 0x01ad957055d6edb4c199218588af19a32e (204) NAS-Identifier = "CORE-ROUTER" (204) NAS-IP-Address = 103.190.8.10 (204) Message-Authenticator = 0x99a08894d98d7b43d9313572bcf7ef0c (204) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (204) authorize { (204) [preprocess] = ok (204) chap: &control:Auth-Type := CHAP (204) [chap] = ok (204) [mschap] = noop (204) [digest] = noop (204) suffix: Checking for suffix after "@" (204) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (204) suffix: No such realm "NULL" (204) [suffix] = noop (204) eap: No EAP-Message, not doing EAP (204) [eap] = noop (204) files: users: Matched entry DEFAULT at line 167 (204) [files] = ok (204) sql: EXPAND %{User-Name} (204) sql: --> SUNNY261 (204) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): Reserved connection (247) (204) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (204) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (204) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (204) sql: User found in radcheck table (204) sql: Conditional check items matched, merging assignment check items (204) sql: Cleartext-Password := "123456" (204) sql: Expiration := "Mar 26 2026 23:59:59 IST" (204) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (204) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (204) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (204) sql: User found in radreply table, merging reply items (204) sql: Mikrotik-Rate-Limit := "62M/62M" (204) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (204) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (204) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (204) sql: User found in the group table (204) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (204) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (204) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (204) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (204) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (204) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (204) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (204) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (204) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (204) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (247) (204) [sql] = ok (204) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (204) [expiration] = userlock (204) } # authorize = userlock (204) Using Post-Auth-Type Reject (204) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (204) Post-Auth-Type REJECT { (204) sql: EXPAND .query (204) sql: --> .query (204) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (247) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (248), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (248) (204) sql: EXPAND %{User-Name} (204) sql: --> SUNNY261 (204) sql: SQL-User-Name set to 'SUNNY261' (204) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (204) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01ad957055d6edb4c199218588af19a32e', 'Access-Reject', '2026-03-27 04:23:36.237754' ) (204) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x01ad957055d6edb4c199218588af19a32e', 'Access-Reject', '2026-03-27 04:23:36.237754' ) (204) sql: SQL query returned: success (204) sql: 1 record(s) updated rlm_sql (sql): Released connection (248) (204) [sql] = ok (204) attr_filter.access_reject: EXPAND %{User-Name} (204) attr_filter.access_reject: --> SUNNY261 (204) attr_filter.access_reject: Matched entry DEFAULT at line 11 (204) [attr_filter.access_reject] = updated (204) [eap] = noop (204) policy remove_reply_message_if_eap { (204) if (&reply:EAP-Message && &reply:Reply-Message) { (204) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (204) else { (204) [noop] = noop (204) } # else = noop (204) } # policy remove_reply_message_if_eap = noop (204) } # Post-Auth-Type REJECT = updated (204) Sent Access-Reject Id 136 from 103.204.70.55:1812 to 103.190.8.10:33208 length 38 (204) Finished request Waking up in 0.9 seconds. (205) Received Access-Request Id 137 from 103.190.8.10:37385 to 103.204.70.55:1812 length 175 (205) Service-Type = Framed-User (205) Framed-Protocol = PPP (205) NAS-Port = 16116473 (205) NAS-Port-Type = Ethernet (205) User-Name = "gnc_mannu_a8gx142956" (205) Calling-Station-Id = "B4:86:18:92:C8:C3" (205) NAS-Port-Id = "NEW_LCO" (205) Acct-Session-Id = "8155dde5" (205) User-Password = "gnc_mannu_a8gx142956" (205) NAS-Identifier = "CORE-ROUTER" (205) NAS-IP-Address = 103.190.8.10 (205) Message-Authenticator = 0xafe586139306032328702591daa9f390 (205) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (205) authorize { (205) [preprocess] = ok (205) [chap] = noop (205) [mschap] = noop (205) [digest] = noop (205) suffix: Checking for suffix after "@" (205) suffix: No '@' in User-Name = "gnc_mannu_a8gx142956", looking up realm NULL (205) suffix: No such realm "NULL" (205) [suffix] = noop (205) eap: No EAP-Message, not doing EAP (205) [eap] = noop (205) files: users: Matched entry DEFAULT at line 167 (205) [files] = ok (205) sql: EXPAND %{User-Name} (205) sql: --> gnc_mannu_a8gx142956 (205) sql: SQL-User-Name set to 'gnc_mannu_a8gx142956' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (248) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (249), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (249) (205) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (205) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'gnc_mannu_a8gx142956' ORDER BY id (205) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'gnc_mannu_a8gx142956' ORDER BY id (205) sql: WARNING: User not found in radcheck table. (205) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (205) sql: --> SELECT groupname FROM radusergroup WHERE username = 'gnc_mannu_a8gx142956' ORDER BY priority (205) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'gnc_mannu_a8gx142956' ORDER BY priority (205) sql: User not found in any groups rlm_sql (sql): Released connection (249) (205) [sql] = notfound (205) [expiration] = noop (205) [logintime] = noop (205) pap: WARNING: No "known good" password found for the user. Not setting Auth-Type (205) pap: WARNING: Authentication will fail unless a "known good" password is available (205) [pap] = noop (205) } # authorize = ok (205) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type = Reject (205) Failed to authenticate the user (205) Using Post-Auth-Type Reject (205) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (205) Post-Auth-Type REJECT { (205) sql: EXPAND .query (205) sql: --> .query (205) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (249) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (250), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (250) (205) sql: EXPAND %{User-Name} (205) sql: --> gnc_mannu_a8gx142956 (205) sql: SQL-User-Name set to 'gnc_mannu_a8gx142956' (205) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (205) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'gnc_mannu_a8gx142956', 'gnc_mannu_a8gx142956', 'Access-Reject', '2026-03-27 04:23:36.304048' ) (205) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'gnc_mannu_a8gx142956', 'gnc_mannu_a8gx142956', 'Access-Reject', '2026-03-27 04:23:36.304048' ) (205) sql: SQL query returned: success (205) sql: 1 record(s) updated rlm_sql (sql): Released connection (250) (205) [sql] = ok (205) attr_filter.access_reject: EXPAND %{User-Name} (205) attr_filter.access_reject: --> gnc_mannu_a8gx142956 (205) attr_filter.access_reject: Matched entry DEFAULT at line 11 (205) [attr_filter.access_reject] = updated (205) [eap] = noop (205) policy remove_reply_message_if_eap { (205) if (&reply:EAP-Message && &reply:Reply-Message) { (205) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (205) else { (205) [noop] = noop (205) } # else = noop (205) } # policy remove_reply_message_if_eap = noop (205) } # Post-Auth-Type REJECT = updated (205) Sent Access-Reject Id 137 from 103.204.70.55:1812 to 103.190.8.10:37385 length 38 (205) Finished request Waking up in 0.8 seconds. (206) Received Accounting-Request Id 95 from 27.100.14.6:37660 to 103.204.70.55:1813 length 228 (206) Service-Type = Framed-User (206) Framed-Protocol = PPP (206) NAS-Port = 15740122 (206) NAS-Port-Type = Ethernet (206) User-Name = "1321030040" (206) Calling-Station-Id = "24:94:93:1C:F3:D7" (206) NAS-Port-Id = "ether3" (206) Acct-Session-Id = "81c027e8" (206) Framed-IP-Address = 10.10.10.170 (206) Acct-Authentic = RADIUS (206) Event-Timestamp = "Mar 27 2026 04:23:36 IST" (206) Acct-Session-Time = 25741 (206) Idle-Timeout = 0 (206) Session-Timeout = 1565124 (206) X-Ascend-Data-Rate = 100000000 (206) Ascend-Xmit-Rate = 100000000 (206) Mikrotik-Rate-Limit = "100M/100M" (206) Acct-Input-Octets = 65710283 (206) Acct-Input-Gigawords = 0 (206) Acct-Input-Packets = 298989 (206) Acct-Output-Octets = 1700558359 (206) Acct-Output-Gigawords = 0 (206) Acct-Output-Packets = 1405566 (206) Acct-Status-Type = Interim-Update (206) NAS-Identifier = "MikroTik" (206) Acct-Delay-Time = 0 (206) NAS-IP-Address = 27.100.14.6 (206) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (206) preacct { (206) [preprocess] = ok (206) policy acct_unique { (206) update request { (206) &Tmp-String-9 := "ai:" (206) } # update request = noop (206) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (206) EXPAND %{hex:&Class} (206) --> (206) EXPAND ^%{hex:&Tmp-String-9} (206) --> ^61693a (206) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (206) else { (206) update request { (206) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (206) --> d5415cb4329cb01ecc5508981d80e7b3 (206) &Acct-Unique-Session-Id := d5415cb4329cb01ecc5508981d80e7b3 (206) } # update request = noop (206) } # else = noop (206) update request { (206) &Tmp-String-9 !* ANY (206) } # update request = noop (206) } # policy acct_unique = noop (206) suffix: Checking for suffix after "@" (206) suffix: No '@' in User-Name = "1321030040", looking up realm NULL (206) suffix: No such realm "NULL" (206) [suffix] = noop (206) [files] = noop (206) } # preacct = ok (206) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (206) accounting { (206) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (206) detail: --> /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (206) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/27.100.14.6/detail-20260327 (206) detail: EXPAND %t (206) detail: --> Fri Mar 27 04:23:36 2026 (206) [detail] = ok (206) [unix] = noop (206) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (206) sql: --> type.interim-update.query (206) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (250) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (251), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (251) (206) sql: EXPAND %{User-Name} (206) sql: --> 1321030040 (206) sql: SQL-User-Name set to '1321030040' (206) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (206) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.170', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 25741, acctinputoctets = '0' << 32 | '65710283', acctoutputoctets = '0' << 32 | '1700558359' WHERE AcctUniqueId = 'd5415cb4329cb01ecc5508981d80e7b3' (206) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '10.10.10.170', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 25741, acctinputoctets = '0' << 32 | '65710283', acctoutputoctets = '0' << 32 | '1700558359' WHERE AcctUniqueId = 'd5415cb4329cb01ecc5508981d80e7b3' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (206) sql: SQL query returned: success (206) sql: 1 record(s) updated rlm_sql (sql): Released connection (251) (206) [sql] = ok (206) [exec] = noop (206) attr_filter.accounting_response: EXPAND %{User-Name} (206) attr_filter.accounting_response: --> 1321030040 (206) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (206) [attr_filter.accounting_response] = updated (206) } # accounting = updated (206) Sent Accounting-Response Id 95 from 103.204.70.55:1813 to 27.100.14.6:37660 length 20 (206) Finished request (206) Cleaning up request packet ID 95 with timestamp +42 due to done Waking up in 0.8 seconds. (207) Received Accounting-Request Id 138 from 103.190.8.10:34938 to 103.204.70.55:1813 length 242 (207) Service-Type = Framed-User (207) Framed-Protocol = PPP (207) NAS-Port = 16089795 (207) NAS-Port-Type = Ethernet (207) User-Name = "SWAPNA265" (207) Calling-Station-Id = "50:2B:73:57:73:38" (207) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (207) Acct-Session-Id = "815577c8" (207) Framed-IP-Address = 172.16.3.179 (207) Acct-Authentic = RADIUS (207) Event-Timestamp = "Mar 27 2026 04:23:36 IST" (207) Acct-Session-Time = 61881 (207) Idle-Timeout = 0 (207) Session-Timeout = 3415664 (207) X-Ascend-Data-Rate = 62000000 (207) Ascend-Xmit-Rate = 62000000 (207) Mikrotik-Rate-Limit = "62M/62M" (207) Acct-Input-Octets = 840031803 (207) Acct-Input-Gigawords = 0 (207) Acct-Input-Packets = 4673366 (207) Acct-Output-Octets = 2671542670 (207) Acct-Output-Gigawords = 3 (207) Acct-Output-Packets = 12940125 (207) Acct-Status-Type = Interim-Update (207) NAS-Identifier = "CORE-ROUTER" (207) Acct-Delay-Time = 0 (207) NAS-IP-Address = 103.190.8.10 (207) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (207) preacct { (207) [preprocess] = ok (207) policy acct_unique { (207) update request { (207) &Tmp-String-9 := "ai:" (207) } # update request = noop (207) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (207) EXPAND %{hex:&Class} (207) --> (207) EXPAND ^%{hex:&Tmp-String-9} (207) --> ^61693a (207) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (207) else { (207) update request { (207) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (207) --> 6cbf8142587401161767564f78f536a0 (207) &Acct-Unique-Session-Id := 6cbf8142587401161767564f78f536a0 (207) } # update request = noop (207) } # else = noop (207) update request { (207) &Tmp-String-9 !* ANY (207) } # update request = noop (207) } # policy acct_unique = noop (207) suffix: Checking for suffix after "@" (207) suffix: No '@' in User-Name = "SWAPNA265", looking up realm NULL (207) suffix: No such realm "NULL" (207) [suffix] = noop (207) [files] = noop (207) } # preacct = ok (207) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (207) accounting { (207) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (207) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (207) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (207) detail: EXPAND %t (207) detail: --> Fri Mar 27 04:23:36 2026 (207) [detail] = ok (207) [unix] = noop (207) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (207) sql: --> type.interim-update.query (207) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (251) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (252), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (252) (207) sql: EXPAND %{User-Name} (207) sql: --> SWAPNA265 (207) sql: SQL-User-Name set to 'SWAPNA265' (207) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (207) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.179', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 61881, acctinputoctets = '0' << 32 | '840031803', acctoutputoctets = '3' << 32 | '2671542670' WHERE AcctUniqueId = '6cbf8142587401161767564f78f536a0' (207) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.179', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 61881, acctinputoctets = '0' << 32 | '840031803', acctoutputoctets = '3' << 32 | '2671542670' WHERE AcctUniqueId = '6cbf8142587401161767564f78f536a0' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (207) sql: SQL query returned: success (207) sql: 1 record(s) updated rlm_sql (sql): Released connection (252) (207) [sql] = ok (207) [exec] = noop (207) attr_filter.accounting_response: EXPAND %{User-Name} (207) attr_filter.accounting_response: --> SWAPNA265 (207) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (207) [attr_filter.accounting_response] = updated (207) } # accounting = updated (207) Sent Accounting-Response Id 138 from 103.204.70.55:1813 to 103.190.8.10:34938 length 20 (207) Finished request (207) Cleaning up request packet ID 138 with timestamp +42 due to done Waking up in 0.4 seconds. (208) Received Accounting-Request Id 139 from 103.190.8.10:59418 to 103.204.70.55:1813 length 242 (208) Service-Type = Framed-User (208) Framed-Protocol = PPP (208) NAS-Port = 16092533 (208) NAS-Port-Type = Ethernet (208) User-Name = "GUNIKA303" (208) Calling-Station-Id = "78:17:35:1F:BA:34" (208) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (208) Acct-Session-Id = "81558274" (208) Framed-IP-Address = 172.16.3.168 (208) Acct-Authentic = RADIUS (208) Event-Timestamp = "Mar 27 2026 04:23:36 IST" (208) Acct-Session-Time = 49531 (208) Idle-Timeout = 0 (208) Session-Timeout = 21201713 (208) X-Ascend-Data-Rate = 22000000 (208) Ascend-Xmit-Rate = 22000000 (208) Mikrotik-Rate-Limit = "22M/22M" (208) Acct-Input-Octets = 173155267 (208) Acct-Input-Gigawords = 0 (208) Acct-Input-Packets = 1093721 (208) Acct-Output-Octets = 491502019 (208) Acct-Output-Gigawords = 1 (208) Acct-Output-Packets = 3853845 (208) Acct-Status-Type = Interim-Update (208) NAS-Identifier = "CORE-ROUTER" (208) Acct-Delay-Time = 0 (208) NAS-IP-Address = 103.190.8.10 (208) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (208) preacct { (208) [preprocess] = ok (208) policy acct_unique { (208) update request { (208) &Tmp-String-9 := "ai:" (208) } # update request = noop (208) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (208) EXPAND %{hex:&Class} (208) --> (208) EXPAND ^%{hex:&Tmp-String-9} (208) --> ^61693a (208) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (208) else { (208) update request { (208) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (208) --> 624d05685648573d381318f86b429c00 (208) &Acct-Unique-Session-Id := 624d05685648573d381318f86b429c00 (208) } # update request = noop (208) } # else = noop (208) update request { (208) &Tmp-String-9 !* ANY (208) } # update request = noop (208) } # policy acct_unique = noop (208) suffix: Checking for suffix after "@" (208) suffix: No '@' in User-Name = "GUNIKA303", looking up realm NULL (208) suffix: No such realm "NULL" (208) [suffix] = noop (208) [files] = noop (208) } # preacct = ok (208) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (208) accounting { (208) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (208) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (208) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (208) detail: EXPAND %t (208) detail: --> Fri Mar 27 04:23:36 2026 (208) [detail] = ok (208) [unix] = noop (208) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (208) sql: --> type.interim-update.query (208) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (252) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (253), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (253) (208) sql: EXPAND %{User-Name} (208) sql: --> GUNIKA303 (208) sql: SQL-User-Name set to 'GUNIKA303' (208) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (208) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.168', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 49531, acctinputoctets = '0' << 32 | '173155267', acctoutputoctets = '1' << 32 | '491502019' WHERE AcctUniqueId = '624d05685648573d381318f86b429c00' (208) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.3.168', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 49531, acctinputoctets = '0' << 32 | '173155267', acctoutputoctets = '1' << 32 | '491502019' WHERE AcctUniqueId = '624d05685648573d381318f86b429c00' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (208) sql: SQL query returned: success (208) sql: 1 record(s) updated rlm_sql (sql): Released connection (253) (208) [sql] = ok (208) [exec] = noop (208) attr_filter.accounting_response: EXPAND %{User-Name} (208) attr_filter.accounting_response: --> GUNIKA303 (208) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (208) [attr_filter.accounting_response] = updated (208) } # accounting = updated (208) Sent Accounting-Response Id 139 from 103.204.70.55:1813 to 103.190.8.10:59418 length 20 (208) Finished request (208) Cleaning up request packet ID 139 with timestamp +42 due to done Waking up in 0.4 seconds. (209) Received Access-Request Id 140 from 103.190.8.10:50968 to 103.204.70.55:1812 length 175 (209) Service-Type = Framed-User (209) Framed-Protocol = PPP (209) NAS-Port = 16116475 (209) NAS-Port-Type = Ethernet (209) User-Name = "gnc_mannu_a8gx142956" (209) Calling-Station-Id = "B4:86:18:92:C8:C3" (209) NAS-Port-Id = "NEW_LCO" (209) Acct-Session-Id = "8155dde6" (209) User-Password = "gnc_mannu_a8gx142956" (209) NAS-Identifier = "CORE-ROUTER" (209) NAS-IP-Address = 103.190.8.10 (209) Message-Authenticator = 0x55f6bbbcd36a007cc7b87f8be99dd375 (209) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (209) authorize { (209) [preprocess] = ok (209) [chap] = noop (209) [mschap] = noop (209) [digest] = noop (209) suffix: Checking for suffix after "@" (209) suffix: No '@' in User-Name = "gnc_mannu_a8gx142956", looking up realm NULL (209) suffix: No such realm "NULL" (209) [suffix] = noop (209) eap: No EAP-Message, not doing EAP (209) [eap] = noop (209) files: users: Matched entry DEFAULT at line 167 (209) [files] = ok (209) sql: EXPAND %{User-Name} (209) sql: --> gnc_mannu_a8gx142956 (209) sql: SQL-User-Name set to 'gnc_mannu_a8gx142956' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (253) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (254), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (254) (209) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (209) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'gnc_mannu_a8gx142956' ORDER BY id (209) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'gnc_mannu_a8gx142956' ORDER BY id (209) sql: WARNING: User not found in radcheck table. (209) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (209) sql: --> SELECT groupname FROM radusergroup WHERE username = 'gnc_mannu_a8gx142956' ORDER BY priority (209) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'gnc_mannu_a8gx142956' ORDER BY priority (209) sql: User not found in any groups rlm_sql (sql): Released connection (254) (209) [sql] = notfound (209) [expiration] = noop (209) [logintime] = noop (209) pap: WARNING: No "known good" password found for the user. Not setting Auth-Type (209) pap: WARNING: Authentication will fail unless a "known good" password is available (209) [pap] = noop (209) } # authorize = ok (209) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type = Reject (209) Failed to authenticate the user (209) Using Post-Auth-Type Reject (209) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (209) Post-Auth-Type REJECT { (209) sql: EXPAND .query (209) sql: --> .query (209) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (254) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (255), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (255) (209) sql: EXPAND %{User-Name} (209) sql: --> gnc_mannu_a8gx142956 (209) sql: SQL-User-Name set to 'gnc_mannu_a8gx142956' (209) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (209) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'gnc_mannu_a8gx142956', 'gnc_mannu_a8gx142956', 'Access-Reject', '2026-03-27 04:23:36.785492' ) (209) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'gnc_mannu_a8gx142956', 'gnc_mannu_a8gx142956', 'Access-Reject', '2026-03-27 04:23:36.785492' ) (209) sql: SQL query returned: success (209) sql: 1 record(s) updated rlm_sql (sql): Released connection (255) (209) [sql] = ok (209) attr_filter.access_reject: EXPAND %{User-Name} (209) attr_filter.access_reject: --> gnc_mannu_a8gx142956 (209) attr_filter.access_reject: Matched entry DEFAULT at line 11 (209) [attr_filter.access_reject] = updated (209) [eap] = noop (209) policy remove_reply_message_if_eap { (209) if (&reply:EAP-Message && &reply:Reply-Message) { (209) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (209) else { (209) [noop] = noop (209) } # else = noop (209) } # policy remove_reply_message_if_eap = noop (209) } # Post-Auth-Type REJECT = updated (209) Sent Access-Reject Id 140 from 103.204.70.55:1812 to 103.190.8.10:50968 length 38 (209) Finished request Waking up in 0.4 seconds. (210) Received Accounting-Request Id 141 from 103.190.8.10:43354 to 103.204.70.55:1813 length 241 (210) Service-Type = Framed-User (210) Framed-Protocol = PPP (210) NAS-Port = 16097025 (210) NAS-Port-Type = Ethernet (210) User-Name = "VICKY418" (210) Calling-Station-Id = "10:10:81:B9:FF:DE" (210) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (210) Acct-Session-Id = "815593fb" (210) Framed-IP-Address = 172.16.5.153 (210) Acct-Authentic = RADIUS (210) Event-Timestamp = "Mar 27 2026 04:23:36 IST" (210) Acct-Session-Time = 33410 (210) Idle-Timeout = 0 (210) Session-Timeout = 5115193 (210) X-Ascend-Data-Rate = 62000000 (210) Ascend-Xmit-Rate = 62000000 (210) Mikrotik-Rate-Limit = "62M/62M" (210) Acct-Input-Octets = 15894537 (210) Acct-Input-Gigawords = 0 (210) Acct-Input-Packets = 75527 (210) Acct-Output-Octets = 314407555 (210) Acct-Output-Gigawords = 0 (210) Acct-Output-Packets = 278851 (210) Acct-Status-Type = Interim-Update (210) NAS-Identifier = "CORE-ROUTER" (210) Acct-Delay-Time = 0 (210) NAS-IP-Address = 103.190.8.10 (210) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (210) preacct { (210) [preprocess] = ok (210) policy acct_unique { (210) update request { (210) &Tmp-String-9 := "ai:" (210) } # update request = noop (210) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (210) EXPAND %{hex:&Class} (210) --> (210) EXPAND ^%{hex:&Tmp-String-9} (210) --> ^61693a (210) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (210) else { (210) update request { (210) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (210) --> 5caffaf31499088e73a2e0185221c21c (210) &Acct-Unique-Session-Id := 5caffaf31499088e73a2e0185221c21c (210) } # update request = noop (210) } # else = noop (210) update request { (210) &Tmp-String-9 !* ANY (210) } # update request = noop (210) } # policy acct_unique = noop (210) suffix: Checking for suffix after "@" (210) suffix: No '@' in User-Name = "VICKY418", looking up realm NULL (210) suffix: No such realm "NULL" (210) [suffix] = noop (210) [files] = noop (210) } # preacct = ok (210) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (210) accounting { (210) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (210) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (210) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (210) detail: EXPAND %t (210) detail: --> Fri Mar 27 04:23:36 2026 (210) [detail] = ok (210) [unix] = noop (210) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (210) sql: --> type.interim-update.query (210) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (255) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (256), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (256) (210) sql: EXPAND %{User-Name} (210) sql: --> VICKY418 (210) sql: SQL-User-Name set to 'VICKY418' (210) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (210) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.153', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 33410, acctinputoctets = '0' << 32 | '15894537', acctoutputoctets = '0' << 32 | '314407555' WHERE AcctUniqueId = '5caffaf31499088e73a2e0185221c21c' (210) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.153', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 33410, acctinputoctets = '0' << 32 | '15894537', acctoutputoctets = '0' << 32 | '314407555' WHERE AcctUniqueId = '5caffaf31499088e73a2e0185221c21c' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (210) sql: SQL query returned: success (210) sql: 1 record(s) updated rlm_sql (sql): Released connection (256) (210) [sql] = ok (210) [exec] = noop (210) attr_filter.accounting_response: EXPAND %{User-Name} (210) attr_filter.accounting_response: --> VICKY418 (210) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (210) [attr_filter.accounting_response] = updated (210) } # accounting = updated (210) Sent Accounting-Response Id 141 from 103.204.70.55:1813 to 103.190.8.10:43354 length 20 (210) Finished request (210) Cleaning up request packet ID 141 with timestamp +42 due to done Waking up in 0.3 seconds. (211) Received Accounting-Request Id 142 from 103.190.8.10:52714 to 103.204.70.55:1813 length 241 (211) Service-Type = Framed-User (211) Framed-Protocol = PPP (211) NAS-Port = 16093175 (211) NAS-Port-Type = Ethernet (211) User-Name = "RAHUL261" (211) Calling-Station-Id = "B8:19:04:D5:26:24" (211) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (211) Acct-Session-Id = "815584f5" (211) Framed-IP-Address = 172.16.5.26 (211) Acct-Authentic = RADIUS (211) Event-Timestamp = "Mar 27 2026 04:23:36 IST" (211) Acct-Session-Time = 47190 (211) Idle-Timeout = 0 (211) Session-Timeout = 1240973 (211) X-Ascend-Data-Rate = 62000000 (211) Ascend-Xmit-Rate = 62000000 (211) Mikrotik-Rate-Limit = "62M/62M" (211) Acct-Input-Octets = 404754104 (211) Acct-Input-Gigawords = 0 (211) Acct-Input-Packets = 964012 (211) Acct-Output-Octets = 1728036398 (211) Acct-Output-Gigawords = 0 (211) Acct-Output-Packets = 1675024 (211) Acct-Status-Type = Interim-Update (211) NAS-Identifier = "CORE-ROUTER" (211) Acct-Delay-Time = 0 (211) NAS-IP-Address = 103.190.8.10 (211) # Executing section preacct from file /etc/freeradius/3.0/sites-enabled/default (211) preacct { (211) [preprocess] = ok (211) policy acct_unique { (211) update request { (211) &Tmp-String-9 := "ai:" (211) } # update request = noop (211) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) { (211) EXPAND %{hex:&Class} (211) --> (211) EXPAND ^%{hex:&Tmp-String-9} (211) --> ^61693a (211) if (("%{hex:&Class}" =~ /^%{hex:&Tmp-String-9}/) && ("%{string:&Class}" =~ /^ai:([0-9a-f]{32})/i)) -> FALSE (211) else { (211) update request { (211) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (211) --> 12517ecefac79c44a90b959daf7a487f (211) &Acct-Unique-Session-Id := 12517ecefac79c44a90b959daf7a487f (211) } # update request = noop (211) } # else = noop (211) update request { (211) &Tmp-String-9 !* ANY (211) } # update request = noop (211) } # policy acct_unique = noop (211) suffix: Checking for suffix after "@" (211) suffix: No '@' in User-Name = "RAHUL261", looking up realm NULL (211) suffix: No such realm "NULL" (211) [suffix] = noop (211) [files] = noop (211) } # preacct = ok (211) # Executing section accounting from file /etc/freeradius/3.0/sites-enabled/default (211) accounting { (211) detail: EXPAND /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (211) detail: --> /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (211) detail: /var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/freeradius/radacct/103.190.8.10/detail-20260327 (211) detail: EXPAND %t (211) detail: --> Fri Mar 27 04:23:36 2026 (211) [detail] = ok (211) [unix] = noop (211) sql: EXPAND %{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query} (211) sql: --> type.interim-update.query (211) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (256) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (257), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (257) (211) sql: EXPAND %{User-Name} (211) sql: --> RAHUL261 (211) sql: SQL-User-Name set to 'RAHUL261' (211) sql: EXPAND UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}' (211) sql: --> UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.26', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 47190, acctinputoctets = '0' << 32 | '404754104', acctoutputoctets = '0' << 32 | '1728036398' WHERE AcctUniqueId = '12517ecefac79c44a90b959daf7a487f' (211) sql: Executing query: UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(1774565616), acctinterval = 1774565616 - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '172.16.5.26', framedipv6address = '', framedipv6prefix = '', framedinterfaceid = '', delegatedipv6prefix = '', acctsessiontime = 47190, acctinputoctets = '0' << 32 | '404754104', acctoutputoctets = '0' << 32 | '1728036398' WHERE AcctUniqueId = '12517ecefac79c44a90b959daf7a487f' rlm_sql_mysql: Rows matched: 1 Changed: 1 Warnings: 1 (211) sql: SQL query returned: success (211) sql: 1 record(s) updated rlm_sql (sql): Released connection (257) (211) [sql] = ok (211) [exec] = noop (211) attr_filter.accounting_response: EXPAND %{User-Name} (211) attr_filter.accounting_response: --> RAHUL261 (211) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (211) [attr_filter.accounting_response] = updated (211) } # accounting = updated (211) Sent Accounting-Response Id 142 from 103.204.70.55:1813 to 103.190.8.10:52714 length 20 (211) Finished request (211) Cleaning up request packet ID 142 with timestamp +42 due to done Waking up in 0.2 seconds. (200) Cleaning up request packet ID 132 with timestamp +41 due to cleanup_delay was reached Waking up in 1.0 seconds. (212) Received Access-Request Id 143 from 103.190.8.10:46716 to 103.204.70.55:1812 length 175 (212) Service-Type = Framed-User (212) Framed-Protocol = PPP (212) NAS-Port = 16116476 (212) NAS-Port-Type = Ethernet (212) User-Name = "gnc_mannu_a8gx142956" (212) Calling-Station-Id = "B4:86:18:92:C8:C3" (212) NAS-Port-Id = "NEW_LCO" (212) Acct-Session-Id = "8155dde7" (212) User-Password = "gnc_mannu_a8gx142956" (212) NAS-Identifier = "CORE-ROUTER" (212) NAS-IP-Address = 103.190.8.10 (212) Message-Authenticator = 0xa5e38dbcb4835091c158be296d12285c (212) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (212) authorize { (212) [preprocess] = ok (212) [chap] = noop (212) [mschap] = noop (212) [digest] = noop (212) suffix: Checking for suffix after "@" (212) suffix: No '@' in User-Name = "gnc_mannu_a8gx142956", looking up realm NULL (212) suffix: No such realm "NULL" (212) [suffix] = noop (212) eap: No EAP-Message, not doing EAP (212) [eap] = noop (212) files: users: Matched entry DEFAULT at line 167 (212) [files] = ok (212) sql: EXPAND %{User-Name} (212) sql: --> gnc_mannu_a8gx142956 (212) sql: SQL-User-Name set to 'gnc_mannu_a8gx142956' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (257) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (258), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (258) (212) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (212) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'gnc_mannu_a8gx142956' ORDER BY id (212) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'gnc_mannu_a8gx142956' ORDER BY id (212) sql: WARNING: User not found in radcheck table. (212) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (212) sql: --> SELECT groupname FROM radusergroup WHERE username = 'gnc_mannu_a8gx142956' ORDER BY priority (212) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'gnc_mannu_a8gx142956' ORDER BY priority (212) sql: User not found in any groups rlm_sql (sql): Released connection (258) Need 2 more connections to reach min connections (3) Need more connections to reach 10 spares rlm_sql (sql): Opening additional connection (259), 1 of 31 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (258) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket (212) [sql] = notfound (212) [expiration] = noop (212) [logintime] = noop (212) pap: WARNING: No "known good" password found for the user. Not setting Auth-Type (212) pap: WARNING: Authentication will fail unless a "known good" password is available (212) [pap] = noop (212) } # authorize = ok (212) ERROR: No Auth-Type found: rejecting the user via Post-Auth-Type = Reject (212) Failed to authenticate the user (212) Using Post-Auth-Type Reject (212) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (212) Post-Auth-Type REJECT { (212) sql: EXPAND .query (212) sql: --> .query (212) sql: Using query template 'query' rlm_sql (sql): Reserved connection (259) (212) sql: EXPAND %{User-Name} (212) sql: --> gnc_mannu_a8gx142956 (212) sql: SQL-User-Name set to 'gnc_mannu_a8gx142956' (212) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (212) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'gnc_mannu_a8gx142956', 'gnc_mannu_a8gx142956', 'Access-Reject', '2026-03-27 04:23:37.304583' ) (212) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'gnc_mannu_a8gx142956', 'gnc_mannu_a8gx142956', 'Access-Reject', '2026-03-27 04:23:37.304583' ) (212) sql: SQL query returned: success (212) sql: 1 record(s) updated rlm_sql (sql): Released connection (259) (212) [sql] = ok (212) attr_filter.access_reject: EXPAND %{User-Name} (212) attr_filter.access_reject: --> gnc_mannu_a8gx142956 (212) attr_filter.access_reject: Matched entry DEFAULT at line 11 (212) [attr_filter.access_reject] = updated (212) [eap] = noop (212) policy remove_reply_message_if_eap { (212) if (&reply:EAP-Message && &reply:Reply-Message) { (212) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (212) else { (212) [noop] = noop (212) } # else = noop (212) } # policy remove_reply_message_if_eap = noop (212) } # Post-Auth-Type REJECT = updated (212) Sent Access-Reject Id 143 from 103.204.70.55:1812 to 103.190.8.10:46716 length 38 (212) Finished request Waking up in 0.9 seconds. (213) Received Access-Request Id 144 from 103.190.8.10:53528 to 103.204.70.55:1812 length 179 (213) Service-Type = Framed-User (213) Framed-Protocol = PPP (213) NAS-Port = 16116477 (213) NAS-Port-Type = Ethernet (213) User-Name = "SUNNY261" (213) Calling-Station-Id = "E8:65:D4:15:37:A8" (213) NAS-Port-Id = "VLAN-82--GENEXIS OLT" (213) Acct-Session-Id = "8155dde8" (213) CHAP-Challenge = 0xd8e7e63540f3e88849ea3432a394e53c (213) CHAP-Password = 0x010b21a25aa129691e03c270129d03d4bc (213) NAS-Identifier = "CORE-ROUTER" (213) NAS-IP-Address = 103.190.8.10 (213) Message-Authenticator = 0xeb445c9a3688a07ba6c77faf4a5ac5b5 (213) # Executing section authorize from file /etc/freeradius/3.0/sites-enabled/default (213) authorize { (213) [preprocess] = ok (213) chap: &control:Auth-Type := CHAP (213) [chap] = ok (213) [mschap] = noop (213) [digest] = noop (213) suffix: Checking for suffix after "@" (213) suffix: No '@' in User-Name = "SUNNY261", looking up realm NULL (213) suffix: No such realm "NULL" (213) [suffix] = noop (213) eap: No EAP-Message, not doing EAP (213) [eap] = noop (213) files: users: Matched entry DEFAULT at line 167 (213) [files] = ok (213) sql: EXPAND %{User-Name} (213) sql: --> SUNNY261 (213) sql: SQL-User-Name set to 'SUNNY261' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (259) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (260), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (260) (213) sql: EXPAND SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id (213) sql: --> SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (213) sql: Executing select query: SELECT id, username, attribute, value, op FROM radcheck WHERE username = 'SUNNY261' ORDER BY id (213) sql: User found in radcheck table (213) sql: Conditional check items matched, merging assignment check items (213) sql: Cleartext-Password := "123456" (213) sql: Expiration := "Mar 26 2026 23:59:59 IST" (213) sql: EXPAND SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id (213) sql: --> SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (213) sql: Executing select query: SELECT id, username, attribute, value, op FROM radreply WHERE username = 'SUNNY261' ORDER BY id (213) sql: User found in radreply table, merging reply items (213) sql: Mikrotik-Rate-Limit := "62M/62M" (213) sql: EXPAND SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority (213) sql: --> SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (213) sql: Executing select query: SELECT groupname FROM radusergroup WHERE username = 'SUNNY261' ORDER BY priority (213) sql: User found in the group table (213) sql: EXPAND SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id (213) sql: --> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (213) sql: Executing select query: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (213) sql: Group "REELTIME-60-Mbps-Rs-100": Conditional check items matched (213) sql: Group "REELTIME-60-Mbps-Rs-100": Merging assignment check items (213) sql: EXPAND SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id (213) sql: --> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (213) sql: Executing select query: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = 'REELTIME-60-Mbps-Rs-100' ORDER BY id (213) sql: Group "REELTIME-60-Mbps-Rs-100": Merging reply items (213) sql: Mikrotik-Rate-Limit := "62M/62M" rlm_sql (sql): Released connection (260) (213) [sql] = ok (213) expiration: ERROR: Account expired at 'Mar 26 2026 23:59:59 IST' (213) [expiration] = userlock (213) } # authorize = userlock (213) Using Post-Auth-Type Reject (213) # Executing group from file /etc/freeradius/3.0/sites-enabled/default (213) Post-Auth-Type REJECT { (213) sql: EXPAND .query (213) sql: --> .query (213) sql: Using query template 'query' rlm_sql (sql): You probably need to lower "min" rlm_sql (sql): Closing expired connection (260) - Hit max_uses limit rlm_sql_mysql: Socket destructor called, closing socket rlm_sql (sql): 0 of 0 connections in use. You may need to increase "spare" rlm_sql (sql): Opening additional connection (261), 1 of 32 pending slots used rlm_sql_mysql: Starting connect to MySQL server WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version. rlm_sql_mysql: Connected to database 'radius' on Localhost via UNIX socket, server version 8.0.45-0ubuntu0.22.04.1, protocol version 10 rlm_sql (sql): Reserved connection (261) (213) sql: EXPAND %{User-Name} (213) sql: --> SUNNY261 (213) sql: SQL-User-Name set to 'SUNNY261' (213) sql: EXPAND INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' ) (213) sql: --> INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x010b21a25aa129691e03c270129d03d4bc', 'Access-Reject', '2026-03-27 04:23:37.337868' ) (213) sql: Executing query: INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( 'SUNNY261', '0x010b21a25aa129691e03c270129d03d4bc', 'Access-Reject', '2026-03-27 04:23:37.337868' ) (213) sql: SQL query returned: success (213) sql: 1 record(s) updated rlm_sql (sql): Released connection (261) (213) [sql] = ok (213) attr_filter.access_reject: EXPAND %{User-Name} (213) attr_filter.access_reject: --> SUNNY261 (213) attr_filter.access_reject: Matched entry DEFAULT at line 11 (213) [attr_filter.access_reject] = updated (213) [eap] = noop (213) policy remove_reply_message_if_eap { (213) if (&reply:EAP-Message && &reply:Reply-Message) { (213) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (213) else { (213) [noop] = noop (213) } # else = noop (213) } # policy remove_reply_message_if_eap = noop (213) } # Post-Auth-Type REJECT = updated (213) Sent Access-Reject Id 144 from 103.204.70.55:1812 to 103.190.8.10:53528 length 38 (213) Finished request Waking up in 0.9 seconds.