Re: VPN problem

2003-11-06 Пенетрантность Slava Astashonok

Evgeny Boksha wrote:

hi2all


не получается установиь VPN соединение



pppd[27117]: Connect: ppp0 <--> /dev/pts/1
pppd[27117]: sent [LCP ConfReq id=0x1   0xfb041d36>  ]

pptpd[27116]: GRE: read error: Protocol not available
pptpd[27116]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)


Кто выступает в роли клиента - linux или windows? Если linux, то ip_gre 
нужно грузить именно там, на клиенте. Клиент и сервер находятся "в 
прямой видимости" или между ними что-то стоит - на сколько свободно 
ходят между ними пакеты? Можно запустить tcpdump и послушать - может 
проскочит что-то полезное (например, какой-нибудь icmp-отлуп) - мне 
как-то раз это очень помогло.


--
BOFH excuse #57: Groundskeepers stole the root password



Re: VPN problem

2003-11-06 Пенетрантность Evgeny Boksha

Denis Chapligin wrote:


Hi


пёп╢п╦п╡п╦я┌п╣п╩я▄п╫п╬, п╨п╟п╨ я┐ п╪п╣п╫я▐ pptp п╠п╣п╥ mppe я─п╟п╠п╬я┌п╟п╣я┌? 
:-)


И как это тебя так угораздило UTF настроить? )))

По сути - действительно -  я явно указываю клиенту не трогать mschap
а по старинке ходить PAP-ом
И в настройках ppp так и пишу
  require-pap
  refuse-chap
так что должно работать и без mppe



Re: VPN problem

2003-11-06 Пенетрантность Evgeny Boksha

Denis A. Egorov wrote:


Здравствуйте, Evgeny Boksha!

нужно ядро попатчить:

apt-get install kernel-patch-mppe


Нужно ли ?

я в клиенте xp-шном говорю - никакой шифровки -
только PAP



Re: VPN problem

2003-11-06 Пенетрантность Evgeny Boksha

Artem Chuprina wrote:

Хмутро.

EB> не получается установиь VPN соединение

EB> pptpd[27116]: MGR: Launching /usr/sbin/pptpctrl to handle client
EB> pptpd[27116]: CTRL: local address = 192.168.0.1
EB> pptpd[27116]: CTRL: remote address = 192.168.1.1
EB> pptpd[27116]: CTRL: pppd speed = 115200
EB> pptpd[27116]: CTRL: pppd options file = /etc/ppp/options.vpn
EB> pptpd[27116]: CTRL: Client 213.252.195.44 control connection started
EB> pptpd[27116]: CTRL: Received PPTP Control Message (type: 1)
EB> pptpd[27116]: CTRL: Made a START CTRL CONN RPLY packet
EB> pptpd[27116]: CTRL: I wrote 156 bytes to the client.
EB> pptpd[27116]: CTRL: Sent packet to client
EB> pptpd[27116]: CTRL: Received PPTP Control Message (type: 7)
EB> pptpd[27116]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
EB> pptpd[27116]: CTRL: Made a OUT CALL RPLY packet
EB> pptpd[27116]: CTRL: Starting call (launching pppd, opening GRE)
EB> pptpd[27116]: CTRL: pty_fd = 5
EB> pptpd[27116]: CTRL: tty_fd = 6
EB> pptpd[27116]: CTRL: I wrote 32 bytes to the client.
EB> pptpd[27116]: CTRL: Sent packet to client
EB> pptpd[27117]: CTRL (PPPD Launcher): Connection speed = 115200
EB> pptpd[27117]: CTRL (PPPD Launcher): local address = 192.168.0.1
EB> pptpd[27117]: CTRL (PPPD Launcher): remote address = 192.168.1.1
EB> pppd[27117]: pppd 2.4.1 started by root, uid 0
EB> pppd[27117]: using channel 12
EB> pppd[27117]: Using interface ppp0
EB> pppd[27117]: Connect: ppp0 <--> /dev/pts/1
EB> pppd[27117]: sent [LCP ConfReq id=0x1   0xfb041d36>>  ]

EB> pptpd[27116]: GRE: read error: Protocol not available

А GRE в ядре включено / модуль загружен?



Да, я же написал внизу как раз все - и конфиг ядра тоже.



Re: VPN problem

2003-11-06 Пенетрантность Denis Chapligin
Hi


Удивительно, как у меня pptp без mppe работает? :-)


