Проблемма с PoPToP

Настройка сетевых служб, маршрутизации, фаерволлов. Проблемы с сетевым оборудованием.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
break
рядовой
Сообщения: 25
Зарегистрирован: 2009-11-18 19:13:06

Проблемма с PoPToP

Непрочитанное сообщение break » 2009-12-21 10:59:34

Здравствуйте!
Установил на новый гейт PoPToP для удаленного доступа.
Настраивал по статье (ps по этой статье уже делал настройку проблем небыло).
http://www.lissyara.su/articles/freebsd ... ty/poptop/

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

#>uname -a
FreeBSD gate.domain.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0:

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

#>pkg_info | grep poptop
poptop-1.3.4_2      Windows 9x compatible PPTP (VPN) server
Windows клиент отваливается при надписи "Регистрация компьютера в сети" или "Проверка подключений сетевых протоколов"
Ошибка 629: Подключение было закрыто удаленным компьютером.

Включил дебаг.
Лог в all.log

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

Dec 21 11:51:49 gate pptpd[19506]: MGR: Launching /usr/local/sbin/pptpctrl to handle client
Dec 21 11:51:49 gate pptpd[19506]: CTRL: local address = 192.168.0.1
Dec 21 11:51:49 gate pptpd[19506]: CTRL: remote address = 192.168.1.1
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Client 195.94.243.148 control connection started
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Received PPTP Control Message (type: 1)
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Made a START CTRL CONN RPLY packet
Dec 21 11:51:49 gate pptpd[19506]: CTRL: I wrote 156 bytes to the client.
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Sent packet to client
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Received PPTP Control Message (type: 7)
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Set parameters to 100000000 maxbps, 64 window size
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Made a OUT CALL RPLY packet
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Starting call (launching pppd, opening GRE)
Dec 21 11:51:49 gate pptpd[19506]: CTRL: pty_fd = 7
Dec 21 11:51:49 gate pptpd[19506]: CTRL: tty_fd = 6
Dec 21 11:51:49 gate pptpd[19507]: CTRL (PPPD Launcher): program binary = /usr/sbin/ppp
Dec 21 11:51:49 gate pptpd[19506]: CTRL: I wrote 32 bytes to the client.
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Sent packet to client
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Received PPTP Control Message (type: 15)
Dec 21 11:51:49 gate pptpd[19506]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Dec 21 11:51:50 gate ppp[19507]: Phase: Using interface: tun0
Dec 21 11:51:50 gate ppp[19507]: Phase: deflink: Created in closed state
Dec 21 11:51:50 gate ppp[19507]: Phase: PPP Started (direct mode).
Dec 21 11:51:50 gate ppp[19507]: Phase: bundle: Establish
Dec 21 11:51:50 gate ppp[19507]: Phase: deflink: closed -> opening
Dec 21 11:51:50 gate ppp[19507]: Phase: deflink: Connected!
Dec 21 11:51:50 gate ppp[19507]: Phase: deflink: opening -> carrier
Dec 21 11:51:50 gate ppp[19507]: Phase: deflink: carrier -> lcp
Dec 21 11:51:55 gate kernel: ipfw: 7700 Deny UDP 192.168.25.58:68 255.255.255.255:67 in via rl0
Dec 21 11:52:06 gate ppp[19507]: Phase: deflink: Disconnected!
Dec 21 11:52:06 gate ppp[19507]: Phase: deflink: Connect time: 16 secs: 0 octets in, 295 octets out
Dec 21 11:52:06 gate ppp[19507]: Phase: deflink: 0 packets in, 5 packets out
Dec 21 11:52:06 gate ppp[19507]: Phase:  total 18 bytes/sec, peak 23 bytes/sec on Mon Dec 21 11:51:54 2009
Dec 21 11:52:06 gate ppp[19507]: Phase: deflink: lcp -> closed
Dec 21 11:52:06 gate ppp[19507]: Phase: bundle: Dead
Dec 21 11:52:06 gate ppp[19507]: Phase: PPP Terminated (normal).
Dec 21 11:52:06 gate pptpd[19506]: GRE: read(fd=7,buffer=8058a40,len=8196) from PTY failed: status = 0 error = No error
Dec 21 11:52:06 gate kernel: Dec 21 11:52:06 gate pptpd[19506]: GRE: read(fd=7,buffer=8058a40,len=8196) from PTY failed: status = 0 error = No error
Dec 21 11:52:06 gate pptpd[19506]: CTRL: PTY read or GRE write failed (pty,gre)=(7,6)
Dec 21 11:52:06 gate kernel: Dec 21 11:52:06 gate pptpd[19506]: CTRL: PTY read or GRE write failed (pty,gre)=(7,6)
Dec 21 11:52:06 gate pptpd[19506]: CTRL: Reaping child PPP[19507]
Dec 21 11:52:06 gate pptpd[19506]: CTRL: Client 195.94.243.148 control connection finished
Dec 21 11:52:06 gate pptpd[19506]: CTRL: Exiting now
Dec 21 11:52:06 gate pptpd[19503]: MGR: Reaped child 19506
Dec 21 11:52:28 gate kernel: ipfw: 7700 Deny UDP 192.168.25.59:68 255.255.255.255:67 in via rl0
Заранее благодарен.

Хостинговая компания 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/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
schizoid
подполковник
Сообщения: 3228
Зарегистрирован: 2007-03-03 17:32:31
Откуда: Украина, Чернигов
Контактная информация:

Re: Проблемма с PoPToP

Непрочитанное сообщение schizoid » 2009-12-21 11:14:21

http://www.lissyara.su/articles/freebsd ... /vpn_mpd5/
и не парьте себе моск линуховой поделкой. у нас есть своя, родная, на порядок лучше ;)
ядерный взрыв...смертельно красиво...жаль, что не вечно...

break
рядовой
Сообщения: 25
Зарегистрирован: 2009-11-18 19:13:06

Re: Проблемма с PoPToP

Непрочитанное сообщение break » 2009-12-21 11:43:58

Да действительно это работает =)
Спасибо товарисч schizoid :good:

Но все же. Если у кого была такая проблема прошу отписаться.

Аватара пользователя
schizoid
подполковник
Сообщения: 3228
Зарегистрирован: 2007-03-03 17:32:31
Откуда: Украина, Чернигов
Контактная информация:

Re: Проблемма с PoPToP

Непрочитанное сообщение schizoid » 2009-12-21 13:24:51

может модуля какого не хвататет в ядре. мпд- то он сам себе умеет поднимать все, что ему нужно
ядерный взрыв...смертельно красиво...жаль, что не вечно...

mirsum
проходил мимо

Re: Проблемма с PoPToP

Непрочитанное сообщение mirsum » 2011-10-28 11:18:17

аналогично:

/var/log/messages
Oct 28 11:10:37 mirsum pptpd[5849]: GRE: read(fd=7,buffer=8058a40,len=8196) from PTY failed: status = 0 error = No error
Oct 28 11:10:37 mirsum pptpd[5849]: CTRL: PTY read or GRE write failed (pty,gre)=(7,6)

