Size: a a a

2021 April 19

D

Dimka88 in Accel-PPP
accel-ppp как агент
источник

MZ

Martin Zaharinov in Accel-PPP
@dimka_88 @sergey239 Hello, let me ask you in which case the service sends to radius  Acct-Terminate-Cause  NAS-Request, i have many uaers with this case, first i think problem is come from lcp-echo and set to 10/300 but not help
источник

D

Dimka88 in Accel-PPP
Hi, what about log level 5?
источник

MZ

Martin Zaharinov in Accel-PPP
now i run level 5 log and verbose on ppp section
источник

D

Dimka88 in Accel-PPP
usually it send it when accel-ppp in maintanance mode
источник

D

Dimka88 in Accel-PPP
or you drop sessions via COA or CLI
источник

MZ

Martin Zaharinov in Accel-PPP
источник

MZ

Martin Zaharinov in Accel-PPP
check this log from customer device
источник

MZ

Martin Zaharinov in Accel-PPP
in working mode not touch daemon, and not send coa or cli terminate command
источник

MZ

Martin Zaharinov in Accel-PPP
i try to filter log for one of this drop and will send you
источник

MZ

Martin Zaharinov in Accel-PPP
[2021-04-19 20:41:44]: debug: ppp1741: terminate                                          [2021-04-19 20:41:44]: debug: ppp1741: lcp_layer_finish                                   [2021-04-19 20:41:44]:  info: ppp1741: send [LCP TermReq id=0]                            [2021-04-19 20:41:44]: debug: ppp1741: auth_layer_finish                                  [2021-04-19 20:41:44]: debug: ppp1741: auth_layer_finished                                [2021-04-19 20:41:44]: debug: ppp1741: ccp_layer_finish                                   [2021-04-19 20:41:44]: debug: ppp1741: ccp_layer_finished                                 [2021-04-19 20:41:44]: debug: ppp1741: ipcp_layer_finish                                  [2021-04-19 20:41:44]: debug: ppp1741: ipcp_layer_finished                                [2021-04-19 20:41:44]: debug: ppp1741: ipv6cp_layer_finish                                [2021-04-19 20:41:44]: debug: ppp1741: ipv6cp_layer_finished                              [2021-04-19 20:41:44]: debug: ppp1741: radius(1): req_enter 13                            [2021-04-19 20:41:44]:  info: ppp1741: send [RADIUS(1) Accounting-Request id=2 <User-Name "jayant_803"> <NAS-Identifier "bng1"> <NAS-IP-Address 103.48.199.16> <NAS-Port 1741> <NAS-Port-Id "vlan319"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "04:95:e6:d6:3b:40"> <Called-Station-Id "0c:c4:7a:88:62:fa"> <Class 0x6375693d6a6179616e745f3830332c73753d3734313734312c736b3d7935316762747866367766332c626b69643d31363135303437352c626b7269643d33352c6d763d2d312c6d743d3630353139382c676d743d3630343830302c73703d35352c73723d2c61633d312c75693d3734313734312c6363693d302c63633d2c61733d312c636f3d2c64623d37363830302c75623d37363830302c63626b69643d3136313530343736> <Acct-Status-Type Stop> <Acct-Authentic RADIUS> <Acct-Session-Id "e3c473ea0158a517"> <Acct-Session-Time 10> <Acct-Input-Octets 539> <Acct-Output-Octets 282> <Acct-Input-Packets 10> <Acct-Output-Packets 6> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 10.13.38.220> <Acct-Terminate-Cause NAS-Request>]
источник

MZ

Martin Zaharinov in Accel-PPP
and this
источник

MZ

