Hello,
I am looking freeradius with mikrotik dhcp server, interim-update is working but important details missing:
here is a mikrotik pppoe accounting request:
22:30:32 radius,debug sending 1b:00 to 172.16.36.251:1813
22:30:32 radius,debug,packet sending Accounting-Request with id 178 to 172.16.36.251:1813
22:30:32 radius,debug,packet Signature = 0xc113ef16228c3ea68d28f795de4e4636
22:30:32 radius,debug,packet Service-Type = 2
22:30:32 radius,debug,packet Framed-Protocol = 1
22:30:32 radius,debug,packet NAS-Port = 15763294
22:30:32 radius,debug,packet NAS-Port-Type = 15
22:30:32 radius,debug,packet User-Name = "user301"
22:30:32 radius,debug,packet Calling-Station-Id = "98:35:ED:DB:A7:4B"
22:30:32 radius,debug,packet Called-Station-Id = "PPPOE26"
22:30:32 radius,debug,packet NAS-Port-Id = "vlan26"
22:30:32 radius,debug,packet Acct-Session-Id = "812086bc"
22:30:32 radius,debug,packet Framed-IP-Address = 10.100.0.250
22:30:32 radius,debug,packet Acct-Authentic = 1
22:30:32 radius,debug,packet Event-Timestamp = 1741123832
22:30:32 radius,debug,packet Acct-Session-Time = 322201
22:30:32 radius,debug,packet Idle-Timeout = 0
22:30:32 radius,debug,packet Session-Timeout = 2708532
22:30:32 radius,debug,packet Acct-Input-Octets = 19966527
22:30:32 radius,debug,packet Acct-Input-Gigawords = 0
22:30:32 radius,debug,packet Acct-Input-Packets = 191141
22:30:32 radius,debug,packet Acct-Output-Octets = 47192887
22:30:32 radius,debug,packet Acct-Output-Gigawords = 0
22:30:32 radius,debug,packet Acct-Output-Packets = 136413
22:30:32 radius,debug,packet Acct-Status-Type = 3
22:30:32 radius,debug,packet NAS-Identifier = "MikroTik"
22:30:32 radius,debug,packet Acct-Delay-Time = 0
22:30:32 radius,debug,packet NAS-IP-Address = 172.16.36.1
22:30:32 radius,debug,packet received Accounting-Response with id 178 from 172.16.36.251:1813
22:30:32 radius,debug,packet Signature = 0xac9188c577d14cde5cd80227787c5636
and here is mikrotik dhcp accounting request:
2025-03-04 22:24:10 radius,debug,packet sending Accounting-Request with id 222 to 172.16.166.21:1813
2025-03-04 22:24:10 radius,debug,packet Signature = 0xadff6af2a4d11fed9fea88252c4906fa
2025-03-04 22:24:10 radius,debug,packet User-Name = "20:3D:B2:A9:BD:25"
2025-03-04 22:24:10 radius,debug,packet NAS-Port-Type = 15
2025-03-04 22:24:10 radius,debug,packet NAS-Port = 20
2025-03-04 22:24:10 radius,debug,packet NAS-Port-Id = "vlan526"
2025-03-04 22:24:10 radius,debug,packet Service-Type = 2
2025-03-04 22:24:10 radius,debug,packet Calling-Station-Id = "xhiksi_IMATH"
2025-03-04 22:24:10 radius,debug,packet Framed-IP-Address = 172.16.210.22
2025-03-04 22:24:10 radius,debug,packet Called-Station-Id = "dhcp3"
2025-03-04 22:24:10 radius,debug,packet Unknown-Attribute(vendor=Redback, type=97) = 0x30332031302e31302e37302e33203620
2025-03-04 22:24:10 radius,debug,packet 2320302023203130
2025-03-04 22:24:10 radius,debug,packet ADSL-Agent-Circuit-ID = "03 10.10.70.3 6 # 0 # 10"
2025-03-04 22:24:10 radius,debug,packet Event-Timestamp = 1741123450
2025-03-04 22:24:10 radius,debug,packet Acct-Status-Type = 3
2025-03-04 22:24:10 radius,debug,packet Acct-Session-Id = "83e00003"
2025-03-04 22:24:10 radius,debug,packet Acct-Authentic = 1
2025-03-04 22:24:10 radius,debug,packet Acct-Session-Time = 85801
2025-03-04 22:24:10 radius,debug,packet NAS-Identifier = "MikroTik"
2025-03-04 22:24:10 radius,debug,packet Acct-Delay-Time = 0
2025-03-04 22:24:10 radius,debug,packet NAS-IP-Address = 172.16.166.1
2025-03-04 22:24:10 radius,debug,packet received Accounting-Response with id 222 from 172.16.166.21:1813
as we cans see Acct-Input-Octets, Acct-Input-Packets , Acct-Output-Octets , Acct-Output-Packets are not included in dhcp. I am hoping that it is not definitive, what does mean accounting without traffic statistics ?