On Thu, Nov 06, 2003 at 04:42:58PM +0200, Denis A. Egorov wrote:
> Здравствуйте, Evgeny Boksha!
> 
> нужно ядро попатчить:
> 
> apt-get install kernel-patch-mppe
> 
> дальше понятно?
> 
> On Thu, Nov 06, 2003 at 04:06:46PM +0200, you wrote:
> 
> -> hi2all
> -> 
> -> 
> -> не получается установиь VPN соединение
> -> 
> -> pptpd[27116]: MGR: Launching /usr/sbin/pptpctrl to handle client
> -> pptpd[27116]: CTRL: local address = 192.168.0.1
> -> pptpd[27116]: CTRL: remote address = 192.168.1.1
> -> pptpd[27116]: CTRL: pppd speed = 115200
> -> pptpd[27116]: CTRL: pppd options file = /etc/ppp/options.vpn
> -> pptpd[27116]: CTRL: Client 213.252.195.44 control connection started
> -> pptpd[27116]: CTRL: Received PPTP Control Message (type: 1)
> -> pptpd[27116]: CTRL: Made a START CTRL CONN RPLY packet
> -> pptpd[27116]: CTRL: I wrote 156 bytes to the client.
> -> pptpd[27116]: CTRL: Sent packet to client
> -> pptpd[27116]: CTRL: Received PPTP Control Message (type: 7)
> -> pptpd[27116]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
> -> pptpd[27116]: CTRL: Made a OUT CALL RPLY packet
> -> pptpd[27116]: CTRL: Starting call (launching pppd, opening GRE)
> -> pptpd[27116]: CTRL: pty_fd = 5
> -> pptpd[27116]: CTRL: tty_fd = 6
> -> pptpd[27116]: CTRL: I wrote 32 bytes to the client.
> -> pptpd[27116]: CTRL: Sent packet to client
> -> pptpd[27117]: CTRL (PPPD Launcher): Connection speed = 115200
> -> pptpd[27117]: CTRL (PPPD Launcher): local address = 192.168.0.1
> -> pptpd[27117]: CTRL (PPPD Launcher): remote address = 192.168.1.1
> -> pppd[27117]: pppd 2.4.1 started by root, uid 0
> -> pppd[27117]: using channel 12
> -> pppd[27117]: Using interface ppp0
> -> pppd[27117]: Connect: ppp0 <--> /dev/pts/1
> -> pppd[27117]: sent [LCP ConfReq id=0x1-> 0xfb041d36>  ]
> -> pptpd[27116]: GRE: read error: Protocol not available
> -> pptpd[27116]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
> -> pppd[27117]: Modem hangup
> -> pppd[27117]: Connection terminated.
> -> pppd[27117]: Exit.
> -> pptpd[27116]: CTRL: Client 213.252.195.44 control connection finished
> -> pptpd[27116]: CTRL: Exiting now
> -> pptpd[27114]: MGR: Reaped child 27116
> -> 
> -> 
> -> #pptpd.conf
> -> speed 115200
> -> option /etc/ppp/options.vpn
> -> debug
> -> localip 192.168.0.1-10
> -> remoteip 192.168.1.1-10
> -> 
> -> 
> -> hi2all
> -> 
> -> #/etc/ppp/options
> -> lock
> -> debug
> -> 
> -> #/etc/ppp/options.vpn
> -> debug ## change 'servername' to whatever you specify as your server name 
> -> in chap-secrets
> -> name ta.infinity-net.ru
> -> #mtu 576
> -> auth
> -> require-pap
> -> refuse-chap
> -> login
> -> ms-dns 192.168.0.1
> -> proxyarp
> -> 192.168.0.1:
> -> 
> -> 
> -> 
> -> # CONFIG_IP_PNP is not set
> -> CONFIG_NET_IPIP=m
> -> CONFIG_NET_IPGRE=m
> -> # CONFIG_NET_IPGRE_BROADCAST is not set
> -> 
> -> 
> -> Модуль ip_gre подгружен.
> -> в чем могут быть проблемы?
> -> 
> -> thx2all
> -> 
> -> 
> -- 
> Denis A. Egorov
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
Denis Chapligin


pgpiiuVMvRECW.pgp
Description: PGP signature


Re: VPN problem

2003-11-06 Пенетрантность Artem Chuprina
Хмутро.

EB> не получается установиь VPN соединение

