Постоянно происходят обвалы соединения VPN
Вот что говорит лог MPD5.0b1
Jan 9 12:25:52 corbina mpd: [L2] PPTP call successful
Jan 9 12:25:52 corbina mpd: [L2] link: UP event
Jan 9 12:25:52 corbina mpd: [L2] link: origination is local
Jan 9 12:25:52 corbina mpd: [L2] LCP: Up event
Jan 9 12:25:52 corbina mpd: [L2] LCP: state change Starting --> Req-Sent
Jan 9 12:25:52 corbina mpd: [L2] LCP: SendConfigReq #81
Jan 9 12:25:52 corbina mpd: ACFCOMP
Jan 9 12:25:52 corbina mpd: PROTOCOMP
Jan 9 12:25:52 corbina mpd: ACCMAP 0x000a0000
Jan 9 12:25:52 corbina mpd: MRU 1500
Jan 9 12:25:52 corbina mpd: MAGICNUM 8c9ff75c
Jan 9 12:25:54 corbina mpd: [L2] LCP: SendConfigReq #82
Jan 9 12:25:54 corbina mpd: ACFCOMP
Jan 9 12:25:54 corbina mpd: PROTOCOMP
Jan 9 12:25:54 corbina mpd: ACCMAP 0x000a0000
Jan 9 12:25:54 corbina mpd: MRU 1500
Jan 9 12:25:54 corbina mpd: MAGICNUM 8c9ff75c
Jan 9 12:25:54 corbina mpd: [L2] LCP: rec'd Configure Request #1 (Req-Sent)
Jan 9 12:25:54 corbina mpd: MRU 1460
Jan 9 12:25:54 corbina mpd: AUTHPROTO CHAP MD5
Jan 9 12:25:54 corbina mpd: MAGICNUM 967aaba7
Jan 9 12:25:54 corbina mpd: [L2] LCP: SendConfigAck #1
Jan 9 12:25:54 corbina mpd: MRU 1460
Jan 9 12:25:54 corbina mpd: AUTHPROTO CHAP MD5
Jan 9 12:25:54 corbina mpd: MAGICNUM 967aaba7
Jan 9 12:25:54 corbina mpd: [L2] LCP: state change Req-Sent --> Ack-Sent
Jan 9 12:25:54 corbina mpd: [L2] LCP: rec'd Configure Ack #82 (Ack-Sent)
Jan 9 12:25:54 corbina mpd: ACFCOMP
Jan 9 12:25:54 corbina mpd: PROTOCOMP
Jan 9 12:25:54 corbina mpd: ACCMAP 0x000a0000
Jan 9 12:25:54 corbina mpd: MRU 1500
Jan 9 12:25:54 corbina mpd: MAGICNUM 8c9ff75c
Jan 9 12:25:54 corbina mpd: [L2] LCP: state change Ack-Sent --> Opened
Jan 9 12:25:54 corbina mpd: [L2] LCP: auth: peer wants CHAP, I want nothing
Jan 9 12:25:54 corbina mpd: [L2] LCP: LayerUp
Jan 9 12:25:54 corbina mpd: [L2] CHAP: rec'd CHALLENGE #1
Jan 9 12:25:54 corbina mpd: Name: "vpn1.srt"
Jan 9 12:25:54 corbina mpd: Using authname "0891528059@internet.beeline.ru"
Jan 9 12:25:54 corbina mpd: [L2] CHAP: sending RESPONSE len:47
Jan 9 12:25:55 corbina mpd: [L2] CHAP: rec'd SUCCESS #1
Jan 9 12:25:55 corbina mpd: [L2] LCP: authorization successful
Jan 9 12:25:55 corbina mpd: [L2] Matched link action 'bundle "PPTP" ""'
Jan 9 12:25:55 corbina mpd: [PPTP] Bundle up: 1 link, total bandwidth 64000 bps
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: Open event
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: state change Initial --> Starting
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: LayerStart
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: Up event
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: state change Starting --> Req-Sent
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: SendConfigReq #17
Jan 9 12:25:55 corbina mpd: IPADDR 0.0.0.0
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: rec'd Configure Request #1 (Req-Sent)
Jan 9 12:25:55 corbina mpd: IPADDR 85.21.230.64
Jan 9 12:25:55 corbina mpd: 85.21.230.64 is OK
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: SendConfigAck #1
Jan 9 12:25:55 corbina mpd: IPADDR 85.21.230.64
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: state change Req-Sent --> Ack-Sent
Jan 9 12:25:55 corbina mpd: [L2] AUTH: Accounting-Thread started
Jan 9 12:25:55 corbina mpd: [L2] AUTH: Accounting-Thread finished normally
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: rec'd Configure Nak #17 (Ack-Sent)
Jan 9 12:25:55 corbina mpd: IPADDR 93.81.128.167
Jan 9 12:25:55 corbina mpd: 93.81.128.167 is OK
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: SendConfigReq #18
Jan 9 12:25:55 corbina mpd: IPADDR 93.81.128.167
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: rec'd Configure Ack #18 (Ack-Sent)
Jan 9 12:25:55 corbina mpd: IPADDR 93.81.128.167
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: state change Ack-Sent --> Opened
Jan 9 12:25:55 corbina mpd: [PPTP] IPCP: LayerUp
Jan 9 12:25:55 corbina mpd: 93.81.128.167 -> 85.21.230.64
Jan 9 12:25:55 corbina mpd: [PPTP] IFACE: Up event
Jan 9 12:26:27 corbina mpd: [L2] LCP: no reply to 1 echo request(s)
Jan 9 12:26:27 corbina mpd: [L2] LCP: peer not responding to echo requests
Jan 9 12:26:27 corbina mpd: [L2] LCP: state change Opened --> Stopping
Jan 9 12:26:27 corbina mpd: [L2] AUTH: Accounting data for user : 140380 seconds, 1812 octets in, 476 octets out
Jan 9 12:26:27 corbina mpd: [PPTP] Bundle up: 0 links, total bandwidth 9600 bps
Jan 9 12:26:27 corbina mpd: [PPTP] IPCP: Close event
Jan 9 12:26:27 corbina mpd: [PPTP] IPCP: state change Opened --> Closing
Jan 9 12:26:27 corbina mpd: [PPTP] IPCP: SendTerminateReq #19
Jan 9 12:26:27 corbina mpd: [PPTP] error writing len 8 frame to bypass: Network is down
Jan 9 12:26:27 corbina mpd: [PPTP] IPCP: LayerDown
Jan 9 12:26:27 corbina mpd: [L2] AUTH: Accounting-Thread started
Jan 9 12:26:27 corbina mpd: [PPTP] IFACE: Down event
Jan 9 12:26:27 corbina mpd: [PPTP] IPCP: Down event
Jan 9 12:26:27 corbina mpd: [PPTP] IPCP: LayerFinish
Jan 9 12:26:27 corbina mpd: [PPTP] No NCPs left. Closing links...
Jan 9 12:26:27 corbina mpd: [PPTP] IPCP: state change Closing --> Initial
Jan 9 12:26:27 corbina mpd: [L2] AUTH: Cleanup
Jan 9 12:26:27 corbina mpd: [L2] LCP: SendTerminateReq #83
Jan 9 12:26:27 corbina mpd: [L2] LCP: LayerDown
Jan 9 12:26:27 corbina mpd: [L2] AUTH: Accounting-Thread finished normally
Jan 9 12:26:27 corbina mpd: [L2] LCP: rec'd Terminate Ack #83 (Stopping)
Jan 9 12:26:27 corbina mpd: [L2] LCP: state change Stopping --> Stopped
Jan 9 12:26:27 corbina mpd: [L2] LCP: LayerFinish
Jan 9 12:26:27 corbina mpd: [L2] PPTP call terminated
Jan 9 12:26:27 corbina mpd: [L2] link: DOWN event
Jan 9 12:26:27 corbina mpd: [L2] link: reconnection attempt 1
Jan 9 12:26:27 corbina mpd: [L2] LCP: Down event
Jan 9 12:26:27 corbina mpd: [L2] LCP: state change Stopped --> Starting
Jan 9 12:26:27 corbina mpd: [L2] LCP: LayerStart
Jan 9 12:26:27 corbina mpd: [L2] PPTP call failed
Jan 9 12:26:27 corbina mpd: [L2] link: DOWN event
Jan 9 12:26:27 corbina mpd: [L2] link: reconnection attempt 2
Jan 9 12:26:27 corbina mpd: [L2] LCP: Down event
И так разрывы продолжаются каждый день. Вечером подольше соединение держится
Личный кабинет переполнен короткими сессиями.
В мастдае все отлично держится.
Вот мои конфиги:
##############IFCONFIG###########
sis0: flags=88843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,STATICARP> metric 0 mtu 1500
options=8<VLAN_MTU>
ether
inet 192.168.1.1 netmask 0xfffff800 broadcast 192.168.7.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8<VLAN_MTU>
ether
inet 10.58.214.244 netmask 0xfffff800 broadcast 10.58.215.255
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
inet 127.0.0.1 netmask 0xff000000
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1460
inet 93.81.131.160 --> 85.21.230.64 netmask 0xffffffff ##########RC.CONF#################
blanktime="600"
font8x14="cp1251-8x14"
font8x16="cp1251-8x16"
font8x8="cp1251-8x8"
gateway_enable="YES"
inetd_enable="YES"
keyrate="normal"
linux_enable="YES"
router="/sbin/routed"
router_enable="YES"
router_flags="-q"
saver="fire"
sendmail_enable="NONE"
sshd_enable="NO"
dhcpd_enable="YES"
dhcpd_ifaces="sis0"
natd_enable="YES"
natd_flags="-f /etc/natd.conf"
natd_interface="fxp0"
#firewall_enable="NO"
#firewall_type="OPEN"
named_enable="YES"
#ppp_enable="YES"
#ppp_mode="ddial"
#ppp_profile="pppoe_i"
#ppp_nat="NO"
ftpd_enable="YES"
ftpd_flags="-E -R -M -D -u 022"
#ppp_user="root"
ifconfig_fxp0="DHCP"
hostname="corbina"
mpd_enable="YES"
mpd_flags='-b'
keymap="ru.koi8-r"
ddclient_enable="YES"
ifconfig_sis0="inet 192.168.1.1 netmask 255.255.248.0 staticarp"
/usr/sbin/arp -f /logs/ether.local
##########NATD.CONF##################
redirect_port tcp 100.100.235.4:1024-65535 1024-65535
redirect_port udp 100.100.235.4:1024-65535 1024-65535
redirect_port tcp 192.168.1.2:1024-65535 1024-65535
redirect_port udp 192.168.1.2:1024-65535 1024-65535
#############NETSTAT -RN##################
Routing tables
Internet:
Destination Gateway Flags Refs Use Netif Expire
default 85.21.230.64 UGS 0 2 ng0
10.0.0.0/8 10.58.208.1 UGS 0 28931508 fxp0
10.58.208.0/21 link#2 UC 0 0 fxp0
10.58.208.1 00:15:e9:95:8b:02 UHLW 10 0 fxp0 1200
10.58.214.244 xxxxxxxxxxxxxxxxx UHLW 2 0 lo0
10.58.209.253 00:24:1d:82:b4:16 UHLW 1 16 fxp0 163
10.58.215.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 fxp0
78.107.23.0/24 10.58.208.1 UGS 0 0 fxp0
78.107.52.0/24 10.58.208.1 UGS 0 0 fxp0
78.107.122.0/28 10.58.208.1 UGS 0 214 fxp0
78.107.235.6/32 10.58.208.1 UGS 0 0 fxp0
83.102.146.96/27 10.58.208.1 UGS 0 0 fxp0
85.21.52.254/32 10.58.208.1 UGS 0 0 fxp0
85.21.72.80/28 10.58.208.1 UGS 0 856 fxp0
85.21.78.93 10.58.208.1 UGHS 0 0 fxp0
85.21.78.139 10.58.208.1 UGHS 0 14064 fxp0
85.21.79.5 10.58.208.1 UGHS 0 170308 fxp0
85.21.79.12 10.58.208.1 UGHS 0 0 fxp0
85.21.79.38 10.58.208.1 UGHS 0 0 fxp0
85.21.79.170 10.58.208.1 UGHS 0 0 fxp0
85.21.138.208/28 10.58.208.1 UGS 0 0 fxp0
85.21.192.3 10.58.208.1 UGHS 0 1305 fxp0
85.21.230.0/24 10.58.208.1 UGS 0 77755 fxp0
85.21.230.64 10.58.208.1 UGHS 1 171 fxp0
89.179.135.67/32 10.58.208.1 UGS 0 362 fxp0
93.81.131.160 127.0.0.1 UH 0 0 lo0
127.0.0.1 127.0.0.1 UH 0 104 lo0
192.168.0.0/21 link#1 UC 0 0 sis0
192.168.1.2 xxxxxxxxxxxxxxxxx UHLS 1 1261981 sis0
192.168.2.2 xxxxxxxxxxxxxxxxx UHLS 1 0 sis0
194.67.1.32 10.58.208.1 UGHS 0 0 fxp0
194.67.1.114 10.58.208.1 UGHS 0 0 fxp0
194.67.1.203 10.58.208.1 UGHS 0 0 fxp0
195.14.40.141 10.58.208.1 UGHS 0 8 fxp0
195.14.50.0/24 10.58.208.1 UGS 0 0 fxp0
195.14.50.16 10.58.208.1 UGHS 0 0 fxp0
213.234.192.8 10.58.208.1 UGHS 0 1592 fxp0
217.118.84.0/24 10.58.208.1 UGS 0 878 fxp0
233.32.240.0/24 10.58.214.244 UGS 0 0 fxp0
239.255.255.0/24 10.58.208.1 UGS 0 0 fxp0
########################MPD.CONF#################
startup:
set web user us pass
set console self 192.168.1.1 5005
set console open
set web self 192.168.1.1 5006
set web open
default:
load vpn-pptp
load pptp_server
vpn-pptp:
create bundle static PPTP
set iface enable tcpmssfix
set iface enable nat
set iface up-script /usr/local/etc/mpd5/io-up-pptp.sh
set iface down-script /usr/local/etc/mpd5/io-down-pptp.sh
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set ipcp no vjcomp
create link static L2 pptp
set link action bundle PPTP
set link disable chap
set link accept chap
set link latency 0
set link max-redial 0
set link mtu 1460
set link keep-alive 1 1
set pptp peer vpn.corbina.net
set auth authname "login"
set auth password "pass"
open
pptp_server:
create bundle template B
set iface enable proxy-arp
set iface idle 1800
set iface enable tcpmssfix
set ipcp no vjcomp
set ipcp ranges 100.100.235.2/24 100.100.235.4/32
set ipcp dns 100.100.235.2
# Enable Microsoft Point-to-Point encryption (MPPE)
#set bundle enable compression
#set ccp yes mppc
#set mppc yes compress e40 e56 e128 stateless
create link template L pptp
set link enable multilink
set link yes acfcomp protocomp
set link action bundle B
set link no pap chap
set link enable chap
set link enable chap-msv1
set link enable chap-msv2
set link mtu 1500
set link keep-alive 2 2
# Configure PPTP and open link
set pptp self 10.58.214.244
set link enable incoming
set link bandwidth 64000
set pptp enable windowing
#####################IO-UP-PPTP.SH##########################
#!/bin/sh
LocalGW=`cat /logs/Corbina/Current_Local_GW`
Today=`date "+%Y-%m-%d"`
TimeNow=`date "+%H:%M:%S"`
route delete $4
route add $4 $LocalGW
route delete default
route add default $4
echo $4 > /logs/Corbina/pptp_GW
# echo $4 > /logs/Corbina/pptp_GW.$Today
echo $Today $TimeNow -PPTP- pptpGW = $4 WAN-IP = $3 >> /logs/Corbina/vpn.log
##################IO-DOWN-PPTP.SH###########
#!/bin/sh
# Get Gateways
LocalGW=`cat /logs/Corbina/Current_Local_GW`
vpnGW=`cat /logs/Corbina/pptp_GW`
route delete $vpnGW
route delete default
route add default $LocalGW
Я являюсь абонентом Домашнего интернета Корбины в Саратове
Плиз помогите разобраться кто или что виноват в частых разрывах
Может это МПД кривой или у мя руки не из того места
Уже три месяца терплю
Обращался в ТП. Отписали сказав что с BSD системами не дружат
MY ROUTER: FreeBSD 7.0 Release