#22077: xl2tpd-control broken
-------------------------+------------------------
Reporter: bolvan | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Keywords: l2tp xl2tpd |
-------------------------+------------------------
Looks like L2TP protocol in trunk is broken.
I tracked down the problem to failing xl2tpd-control.
{{{
root@kk:/# /etc/init.d/xl2tpd restart
root@kk:/# xl2tpd-control -d connect avc
xl2tpd-control: command to be passed:
@/var/run/xl2tpd/xl2tpd-control-29371.out c avc
xl2tpd-control: command response:
01 No such tunnel 'avc'
root@kk:/# xl2tpd-control -d connect avc
xl2tpd-control: command to be passed:
@/var/run/xl2tpd/xl2tpd-control-29402.out c avc
xl2tpd-control: command response:
01 No such tunnel 'avc'
root@kk:/# xl2tpd-control -d connect avc
xl2tpd-control: command to be passed:
@/var/run/xl2tpd/xl2tpd-control-29403.out c avc
xl2tpd-control: command response:
root@kk:/# xl2tpd-control -d connect avc
xl2tpd-control: command to be passed:
@/var/run/xl2tpd/xl2tpd-control-29404.out c avc
xl2tpd-control: command response:
root@kk:/# xl2tpd-control -d connect avc
xl2tpd-control: command to be passed:
@/var/run/xl2tpd/xl2tpd-control-29405.out c avc
xl2tpd-control: command response:
01 No such tunnel 'avc'
}}}
xl2tpd-control not always returns result and fails although in syslog
clear indications of command being processed :
xl2tpd[14039]: No such tunnel 'avc'
After 20-30 attempts xl2tpd stop processing control messages. It hangs.
I enabled DEBUG_CONTROL compile option and added my own messages.
I tracked where hang occurs :
xl2tpd.c
resf = fopen (res_filename, "w");
fopen never returns
--
Ticket URL: <https://dev.openwrt.org/ticket/22077>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets