Many attr send to radius

Radius related questions
Post Reply
fet4
Posts: 36
Joined: 05 Dec 2016, 07:35

Many attr send to radius

Post by fet4 » 16 Apr 2018, 15:40

Code: Select all

[2018-04-16 14:57:11]:  warn: ipoe434: radius: server(1) not responding, terminating session...
[2018-04-16 14:57:11]: debug: ipoe434: terminate
[2018-04-16 14:57:11]:  info: ipoe434: send [RADIUS(1) Accounting-Request id=cd <User-Name "78843c9dc33b-e067b317a29a-0/4:34"> <NAS-Identifier "accel-ppp-bras1"> <NAS-IP-Address 172.19.0.6> <NAS-Port 49531> <NAS-Port-Id "ipoe434"> <NAS-Port-Type Ethernet> <Calling-Station-Id "78:84:3c:9d:c3:3b"> <Called-Station-Id "vlan100"> <Acct-Status-Type Stop> <Acct-Authentic RADIUS> <Acct-Session-Id "586f0117d29c1d8e"> <Acct-Session-Time 64828> <Acct-Input-Octets 38208> <Acct-Output-Octets 10631839> <Acct-Input-Packets 64> <Acct-Output-Packets 13216> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 10.194.10.61> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Acct-Terminate-Cause NAS-Error>]
[2018-04-16 14:57:11]:  info: ipoe434: pppd_compat: ip-down started (pid 16947)
[2018-04-16 14:57:11]:  info: ipoe434: pppd_compat: ip-down finished (0)
[2018-04-16 14:57:11]:  info: ipoe434: ipoe: session finished

Code: Select all

[2018-04-16 12:16:58]:  warn: ppp46: radius: server(1) not responding, terminating session...
[2018-04-16 12:16:58]: debug: ppp46: terminate
[2018-04-16 12:16:58]: debug: ppp46: lcp_layer_finish
[2018-04-16 12:16:58]:  info: ppp46: send [LCP TermReq id=3]
[2018-04-16 12:16:58]: debug: ppp46: auth_layer_finish
[2018-04-16 12:16:58]: debug: ppp46: auth_layer_finished
[2018-04-16 12:16:58]: debug: ppp46: ccp_layer_finish
[2018-04-16 12:16:58]: debug: ppp46: ccp_layer_finished
[2018-04-16 12:16:58]: debug: ppp46: ipcp_layer_finish
[2018-04-16 12:16:58]: debug: ppp46: ipcp_layer_finished
[2018-04-16 12:16:58]: debug: ppp46: ipv6cp_layer_finish
[2018-04-16 12:16:58]: debug: ppp46: ipv6cp_layer_finished
[2018-04-16 12:16:58]:  info: ppp46: send [RADIUS(1) Accounting-Request id=cd <User-Name "7096"> <NAS-Identifier "accel-ppp-bras1"> <NAS-IP-Address 172.19.0.6> <NAS-Port 46> <NAS-Port-Id "ppp46"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "78:84:3c:9d:c3:3b"> <Called-Station-Id "f4:ce:46:a6:57:38"> <Acct-Status-Type Stop> <Acct-Authentic RADIUS> <Acct-Session-Id "586f0117d29c1d18"> <Acct-Session-Time 64841> <Acct-Input-Octets 120037978> <Acct-Output-Octets 3709388914> <Acct-Input-Packets 1622272> <Acct-Output-Packets 2614164> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 10.194.10.61> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Class> <Acct-Terminate-Cause NAS-Error>]
[2018-04-16 12:16:58]:  info: ppp46: recv [LCP TermAck id=3]
[2018-04-16 12:16:58]: debug: ppp46: lcp_layer_finished
[2018-04-16 12:16:58]:  info: ppp46: pppd_compat: ip-down started (pid 22793)
[2018-04-16 12:16:58]:  info: ppp46: pppd_compat: ip-down finished (0)
[2018-04-16 12:16:58]: debug: ppp46: pppoe: ppp finished
[2018-04-16 12:16:58]: debug: ppp46: lcp_layer_free
[2018-04-16 12:16:58]: debug: ppp46: auth_layer_free
[2018-04-16 12:16:58]: debug: ppp46: ccp_layer_free
[2018-04-16 12:16:58]: debug: ppp46: ipcp_layer_free
[2018-04-16 12:16:58]: debug: ppp46: ipv6cp_layer_free
[2018-04-16 12:16:58]: debug: ppp46: ppp destablished
[2018-04-16 12:16:58]:  info: vlan100: send [PPPoE PADT f4:ce:46:a6:57:38 => 78:84:3c:9d:c3:3b sid=4640 <AC-Name fibernet-bras1> <Service-Name >]
[2018-04-16 12:16:58]:  info: ppp46: disconnected

