xebd/accel-ppp

ccp: failed to get flags: Bad file descriptor

mluis opened this issue · 4 comments

mluis commented

I'm getting this error on the log.

Not sure what it means on the .conf file.

xebd commented

can you show more logs around this message
preferably with log level 5

mluis commented

Log config.

[log]
log-file=/var/log/accel-ppp/accel-ppp.log
log-emerg=/var/log/accel-ppp/emerg.log
log-fail-file=/var/log/accel-ppp/auth-fail.log
log-debug=/dev/stdout
syslog=accel-pppd,daemon
copy=1
level=5

Produced log:

[2017-12-05 14:36:25]:   msg: accel-ppp version e959ea1bd262441a952ea0c807d553b4a9c38113
[2017-12-05 14:36:29]:  info: tek0.10: recv [PPPoE PADI a4:b1:e9:ac:f7:20 => ff:ff:ff:ff:ff:ff sid=0000 <Service-Name > <Host-Uniq 00> <Relay-Session-Id 00000000a4b1e9acf720>]
[2017-12-05 14:36:29]:  info: tek0.10: send [PPPoE PADO 08:00:27:e3:12:bf => a4:b1:e9:ac:f7:20 sid=0000 <AC-Name > <Service-Name > <AC-Cookie a10d325a733955599307764e18b8ba0957fa652eb28a9f97> <Host-Uniq 00> <Relay-Session-Id 00000000a4b1e9acf720>]
[2017-12-05 14:36:29]:  info: tek0.10: recv [PPPoE PADR a4:b1:e9:ac:f7:20 => 08:00:27:e3:12:bf sid=0000 <Service-Name > <AC-Cookie a10d325a733955599307764e18b8ba0957fa652eb28a9f97> <Host-Uniq 00> <Relay-Session-Id 00000000a4b1e9acf720>]
[2017-12-05 14:36:29]:  info: tek0.10: send [PPPoE PADS 08:00:27:e3:12:bf => a4:b1:e9:ac:f7:20 sid=0001 <AC-Name > <Service-Name > <Host-Uniq 00> <Relay-Session-Id 00000000a4b1e9acf720>]
[2017-12-05 14:36:29]: debug: tek0.10: lcp_layer_init
[2017-12-05 14:36:29]: debug: tek0.10: auth_layer_init
[2017-12-05 14:36:29]: debug: tek0.10: ccp_layer_init
[2017-12-05 14:36:29]: debug: tek0.10: ipcp_layer_init
[2017-12-05 14:36:29]: debug: tek0.10: ipv6cp_layer_init
[2017-12-05 14:36:29]: debug: tek0.10: ppp establishing
[2017-12-05 14:36:29]: debug: tek0.10: lcp_layer_start
[2017-12-05 14:36:29]:  info: tek0.10: send [LCP ConfReq id=1 <mru 1400> <magic 6b8b4567>]
[2017-12-05 14:36:29]:  info: tek0.10: recv [LCP ConfReq id=1 <mru 1492> <magic 14ae793d>]
[2017-12-05 14:36:29]:  info: tek0.10: send [LCP ConfAck id=1 ]
[2017-12-05 14:36:32]: debug: tek0.10: fsm timeout 9
[2017-12-05 14:36:32]:  info: tek0.10: send [LCP ConfReq id=1 <mru 1400> <magic 6b8b4567>]
[2017-12-05 14:36:32]:  info: tek0.10: recv [LCP ConfAck id=1 <mru 1400> <magic 6b8b4567>]
[2017-12-05 14:36:32]: debug: tek0.10: lcp_layer_started
[2017-12-05 14:36:32]: debug: tek0.10: auth_layer_start
[2017-12-05 14:36:32]: debug: tek0.10: auth_layer_started
[2017-12-05 14:36:32]: debug: tek0.10: ccp_layer_start
[2017-12-05 14:36:32]: error: tek0.10: ccp: failed to get flags: Bad file descriptor
[2017-12-05 14:36:32]: debug: tek0.10: ipcp_layer_start
[2017-12-05 14:36:32]:  warn: tek0.10: ppp: no free IPv4 address
[2017-12-05 14:36:32]: debug: tek0.10: terminate
[2017-12-05 14:36:32]: debug: tek0.10: lcp_layer_finish
[2017-12-05 14:36:32]:  info: tek0.10: send [LCP TermReq id=3]
[2017-12-05 14:36:32]: debug: tek0.10: auth_layer_finish
[2017-12-05 14:36:32]: debug: tek0.10: auth_layer_finished
[2017-12-05 14:36:32]: debug: tek0.10: ccp_layer_finish
[2017-12-05 14:36:32]: error: tek0.10: ccp: failed to get flags: Bad file descriptor
[2017-12-05 14:36:32]: debug: tek0.10: ccp_layer_finished
[2017-12-05 14:36:32]: debug: tek0.10: ipcp_layer_finish
[2017-12-05 14:36:32]: debug: tek0.10: ipcp_layer_finished
[2017-12-05 14:36:32]:  info: tek0.10: send [LCP ProtoRej id=4 <8021>]
[2017-12-05 14:36:32]:  info: tek0.10: recv [LCP TermAck id=3]
[2017-12-05 14:36:32]:  info: tek0.10: send [LCP ConfReq id=4 <mru 1400> <magic 6b8b4567>]
[2017-12-05 14:36:35]: debug: tek0.10: fsm timeout 9
[2017-12-05 14:36:35]:  info: tek0.10: recv [PPPoE PADT a4:b1:e9:ac:f7:20 => 08:00:27:e3:12:bf sid=0001]
[2017-12-05 14:36:35]: debug: tek0.10: pppoe: ppp finished
[2017-12-05 14:36:35]: debug: tek0.10: lcp_layer_free
[2017-12-05 14:36:35]: debug: tek0.10: auth_layer_free
[2017-12-05 14:36:35]: debug: tek0.10: ccp_layer_free
[2017-12-05 14:36:35]: debug: tek0.10: ipcp_layer_free
[2017-12-05 14:36:35]: debug: tek0.10: ipv6cp_layer_free
[2017-12-05 14:36:35]:  info: tek0.10: send [PPPoE PADT 08:00:27:e3:12:bf => a4:b1:e9:ac:f7:20 sid=0001 <AC-Name > <Service-Name > <Relay-Session-Id 00000000a4b1e9acf720>]
[2017-12-05 14:36:35]:  info: tek0.10: disconnected
xebd commented

i guess it is noauth=1 ?

mluis commented

Yes! It's noauth=0.