Date: Wed, 04 Sep 2002 19:33:20 +0200 From: Michael Bretterklieber <mbretter@inode.at> To: freebsd-net@freebsd.org Subject: mpd - connection problems (set ccp yes mpp-stateless) Message-ID: <3D7643E0.3080309@inode.at>
next in thread | raw e-mail | index | archive | help
Hi, I use mpd (Version 3.8) for a pptp vpn-connection to a customer. Now I have some problems: If I add "set ccp yes mpp-stateless" to the mpd.conf then the connection doesen't work. Every time I ping a host on the other side of the tunnel I see in the mpd.log these entries: Sep 4 17:10:53 gateway mpd: [boehler] rec'd unexpected protocol 0x6853 on link -1, rejecting Sep 4 17:10:54 gateway mpd: [boehler] rec'd proto 0xc43d on MP link! (ignoring) Sep 4 17:10:55 gateway mpd: [boehler] rec'd unexpected protocol 0x00af on link -1, rejecting Sep 4 17:10:56 gateway mpd: [boehler] rec'd unexpected protocol 0x3e39 on link -1, rejecting Sep 4 17:10:57 gateway mpd: [boehler] rec'd unexpected protocol 0x761f on link and so on. after I removed "set ccp yes mpp-stateless" the connection worked, but very slow. I saw that the mtu of the ng-interface is very low (334). any hints? thanx, bye, here are some logs (mpd, routing-table, tcpdump): ifconfig ng0: ng0: flags=88d1<UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST> mtu 334 inet 172.26.28.211 --> 172.26.28.11 netmask 0xffffffff mpd.conf boehler: new -i ng0 boehler boehler set iface disable on-demand set iface addrs 192.168.1.1 192.168.2.2 set iface idle 0 set iface route 172.16.0.0/16 set iface route 172.26.28.0/24 set bundle disable multilink set bundle authname xxx set bundle password xxxx set link yes acfcomp protocomp set link no pap set link disable chap set link accept chap set ipcp yes vjcomp set bundle enable compression set ccp yes mppc set ccp yes mpp-e40 set ccp yes mpp-e128 set bundle enable crypt-reqd set ccp yes mpp-stateless open mpd.links: boehler: set link type pptp set pptp self 0.0.0.0 set pptp peer 193.154.56.240 set pptp enable originate incoming outcall routing table: default 195.58.186.225 UGSc 2 1089815 rl1 127.0.0.1 127.0.0.1 UH 0 0 lo0 172.16 172.26.28.11 UGSc 0 12 ng0 172.18 link#4 UC 5 0 ed0 172.18.4.30 00:30:05:18:92:30 UHLW 0 40925 ed0 172.18.4.50 00:30:05:18:92:4b UHLW 0 6624 ed0 172.18.4.56 00:30:05:18:92:51 UHLW 0 87 ed0 172.18.4.60 00:30:05:18:92:55 UHLW 0 88876 ed0 172.18.4.63 00:30:05:18:8a:02 UHLW 0 49020 ed0 172.26.28/24 172.26.28.11 UGSc 0 11 ng0 172.26.28.11 172.26.28.211 UH 2 31 ng0 bash-2.05a# tcpdump -n -i ng0 tcpdump: listening on ng0 17:24:07.318663 172.26.28.211 > 172.16.190.2: icmp: echo request 17:24:08.323224 172.26.28.211 > 172.16.190.2: icmp: echo request 17:24:09.333230 172.26.28.211 > 172.16.190.2: icmp: echo request 17:24:10.343241 172.26.28.211 > 172.16.190.2: icmp: echo request mpd.log: Sep 4 17:09:38 gateway mpd: [boehler] device: OPEN event in state DOWN Sep 4 17:09:38 gateway mpd: pptp0: connecting to 193.154.56.240:1723 Sep 4 17:09:38 gateway mpd: [boehler] device is now in state OPENING Sep 4 17:09:38 gateway mpd: pptp0: connected to 193.154.56.240:1723 Sep 4 17:09:38 gateway mpd: pptp0: attached to connection with 193.154.56.240:1 723 Sep 4 17:09:38 gateway mpd: pptp0-0: outgoing call connected at 64000 bps Sep 4 17:09:38 gateway mpd: [boehler] PPTP call successful Sep 4 17:09:38 gateway mpd: [boehler] device: UP event in state OPENING Sep 4 17:09:38 gateway mpd: [boehler] device is now in state UP Sep 4 17:09:38 gateway mpd: [boehler] link: UP event Sep 4 17:09:38 gateway mpd: [boehler] link: origination is local Sep 4 17:09:38 gateway mpd: [boehler] LCP: Up event Sep 4 17:09:38 gateway mpd: [boehler] LCP: state change Starting --> Req-Sent Sep 4 17:09:38 gateway mpd: [boehler] LCP: phase shift DEAD --> ESTABLISH Sep 4 17:09:38 gateway mpd: [boehler] LCP: SendConfigReq #239 Sep 4 17:09:38 gateway mpd: ACFCOMP Sep 4 17:09:38 gateway mpd: PROTOCOMP Sep 4 17:09:38 gateway mpd: MRU 1500 Sep 4 17:09:38 gateway mpd: MAGICNUM 9226f249 Sep 4 17:09:40 gateway mpd: [boehler] LCP: SendConfigReq #240 Sep 4 17:09:40 gateway mpd: ACFCOMP Sep 4 17:09:40 gateway mpd: PROTOCOMP Sep 4 17:09:40 gateway mpd: MRU 1500 Sep 4 17:09:40 gateway mpd: MAGICNUM 9226f249 Sep 4 17:09:40 gateway mpd: [boehler] rec'd unknown ctrl message, cookie=942710 669 cmd=4 Sep 4 17:09:40 gateway mpd: [boehler] LCP: rec'd Configure Request #1 link 0 (R eq-Sent) Sep 4 17:09:40 gateway mpd: MRU 338 Sep 4 17:09:40 gateway mpd: AUTHPROTO CHAP MSOFTv2 Sep 4 17:09:40 gateway mpd: MAGICNUM 08c73ed0 Sep 4 17:09:40 gateway mpd: PROTOCOMP Sep 4 17:09:40 gateway mpd: ACFCOMP Sep 4 17:09:40 gateway mpd: [boehler] LCP: SendConfigAck #1 Sep 4 17:09:40 gateway mpd: MRU 338 Sep 4 17:09:40 gateway mpd: AUTHPROTO CHAP MSOFTv2 Sep 4 17:09:40 gateway mpd: MAGICNUM 08c73ed0 Sep 4 17:09:40 gateway mpd: PROTOCOMP Sep 4 17:09:40 gateway mpd: ACFCOMP Sep 4 17:09:40 gateway mpd: [boehler] LCP: state change Req-Sent --> Ack-Sent Sep 4 17:09:40 gateway mpd: [boehler] LCP: rec'd Configure Ack #240 link 0 (Ack -Sent) Sep 4 17:09:40 gateway mpd: ACFCOMP Sep 4 17:09:40 gateway mpd: PROTOCOMP Sep 4 17:09:40 gateway mpd: MRU 1500 Sep 4 17:09:40 gateway mpd: MAGICNUM 9226f249 Sep 4 17:09:40 gateway mpd: [boehler] LCP: state change Ack-Sent --> Opened Sep 4 17:09:40 gateway mpd: [boehler] LCP: phase shift ESTABLISH --> AUTHENTICA TE Sep 4 17:09:40 gateway mpd: [boehler] LCP: auth: peer wants CHAP, I want nothin g Sep 4 17:09:40 gateway mpd: [boehler] LCP: LayerUp Sep 4 17:09:41 gateway mpd: [boehler] CHAP: rec'd CHALLENGE #1 Sep 4 17:09:41 gateway mpd: Name: "watchguard" Sep 4 17:09:41 gateway mpd: Using authname "xxxx" Sep 4 17:09:41 gateway mpd: [boehler] CHAP: sending RESPONSE Sep 4 17:09:41 gateway mpd: [boehler] CHAP: rec'd SUCCESS #1 Sep 4 17:09:41 gateway mpd: MESG: S=33283c65b0884d0754db55c1338586bc3d342e1b Sep 4 17:09:41 gateway mpd: [boehler] LCP: authorization successful Sep 4 17:09:41 gateway mpd: [boehler] LCP: phase shift AUTHENTICATE --> NETWORK Sep 4 17:09:41 gateway mpd: [boehler] up: 1 link, total bandwidth 64000 bps Sep 4 17:09:41 gateway mpd: [boehler] IPCP: Up event Sep 4 17:09:41 gateway mpd: [boehler] IPCP: state change Starting --> Req-Sent Sep 4 17:09:41 gateway mpd: [boehler] IPCP: SendConfigReq #72 Sep 4 17:09:41 gateway mpd: IPADDR 172.18.4.99 Sep 4 17:09:41 gateway mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Sep 4 17:09:41 gateway mpd: [boehler] CCP: Open event Sep 4 17:09:41 gateway mpd: [boehler] CCP: state change Initial --> Starting Sep 4 17:09:41 gateway mpd: [boehler] CCP: LayerStart Sep 4 17:09:41 gateway mpd: [boehler] CCP: Up event Sep 4 17:09:41 gateway mpd: [boehler] CCP: state change Starting --> Req-Sent Sep 4 17:09:41 gateway mpd: [boehler] CCP: SendConfigReq #251 Sep 4 17:09:41 gateway mpd: MPPC Sep 4 17:09:41 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless Sep 4 17:09:41 gateway mpd: [boehler] IPCP: rec'd Configure Request #1 link 0 ( Req-Sent) Sep 4 17:09:41 gateway mpd: IPADDR 172.26.28.11 Sep 4 17:09:41 gateway mpd: 172.26.28.11 is OK Sep 4 17:09:41 gateway mpd: [boehler] IPCP: SendConfigAck #1 Sep 4 17:09:41 gateway mpd: IPADDR 172.26.28.11 Sep 4 17:09:41 gateway mpd: [boehler] IPCP: state change Req-Sent --> Ack-Sent Sep 4 17:09:42 gateway mpd: [boehler] IPCP: rec'd Configure Reject #72 link 0 ( Ack-Sent) Sep 4 17:09:42 gateway mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Sep 4 17:09:42 gateway mpd: [boehler] IPCP: SendConfigReq #73 Sep 4 17:09:42 gateway mpd: IPADDR 172.18.4.99 Sep 4 17:09:42 gateway mpd: [boehler] CCP: rec'd Configure Request #1 link 0 (R eq-Sent) Sep 4 17:09:42 gateway mpd: MPPC Sep 4 17:09:42 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless Sep 4 17:09:42 gateway mpd: [boehler] CCP: SendConfigNak #1 Sep 4 17:09:42 gateway mpd: MPPC Sep 4 17:09:42 gateway mpd: 0x01000040: MPPE, 128 bit, stateless Sep 4 17:09:42 gateway mpd: [boehler] CCP: rec'd Configure Ack #251 link 0 (Req -Sent) Sep 4 17:09:42 gateway mpd: MPPC Sep 4 17:09:42 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless Sep 4 17:09:42 gateway mpd: [boehler] CCP: state change Req-Sent --> Ack-Rcvd Sep 4 17:09:42 gateway mpd: [boehler] IPCP: rec'd Configure Nak #73 link 0 (Ack -Sent) Sep 4 17:09:42 gateway mpd: IPADDR 172.26.28.211 Sep 4 17:09:42 gateway mpd: 172.26.28.211 is OK Sep 4 17:09:42 gateway mpd: [boehler] IPCP: SendConfigReq #74 Sep 4 17:09:42 gateway mpd: IPADDR 172.26.28.211 Sep 4 17:09:42 gateway mpd: [boehler] IPCP: rec'd Configure Ack #74 link 0 (Ack -Sent) Sep 4 17:09:42 gateway mpd: IPADDR 172.26.28.211 Sep 4 17:09:42 gateway mpd: [boehler] IPCP: state change Ack-Sent --> Opened Sep 4 17:09:42 gateway mpd: [boehler] IPCP: LayerUp Sep 4 17:09:42 gateway mpd: 172.26.28.211 -> 172.26.28.11 Sep 4 17:09:42 gateway mpd: [boehler] IFACE: Up event Sep 4 17:09:42 gateway mpd: [boehler] exec: /sbin/ifconfig ng0 172.26.28.211 17 2.26.28.11 netmask 0xffffffff -link0 Sep 4 17:09:42 gateway mpd: [boehler] exec: /sbin/route add 172.16.0.0 172.26.2 8.11 -netmask 0xffff0000 Sep 4 17:09:42 gateway mpd: [boehler] exec: /sbin/route add 172.26.28.0 172.26. 28.11 -netmask 0xffffff00 Sep 4 17:09:42 gateway mpd: [boehler] IFACE: Up event Sep 4 17:09:44 gateway mpd: [boehler] IPCP: rec'd Configure Request #1 link 0 ( Opened) Sep 4 17:09:44 gateway mpd: IPADDR 172.26.28.11 Sep 4 17:09:44 gateway mpd: 172.26.28.11 is OK Sep 4 17:09:44 gateway mpd: [boehler] IPCP: LayerDown Sep 4 17:09:44 gateway mpd: [boehler] IFACE: Down event Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/route delete 172.16.0.0 172.2 6.28.11 -netmask 0xffff0000 Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/route delete 172.26.28.0 172. 26.28.11 -netmask 0xffffff00 Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/ifconfig ng0 down delete -link0 Sep 4 17:09:44 gateway mpd: [boehler] IPCP: SendConfigReq #75 Sep 4 17:09:44 gateway mpd: IPADDR 172.26.28.211 Sep 4 17:09:44 gateway mpd: [boehler] IPCP: SendConfigAck #1 Sep 4 17:09:44 gateway mpd: IPADDR 172.26.28.11 Sep 4 17:09:44 gateway mpd: [boehler] IPCP: state change Opened --> Ack-Sent Sep 4 17:09:44 gateway mpd: [boehler] IPCP: rec'd Configure Ack #75 link 0 (Ack -Sent) Sep 4 17:09:44 gateway mpd: IPADDR 172.26.28.211 Sep 4 17:09:44 gateway mpd: [boehler] IPCP: state change Ack-Sent --> Opened Sep 4 17:09:44 gateway mpd: [boehler] IPCP: LayerUp Sep 4 17:09:44 gateway mpd: 172.26.28.211 -> 172.26.28.11 Sep 4 17:09:44 gateway mpd: [boehler] IFACE: Up event Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/ifconfig ng0 172.26.28.211 17 2.26.28.11 netmask 0xffffffff -link0 Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/route add 172.16.0.0 172.26.2 8.11 -netmask 0xffff0000 Sep 4 17:09:44 gateway mpd: [boehler] exec: /sbin/route add 172.26.28.0 172.26. 28.11 -netmask 0xffffff00 Sep 4 17:09:44 gateway mpd: [boehler] IFACE: Up event Sep 4 17:09:45 gateway mpd: [boehler] CCP: rec'd Configure Request #1 link 0 (A ck-Rcvd) Sep 4 17:09:45 gateway mpd: MPPC Sep 4 17:09:45 gateway mpd: 0x01000060: MPPE, 40 bit, 128 bit, stateless Sep 4 17:09:45 gateway mpd: [boehler] CCP: SendConfigNak #1 Sep 4 17:09:45 gateway mpd: MPPC Sep 4 17:09:45 gateway mpd: 0x01000040: MPPE, 128 bit, stateless Sep 4 17:09:45 gateway mpd: [boehler] CCP: rec'd Configure Request #2 link 0 (A ck-Rcvd) Sep 4 17:09:45 gateway mpd: MPPC Sep 4 17:09:45 gateway mpd: 0x01000040: MPPE, 128 bit, stateless Sep 4 17:09:45 gateway mpd: [boehler] CCP: SendConfigAck #2 Sep 4 17:09:45 gateway mpd: MPPC Sep 4 17:09:45 gateway mpd: 0x01000040: MPPE, 128 bit, stateless Sep 4 17:09:45 gateway mpd: [boehler] CCP: state change Ack-Rcvd --> Opened Sep 4 17:09:45 gateway mpd: [boehler] CCP: LayerUp Sep 4 17:09:45 gateway mpd: Compress using: MPPE, 128 bit, stateless Sep 4 17:09:45 gateway mpd: Decompress using: MPPE, 40 bit, 128 bit, stateless Sep 4 17:10:53 gateway mpd: [boehler] rec'd unexpected protocol 0x6853 on link -1, rejecting Sep 4 17:10:54 gateway mpd: [boehler] rec'd proto 0xc43d on MP link! (ignoring) Sep 4 17:10:55 gateway mpd: [boehler] rec'd unexpected protocol 0x00af on link -1, rejecting Sep 4 17:10:56 gateway mpd: [boehler] rec'd unexpected protocol 0x3e39 on link -1, rejecting Sep 4 17:10:57 gateway mpd: [boehler] rec'd unexpected protocol 0x761f on link Sep 4 17:10:58 gateway mpd: [boehler] rec'd unexpected protocol 0x6817 on link -1, rejecting Sep 4 17:10:59 gateway mpd: [boehler] rec'd unexpected protocol 0x887f on link -1, rejecting Sep 4 17:11:00 gateway mpd: [boehler] rec'd unexpected protocol 0x2653 on link -1, rejecting Sep 4 17:11:01 gateway mpd: [boehler] rec'd unexpected protocol 0x0095 on link -1, rejecting Sep 4 17:12:25 gateway mpd: [boehler] rec'd unexpected protocol 0x1ab9 on link -1, rejecting Sep 4 17:12:26 gateway mpd: [boehler] rec'd unexpected protocol 0x0061 on link -1, rejecting Sep 4 17:12:27 gateway mpd: [boehler] rec'd proto 0xdad1 on MP link! (ignoring) -- -- -------------------------------------- E-mail: Michael.Bretterklieber@jawa.at ---------------------------- JAWA Management Software GmbH Liebenauer Hauptstr. 200 A-8041 GRAZ Tel: ++43-(0)316-403274-12 Fax: ++43-(0)316-403274-10 GSM: ++43-(0)676-93 96 698 homepage: http://www.jawa.at --------- privat ----------- E-mail: mbretter@inode.at homepage: http://www.inode.at/mbretter -------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D7643E0.3080309>