mpd отключение первого клиента, при подключении второго

Простые/общие вопросы по UNIX системам. Спросите здесь, если вы новичок

Модераторы: vadim64, terminus

Правила форума
Убедительная просьба юзать теги [cоde] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
densan
ст. сержант
Сообщения: 363
Зарегистрирован: 2007-12-06 10:02:02
Откуда: Penza
Контактная информация:

mpd отключение первого клиента, при подключении второго

Непрочитанное сообщение densan » 2018-06-11 19:38:52

Здравствуйте.
ОС:

Код: Выделить всё

11.1-RELEASE-p10 FreeBSD 11.1-RELEASE-p10 #0: Tue May  8 05:21:56 UTC 2018     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
Установлен MPD 5 с конфигом:

Код: Выделить всё

startup:
        set user admuser admpass admin
        set console self 127.0.0.1 5005
        set console open
#       set web self 127.0.0.1 5006
#       set web open
default:
        load pptp_server

pptp_server:
        set ippool add pool1 192.168.10.50 192.168.10.99
        create bundle template B
        set iface enable proxy-arp
        set iface idle 1800
        set iface enable tcpmssfix
        set ipcp yes vjcomp
        set ipcp ranges 192.168.10.1/32 ippool pool1
#        set ipcp dns 192.168.10.3
#        set ipcp nbns 192.168.10.4
        set bundle enable compression
        set ccp yes mppc
        set mppc yes e40
        set mppc yes e128
        set mppc yes stateless
        create link template L pptp
        set link action bundle B
        set link enable multilink
        set link yes acfcomp protocomp
        set link no pap chap eap
        set link enable chap
        set link keep-alive 10 60
        set link mtu 1460
        set pptp self 1.2.3.107
        set link enable incoming

cat mpd.secret
test1   qwer1234
test2   qwer12345
Подключается test1, получает IP 192.168.10.50. Запускаю пинг до 192.168.10.1
Подключаетcz test2, получает IP 192.168.10.51. Прекращается пинг с первого клиента до 192.168.10.1. Пинг со второго клиента до 192.168.10.1 идет.

Код: Выделить всё

ifconfig
em0: flags=8c02<BROADCAST,OACTIVE,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
        ether 00:25:90:ae:3b:2f
        hwaddr 00:25:90:ae:3b:2f
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect
        status: no carrier
em1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=4219b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC,VLAN_HWTSO>
        ether 00:25:90:ae:3b:2e
        hwaddr 00:25:90:ae:3b:2e
        inet 1.2.3.107 netmask 0xfffffff8 broadcast 1.2.3.111
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: Ethernet autoselect (1000baseT <full-duplex>)
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        groups: lo
ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1396
        inet 192.168.10.1 --> 192.168.10.50  netmask 0xffffffff
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
ng1: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> metric 0 mtu 1396
        inet 192.168.10.1 --> 192.168.10.51  netmask 0xffffffff
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>

netstat -4rn
Routing tables

Internet:
Destination        Gateway            Flags     Netif Expire
default            1.2.3.105      UGS         em1
1.2.3.104/29   link#2             U           em1
1.2.3.107      link#2             UHS         lo0
127.0.0.1          link#3             UH          lo0
192.168.10.1       link#4             UHS         lo0
192.168.10.50      link#4             UH          ng0
192.168.10.51      link#5             UH          ng1
Файрвол отключен.

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2460 рублей (8 CPU, 8Gb RAM, 2x500Gb HDD, RAID 3ware 9750):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

densan
ст. сержант
Сообщения: 363
Зарегистрирован: 2007-12-06 10:02:02
Откуда: Penza
Контактная информация:

mpd отключение первого клиента, при подключении второго

Непрочитанное сообщение densan » 2018-06-11 19:40:49

Лог MPD

Код: Выделить всё

Jun 11 19:21:17 vpn mpd: Multi-link PPP daemon for FreeBSD
Jun 11 19:21:17 vpn mpd:
Jun 11 19:21:17 vpn mpd: process 1115 started, version 5.8 (root@vpn.it2b.su 19:09 23-May-2018)
Jun 11 19:21:17 vpn mpd: CONSOLE: listening on 127.0.0.1 5005
Jun 11 19:21:17 vpn mpd: PPTP: waiting for connection on 1.2.3.107 1723
Jun 11 19:21:31 vpn mpd: [L-1] Accepting PPTP connection
Jun 11 19:21:31 vpn mpd: [L-1] Link: OPEN event
Jun 11 19:21:31 vpn mpd: [L-1] LCP: Open event
Jun 11 19:21:31 vpn mpd: [L-1] LCP: state change Initial --> Starting
Jun 11 19:21:31 vpn mpd: [L-1] LCP: LayerStart
Jun 11 19:21:31 vpn mpd: [L-1] PPTP: attaching to peer's outgoing call
Jun 11 19:21:31 vpn mpd: [L-1] Link: UP event
Jun 11 19:21:31 vpn mpd: [L-1] LCP: Up event
Jun 11 19:21:31 vpn mpd: [L-1] LCP: state change Starting --> Req-Sent
Jun 11 19:21:31 vpn mpd: [L-1] LCP: SendConfigReq #1
Jun 11 19:21:31 vpn mpd: [L-1]   ACFCOMP
Jun 11 19:21:31 vpn mpd: [L-1]   PROTOCOMP
Jun 11 19:21:31 vpn mpd: [L-1]   MRU 1500
Jun 11 19:21:31 vpn mpd: [L-1]   MAGICNUM 0xaf45af80
Jun 11 19:21:31 vpn mpd: [L-1]   AUTHPROTO CHAP MSOFTv2
Jun 11 19:21:31 vpn mpd: [L-1]   MP MRRU 2048
Jun 11 19:21:31 vpn mpd: [L-1]   MP SHORTSEQ
Jun 11 19:21:31 vpn mpd: [L-1]   ENDPOINTDISC [802.1] 00 25 90 ae 3b 2e
Jun 11 19:21:31 vpn mpd: [L-1] LCP: rec'd Configure Request #0 (Req-Sent)
Jun 11 19:21:31 vpn mpd: [L-1]   MRU 1400
Jun 11 19:21:31 vpn mpd: [L-1]   MAGICNUM 0x734e6fda
Jun 11 19:21:31 vpn mpd: [L-1]   PROTOCOMP
Jun 11 19:21:31 vpn mpd: [L-1]   ACFCOMP
Jun 11 19:21:31 vpn mpd: [L-1]   CALLBACK 6
Jun 11 19:21:31 vpn mpd: [L-1] LCP: SendConfigRej #0
Jun 11 19:21:31 vpn mpd: [L-1]   CALLBACK 6
Jun 11 19:21:31 vpn mpd: [L-1] LCP: rec'd Configure Request #1 (Req-Sent)
Jun 11 19:21:31 vpn mpd: [L-1]   MRU 1400
Jun 11 19:21:31 vpn mpd: [L-1]   MAGICNUM 0x734e6fda
Jun 11 19:21:31 vpn mpd: [L-1]   PROTOCOMP
Jun 11 19:21:31 vpn mpd: [L-1]   ACFCOMP
Jun 11 19:21:31 vpn mpd: [L-1] LCP: SendConfigAck #1
Jun 11 19:21:31 vpn mpd: [L-1]   MRU 1400
Jun 11 19:21:31 vpn mpd: [L-1]   MAGICNUM 0x734e6fda
Jun 11 19:21:31 vpn mpd: [L-1]   PROTOCOMP
Jun 11 19:21:31 vpn mpd: [L-1]   ACFCOMP
Jun 11 19:21:31 vpn mpd: [L-1] LCP: state change Req-Sent --> Ack-Sent
Jun 11 19:21:33 vpn mpd: [L-1] LCP: SendConfigReq #2
Jun 11 19:21:33 vpn mpd: [L-1]   ACFCOMP
Jun 11 19:21:33 vpn mpd: [L-1]   PROTOCOMP
Jun 11 19:21:33 vpn mpd: [L-1]   MRU 1500
Jun 11 19:21:33 vpn mpd: [L-1]   MAGICNUM 0xaf45af80
Jun 11 19:21:33 vpn mpd: [L-1]   AUTHPROTO CHAP MSOFTv2
Jun 11 19:21:33 vpn mpd: [L-1]   MP MRRU 2048
Jun 11 19:21:33 vpn mpd: [L-1]   MP SHORTSEQ
Jun 11 19:21:33 vpn mpd: [L-1]   ENDPOINTDISC [802.1] 00 25 90 ae 3b 2e
Jun 11 19:21:33 vpn mpd: [L-1] LCP: rec'd Configure Reject #2 (Ack-Sent)
Jun 11 19:21:33 vpn mpd: [L-1]   MP MRRU 2048
Jun 11 19:21:33 vpn mpd: [L-1]   MP SHORTSEQ
Jun 11 19:21:33 vpn mpd: [L-1]   ENDPOINTDISC [802.1] 00 25 90 ae 3b 2e
Jun 11 19:21:33 vpn mpd: [L-1] LCP: SendConfigReq #3
Jun 11 19:21:33 vpn mpd: [L-1]   ACFCOMP
Jun 11 19:21:33 vpn mpd: [L-1]   PROTOCOMP
Jun 11 19:21:33 vpn mpd: [L-1]   MRU 1500
Jun 11 19:21:33 vpn mpd: [L-1]   MAGICNUM 0xaf45af80
Jun 11 19:21:33 vpn mpd: [L-1]   AUTHPROTO CHAP MSOFTv2
Jun 11 19:21:33 vpn mpd: [L-1] LCP: rec'd Configure Ack #3 (Ack-Sent)
Jun 11 19:21:33 vpn mpd: [L-1]   ACFCOMP
Jun 11 19:21:33 vpn mpd: [L-1]   PROTOCOMP
Jun 11 19:21:33 vpn mpd: [L-1]   MRU 1500
Jun 11 19:21:33 vpn mpd: [L-1]   MAGICNUM 0xaf45af80
Jun 11 19:21:33 vpn mpd: [L-1]   AUTHPROTO CHAP MSOFTv2
Jun 11 19:21:33 vpn mpd: [L-1] LCP: state change Ack-Sent --> Opened
Jun 11 19:21:33 vpn mpd: [L-1] LCP: auth: peer wants nothing, I want CHAP
Jun 11 19:21:33 vpn mpd: [L-1] CHAP: sending CHALLENGE #1 len: 21
Jun 11 19:21:33 vpn mpd: [L-1] LCP: LayerUp
Jun 11 19:21:33 vpn mpd: [L-1] LCP: rec'd Ident #3 (Opened)
Jun 11 19:21:33 vpn mpd: [L-1]   MESG: MSRAS-0-TANYA
Jun 11 19:21:33 vpn mpd: [L-1] LCP: rec'd Ident #4 (Opened)
Jun 11 19:21:33 vpn mpd: [L-1]   MESG: wM-^S▒=▒T▒CM-^_▒-▒~^?{M-^G
Jun 11 19:21:33 vpn mpd: [L-1] CHAP: rec'd RESPONSE #1 len: 59
Jun 11 19:21:33 vpn mpd: [L-1]   Name: "test1"
Jun 11 19:21:33 vpn mpd: [L-1] AUTH: Trying INTERNAL
Jun 11 19:21:33 vpn mpd: [L-1] AUTH: INTERNAL returned: undefined
Jun 11 19:21:33 vpn mpd: [L-1] CHAP: Auth return status: undefined
Jun 11 19:21:33 vpn mpd: [L-1] CHAP: Response is valid
Jun 11 19:21:33 vpn mpd: [L-1] CHAP: Reply message: S=65F75CF2CD3E86D2A8BCEEE10315F539403799C2
Jun 11 19:21:33 vpn mpd: [L-1] CHAP: sending SUCCESS #1 len: 46
Jun 11 19:21:33 vpn mpd: [L-1] LCP: authorization successful
Jun 11 19:21:33 vpn mpd: [L-1] Link: Matched action 'bundle "B" ""'
Jun 11 19:21:33 vpn mpd: [L-1] Creating new bundle using template "B".
Jun 11 19:21:33 vpn mpd: [B-1] Bundle: Interface ng0 created
Jun 11 19:21:33 vpn mpd: [L-1] Link: Join bundle "B-1"
Jun 11 19:21:33 vpn mpd: [B-1] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: Open event
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: state change Initial --> Starting
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: LayerStart
Jun 11 19:21:33 vpn mpd: [B-1] CCP: Open event
Jun 11 19:21:33 vpn mpd: [B-1] CCP: state change Initial --> Starting
Jun 11 19:21:33 vpn mpd: [B-1] CCP: LayerStart
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: Up event
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: Got IP 192.168.10.50 from pool "pool1" for peer
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: state change Starting --> Req-Sent
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: SendConfigReq #1
Jun 11 19:21:33 vpn mpd: [B-1]   IPADDR 192.168.10.1
Jun 11 19:21:33 vpn mpd: [B-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jun 11 19:21:33 vpn mpd: [B-1] CCP: Up event
Jun 11 19:21:33 vpn mpd: [B-1] CCP: state change Starting --> Req-Sent
Jun 11 19:21:33 vpn mpd: [B-1] CCP: SendConfigReq #1
Jun 11 19:21:33 vpn mpd: [B-1]   MPPC
Jun 11 19:21:33 vpn mpd: [B-1]     0x01000060:MPPE(40, 128 bits), stateless
Jun 11 19:21:33 vpn mpd: [B-1] CCP: rec'd Configure Request #5 (Req-Sent)
Jun 11 19:21:33 vpn mpd: [B-1]   MPPC
Jun 11 19:21:33 vpn mpd: [B-1]     0x01000000:stateless
Jun 11 19:21:33 vpn mpd: [B-1] CCP: SendConfigNak #5
Jun 11 19:21:33 vpn mpd: [B-1]   MPPC
Jun 11 19:21:33 vpn mpd: [B-1]     0x01000060:MPPE(40, 128 bits), stateless
Jun 11 19:21:33 vpn mpd: [B-1] CCP: rec'd Configure Nak #1 (Req-Sent)
Jun 11 19:21:33 vpn mpd: [B-1]   MPPC
Jun 11 19:21:33 vpn mpd: [B-1]     0x01000040:MPPE(128 bits), stateless
Jun 11 19:21:33 vpn mpd: [B-1] CCP: SendConfigReq #2
Jun 11 19:21:33 vpn mpd: [B-1]   MPPC
Jun 11 19:21:33 vpn mpd: [B-1]     0x01000040:MPPE(128 bits), stateless
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: rec'd Configure Reject #1 (Req-Sent)
Jun 11 19:21:33 vpn mpd: [B-1]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: SendConfigReq #2
Jun 11 19:21:33 vpn mpd: [B-1]   IPADDR 192.168.10.1
Jun 11 19:21:33 vpn mpd: [B-1] CCP: rec'd Configure Request #7 (Req-Sent)
Jun 11 19:21:33 vpn mpd: [B-1]   MPPC
Jun 11 19:21:33 vpn mpd: [B-1]     0x01000040:MPPE(128 bits), stateless
Jun 11 19:21:33 vpn mpd: [B-1] CCP: SendConfigAck #7
Jun 11 19:21:33 vpn mpd: [B-1]   MPPC
Jun 11 19:21:33 vpn mpd: [B-1]     0x01000040:MPPE(128 bits), stateless
Jun 11 19:21:33 vpn mpd: [B-1] CCP: state change Req-Sent --> Ack-Sent
Jun 11 19:21:33 vpn mpd: [B-1] CCP: rec'd Configure Ack #2 (Ack-Sent)
Jun 11 19:21:33 vpn mpd: [B-1]   MPPC
Jun 11 19:21:33 vpn mpd: [B-1]     0x01000040:MPPE(128 bits), stateless
Jun 11 19:21:33 vpn mpd: [B-1] CCP: state change Ack-Sent --> Opened
Jun 11 19:21:33 vpn mpd: [B-1] CCP: LayerUp
Jun 11 19:21:33 vpn mpd: [B-1] CCP: Compress using: mppc (MPPE(128 bits), stateless)
Jun 11 19:21:33 vpn mpd: [B-1] CCP: Decompress using: mppc (MPPE(128 bits), stateless)
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: rec'd Configure Ack #2 (Req-Sent)
Jun 11 19:21:33 vpn mpd: [B-1]   IPADDR 192.168.10.1
Jun 11 19:21:33 vpn mpd: [B-1] IPCP: state change Req-Sent --> Ack-Rcvd
Jun 11 19:21:35 vpn mpd: [B-1] IPCP: rec'd Configure Request #8 (Ack-Rcvd)
Jun 11 19:21:35 vpn mpd: [B-1]   IPADDR 0.0.0.0
Jun 11 19:21:35 vpn mpd: [B-1]     NAKing with 192.168.10.50
Jun 11 19:21:35 vpn mpd: [B-1]   PRIDNS 0.0.0.0
Jun 11 19:21:35 vpn mpd: [B-1]   PRINBNS 0.0.0.0
Jun 11 19:21:35 vpn mpd: [B-1]   SECDNS 0.0.0.0
Jun 11 19:21:35 vpn mpd: [B-1]   SECNBNS 0.0.0.0
Jun 11 19:21:35 vpn mpd: [B-1] IPCP: SendConfigRej #8
Jun 11 19:21:35 vpn mpd: [B-1]   PRIDNS 0.0.0.0
Jun 11 19:21:35 vpn mpd: [B-1]   PRINBNS 0.0.0.0
Jun 11 19:21:35 vpn mpd: [B-1]   SECDNS 0.0.0.0
Jun 11 19:21:35 vpn mpd: [B-1]   SECNBNS 0.0.0.0
Jun 11 19:21:35 vpn mpd: [B-1] IPCP: rec'd Configure Request #9 (Ack-Rcvd)
Jun 11 19:21:35 vpn mpd: [B-1]   IPADDR 0.0.0.0
Jun 11 19:21:35 vpn mpd: [B-1]     NAKing with 192.168.10.50
Jun 11 19:21:35 vpn mpd: [B-1] IPCP: SendConfigNak #9
Jun 11 19:21:35 vpn mpd: [B-1]   IPADDR 192.168.10.50
Jun 11 19:21:35 vpn mpd: [B-1] IPCP: rec'd Configure Request #10 (Ack-Rcvd)
Jun 11 19:21:35 vpn mpd: [B-1]   IPADDR 192.168.10.50
Jun 11 19:21:35 vpn mpd: [B-1]     192.168.10.50 is OK
Jun 11 19:21:35 vpn mpd: [B-1] IPCP: SendConfigAck #10
Jun 11 19:21:35 vpn mpd: [B-1]   IPADDR 192.168.10.50
Jun 11 19:21:35 vpn mpd: [B-1] IPCP: state change Ack-Rcvd --> Opened
Jun 11 19:21:35 vpn mpd: [B-1] IPCP: LayerUp
Jun 11 19:21:35 vpn mpd: [B-1]   192.168.10.1 -> 192.168.10.50
Jun 11 19:21:35 vpn mpd: [B-1] IFACE: No interface to proxy arp on for 192.168.10.50
Jun 11 19:21:35 vpn mpd: [B-1] IFACE: Up event
Jun 11 19:23:07 vpn mpd: [L-2] Accepting PPTP connection
Jun 11 19:23:07 vpn mpd: [L-2] Link: OPEN event
Jun 11 19:23:07 vpn mpd: [L-2] LCP: Open event
Jun 11 19:23:07 vpn mpd: [L-2] LCP: state change Initial --> Starting
Jun 11 19:23:07 vpn mpd: [L-2] LCP: LayerStart
Jun 11 19:23:07 vpn mpd: [L-2] PPTP: attaching to peer's outgoing call
Jun 11 19:23:07 vpn mpd: [L-2] Link: UP event
Jun 11 19:23:07 vpn mpd: [L-2] LCP: Up event
Jun 11 19:23:07 vpn mpd: [L-2] LCP: state change Starting --> Req-Sent
Jun 11 19:23:07 vpn mpd: [L-2] LCP: SendConfigReq #1
Jun 11 19:23:07 vpn mpd: [L-2]   ACFCOMP
Jun 11 19:23:07 vpn mpd: [L-2]   PROTOCOMP
Jun 11 19:23:07 vpn mpd: [L-2]   MRU 1500
Jun 11 19:23:07 vpn mpd: [L-2]   MAGICNUM 0xc0ffffb9
Jun 11 19:23:07 vpn mpd: [L-2]   AUTHPROTO CHAP MSOFTv2
Jun 11 19:23:07 vpn mpd: [L-2]   MP MRRU 2048
Jun 11 19:23:07 vpn mpd: [L-2]   MP SHORTSEQ
Jun 11 19:23:07 vpn mpd: [L-2]   ENDPOINTDISC [802.1] 00 25 90 ae 3b 2e
Jun 11 19:23:07 vpn mpd: [L-2] LCP: rec'd Configure Request #0 (Req-Sent)
Jun 11 19:23:07 vpn mpd: [L-2]   MRU 1400
Jun 11 19:23:07 vpn mpd: [L-2]   MAGICNUM 0x69926fce
Jun 11 19:23:07 vpn mpd: [L-2]   PROTOCOMP
Jun 11 19:23:07 vpn mpd: [L-2]   ACFCOMP
Jun 11 19:23:07 vpn mpd: [L-2]   CALLBACK 6
Jun 11 19:23:07 vpn mpd: [L-2] LCP: SendConfigRej #0
Jun 11 19:23:07 vpn mpd: [L-2]   CALLBACK 6
Jun 11 19:23:07 vpn mpd: [L-2] LCP: rec'd Configure Request #1 (Req-Sent)
Jun 11 19:23:07 vpn mpd: [L-2]   MRU 1400
Jun 11 19:23:07 vpn mpd: [L-2]   MAGICNUM 0x69926fce
Jun 11 19:23:07 vpn mpd: [L-2]   PROTOCOMP
Jun 11 19:23:07 vpn mpd: [L-2]   ACFCOMP
Jun 11 19:23:07 vpn mpd: [L-2] LCP: SendConfigAck #1
Jun 11 19:23:07 vpn mpd: [L-2]   MRU 1400
Jun 11 19:23:07 vpn mpd: [L-2]   MAGICNUM 0x69926fce
Jun 11 19:23:07 vpn mpd: [L-2]   PROTOCOMP
Jun 11 19:23:07 vpn mpd: [L-2]   ACFCOMP
Jun 11 19:23:07 vpn mpd: [L-2] LCP: state change Req-Sent --> Ack-Sent
Jun 11 19:23:09 vpn mpd: [L-2] LCP: SendConfigReq #2
Jun 11 19:23:09 vpn mpd: [L-2]   ACFCOMP
Jun 11 19:23:09 vpn mpd: [L-2]   PROTOCOMP
Jun 11 19:23:09 vpn mpd: [L-2]   MRU 1500
Jun 11 19:23:09 vpn mpd: [L-2]   MAGICNUM 0xc0ffffb9
Jun 11 19:23:09 vpn mpd: [L-2]   AUTHPROTO CHAP MSOFTv2
Jun 11 19:23:09 vpn mpd: [L-2]   MP MRRU 2048
Jun 11 19:23:09 vpn mpd: [L-2]   MP SHORTSEQ
Jun 11 19:23:09 vpn mpd: [L-2]   ENDPOINTDISC [802.1] 00 25 90 ae 3b 2e
Jun 11 19:23:09 vpn mpd: [L-2] LCP: rec'd Configure Reject #2 (Ack-Sent)
Jun 11 19:23:09 vpn mpd: [L-2]   MP MRRU 2048
Jun 11 19:23:09 vpn mpd: [L-2]   MP SHORTSEQ
Jun 11 19:23:09 vpn mpd: [L-2]   ENDPOINTDISC [802.1] 00 25 90 ae 3b 2e
Jun 11 19:23:09 vpn mpd: [L-2] LCP: SendConfigReq #3
Jun 11 19:23:09 vpn mpd: [L-2]   ACFCOMP
Jun 11 19:23:09 vpn mpd: [L-2]   PROTOCOMP
Jun 11 19:23:09 vpn mpd: [L-2]   MRU 1500
Jun 11 19:23:09 vpn mpd: [L-2]   MAGICNUM 0xc0ffffb9
Jun 11 19:23:09 vpn mpd: [L-2]   AUTHPROTO CHAP MSOFTv2
Jun 11 19:23:09 vpn mpd: [L-2] LCP: rec'd Configure Ack #3 (Ack-Sent)
Jun 11 19:23:09 vpn mpd: [L-2]   ACFCOMP
Jun 11 19:23:09 vpn mpd: [L-2]   PROTOCOMP
Jun 11 19:23:09 vpn mpd: [L-2]   MRU 1500
Jun 11 19:23:09 vpn mpd: [L-2]   MAGICNUM 0xc0ffffb9
Jun 11 19:23:09 vpn mpd: [L-2]   AUTHPROTO CHAP MSOFTv2
Jun 11 19:23:09 vpn mpd: [L-2] LCP: state change Ack-Sent --> Opened
Jun 11 19:23:09 vpn mpd: [L-2] LCP: auth: peer wants nothing, I want CHAP
Jun 11 19:23:09 vpn mpd: [L-2] CHAP: sending CHALLENGE #1 len: 21
Jun 11 19:23:09 vpn mpd: [L-2] LCP: LayerUp
Jun 11 19:23:09 vpn mpd: [L-2] LCP: rec'd Ident #2 (Opened)
Jun 11 19:23:09 vpn mpd: [L-2]   MESG: MSRASV5.20
Jun 11 19:23:09 vpn mpd: [L-2] LCP: rec'd Ident #3 (Opened)
Jun 11 19:23:09 vpn mpd: [L-2]   MESG: MSRAS-0-VPC
Jun 11 19:23:09 vpn mpd: [L-2] LCP: rec'd Ident #4 (Opened)
Jun 11 19:23:09 vpn mpd: [L-2]   MESG: +^R▒,▒J)@M-^XIL▒]_hM-^_
Jun 11 19:23:09 vpn mpd: [L-2] CHAP: rec'd RESPONSE #1 len: 59
Jun 11 19:23:09 vpn mpd: [L-2]   Name: "test2"
Jun 11 19:23:09 vpn mpd: [L-2] AUTH: Trying INTERNAL
Jun 11 19:23:09 vpn mpd: [L-2] AUTH: INTERNAL returned: undefined
Jun 11 19:23:09 vpn mpd: [L-2] CHAP: Auth return status: undefined
Jun 11 19:23:09 vpn mpd: [L-2] CHAP: Response is valid
Jun 11 19:23:09 vpn mpd: [L-2] CHAP: Reply message: S=E4D3A100D0393CABD251188A304C8439171706DB
Jun 11 19:23:09 vpn mpd: [L-2] CHAP: sending SUCCESS #1 len: 46
Jun 11 19:23:09 vpn mpd: [L-2] LCP: authorization successful
Jun 11 19:23:09 vpn mpd: [L-2] Link: Matched action 'bundle "B" ""'
Jun 11 19:23:09 vpn mpd: [L-2] Creating new bundle using template "B".
Jun 11 19:23:09 vpn mpd: [B-2] Bundle: Interface ng1 created
Jun 11 19:23:09 vpn mpd: [L-2] Link: Join bundle "B-2"
Jun 11 19:23:09 vpn mpd: [B-2] Bundle: Status update: up 1 link, total bandwidth 64000 bps
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: Open event
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: state change Initial --> Starting
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: LayerStart
Jun 11 19:23:09 vpn mpd: [B-2] CCP: Open event
Jun 11 19:23:09 vpn mpd: [B-2] CCP: state change Initial --> Starting
Jun 11 19:23:09 vpn mpd: [B-2] CCP: LayerStart
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: Up event
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: Got IP 192.168.10.51 from pool "pool1" for peer
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: state change Starting --> Req-Sent
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: SendConfigReq #1
Jun 11 19:23:09 vpn mpd: [B-2]   IPADDR 192.168.10.1
Jun 11 19:23:09 vpn mpd: [B-2]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jun 11 19:23:09 vpn mpd: [B-2] CCP: Up event
Jun 11 19:23:09 vpn mpd: [B-2] CCP: state change Starting --> Req-Sent
Jun 11 19:23:09 vpn mpd: [B-2] CCP: SendConfigReq #1
Jun 11 19:23:09 vpn mpd: [B-2]   MPPC
Jun 11 19:23:09 vpn mpd: [B-2]     0x01000060:MPPE(40, 128 bits), stateless
Jun 11 19:23:09 vpn mpd: [B-2] CCP: rec'd Configure Request #5 (Req-Sent)
Jun 11 19:23:09 vpn mpd: [B-2]   MPPC
Jun 11 19:23:09 vpn mpd: [B-2]     0x01000000:stateless
Jun 11 19:23:09 vpn mpd: [B-2] CCP: SendConfigNak #5
Jun 11 19:23:09 vpn mpd: [B-2]   MPPC
Jun 11 19:23:09 vpn mpd: [B-2]     0x01000060:MPPE(40, 128 bits), stateless
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: rec'd Configure Request #6 (Req-Sent)
Jun 11 19:23:09 vpn mpd: [B-2]   IPADDR 0.0.0.0
Jun 11 19:23:09 vpn mpd: [B-2]     NAKing with 192.168.10.51
Jun 11 19:23:09 vpn mpd: [B-2]   PRIDNS 0.0.0.0
Jun 11 19:23:09 vpn mpd: [B-2]   PRINBNS 0.0.0.0
Jun 11 19:23:09 vpn mpd: [B-2]   SECDNS 0.0.0.0
Jun 11 19:23:09 vpn mpd: [B-2]   SECNBNS 0.0.0.0
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: SendConfigRej #6
Jun 11 19:23:09 vpn mpd: [B-2]   PRIDNS 0.0.0.0
Jun 11 19:23:09 vpn mpd: [B-2]   PRINBNS 0.0.0.0
Jun 11 19:23:09 vpn mpd: [B-2]   SECDNS 0.0.0.0
Jun 11 19:23:09 vpn mpd: [B-2]   SECNBNS 0.0.0.0
Jun 11 19:23:09 vpn mpd: [B-2] CCP: rec'd Configure Request #7 (Req-Sent)
Jun 11 19:23:09 vpn mpd: [B-2]   MPPC
Jun 11 19:23:09 vpn mpd: [B-2]     0x01000040:MPPE(128 bits), stateless
Jun 11 19:23:09 vpn mpd: [B-2] CCP: SendConfigAck #7
Jun 11 19:23:09 vpn mpd: [B-2]   MPPC
Jun 11 19:23:09 vpn mpd: [B-2]     0x01000040:MPPE(128 bits), stateless
Jun 11 19:23:09 vpn mpd: [B-2] CCP: state change Req-Sent --> Ack-Sent
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: rec'd Configure Request #8 (Req-Sent)
Jun 11 19:23:09 vpn mpd: [B-2]   IPADDR 0.0.0.0
Jun 11 19:23:09 vpn mpd: [B-2]     NAKing with 192.168.10.51
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: SendConfigNak #8
Jun 11 19:23:09 vpn mpd: [B-2]   IPADDR 192.168.10.51
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: rec'd Configure Request #9 (Req-Sent)
Jun 11 19:23:09 vpn mpd: [B-2]   IPADDR 192.168.10.51
Jun 11 19:23:09 vpn mpd: [B-2]     192.168.10.51 is OK
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: SendConfigAck #9
Jun 11 19:23:09 vpn mpd: [B-2]   IPADDR 192.168.10.51
Jun 11 19:23:09 vpn mpd: [B-2] IPCP: state change Req-Sent --> Ack-Sent
Jun 11 19:23:11 vpn mpd: [B-2] CCP: SendConfigReq #2
Jun 11 19:23:11 vpn mpd: [B-2]   MPPC
Jun 11 19:23:11 vpn mpd: [B-2]     0x01000060:MPPE(40, 128 bits), stateless
Jun 11 19:23:11 vpn mpd: [B-2] IPCP: SendConfigReq #2
Jun 11 19:23:11 vpn mpd: [B-2]   IPADDR 192.168.10.1
Jun 11 19:23:11 vpn mpd: [B-2]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jun 11 19:23:11 vpn mpd: [B-2] IPCP: rec'd Configure Reject #2 (Ack-Sent)
Jun 11 19:23:11 vpn mpd: [B-2]   COMPPROTO VJCOMP, 16 comp. channels, no comp-cid
Jun 11 19:23:11 vpn mpd: [B-2] IPCP: SendConfigReq #3
Jun 11 19:23:11 vpn mpd: [B-2]   IPADDR 192.168.10.1
Jun 11 19:23:11 vpn mpd: [B-2] CCP: rec'd Configure Nak #2 (Ack-Sent)
Jun 11 19:23:11 vpn mpd: [B-2]   MPPC
Jun 11 19:23:11 vpn mpd: [B-2]     0x01000040:MPPE(128 bits), stateless
Jun 11 19:23:11 vpn mpd: [B-2] CCP: SendConfigReq #3
Jun 11 19:23:11 vpn mpd: [B-2]   MPPC
Jun 11 19:23:11 vpn mpd: [B-2]     0x01000040:MPPE(128 bits), stateless
Jun 11 19:23:11 vpn mpd: [B-2] IPCP: rec'd Configure Ack #3 (Ack-Sent)
Jun 11 19:23:11 vpn mpd: [B-2]   IPADDR 192.168.10.1
Jun 11 19:23:11 vpn mpd: [B-2] IPCP: state change Ack-Sent --> Opened
Jun 11 19:23:11 vpn mpd: [B-2] IPCP: LayerUp
Jun 11 19:23:11 vpn mpd: [B-2]   192.168.10.1 -> 192.168.10.51
Jun 11 19:23:11 vpn mpd: [B-2] IFACE: No interface to proxy arp on for 192.168.10.51
Jun 11 19:23:11 vpn mpd: [B-2] IFACE: Up event
Jun 11 19:23:11 vpn mpd: [B-2] CCP: rec'd Configure Ack #3 (Ack-Sent)
Jun 11 19:23:11 vpn mpd: [B-2]   MPPC
Jun 11 19:23:11 vpn mpd: [B-2]     0x01000040:MPPE(128 bits), stateless
Jun 11 19:23:11 vpn mpd: [B-2] CCP: state change Ack-Sent --> Opened
Jun 11 19:23:11 vpn mpd: [B-2] CCP: LayerUp
Jun 11 19:23:11 vpn mpd: [B-2] CCP: Compress using: mppc (MPPE(128 bits), stateless)
Jun 11 19:23:11 vpn mpd: [B-2] CCP: Decompress using: mppc (MPPE(128 bits), stateless)
Jun 11 19:27:08 vpn mpd: [L-1] LCP: no reply to 1 echo request(s)

densan
ст. сержант
Сообщения: 363
Зарегистрирован: 2007-12-06 10:02:02
Откуда: Penza
Контактная информация:

mpd отключение первого клиента, при подключении второго

Непрочитанное сообщение densan » 2018-06-25 20:31:04

Перевел на l2tp - проблема пропала.

Dmitriy_3206
рядовой
Сообщения: 44
Зарегистрирован: 2014-10-13 15:51:34

mpd отключение первого клиента, при подключении второго

Непрочитанное сообщение Dmitriy_3206 » 2018-08-20 11:51:40

Может проблема была не MPD а в роутере через которое идет подключение.
Все дешевые роутеры сквозь себя пропускают только один PPTP - не умеют больше.
Я вообще если требуется VPN пользуюсь OpenVPN и очень его рекомендую.

densan
ст. сержант
Сообщения: 363
Зарегистрирован: 2007-12-06 10:02:02
Откуда: Penza
Контактная информация:

mpd отключение первого клиента, при подключении второго

Непрочитанное сообщение densan » 2018-08-20 22:08:18

Первый и второй клиент сидят за роутером Freebsd, ipfw, т.е. 2 клиента под одним белым IP.
С OpenVPN все работает, но попросили настроить ВПН нативными средствами винды.

snorlov
подполковник
Сообщения: 3639
Зарегистрирован: 2008-09-04 11:51:25
Откуда: Санкт-Петербург

