Фиг, ничего еще не закончилось. Теперь все обрывается через минуту (по замерам по часам 74 секунды, но мне кажется, что реально 60 секунд):По порядку: запускаю
# mpd5
"SQL" is unknown. Enter "log" for list.
"AUT" is unknown. Enter "log" for list.
EVENT: Registering event EVENT_READ MsgEvent() at msg.c:72
EVENT: Registering event EVENT_READ MsgEvent() done at msg.c:72
EVENT: Registering event EVENT_READ PptpCtrlListenEvent() at pptp_ctrl.c:577
EVENT: Registering event EVENT_READ PptpCtrlListenEvent() done at pptp_ctrl.c:577
PPTP: waiting for connection on 10.8.0.1 1723
[L] EVENT: Processing event EVENT_TIMEOUT ConfigRead() done
PS: 10.8.0.1 - это интерфейс, созданный OpenVPN, на нем "висит" mpd5
Запускаю авторизацию клиента (Windows XP), логи на экране mpd5:
...
EVENT: Unregistering event EVENT_TIMEOUT TimerExpires() at timer.c:83
EVENT: Unregistering event EVENT_TIMEOUT TimerExpires() done at timer.c:83
[B-1] IPCP: LayerUp
[B-1] 10.9.0.1 -> 10.9.0.3
[B-1] IFACE: Connecting tcpmssfix
[B-1] IFACE: Add address 10.9.0.1/32->10.9.0.3 to ng0
[B-1] IFACE: No interface to proxy arp on for 10.9.0.3
[B-1] IFACE: Up event
[B-1] IFACE: idle-timeout: 1800 seconds
...
EVENT: Stopping timer "PptpIdle" PptpCtrlIdleTimeout() at pptp_ctrl.c:1663
EVENT: Unregistering event EVENT_TIMEOUT TimerExpires() at timer.c:83
EVENT: Unregistering event EVENT_TIMEOUT TimerExpires() done at timer.c:83
EVENT: Starting timer "PptpIdle" PptpCtrlIdleTimeout() for 60000 ms at pptp_ctrl.c:1666
EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
...
EVENT: Stopping timer "PptpIdle" PptpCtrlIdleTimeout() at pptp_ctrl.c:1663
EVENT: Unregistering event EVENT_TIMEOUT TimerExpires() at timer.c:83
EVENT: Unregistering event EVENT_TIMEOUT TimerExpires() done at timer.c:83
EVENT: Starting timer "PptpIdle" PptpCtrlIdleTimeout() for 60000 ms at pptp_ctrl.c:1666
EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
И все, связь разрывается. Фигня какая-то, если б хоть не коннектился, так ведь коннектиться, mtu в конфиге поставил 1300.
Еще бывает такое:
EVENT: Stopping timer "AuthTimer" AuthTimeout() at auth.c:670
EVENT: Stopping timer "(null)" (null)() at pap.c:64
EVENT: Stopping timer "ChalTimer" ChapChalTimeout() at chap.c:93
EVENT: Stopping timer "(null)" (null)() at chap.c:94
EVENT: Stopping timer "(null)" (null)() at eap.c:146
EVENT: Stopping timer "(null)" (null)() at eap.c:147
EVENT: Message 2 to PhysMsg() sent
[L-1] LCP: state change Closing --> Initial
[L-1] LCP: phase shift TERMINATE --> DEAD
EVENT: Message 5 to LinkMsg() sent
EVENT: Stopping timer "LCP" FsmTimeout() at fsm.c:190
EVENT: Unregistering event EVENT_TIMEOUT TimerExpires() at timer.c:83
EVENT: Unregistering event EVENT_TIMEOUT TimerExpires() done at timer.c:83
EVENT: Message 5 to LinkMsg() sent
pptp0-0: chan state ESTABLISHED --> DYING
EVENT: Starting timer "PptpKillCh" (void (*)(void *))PptpCtrlFreeChan() for 0 ms at pptp_ctrl.c:1577
EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
EVENT: Unregistering event (null) at pptp_ctrl.c:1425
EVENT: Unregistering event (null) done at pptp_ctrl.c:1425
EVENT: Unregistering event EVENT_READ PptpCtrlReadCtrl() at pptp_ctrl.c:1426
EVENT: Unregistering event EVENT_READ PptpCtrlReadCtrl() done at pptp_ctrl.c:1426
EVENT: Stopping timer "PptpIdle" PptpCtrlIdleTimeout() at pptp_ctrl.c:1427
EVENT: Stopping timer "(null)" (null)() at pptp_ctrl.c:1428
EVENT: Stopping timer "PptpReply" PptpCtrlReplyTimeout() at pptp_ctrl.c:1431
EVENT: Unregistering event EVENT_TIMEOUT TimerExpires() at timer.c:83
EVENT: Unregistering event EVENT_TIMEOUT TimerExpires() done at timer.c:83
EVENT: Starting timer "PptpKill" (void (*)(void *))PptpCtrlFreeCtrl() for 0 ms at pptp_ctrl.c:1438
EVENT: Registering event EVENT_TIMEOUT TimerExpires() at timer.c:50
EVENT: Registering event EVENT_TIMEOUT TimerExpires() done at timer.c:50
EVENT: Processing event EVENT_READ PptpCtrlReadCtrl() done
EVENT: Processing event EVENT_TIMEOUT TimerExpires()
EVENT: Processing timer "PptpKill" (void (*)(void *))PptpCtrlFreeCtrl()
EVENT: Processing timer "PptpKill" (void (*)(void *))PptpCtrlFreeCtrl() done
EVENT: Processing event EVENT_TIMEOUT TimerExpires() done
EVENT: Processing event EVENT_TIMEOUT TimerExpires()
EVENT: Processing timer "PptpKillCh" (void (*)(void *))PptpCtrlFreeChan()
EVENT: Processing timer "PptpKillCh" (void (*)(void *))PptpCtrlFreeChan() done
Самое интересное для меня, что файл pptp_ctrl.c находиться в папке /usr/ports/net/mpd5/work/mpd5.1/src, т.е. никак не в рабочих папках, как мне кажется, должно было бы быть, ну да это ерунда, а вот то, что везде траблы с таймером в логах, это точно.
Есть идеи, что это может быть?