* [sisyphus] проблемы с настройкой pptpd
@ 2004-04-07 9:58 Andrei M. Laptev
2004-04-07 15:15 ` Andrei M. Laptev
0 siblings, 1 reply; 4+ messages in thread
From: Andrei M. Laptev @ 2004-04-07 9:58 UTC (permalink / raw)
To: Sisyphus
[-- Attachment #1: Type: text/plain, Size: 626 bytes --]
Имею работающий pptpd на мастере 2.2
Пытаюсь повторить то же самое на компакте, проапгрейженном
до достаточно свежего сизифа:
ppp-2.4.1.20031003-alt2
pptpd-1.1.3_20030409-alt1
kernel-image-std-smp-2.4.25-alt3
конфиги перенесены с работающего сервера и соответствующим
образом подправлены.
В итоге клиенты не соединяются, а в логах вижу следующуюю
ошибку:
CTRL: Starting call (launching pppd, opening GRE)
GRE: read(fd=5,buffer=804d620,len=8196) from PTY failed:
status = -1 error = Input/output error
CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
Более полные логи см в аттаче.
--
С уважением,
Лаптев Андрей
[-- Attachment #2: pptp-logs.txt --]
[-- Type: text/plain, Size: 2094 bytes --]
/var/log/kernel/info
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: pppd options file = /etc/ppp/options.pptpd
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Client 192.168.66.44 control connection started
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Received PPTP Control Message (type: 1)
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Made a START CTRL CONN RPLY packet
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: I wrote 156 bytes to the client.
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Sent packet to client
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Received PPTP Control Message (type: 7)
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Set parameters to 1525 maxbps, 64 window size
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Made a OUT CALL RPLY packet
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Starting call (launching pppd, opening GRE)
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: pty_fd = 5
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: tty_fd = 6
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: I wrote 32 bytes to the client.
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Sent packet to client
Apr 7 17:43:51 o3 pptpd[1385]: CTRL (PPPD Launcher): Connection speed = 115200
Apr 7 17:43:51 o3 pptpd[1385]: CTRL (PPPD Launcher): local address = 10.10.10.1
Apr 7 17:43:51 o3 pptpd[1385]: CTRL (PPPD Launcher): remote address = 10.10.10.11
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Received PPTP Control Message (type: 15)
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Client 192.168.66.44 control connection finished
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Exiting now
Apr 7 17:43:51 o3 pptpd[1241]: MGR: Reaped child 1384
/var/log/messages
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Client 192.168.66.44 control connection started
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Starting call (launching pppd, opening GRE)
Apr 7 17:43:51 o3 pptpd[1384]: GRE: read(fd=5,buffer=804d620,len=8196) from PTY failed: status = -1 error = Input/output error
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
Apr 7 17:43:51 o3 pptpd[1384]: CTRL: Client 192.168.66.44 control connection finished
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] проблемы с настройкой pptpd
2004-04-07 9:58 [sisyphus] проблемы с настройкой pptpd Andrei M. Laptev
@ 2004-04-07 15:15 ` Andrei M. Laptev
2004-04-07 15:26 ` Andy Gorev
0 siblings, 1 reply; 4+ messages in thread
From: Andrei M. Laptev @ 2004-04-07 15:15 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Andrei M. Laptev пишет:
> Имею работающий pptpd на мастере 2.2
>
> Пытаюсь повторить то же самое на компакте, проапгрейженном до достаточно
> свежего сизифа:
>
> ppp-2.4.1.20031003-alt2
> pptpd-1.1.3_20030409-alt1
> kernel-image-std-smp-2.4.25-alt3
>
> конфиги перенесены с работающего сервера и соответствующим образом
> подправлены.
> В итоге клиенты не соединяются, а в логах вижу следующуюю ошибку:
> CTRL: Starting call (launching pppd, opening GRE)
> GRE: read(fd=5,buffer=804d620,len=8196) from PTY failed: status = -1
> error = Input/output error
> CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
>
Ну в общем как я выяснил, такие баги обычно бывают в двух
случаях:
1. некий фаерволл режет GRE, но это явно не мой случай :)
2. pppd, запускамый из pptpd, умирает по какой-то причине.
Дальше оказалось проще, оказалось что для pppd теперь всякие
-pap +mppe-128 теперь не катят, а писать нужно в виде
require/refuse ...
В общем заработало.
PS. Вдруг кто-то кроме меня до сих пор не знает этого :)
--
С уважением,
Лаптев Андрей
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] проблемы с настройкой pptpd
2004-04-07 15:15 ` Andrei M. Laptev
@ 2004-04-07 15:26 ` Andy Gorev
2004-04-08 4:07 ` Andrei M. Laptev
0 siblings, 1 reply; 4+ messages in thread
From: Andy Gorev @ 2004-04-07 15:26 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Andrei M. Laptev wrote:
> Дальше оказалось проще, оказалось что для pppd теперь всякие -pap
> +mppe-128 теперь не катят, а писать нужно в виде require/refuse ...
>
> В общем заработало.
>
> PS. Вдруг кто-то кроме меня до сих пор не знает этого :)
>
-pap
-chap
-mschap
+mschap-v2
+mppe
Работает с конфигурацией выше.
--
С Уважением,
Андрей Горев
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [sisyphus] проблемы с настройкой pptpd
2004-04-07 15:26 ` Andy Gorev
@ 2004-04-08 4:07 ` Andrei M. Laptev
0 siblings, 0 replies; 4+ messages in thread
From: Andrei M. Laptev @ 2004-04-08 4:07 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
Andy Gorev пишет:
> Andrei M. Laptev wrote:
>
>> Дальше оказалось проще, оказалось что для pppd теперь всякие -pap
>> +mppe-128 теперь не катят, а писать нужно в виде require/refuse ...
>>
> -pap
> -chap
> -mschap
> +mschap-v2
> +mppe
>
> Работает с конфигурацией выше.
>
Да действительно, дело чуть-чуть в другом, на работающем
сервере стоит ppp-2.4.1-alt8 , а вот новый
ppp-2.4.1.20031003-alt2 ругался на параметры
chapms,chapms-v2,mppe-stateless оказалось что теперь нужно
использовать mschap, mschap-v2, mppe-stateful
--
С уважением,
Лаптев Андрей
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-04-08 4:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-07 9:58 [sisyphus] проблемы с настройкой pptpd Andrei M. Laptev
2004-04-07 15:15 ` Andrei M. Laptev
2004-04-07 15:26 ` Andy Gorev
2004-04-08 4:07 ` Andrei M. Laptev
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git