[pptp-server] Having trouble getting encryption working.

Robert Green robert at dvns.com
Wed Jun 5 12:51:14 CDT 2002


Here is my log file:

Jun  4 12:46:49 flame pptpd[1432]: MGR: Launching /usr/local/sbin/pptpctrl
to handle client
Jun  4 12:46:49 flame pptpd[1432]: CTRL: local address = 192.168.0.2
Jun  4 12:46:49 flame pptpd[1432]: CTRL: remote address = 192.168.1.2
Jun  4 12:46:49 flame pptpd[1432]: CTRL: pppd speed = 115200
Jun  4 12:46:49 flame pptpd[1432]: CTRL: pppd options file =
/etc/ppp/options.pptp
Jun  4 12:46:49 flame pptpd[1432]: CTRL: Client 192.168.101.50 control
connection started
Jun  4 12:46:49 flame pptpd[1432]: CTRL: Received PPTP Control Message
(type: 1)Jun  4 12:46:49 flame pptpd[1432]: CTRL: Made a START CTRL CONN
RPLY packet
Jun  4 12:46:49 flame pptpd[1432]: CTRL: I wrote 156 bytes to the client.
Jun  4 12:46:49 flame pptpd[1432]: CTRL: Sent packet to client
Jun  4 12:46:49 flame pptpd[1432]: CTRL: Received PPTP Control Message
(type: 7)Jun  4 12:46:49 flame pptpd[1432]: CTRL: Set parameters to 0
maxbps, 16 window size
Jun  4 12:46:49 flame pptpd[1432]: CTRL: Made a OUT CALL RPLY packet
Jun  4 12:46:49 flame pptpd[1432]: CTRL: Starting call (launching pppd,
opening
GRE)
Jun  4 12:46:49 flame pptpd[1432]: CTRL: pty_fd = 5
Jun  4 12:46:49 flame pptpd[1432]: CTRL: tty_fd = 6
Jun  4 12:46:49 flame pptpd[1433]: CTRL (PPPD Launcher): Connection speed =
115200
Jun  4 12:46:49 flame pptpd[1433]: CTRL (PPPD Launcher): local address =
192.168.0.2
Jun  4 12:46:49 flame pptpd[1433]: CTRL (PPPD Launcher): remote address =
192.168.1.2
Jun  4 12:46:49 flame pppd[1433]: pppd 2.4.1 started by root, uid 0
Jun  4 12:46:49 flame pptpd[1432]: CTRL: I wrote 32 bytes to the client.
Jun  4 12:46:49 flame pptpd[1432]: CTRL: Sent packet to client
Jun  4 12:46:49 flame pppd[1433]: Using interface ppp0
Jun  4 12:46:49 flame pppd[1433]: Connect: ppp0 <--> /dev/pts/0
Jun  4 12:46:49 flame pppd[1433]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<auth
chap 81> <magic 0xcab826b9> <pcomp> <accomp>]
Jun  4 12:46:49 flame pppd[1433]: rcvd [LCP ConfReq id=0x1 <magic 0x110934f>
<pcomp> <accomp>]
Jun  4 12:46:49 flame pppd[1433]: sent [LCP ConfAck id=0x1 <magic 0x110934f>
<pcomp> <accomp>]
Jun  4 12:46:49 flame pppd[1433]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<auth
chap 81> <magic 0xcab826b9> <pcomp> <accomp>]
Jun  4 12:46:49 flame pppd[1433]: sent [CHAP Challenge id=0x1
<77a348ec6adc3a6af9bc537e040f13a5>, name = "flame"]
Jun  4 12:46:49 flame pppd[1433]: rcvd [CHAP Response id=0x1
<2f70dc4e0f5472f35b51a28dc01af4d100000000000000007c24bd2cc54f210ead2ad77f69298fced8888b253a3611c704>,
name = "rng"]
Jun  4 12:46:49 flame pppd[1433]: sent [CHAP Success id=0x1
"S=AA0FC23404A4CA8E9CEED5FB76B4049059A8D790"]
Jun  4 12:46:49 flame pppd[1433]: sent [IPCP ConfReq id=0x1 <addr
192.168.0.2> <compress VJ 0f 01>]
Jun  4 12:46:49 flame pppd[1433]: sent [CCP ConfReq id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Jun  4 12:46:49 flame pppd[1433]: MSCHAP-v2 peer authentication succeeded
for rng
Jun  4 12:46:49 flame pppd[1433]: rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0>
<ms-dns1 0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
Jun  4 12:46:49 flame pppd[1433]: sent [IPCP ConfRej id=0x1 <ms-dns1
0.0.0.0> <ms-wins 0.0.0.0> <ms-dns3 0.0.0.0> <ms-wins 0.0.0.0>]
Jun  4 12:46:49 flame pppd[1433]: rcvd [CCP ConfReq id=0x1 <mppe 1 0 0 30>]
Jun  4 12:46:49 flame pppd[1433]: sent [CCP ConfRej id=0x1 <mppe 1 0 0 20>]
Jun  4 12:46:49 flame pppd[1433]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f
01>]Jun  4 12:46:49 flame pppd[1433]: sent [IPCP ConfReq id=0x2 <addr
192.168.0.2>]
Jun  4 12:46:49 flame pppd[1433]: rcvd [CCP ConfRej id=0x1 <deflate 15>
<deflate(old#) 15> <bsd v1 15>]
Jun  4 12:46:49 flame pppd[1433]: sent [CCP ConfReq id=0x2]
Jun  4 12:46:49 flame pppd[1433]: rcvd [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
Jun  4 12:46:49 flame pppd[1433]: sent [IPCP ConfNak id=0x2 <addr
192.168.201.240>]
Jun  4 12:46:49 flame pppd[1433]: rcvd [CCP ConfReq id=0x2]
Jun  4 12:46:49 flame pppd[1433]: sent [CCP ConfAck id=0x2]
Jun  4 12:46:49 flame pppd[1433]: rcvd [IPCP ConfAck id=0x2 <addr
192.168.0.2>]
Jun  4 12:46:49 flame pppd[1433]: rcvd [CCP ConfAck id=0x2]
Jun  4 12:46:49 flame pppd[1433]: rcvd [IPCP ConfReq id=0x3 <addr
192.168.201.240>]
Jun  4 12:46:49 flame pppd[1433]: sent [IPCP ConfAck id=0x3 <addr
192.168.201.240>]
Jun  4 12:46:49 flame pppd[1433]: found interface eth0 for proxy arp
Jun  4 12:46:49 flame pppd[1433]: local  IP address 192.168.0.2
Jun  4 12:46:49 flame pppd[1433]: remote IP address 192.168.201.240
Jun  4 12:46:49 flame pppd[1433]: Script /etc/ppp/ip-up started (pid 1434)
Jun  4 12:46:49 flame pppd[1433]: rcvd [CCP TermReq id=0x3]
Jun  4 12:46:49 flame pppd[1433]: CCP terminated by peer
Jun  4 12:46:49 flame pppd[1433]: sent [CCP TermAck id=0x3]
Jun  4 12:46:49 flame pppd[1433]: Compression disabled by peer.
Jun  4 12:46:49 flame pppd[1433]: Script /etc/ppp/ip-up finished (pid 1434),
status = 0x0
Jun  4 12:46:51 flame pppd[1433]: rcvd [LCP TermReq id=0x2]
Jun  4 12:46:51 flame pppd[1433]: LCP terminated by peer
Jun  4 12:46:51 flame pppd[1433]: Script /etc/ppp/ip-down started (pid 1464)
Jun  4 12:46:51 flame pppd[1433]: sent [LCP TermAck id=0x2]
Jun  4 12:46:51 flame pptpd[1432]: CTRL: Received PPTP Control Message
(type: 12)
Jun  4 12:46:51 flame pptpd[1432]: CTRL: Made a CALL DISCONNECT RPLY packet
Jun  4 12:46:51 flame pptpd[1432]: CTRL: Received CALL CLR request (closing
call)
Jun  4 12:46:51 flame pptpd[1432]: CTRL: I wrote 148 bytes to the client.
Jun  4 12:46:51 flame pptpd[1432]: CTRL: Sent packet to client
Jun  4 12:46:51 flame pptpd[1432]: CTRL: Error with select(), quitting
Jun  4 12:46:51 flame pptpd[1432]: CTRL: Client 192.168.101.50 control
connection finished
Jun  4 12:46:51 flame pptpd[1432]: CTRL: Exiting now
Jun  4 12:46:51 flame pptpd[1198]: MGR: Reaped child 1432
Jun  4 12:46:51 flame pppd[1433]: Modem hangup
Jun  4 12:46:51 flame pppd[1433]: Connection terminated.
Jun  4 12:46:51 flame pppd[1433]: Connect time 0.1 minutes.
Jun  4 12:46:51 flame pppd[1433]: Sent 437 bytes, received 453 bytes.
Jun  4 12:46:51 flame pppd[1433]: Waiting for 1 child processes...
Jun  4 12:46:51 flame pppd[1433]:   script /etc/ppp/ip-down, pid 1464
Jun  4 12:46:51 flame pppd[1433]: Script /etc/ppp/ip-down finished (pid
1464), status = 0x0
Jun  4 12:46:51 flame pppd[1433]: Exit.


The lines that I am worried about are these:
Jun  4 12:46:49 flame pppd[1433]: rcvd [CCP ConfReq id=0x1 <mppe 1 0 0 30>]
Jun  4 12:46:49 flame pppd[1433]: sent [CCP ConfRej id=0x1 <mppe 1 0 0 20>]

This seems to be rejecting the encryption. 

Thanks
Robert
On Wed, Jun 05, 2002 at 05:38:36PM +0200, R. de Vroede wrote:
> Maybe you could post logs from the server to the list. Makes debugging
> easier. 
> 
> Regards,
> Richard
> 
> > I have tried just one or the other mppe-40/-128 to no avail.  
> > 
> > Robert
> > 
> > On Wed, Jun 05, 2002 at 04:43:34PM +0200, R. de Vroede wrote:
> > > First of all:
> > > 
> > > > My options file looks like this:
> > > > 
> > > > lock
> > > > debug 
> > > > name flame
> > > > procyarp     <-- should be proxyarp
> 
> 
> -- 
> Richard de Vroede
> (r.devroede at linvision.com)
> ------------------------------------------------
> Linvision BV         Provides Linux Solutions
> Elektronicaweg 16D
> 2628 XG Delft
> T: +31157502310      info at linvision.com
> F: +31157502319      http://devel.linvision.com
> ------------------------------------------------
> 
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> --- To unsubscribe, go to the url just above this line. --




More information about the pptp-server mailing list