Martin Zaharinov in Accel-PPP
[2021-04-19 20:41:50]: debug: ppp1741: terminate                                          [2021-04-19 20:41:50]: debug: ppp1741: lcp_layer_finish                                   [2021-04-19 20:41:50]:  info: ppp1741: send [LCP TermReq id=75]                           [2021-04-19 20:41:50]: debug: ppp1741: auth_layer_finish                                  [2021-04-19 20:41:50]: debug: ppp1741: auth_layer_finished                                [2021-04-19 20:41:50]: debug: ppp1741: ccp_layer_finish                                   [2021-04-19 20:41:50]: debug: ppp1741: ccp_layer_finished                                 [2021-04-19 20:41:50]: debug: ppp1741: ipcp_layer_finish                                  [2021-04-19 20:41:50]: debug: ppp1741: ipcp_layer_finished                                [2021-04-19 20:41:50]: debug: ppp1741: ipv6cp_layer_finish                                [2021-04-19 20:41:50]: debug: ppp1741: ipv6cp_layer_finished                              [2021-04-19 20:41:50]: debug: ppp1741: radius(1): req_enter 10                            [2021-04-19 20:41:50]:  info: ppp1741: send [RADIUS(1) Accounting-Request id=2 <User-Name "jayant_803"> <NAS-Identifier "bng1"> <NAS-IP-Address 103.102.242.1> <NAS-Port 1741> <NAS-Port-Id "vlan319"> <NAS-Port-Type Virtual> <Service-Type Framed-User> <Framed-Protocol PPP> <Calling-Station-Id "1c:3b:f3:9f:e3:fb"> <Called-Station-Id "0c:c4:7a:88:62:fa"> <Class 0x6375693d6a6179616e745f3830332c73753d3734313734312c736b3d663179727172336971346c332c626b69643d31363135303437352c626b7269643d33352c6d763d2d312c6d743d3630353133362c676d743d3630343830302c73703d35352c73723d2c61633d312c75693d3734313734312c6363693d302c63633d2c61733d312c636f3d2c64623d37363830302c75623d37363830302c63626b69643d3136313530343736> <Acct-Status-Type Stop> <Acct-Authentic RADIUS> <Acct-Session-Id "e3c473ea0158a534"> <Acct-Session-Time 9> <Acct-Input-Octets 194> <Acct-Output-Octets 210> <Acct-Input-Packets 5> <Acct-Output-Packets 5> <Acct-Input-Gigawords 0> <Acct-Output-Gigawords 0> <Framed-IP-Address 10.13.14.161> <Acct-Terminate-Cause NAS-Request>]                                                 [2021-04-19 20:41:50]:  info: ppp1741: recv [LCP TermAck id=4b]                           [2021-04-19 20:41:50]: debug: ppp1741: lcp_layer_finished
источник

S

Sergey in Accel-PPP
session replace option?
источник

MZ

Martin Zaharinov in Accel-PPP
yes
источник

MZ

Martin Zaharinov in Accel-PPP
i find user that work on pc and tell my when work on pc internet stop for second, and check in radius log and see terminate Nas request and device auto reconnect
источник

MZ

Martin Zaharinov in Accel-PPP
[modules]                                                                                 #log_file                                                                                 log_tcp                                                                                   pppoe                                                                                     auth_chap_md5                                                                             auth_pap                                                                                  radius                                                                                    ippool                                                                                    sigchld                                                                                   #connlimit                                                                                
[core]
log-error=/var/log/accel-ppp/core.log                                                       [common]                                                                                  single-session=replace                                                                    #single-session-ignore-case=0                                                             #sid-case=upper                                                                           #sid-source=seq
#max-sessions=1000                                                                        max-starting=1000
check-ip=1                                                                                [ppp]                                                                                     verbose=1                                                                                 #min-mtu=900                                                                              #mtu=1400                                                                                 #mru=1400                                                                                 ccp=0                                                                                     mppe=deny                                                                                 ipv4=require                                                                              ipv6=deny                                                                                 lcp-echo-interval=20                                                                      lcp-echo-failure=0                                                                        lcp-echo-timeout=120
источник

MZ

Martin Zaharinov in Accel-PPP
[radius]                                                                                  dictionary=/etc/accel-ppp/radius/dictionary                                                 nas-identifier=bng1                                                            nas-ip-address=x.x.x.x                                                              gw-ip-address=x.x.x.x                                                               server=x.x.x.x,secret,auth-port=1812,acct-port=1813,req-limit=1000,fail-timeout=0    dae-server=x.x.x.x:3799,secret                                                      verbose=1                                                                                 timeout=10                                                                                max-try=1                                                                                 acct-timeout=0
источник

S

Sergey in Accel-PPP
Some routers like tplink try to establish two sessions
источник

MZ

Martin Zaharinov in Accel-PPP
yes router is tp-link
источник