mpd отключение первого клиента, при подключении второго

Непрочитанное сообщение snorlov » 2018-08-21 9:29:18

densan писал(а):
2018-08-20 22:08:18
Первый и второй клиент сидят за роутером Freebsd, ipfw
А может надо было на фришке поднять тот же mpd и не дергать виндовых клиентов...

Dmitriy_3206
рядовой
Сообщения: 44
Зарегистрирован: 2014-10-13 15:51:34

mpd отключение первого клиента, при подключении второго

Непрочитанное сообщение Dmitriy_3206 » 2018-08-21 15:47:17

В общем с таким уточнением стало не понятно как построена ваша сеть и что добивались.
PPTP использует порт TCP 1723 для управления b
Протокол PPTP инкапсулирует PPP-кадры в IP-датаграммы для передачи по сети. Протокол PPTP использует TCP-соединение для управления туннелем и измененную версию протокола GRE с целью инкапсуляции PPP-кадров для туннелированных данных. Полезные данные инкапсулированных PPP-кадров могут быть шифрованными, сжатыми или и теми, и другими одновременно.
И вот с управлением этим GRE и возникают проблемы.
И провайдеры бываю режут его. В общем я против PPTP - даже когда провайдеры домашних сетей делают ради авторизации для выхода в интернет. Слабые (старые) роутеры не справляются по производительности "завернуть" трафик в тунель - и пропускная способность ограничивается способностью роутера "переварить".
Последний раз я пользовался на D-link DIR300. Сотка что декларировал провайдер, превращалась в 12мбит.
Перешли на PPPoE стало лучше.