pptpd Server

Rund um die Sicherheit des Systems und die Applikationen
charlie
Posts: 78
Joined: 2002-09-30 23:36

pptpd Server

Post by charlie » 2005-08-12 17:57

Hi,

bin grade am spielen mit meinem pptp Server (PoPToP version 1.1.2) leider funzt etwas nicht mit der Anmeldung. Die config (/etc/ppp/options.ppp0) die ich fahre sieht so aus:

require-mppe
auth
mtu 1490
mru 1490
mppe-40
mppe-128

Das ist der Log File für die fehlgeschlagene Anmeldung:
Aug 12 17:50:38 nemo pptpd[10253]: MGR: Launching /usr/sbin/pptpctrl to handle client
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: local address = 192.168.0.1
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: remote address = 192.168.1.101
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: pppd speed = 115200
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: pppd options file = /etc/ppp/options.ppp0
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: Client xxx.188.xxx.145 control connection started
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: Received PPTP Control Message (type: 1)
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: Made a START CTRL CONN RPLY packet
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: I wrote 156 bytes to the client.
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: Sent packet to client
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: Received PPTP Control Message (type: 7)
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: 0 min_bps, 1525 max_bps, 32 window size
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: Made a OUT CALL RPLY packet
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: Starting call (launching pppd, opening GRE)
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: pty_fd = 7
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: tty_fd = 8
Aug 12 17:50:38 nemo pptpd[10254]: CTRL (PPPD Launcher): Connection speed = 115200
Aug 12 17:50:38 nemo pptpd[10254]: CTRL (PPPD Launcher): local address = 192.168.0.1
Aug 12 17:50:38 nemo pptpd[10254]: CTRL (PPPD Launcher): remote address = 192.168.1.101
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: I wrote 32 bytes to the client.
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: Sent packet to client
Aug 12 17:50:38 nemo pppd[10254]: pppd 2.4.1 started by root, uid 0
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: Received PPTP Control Message (type: 15)
Aug 12 17:50:38 nemo pptpd[10253]: CTRL: Got a SET LINK INFO packet with standard ACCMs
Aug 12 17:50:38 nemo pppd[10254]: Using interface ppp0
Aug 12 17:50:38 nemo pppd[10254]: Connect: ppp0 <--> /dev/pts/11
20 sec nix User und Passwort werden veriviziert
Aug 12 17:51:15 nemo pptpd[10253]: CTRL: Received PPTP Control Message (type: 12)
Aug 12 17:51:15 nemo pptpd[10253]: CTRL: Made a CALL DISCONNECT RPLY packet
Aug 12 17:51:15 nemo pptpd[10253]: CTRL: Received CALL CLR request (closing call)
Aug 12 17:51:15 nemo pptpd[10253]: CTRL: I wrote 148 bytes to the client.
Aug 12 17:51:15 nemo pptpd[10253]: CTRL: Sent packet to client
Aug 12 17:51:15 nemo pppd[10254]: Modem hangup
Aug 12 17:51:15 nemo pppd[10254]: Connection terminated.
Aug 12 17:51:15 nemo pppd[10254]: Exit.
Aug 12 17:51:15 nemo pptpd[10253]: GRE: read error: Bad file descriptor
Aug 12 17:51:15 nemo pptpd[10253]: CTRL: PTY read or GRE write failed (pty,gre)=(-1,-1)
Aug 12 17:51:15 nemo pptpd[10253]: CTRL: Client xx.180.xxx.145 control connection finished
Aug 12 17:51:15 nemo pptpd[10253]: CTRL: Exiting now
Aug 12 17:51:15 nemo pptpd[10016]: MGR: Reaped child 10253

So noch ein lsmod:
ip_gre 9216 0 (unused)
ppp_mppe 21992 0 (unused)
ppp_async 7136 0 (autoclean)
ppp_generic 20380 0 [ppp_mppe ppp_async]
slhc 5360 0 [ppp_generic]
iptable_filter 1708 1 (autoclean)
ip_tables 11328 1 [iptable_filter]
isa-pnp 32712 0 (unused)
ipv6 227392 -1 (autoclean)
key 70456 0 (autoclean) [ipv6]
af_packet 13192 1 (autoclean)
thermal 6180 0 (unused)
processor 8312 0 [thermal]
fan 1472 0 (unused)
button 2380 0 (unused)
battery 5600 0 (unused)
ac 1696 0 (unused)
sis900 13644 1
quota_v2 7352 2
dm-mod 46928 0 (unused)
ext3 88328 1
jbd 52448 1 [ext3]


Jemand eine Idee was da schief läuft?

mfg
charlie

charlie
Posts: 78
Joined: 2002-09-30 23:36

Re: pptpd Server

Post by charlie » 2005-08-12 19:21

Hi,

in der Config fehlte ein "+chapms-v2"

mfg
charlie