Authorizing Ppoe
Freeradius 2
Ready to process requests.
rad_recv: Accounting-Request packet from host 192.168.xx.xx port 58867, id=6, le
ngth=48
Acct-Status-Type = Accounting-On
NAS-Identifier = "NAS3"
Acct-Delay-Time = 0
NAS-IP-Address = 192.168.xx.xx
Executing section preacct from file /usr/local/etc/raddb/sites-enabled/default
+- entering group preacct {...}
[acct_unique] WARNING: Attribute NAS-Port was not found in request, unique ID MA
Y be inconsistent
[acct_unique] WARNING: Attribute Acct-Session-Id was not found in request, uniqu
e ID MAY be inconsistent
[acct_unique] WARNING: Attribute User-Name was not found in request, unique ID M
AY be inconsistent
[acct_unique] Hashing ',Client-IP-Address = 192.168.xx.xx,NAS-IP-Address = 192.1
68.xx.xxx,,'
[acct_unique] Acct-Unique-Session-ID = "84d9276d2d67eb16".
++[acct_unique] returns ok
Executing section accounting from file /usr/local/etc/raddb/sites-enabled/defa
ult
+- entering group accounting {...}
[ntl_sql] Received Acct On/Off packet
[ntl_sql] expand: ->
[ntl_sql] expand: /var/log/sqltrace.sql -> /var/log/sqltrace.sql
rlm_sql (ntl_sql): Reserving sql socket id: 59
rlm_sql (ntl_sql): Released sql socket id: 59
++[ntl_sql] returns ok
[radutmp] expand: /var/log/radutmp -> /var/log/radutmp
rlm_radutmp: NAS service1 restarted (Accounting-On packet seen)
++[radutmp] returns ok
[attr_filter.accounting_response] expand: %{User-Name} ->
++[attr_filter.accounting_response] returns noop
Sending Accounting-Response of id 6 to 192.168.xx.xx port 58867
Finished request 0.
Cleaning up request 0 ID 6 with timestamp +62
Going to the next request
Ready to process requests.
Mikrotik log
00:22:59 radius,debug,packet sending Accounting-Request with id 6 to 192.168.xxx.xxx:1813
00:22:59 radius,debug,packet Signature = 0x1cbd521d0dec33a90a98b0c8ea1959a1
00:22:59 radius,debug,packet Acct-Status-Type = 7
00:22:59 radius,debug,packet NAS-Identifier = "NAS3"
00:22:59 radius,debug,packet Acct-Delay-Time = 0
00:22:59 radius,debug,packet NAS-IP-Address = 192.168.xxx.xxx
00:22:59 radius,debug,packet received Accounting-Response with id 6 from 192.168.xxx.xxx:1813
00:22:59 radius,debug,packet Signature = 0xf2a6625201b1bb13bb0f5d50e3fbbc32
00:22:59 radius,debug received reply for 05:00
not work
PPTP and L2tp
rad_recv: Access-Request packet from host 192.168.xx.xx port 41284, id=7, length
=174
Service-Type = Framed-User
Framed-Protocol = PPP
NAS-Port = 23
NAS-Port-Type = Virtual
User-Name = "user"
Calling-Station-Id = "192.168.xxx.xxx"
Called-Station-Id = "192.168.xx.xx"
MS-CHAP-Challenge = 0x14dd5d6ec71ab23e95e5e89fd87f72ed
MS-CHAP2-Response = 0x0100c9d3721c58336d63d6e6a919720a618800000000000000
000012fb71bf3d9bd9c40beb2bf63909d3b1cbe14b1ceafce7
NAS-Identifier = "NAS3"
NAS-IP-Address = 192.168.xx.xx
ок
Help