dimka88
Posts: 564
Joined: 13 Oct 2014, 05:51
Contact:

Re: Many attr send to radius

Post by dimka88 » 16 Apr 2018, 16:35

Это версия из мастер ветки?

fet4
Posts: 36
Joined: 05 Dec 2016, 07:35

Re: Many attr send to radius

Post by fet4 » 16 Apr 2018, 17:37

Да.
accel-cmd 89056070effd890afcefaefcd3ee257dc1a447ee

ppavelp
Posts: 3
Joined: 06 Mar 2019, 08:58

Re: Many attr send to radius

Post by ppavelp » 06 Mar 2019, 09:17

Хочу поднять тему,
после каждого COA запроса увеличивается число Class атрибутов в Radius Account:

[2019-03-06 10:03:12]: info: ppp7: send [RADIUS(1) Accounting-Request id=95 <User-Name "umv"> <NAS-Identifier "172.19.19.20"> <NAS-IP-Address 172.19.19.20> <NAS-Port 7> <NAS-Port-Id "ppp7"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "00:19:66:92:4c:15"> <Called-Station-Id "00:1b:21:4d:e5:a0"> <Acct-Status-Type Alive> <Acct-Authentic RADIUS> <Acct-Session-Id "f9e64fb5f7a407ff"> <Acct-Session-Time 66624> <Acct-Input-Octets 20292535> <Acct-Output-Octets 708834814> <Acct-Input-Packets 238024> <Acct-Output-Packets 510318> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 172.20.31.56> <Class 0x> <Class 0x>]
[2019-03-06 10:10:00]: debug: recv [RADIUS CoA-Request id=e <Framed-IP-Address 172.20.31.56> <Filter-Id "noRedirect">]
[2019-03-06 10:10:00]: info: ppp7: recv [RADIUS CoA-Request id=e <Framed-IP-Address 172.20.31.56> <Filter-Id "noRedirect">]
[2019-03-06 10:10:00]: debug: recv [RADIUS CoA-Request id=f0 <Framed-IP-Address 172.20.31.56> <Filter-Id "30720/30720">]
[2019-03-06 10:10:00]: info: ppp7: recv [RADIUS CoA-Request id=f0 <Framed-IP-Address 172.20.31.56> <Filter-Id "30720/30720">]
[2019-03-06 10:10:00]: debug: recv [RADIUS CoA-Request id=a1 <Framed-IP-Address 172.20.31.56> <Filter-Id "30720/30720">]
[2019-03-06 10:10:00]: info: ppp7: recv [RADIUS CoA-Request id=a1 <Framed-IP-Address 172.20.31.56> <Filter-Id "30720/30720">]
[2019-03-06 10:10:42]: info: ppp7: send [RADIUS(1) Accounting-Request id=96 <User-Name "umv"> <NAS-Identifier "172.19.19.20"> <NAS-IP-Address 172.19.19.20> <NAS-Port 7> <NAS-Port-Id "ppp7"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "00:19:66:92:4c:15"> <Called-Station-Id "00:1b:21:4d:e5:a0"> <Acct-Status-Type Alive> <Acct-Authentic RADIUS> <Acct-Session-Id "f9e64fb5f7a407ff"> <Acct-Session-Time 67074> <Acct-Input-Octets 21201951> <Acct-Output-Octets 729768903> <Acct-Input-Packets 247332> <Acct-Output-Packets 525543> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 172.20.31.56> <Class 0x> <Class 0x> <Class 0x> <Class 0x>]
[2019-03-06 10:10:58]: debug: recv [RADIUS CoA-Request id=1 <Framed-IP-Address 172.20.31.56> <Filter-Id "20480/20480">]
[2019-03-06 10:10:58]: info: ppp7: recv [RADIUS CoA-Request id=1 <Framed-IP-Address 172.20.31.56> <Filter-Id "20480/20480">]
[2019-03-06 10:18:12]: info: ppp7: send [RADIUS(1) Accounting-Request id=97 <User-Name "umv"> <NAS-Identifier "172.19.19.20"> <NAS-IP-Address 172.19.19.20> <NAS-Port 7> <NAS-Port-Id "ppp7"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "00:19:66:92:4c:15"> <Called-Station-Id "00:1b:21:4d:e5:a0"> <Acct-Status-Type Alive> <Acct-Authentic RADIUS> <Acct-Session-Id "f9e64fb5f7a407ff"> <Acct-Session-Time 67524> <Acct-Input-Octets 21202603> <Acct-Output-Octets 729774161> <Acct-Input-Packets 247343> <Acct-Output-Packets 525570> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 172.20.31.56> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x>]
[2019-03-06 10:25:42]: info: ppp7: send [RADIUS(1) Accounting-Request id=98 <User-Name "umv"> <NAS-Identifier "172.19.19.20"> <NAS-IP-Address 172.19.19.20> <NAS-Port 7> <NAS-Port-Id "ppp7"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "00:19:66:92:4c:15"> <Called-Station-Id "00:1b:21:4d:e5:a0"> <Acct-Status-Type Alive> <Acct-Authentic RADIUS> <Acct-Session-Id "f9e64fb5f7a407ff"> <Acct-Session-Time 67974> <Acct-Input-Octets 26372482> <Acct-Output-Octets 1130982648> <Acct-Input-Packets 345758> <Acct-Output-Packets 799918> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 172.20.31.56> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x>]