EB> pptpd[27116]: MGR: Launching /usr/sbin/pptpctrl to handle client
EB> pptpd[27116]: CTRL: local address = 192.168.0.1
EB> pptpd[27116]: CTRL: remote address = 192.168.1.1
EB> pptpd[27116]: CTRL: pppd speed = 115200
EB> pptpd[27116]: CTRL: pppd options file = /etc/ppp/options.vpn
EB> pptpd[27116]: CTRL: Client 213.252.195.44 control connection started
EB> pptpd[27116]: CTRL: Received PPTP Control Message (type: 1)
EB> pptpd[27116]: CTRL: Made a START CTRL CONN RPLY packet
EB> pptpd[27116]: CTRL: I wrote 156 bytes to the client.
EB> pptpd[27116]: CTRL: Sent packet to client
EB> pptpd[27116]: CTRL: Received PPTP Control Message (type: 7)
EB> pptpd[27116]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
EB> pptpd[27116]: CTRL: Made a OUT CALL RPLY packet
EB> pptpd[27116]: CTRL: Starting call (launching pppd, opening GRE)
EB> pptpd[27116]: CTRL: pty_fd = 5
EB> pptpd[27116]: CTRL: tty_fd = 6
EB> pptpd[27116]: CTRL: I wrote 32 bytes to the client.
EB> pptpd[27116]: CTRL: Sent packet to client
EB> pptpd[27117]: CTRL (PPPD Launcher): Connection speed = 115200
EB> pptpd[27117]: CTRL (PPPD Launcher): local address = 192.168.0.1
EB> pptpd[27117]: CTRL (PPPD Launcher): remote address = 192.168.1.1
EB> pppd[27117]: pppd 2.4.1 started by root, uid 0
EB> pppd[27117]: using channel 12
EB> pppd[27117]: Using interface ppp0
EB> pppd[27117]: Connect: ppp0 <--> /dev/pts/1
EB> pppd[27117]: sent [LCP ConfReq id=0x1   >  ]
EB> pptpd[27116]: GRE: read error: Protocol not available

А GRE в ядре включено / модуль загружен?

-- 
Artem Chuprina
RFC2822: <[EMAIL PROTECTED]>, FIDO: 2:5020/122.256, ICQ: 13038757



Re: VPN problem

2003-11-06 Пенетрантность Denis A. Egorov
Здравствуйте, Evgeny Boksha!

нужно ядро попатчить:

apt-get install kernel-patch-mppe

дальше понятно?

On Thu, Nov 06, 2003 at 04:06:46PM +0200, you wrote:

-> hi2all
-> 
-> 
-> не получается установиь VPN соединение
-> 
-> pptpd[27116]: MGR: Launching /usr/sbin/pptpctrl to handle client
-> pptpd[27116]: CTRL: local address = 192.168.0.1
-> pptpd[27116]: CTRL: remote address = 192.168.1.1
-> pptpd[27116]: CTRL: pppd speed = 115200
-> pptpd[27116]: CTRL: pppd options file = /etc/ppp/options.vpn
-> pptpd[27116]: CTRL: Client 213.252.195.44 control connection started
-> pptpd[27116]: CTRL: Received PPTP Control Message (type: 1)
-> pptpd[27116]: CTRL: Made a START CTRL CONN RPLY packet
-> pptpd[27116]: CTRL: I wrote 156 bytes to the client.
-> pptpd[27116]: CTRL: Sent packet to client
-> pptpd[27116]: CTRL: Received PPTP Control Message (type: 7)
-> pptpd[27116]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
-> pptpd[27116]: CTRL: Made a OUT CALL RPLY packet
-> pptpd[27116]: CTRL: Starting call (launching pppd, opening GRE)
-> pptpd[27116]: CTRL: pty_fd = 5
-> pptpd[27116]: CTRL: tty_fd = 6
-> pptpd[27116]: CTRL: I wrote 32 bytes to the client.
-> pptpd[27116]: CTRL: Sent packet to client
-> pptpd[27117]: CTRL (PPPD Launcher): Connection speed = 115200
-> pptpd[27117]: CTRL (PPPD Launcher): local address = 192.168.0.1
-> pptpd[27117]: CTRL (PPPD Launcher): remote address = 192.168.1.1
-> pppd[27117]: pppd 2.4.1 started by root, uid 0
-> pppd[27117]: using channel 12
-> pppd[27117]: Using interface ppp0
-> pppd[27117]: Connect: ppp0 <--> /dev/pts/1
-> pppd[27117]: sent [LCP ConfReq id=0x10xfb041d36>  ]
-> pptpd[27116]: GRE: read error: Protocol not available
-> pptpd[27116]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
-> pppd[27117]: Modem hangup
-> pppd[27117]: Connection terminated.
-> pppd[27117]: Exit.
-> pptpd[27116]: CTRL: Client 213.252.195.44 control connection finished
-> pptpd[27116]: CTRL: Exiting now
-> pptpd[27114]: MGR: Reaped child 27116
-> 
-> 
-> #pptpd.conf
-> speed 115200
-> option /etc/ppp/options.vpn
-> debug
-> localip 192.168.0.1-10
-> remoteip 192.168.1.1-10
-> 
-> 
-> hi2all
-> 
-> #/etc/ppp/options
-> lock
-> debug
-> 
-> #/etc/ppp/options.vpn
-> debug ## change 'servername' to whatever you specify as your server name 
-> in chap-secrets
-> name ta.infinity-net.ru
-> #mtu 576
-> auth
-> require-pap
-> refuse-chap
-> login
-> ms-dns 192.168.0.1
-> proxyarp
-> 192.168.0.1:
-> 
-> 
-> 
-> # CONFIG_IP_PNP is not set
-> CONFIG_NET_IPIP=m
-> CONFIG_NET_IPGRE=m
-> # CONFIG_NET_IPGRE_BROADCAST is not set
-> 
-> 
-> Модуль ip_gre подгружен.
-> в чем могут быть проблемы?
-> 
-> thx2all
-> 
-> 
-- 
Denis A. Egorov



