Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 22420

General • Re: RADIUS CoA - verifying users being online.

$
0
0
We validate the user status using the accounting requests, I don't know if its the best way but it works so well for us:
Code:
$pppoe_status = $request->input('Acct-Status-Type');if ($pppoe_status === 'Stop') {    $updates['last_ip_address'] = null;    $updates['pppoe_status'] = 'disconnected;}

Statistics: Posted by carlosjs23 — Wed Apr 16, 2025 5:10 am



Viewing all articles
Browse latest Browse all 22420

Trending Articles