/var/log/ppp.log подключение не удалось
Oct 28 11:10:22 mirsum ppp[5850]: Phase: Using interface: tun1
Oct 28 11:10:22 mirsum ppp[5850]: Phase: deflink: Created in closed state
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: pptp: load loop
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: loop: set timeout 0
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: loop: set ifaddr 192.168.0.1 192.168.0.20-192.168.0.30 255.255.255.255
Oct 28 11:10:22 mirsum ppp[5850]: tun1: IPCP: Selected IP address 192.168.0.27
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: loop: accept dns
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: loop: set dns 8.8.8.8
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: loop: set server /tmp/tun%d ******** 0177
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Phase: Listening at local socket /tmp/tun1.
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: pptp: enable MSChapV2
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: pptp: set mppe 128 stateless
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: pptp: set accmap ffffffff
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: pptp: set mtu 1496
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: pptp: enable lqr
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Command: pptp: disable ipv6cp
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Phase: PPP Started (direct mode).
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Phase: bundle: Establish
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Phase: deflink: closed -> opening
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Phase: deflink: Connected!
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Phase: deflink: opening -> carrier
Oct 28 11:10:22 mirsum ppp[5850]: tun1: Phase: deflink: carrier -> lcp
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: FSM: Using "deflink" as a transport
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: deflink: State change Initial --> Closed
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: deflink: State change Closed --> Stopped
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: deflink: RecvConfigReq(0) state = Stopped
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: MRU[4] 1400
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: MAGICNUM[6] 0x66130bf4
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: ACFCOMP[2]
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: deflink: SendConfigReq(1) state = Stopped
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: ACFCOMP[2]
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: ACCMAP[6] 0xffffffff
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: MRU[4] 1500
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: MAGICNUM[6] 0x1f9d52c9
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: QUALPROTO[8] proto c025, interval 30000ms
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: deflink: SendConfigRej(0) state = Stopped
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: deflink: LayerStart
Oct 28 11:10:22 mirsum ppp[5850]: tun1: LCP: deflink: State change Stopped --> Req-Sent
Oct 28 11:10:24 mirsum ppp[5850]: tun1: LCP: deflink: RecvConfigReq(1) state = Req-Sent
Oct 28 11:10:24 mirsum ppp[5850]: tun1: LCP: MRU[4] 1400
Oct 28 11:10:24 mirsum ppp[5850]: tun1: LCP: MAGICNUM[6] 0x66130bf4
Oct 28 11:10:24 mirsum ppp[5850]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:10:24 mirsum ppp[5850]: tun1: LCP: ACFCOMP[2]
Oct 28 11:10:24 mirsum ppp[5850]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:10:24 mirsum ppp[5850]: tun1: LCP: deflink: SendConfigRej(1) state = Req-Sent
Oct 28 11:10:24 mirsum ppp[5850]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:10:25 mirsum ppp[5850]: tun1: LCP: deflink: SendConfigReq(1) state = Req-Sent
Oct 28 11:10:25 mirsum ppp[5850]: tun1: LCP: ACFCOMP[2]
Oct 28 11:10:25 mirsum ppp[5850]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:10:25 mirsum ppp[5850]: tun1: LCP: ACCMAP[6] 0xffffffff
Oct 28 11:10:25 mirsum ppp[5850]: tun1: LCP: MRU[4] 1500
Oct 28 11:10:25 mirsum ppp[5850]: tun1: LCP: MAGICNUM[6] 0x1f9d52c9
Oct 28 11:10:25 mirsum ppp[5850]: tun1: LCP: QUALPROTO[8] proto c025, interval 30000ms
Oct 28 11:10:25 mirsum ppp[5850]: tun1: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 28 11:10:27 mirsum ppp[5850]: tun1: LCP: deflink: RecvConfigReq(2) state = Req-Sent
Oct 28 11:10:27 mirsum ppp[5850]: tun1: LCP: MRU[4] 1400
Oct 28 11:10:27 mirsum ppp[5850]: tun1: LCP: MAGICNUM[6] 0x66130bf4
Oct 28 11:10:27 mirsum ppp[5850]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:10:27 mirsum ppp[5850]: tun1: LCP: ACFCOMP[2]
Oct 28 11:10:27 mirsum ppp[5850]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:10:27 mirsum ppp[5850]: tun1: LCP: deflink: SendConfigRej(2) state = Req-Sent
Oct 28 11:10:27 mirsum ppp[5850]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:10:28 mirsum ppp[5850]: tun1: LCP: deflink: SendConfigReq(1) state = Req-Sent
Oct 28 11:10:28 mirsum ppp[5850]: tun1: LCP: ACFCOMP[2]
Oct 28 11:10:28 mirsum ppp[5850]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:10:28 mirsum ppp[5850]: tun1: LCP: ACCMAP[6] 0xffffffff
Oct 28 11:10:28 mirsum ppp[5850]: tun1: LCP: MRU[4] 1500
Oct 28 11:10:28 mirsum ppp[5850]: tun1: LCP: MAGICNUM[6] 0x1f9d52c9
Oct 28 11:10:28 mirsum ppp[5850]: tun1: LCP: QUALPROTO[8] proto c025, interval 30000ms
Oct 28 11:10:28 mirsum ppp[5850]: tun1: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: deflink: RecvConfigReq(3) state = Req-Sent
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: MRU[4] 1400
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: MAGICNUM[6] 0x66130bf4
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: ACFCOMP[2]
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: deflink: SendConfigRej(3) state = Req-Sent
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: deflink: SendConfigReq(1) state = Req-Sent
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: ACFCOMP[2]
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: ACCMAP[6] 0xffffffff
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: MRU[4] 1500
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: MAGICNUM[6] 0x1f9d52c9
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: QUALPROTO[8] proto c025, interval 30000ms
Oct 28 11:10:31 mirsum ppp[5850]: tun1: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 28 11:10:34 mirsum ppp[5850]: tun1: LCP: deflink: SendConfigReq(1) state = Req-Sent
Oct 28 11:10:34 mirsum ppp[5850]: tun1: LCP: ACFCOMP[2]
Oct 28 11:10:34 mirsum ppp[5850]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:10:34 mirsum ppp[5850]: tun1: LCP: ACCMAP[6] 0xffffffff
Oct 28 11:10:34 mirsum ppp[5850]: tun1: LCP: MRU[4] 1500
Oct 28 11:10:34 mirsum ppp[5850]: tun1: LCP: MAGICNUM[6] 0x1f9d52c9
Oct 28 11:10:34 mirsum ppp[5850]: tun1: LCP: QUALPROTO[8] proto c025, interval 30000ms
Oct 28 11:10:34 mirsum ppp[5850]: tun1: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 28 11:10:35 mirsum ppp[5850]: tun1: LCP: deflink: RecvConfigReq(4) state = Req-Sent
Oct 28 11:10:35 mirsum ppp[5850]: tun1: LCP: MRU[4] 1400
Oct 28 11:10:35 mirsum ppp[5850]: tun1: LCP: MAGICNUM[6] 0x66130bf4
Oct 28 11:10:35 mirsum ppp[5850]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:10:35 mirsum ppp[5850]: tun1: LCP: ACFCOMP[2]
Oct 28 11:10:35 mirsum ppp[5850]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:10:35 mirsum ppp[5850]: tun1: LCP: deflink: SendConfigRej(4) state = Req-Sent
Oct 28 11:10:35 mirsum ppp[5850]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:10:37 mirsum ppp[5850]: tun1: LCP: deflink: LayerFinish
Oct 28 11:10:37 mirsum ppp[5850]: tun1: LCP: deflink: State change Req-Sent --> Stopped
Oct 28 11:10:37 mirsum ppp[5850]: tun1: LCP: deflink: State change Stopped --> Closed
Oct 28 11:10:37 mirsum ppp[5850]: tun1: LCP: deflink: State change Closed --> Initial
Oct 28 11:10:37 mirsum ppp[5850]: tun1: Phase: deflink: Disconnected!
Oct 28 11:10:37 mirsum ppp[5850]: tun1: Phase: deflink: Connect time: 15 secs: 241 octets in, 456 octets out
Oct 28 11:10:37 mirsum ppp[5850]: tun1: Phase: deflink: 5 packets in, 10 packets out
Oct 28 11:10:37 mirsum ppp[5850]: tun1: Phase: total 46 bytes/sec, peak 70 bytes/sec on Fri Oct 28 11:10:24 2011
Oct 28 11:10:37 mirsum ppp[5850]: tun1: Phase: deflink: lcp -> closed
Oct 28 11:10:37 mirsum ppp[5850]: tun1: Phase: bundle: Dead
Oct 28 11:10:37 mirsum ppp[5850]: tun1: Phase: PPP Terminated (normal).

/var/log/ppp.log подключение удалось
Oct 28 11:14:03 mirsum ppp[5876]: Phase: Using interface: tun1
Oct 28 11:14:03 mirsum ppp[5876]: Phase: deflink: Created in closed state
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: pptp: load loop
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: loop: set timeout 0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: loop: set ifaddr 192.168.0.1 192.168.0.20-192.168.0.30 255.255.255.255
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: Selected IP address 192.168.0.30
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: loop: accept dns
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: loop: set dns 8.8.8.8
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: loop: set server /tmp/tun%d ******** 0177
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: Listening at local socket /tmp/tun1.
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: pptp: enable MSChapV2
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: pptp: set mppe 128 stateless
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: pptp: set accmap ffffffff
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: pptp: set mtu 1496
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: pptp: enable lqr
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Command: pptp: disable ipv6cp
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: PPP Started (direct mode).
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: bundle: Establish
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: deflink: closed -> opening
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: deflink: Connected!
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: deflink: opening -> carrier
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: deflink: carrier -> lcp
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: FSM: Using "deflink" as a transport
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: State change Initial --> Closed
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: State change Closed --> Stopped
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: RecvConfigReq(0) state = Stopped
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MRU[4] 1400
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MAGICNUM[6] 0x68970851
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: ACFCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: SendConfigReq(1) state = Stopped
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: ACFCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: ACCMAP[6] 0xffffffff
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MRU[4] 1500
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MAGICNUM[6] 0x77861b29
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: QUALPROTO[8] proto c025, interval 30000ms
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: SendConfigRej(0) state = Stopped
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: CALLBACK[3] CBCP
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: LayerStart
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: State change Stopped --> Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: RecvConfigRej(1) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: QUALPROTO[8] proto c025, interval 30000ms
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: SendConfigReq(2) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: ACFCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MRU[4] 1500
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MAGICNUM[6] 0x77861b29
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: RecvConfigReq(1) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MRU[4] 1400
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MAGICNUM[6] 0x68970851
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: ACFCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: SendConfigNak(1) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MRU[4] 1496
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: RecvConfigAck(2) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: ACFCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: ACCMAP[6] 0xffffffff
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MRU[4] 1500
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MAGICNUM[6] 0x77861b29
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x81)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: State change Req-Sent --> Ack-Rcvd
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: RecvConfigReq(2) state = Ack-Rcvd
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MRU[4] 1400
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MAGICNUM[6] 0x68970851
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: ACFCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: SendConfigNak(2) state = Ack-Rcvd
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MRU[4] 1496
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: RecvConfigReq(3) state = Ack-Rcvd
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MRU[4] 1496
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MAGICNUM[6] 0x68970851
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: ACFCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: SendConfigAck(3) state = Ack-Rcvd
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MRU[4] 1496
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MAGICNUM[6] 0x68970851
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: PROTOCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: ACFCOMP[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: State change Ack-Rcvd --> Opened
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: LayerUp
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: bundle: Authenticate
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: deflink: his = none, mine = CHAP 0x81
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: Chap Output: CHALLENGE
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: RecvIdent(4) state = Opened
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MAGICNUM 68970851
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: TEXT MSRA
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: deflink: RecvIdent(5) state = Opened
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: MAGICNUM 68970851
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: TEXT MSRAS-0-ALE
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: Chap Input: RESPONSE (49 bytes from mir1)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: Chap Output: SUCCESS
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: FSM: Using "deflink" as a transport
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: State change Initial --> Closed
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: LayerStart.
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: SendConfigReq(1) state = Closed
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: DEFLATE[4] win 15
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: PRED1[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: MPPE[6] value 0x01000040 (128 bits, stateless)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: State change Closed --> Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: deflink: lcp -> open
Oct 28 11:14:03 mirsum ppp[5876]: tun1: Phase: bundle: Network
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: FSM: Using "deflink" as a transport
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: State change Initial --> Closed
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: LayerStart.
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: SendConfigReq(1) state = Closed
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: IPADDR[6] 192.168.0.1
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: State change Closed --> Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: RecvConfigReq(6) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: MPPE[6] value 0x01000001 (0 bits, stateless, compressed)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: SendConfigNak(6) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: MPPE[6] value 0x01000040 (128 bits, stateless)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: RecvConfigReq(7) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: IPADDR[6] 0.0.0.0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: 0.0.0.0: Address invalid or already in use
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: PRIDNS[6] 0.0.0.0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: PRINBNS[6] 0.0.0.0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: NBNS REQ - rejected - nbns not set
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: SECDNS[6] 0.0.0.0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: SECNBNS[6] 0.0.0.0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: NBNS REQ - rejected - nbns not set
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: SendConfigRej(7) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: PRINBNS[6] 0.0.0.0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: SECNBNS[6] 0.0.0.0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: RecvConfigRej(1) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: DEFLATE[4] win 15
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: PRED1[2]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: SendConfigReq(2) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: MPPE[6] value 0x01000040 (128 bits, stateless)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: RecvConfigRej(1) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: COMPPROTO[6] 16 VJ slots with slot compression
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: SendConfigReq(2) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: IPADDR[6] 192.168.0.1
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: RecvConfigReq(8) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: MPPE[6] value 0x01000040 (128 bits, stateless)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: SendConfigAck(8) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: MPPE[6] value 0x01000040 (128 bits, stateless)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: State change Req-Sent --> Ack-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: RecvConfigReq(9) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: IPADDR[6] 0.0.0.0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: 0.0.0.0: Address invalid or already in use
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: PRIDNS[6] 0.0.0.0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: SECDNS[6] 0.0.0.0
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: SendConfigNak(9) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: IPADDR[6] 192.168.0.30
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: PRIDNS[6] 8.8.8.8
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: SECDNS[6] 255.255.255.255
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: RecvConfigAck(2) state = Ack-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: MPPE[6] value 0x01000040 (128 bits, stateless)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: State change Ack-Sent --> Opened
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: LayerUp.
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: MPPE: Input channel initiated
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: MPPE: Output channel initiated
Oct 28 11:14:03 mirsum ppp[5876]: tun1: CCP: deflink: Out = MPPE[18], In = MPPE[18]
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: Reducing MTU from 1496 to 1494 (CCP requirement)
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: RecvConfigAck(2) state = Req-Sent
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: IPADDR[6] 192.168.0.1
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: State change Req-Sent --> Ack-Rcvd
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: RecvConfigReq(10) state = Ack-Rcvd
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: IPADDR[6] 192.168.0.30
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: PRIDNS[6] 8.8.8.8
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: SECDNS[6] 255.255.255.255
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: SendConfigAck(10) state = Ack-Rcvd
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: IPADDR[6] 192.168.0.30
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: PRIDNS[6] 8.8.8.8
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: SECDNS[6] 255.255.255.255
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: State change Ack-Rcvd --> Opened
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: deflink: LayerUp.
Oct 28 11:14:03 mirsum ppp[5876]: tun1: IPCP: myaddr 192.168.0.1 hisaddr = 192.168.0.30
Oct 28 11:14:03 mirsum ppp[5876]: tun1: LCP: Reducing MTU from 1496 to 1494 (CCP requirement)
ok
отключение
Oct 28 11:14:33 mirsum ppp[5876]: tun1: LCP: deflink: RecvTerminateReq(11) state = Opened
Oct 28 11:14:33 mirsum ppp[5876]: tun1: LCP: deflink: LayerDown
Oct 28 11:14:33 mirsum ppp[5876]: tun1: LCP: deflink: SendTerminateAck(11) state = Opened
Oct 28 11:14:33 mirsum ppp[5876]: tun1: LCP: deflink: State change Opened --> Stopping
Oct 28 11:14:33 mirsum ppp[5876]: tun1: CCP: deflink: LayerDown.
Oct 28 11:14:33 mirsum ppp[5876]: tun1: CCP: deflink: State change Opened --> Starting
Oct 28 11:14:33 mirsum ppp[5876]: tun1: CCP: deflink: LayerFinish.
Oct 28 11:14:33 mirsum ppp[5876]: tun1: LCP: deflink: State change Stopping --> Closing
Oct 28 11:14:33 mirsum ppp[5876]: tun1: CCP: deflink: State change Starting --> Initial
Oct 28 11:14:33 mirsum ppp[5876]: tun1: Phase: deflink: open -> lcp
Oct 28 11:14:33 mirsum ppp[5876]: tun1: IPCP: deflink: LayerDown: 192.168.0.1
Oct 28 11:14:33 mirsum ppp[5876]: tun1: IPCP: deflink: State change Opened --> Starting
Oct 28 11:14:33 mirsum ppp[5876]: tun1: IPCP: deflink: LayerFinish.
Oct 28 11:14:33 mirsum ppp[5876]: tun1: IPCP: Connect time: 30 secs: 4173 octets in, 0 octets out
Oct 28 11:14:33 mirsum ppp[5876]: tun1: IPCP: 33 packets in, 0 packets out
Oct 28 11:14:33 mirsum ppp[5876]: tun1: IPCP: total 139 bytes/sec, peak 370 bytes/sec on Fri Oct 28 11:14:04 2011
Oct 28 11:14:33 mirsum ppp[5876]: tun1: IPCP: deflink: State change Starting --> Initial
Oct 28 11:14:33 mirsum ppp[5876]: tun1: Phase: bundle: Terminate
Oct 28 11:14:33 mirsum ppp[5876]: tun1: Phase: deflink: read (0): Got zero bytes
Oct 28 11:14:33 mirsum ppp[5876]: tun1: LCP: deflink: LayerFinish
Oct 28 11:14:33 mirsum ppp[5876]: tun1: LCP: deflink: State change Closing --> Initial
Oct 28 11:14:33 mirsum ppp[5876]: tun1: Phase: deflink: Disconnected!
Oct 28 11:14:33 mirsum ppp[5876]: tun1: Phase: deflink: Connect time: 30 secs: 5674 octets in, 649 octets out
Oct 28 11:14:33 mirsum ppp[5876]: tun1: Phase: deflink: 50 packets in, 18 packets out
Oct 28 11:14:33 mirsum ppp[5876]: tun1: Phase: total 210 bytes/sec, peak 1104 bytes/sec on Fri Oct 28 11:14:04 2011
Oct 28 11:14:33 mirsum ppp[5876]: tun1: Phase: deflink: lcp -> closed
Oct 28 11:14:33 mirsum ppp[5876]: tun1: Phase: bundle: Dead
Oct 28 11:14:33 mirsum ppp[5876]: tun1: Phase: PPP Terminated (normal).

проблама особо проявляется когда больше 2х подключений
может также подключиться и через пару секунд само отключиться
подключется через раз я подозреваю что нехватает tunX устройств но ос должна поидеи их сама новые создавать
в ядре все опции включены

mirsum
проходил мимо

Re: Проблемма с PoPToP

Непрочитанное сообщение mirsum » 2011-10-28 11:25:49

нет в интерфейсах дело
добавил ещё несколько
ifconfig tun create

если отключиться и через (менее 1 мин) подключиться на 90 % подключение не удаётся
может гдето кеш заполнен, или антифлуд включен.

Аватара пользователя
skeletor
майор
Сообщения: 2519
Зарегистрирован: 2007-11-16 18:22:04
Откуда: Kiev
Контактная информация:

Re: Проблемма с PoPToP

Непрочитанное сообщение skeletor » 2011-10-31 12:56:13

У меня была проблема при использовании poptop: мог подключаться только 1 клиент. Всем остальным - болт.
"Винда съела дрова и резет здесь не фурычит."
"Все говорят, что у меня /dev/hands криво и я всё делаю через /dev/ass. А у меня этих фалов вообще нет!"