Сегодня утром провайдер оборвал коннект (вроде как для смены тарифных планов) и вот что я в сислоге потом прочитал:
Код: Выделить всё
Jun 15 09:17:53 honeypot xl2tpd[4333]: handle_avps: dont know how to handle atribute 105.
Jun 15 09:17:53 honeypot xl2tpd[4333]: control_finish: Connection closed to 172.20.0.26, port 1701 (Admin Action), Local: 64965, Remote: 631
Jun 15 09:17:53 honeypot xl2tpd[4333]: Terminating pppd: sending TERM signal to pid 5054
Jun 15 09:17:53 honeypot pppd[5054]: Modem hangup
Jun 15 09:17:53 honeypot pppd[5054]: Connect time 514.0 minutes.
Jun 15 09:17:53 honeypot pppd[5054]: Sent 1474737633 bytes, received 311790188 bytes.
Jun 15 09:17:53 honeypot pppd[5054]: Connection terminated.
Jun 15 09:17:53 honeypot pppd[5054]: Terminating on signal 15
Jun 15 09:17:54 honeypot pppd[5054]: Exit.
Jun 15 09:17:54 honeypot xl2tpd[4333]: pppd 5054 successfully terminated
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:54 honeypot xl2tpd[4333]: Can not find tunnel 64965 (refhim=0)
Jun 15 09:17:54 honeypot xl2tpd[4333]: network_thread: unable to find call or tunnel to handle packet. call = 5266, tunnel = 64965 Dumping.
Jun 15 09:17:59 honeypot xl2tpd[4333]: Connecting to host l2tp.ttkdv.ru, port 1701
Jun 15 09:18:00 honeypot noip2[4141]: Can't get status for ppp0. (19)
Jun 15 09:18:04 honeypot xl2tpd[4333]: Maximum retries exceeded for tunnel 52816. Closing.Всё, после этого попытки законнектиться прекратились. Произошло это потому что Jun 15 09:17:54 honeypot xl2tpd[4333]: pppd 5054 successfully terminated
Как можно настроить xl2tp, чтобы при подобных ситуациях pppd переподнимался?
Конфиги:
pppd:
Код: Выделить всё
name ***
remotename l2tp
ipparam ttkdv
connect /bin/true
mru 1460
mtu 1460
nodeflate
nobsdcomp
persist
maxfail 0
nopcomp
noaccomp
defaultroute
#replacedefaultroute
noauthxl2tp:
Код: Выделить всё
[global]
access control = yes
[lac ttkdv]
require chap = yes
require pap = no
lns = l2tp.ttkdv.ru
redial = yes
redial timeout = 30
max redials = 999999
require authentication = no
ppp debug = no
pppoptfile = /etc/ppp/options.xl2tpd
autodial = yes