VPN problem

2003-11-06 Пенетрантность Evgeny Boksha

hi2all


не получается установиь VPN соединение

pptpd[27116]: MGR: Launching /usr/sbin/pptpctrl to handle client
pptpd[27116]: CTRL: local address = 192.168.0.1
pptpd[27116]: CTRL: remote address = 192.168.1.1
pptpd[27116]: CTRL: pppd speed = 115200
pptpd[27116]: CTRL: pppd options file = /etc/ppp/options.vpn
pptpd[27116]: CTRL: Client 213.252.195.44 control connection started
pptpd[27116]: CTRL: Received PPTP Control Message (type: 1)
pptpd[27116]: CTRL: Made a START CTRL CONN RPLY packet
pptpd[27116]: CTRL: I wrote 156 bytes to the client.
pptpd[27116]: CTRL: Sent packet to client
pptpd[27116]: CTRL: Received PPTP Control Message (type: 7)
pptpd[27116]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
pptpd[27116]: CTRL: Made a OUT CALL RPLY packet
pptpd[27116]: CTRL: Starting call (launching pppd, opening GRE)
pptpd[27116]: CTRL: pty_fd = 5
pptpd[27116]: CTRL: tty_fd = 6
pptpd[27116]: CTRL: I wrote 32 bytes to the client.
pptpd[27116]: CTRL: Sent packet to client
pptpd[27117]: CTRL (PPPD Launcher): Connection speed = 115200
pptpd[27117]: CTRL (PPPD Launcher): local address = 192.168.0.1
pptpd[27117]: CTRL (PPPD Launcher): remote address = 192.168.1.1
pppd[27117]: pppd 2.4.1 started by root, uid 0
pppd[27117]: using channel 12
pppd[27117]: Using interface ppp0
pppd[27117]: Connect: ppp0 <--> /dev/pts/1
pppd[27117]: sent [LCP ConfReq id=0x1   0xfb041d36>  ]

pptpd[27116]: GRE: read error: Protocol not available
pptpd[27116]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
pppd[27117]: Modem hangup
pppd[27117]: Connection terminated.
pppd[27117]: Exit.
pptpd[27116]: CTRL: Client 213.252.195.44 control connection finished
pptpd[27116]: CTRL: Exiting now
pptpd[27114]: MGR: Reaped child 27116


#pptpd.conf
speed 115200
option /etc/ppp/options.vpn
debug
localip 192.168.0.1-10
remoteip 192.168.1.1-10


hi2all

#/etc/ppp/options
lock
debug

#/etc/ppp/options.vpn
debug ## change 'servername' to whatever you specify as your server name 
in chap-secrets

name ta.infinity-net.ru
#mtu 576
auth
require-pap
refuse-chap
login
ms-dns 192.168.0.1
proxyarp
192.168.0.1:



# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
# CONFIG_NET_IPGRE_BROADCAST is not set


Модуль ip_gre подгружен.
в чем могут быть проблемы?

thx2all