За несколько дней запрос становится таким:

[2019-03-06 12:16:54]: info: ppp725: send [RADIUS(1) Accounting-Request id=65 <User-Name "rcz"> <NAS-Identifier "172.19.19.21"> <NAS-IP-Address 172.19.19.21> <NAS-Port 725> <NAS-Port-Id "ppp725"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "30:b5:c2:a1:43:f5"> <Called-Station-Id "90:e2:ba:2d:f6:c6"> <Acct-Status-Type Alive> <Acct-Authentic RADIUS> <Acct-Session-Id "0000000000240933"> <Acct-Session-Time 2334303> <Acct-Input-Octets 3297154549> <Acct-Output-Octets 2159329558> <Acct-Input-Packets 99738804> <Acct-Output-Packets 126076692> <Acct-Input-Gigawords 8> <Acct-Output-Gigawords 33> <Framed-IP-Address 172.20.37.248> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Clas 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x> <Class 0x>]


Зачем этот атрибут Class создается?

dimka88
Posts: 564
Joined: 13 Oct 2014, 05:51
Contact:

Re: Many attr send to radius

Post by dimka88 » 06 Mar 2019, 10:10

На стенде воспроизводится, думаю к ночи что то придумаем.

dimka88
Posts: 564
Joined: 13 Oct 2014, 05:51
Contact:

Re: Many attr send to radius

Post by dimka88 » 06 Mar 2019, 23:28

Как вариант затестить патчик https://raw.githubusercontent.com/Dmitr ... ass_change, но над этим вопрос еще нужно поработать.

ppavelp
Posts: 3
Joined: 06 Mar 2019, 08:58

Re: Many attr send to radius

Post by ppavelp » 07 Mar 2019, 07:45

Спасибо за патч, но правильно наверное сделать так:

if (prev_class)
rad_packet_change_octets(rpd->acct_req->pack, NULL, "Class", rpd->attr_class, rpd->attr_class_len);
- else
- rad_packet_add_octets(rpd->acct_req->pack, NULL, "Class", rpd->attr_class, rpd->attr_class_len);
}

Или так
if (class) {
if (rpd->attr_class_len < class->len) {
if (rpd->attr_class)
_free(rpd->attr_class);
rpd->attr_class = _malloc(class->len);
}

memcpy(rpd->attr_class, class->val.octets, class->len);
rpd->attr_class_len = class->len;
- }

if (rpd->acct_req && rpd->acct_req->pack) {
if (prev_class)
rad_packet_change_octets(rpd->acct_req->pack, NULL, "Class", rpd->attr_class, rpd->attr_class_len);
else
rad_packet_add_octets(rpd->acct_req->pack, NULL, "Class", rpd->attr_class, rpd->attr_class_len);
}

+ }

dimka88
Posts: 564
Joined: 13 Oct 2014, 05:51
Contact:

Re: Many attr send to radius

Post by dimka88 » 07 Mar 2019, 11:51

Первый вариант работать не должен, так как не должно зайти в оператор ветвления if (prev_class), именно с prev_class и проблема

dimka88
Posts: 564
Joined: 13 Oct 2014, 05:51
Contact:

Re: Many attr send to radius

Post by dimka88 » 08 Mar 2019, 10:12


ppavelp
Posts: 3
Joined: 06 Mar 2019, 08:58

Re: Many attr send to radius

Post by ppavelp » 11 Mar 2019, 14:46

Работает как положено, Class создается или изменяется только если был получен по COA.
Спасибо!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest