[Openswan Users] Distro upgrade broken ppp connection?

Willie Gillespie wgillespie+openswan at es2eng.com
Mon Nov 1 12:07:35 EDT 2010


What is your PPP configuration?
If you add "ppp debug = yes" to xl2tpd.conf, do you get any more info?

Mark Williams wrote:
> Hi all,
> 
> Over the weekend (possibly foolishly) i did a 'apt-get dist-upgrade"
> to squeeze as lenny didnt have some newer packages i needed.
> 
> Now im having some VPN connection issues :(
> Ive gone over my old confs, and fixed up all the new ipsec, xl2tpd and
> ppp confs/errors where ive found them.
> 
> ipsec/xl2tpd connects ok (from what i can tell), but pppd seems to
> drop the connection immediately.
> 
> My VPN up script looks like (worked in the past):
> ipsec auto --up cf-tunnel
> sleep 10s
> echo "c cf-tunnel" > /var/run/xl2tpd/l2tp-control
> 
> On running, i get:
> 
> 104 "cf-tunnel" #1: STATE_MAIN_I1: initiate
> 003 "cf-tunnel" #1: ignoring unknown Vendor ID payload
> [4f454b427a64597b774d5d40]
> 003 "cf-tunnel" #1: received Vendor ID payload [Dead Peer Detection]
> 003 "cf-tunnel" #1: received Vendor ID payload [RFC 3947] method set to=109
> 106 "cf-tunnel" #1: STATE_MAIN_I2: sent MI2, expecting MR2
> 003 "cf-tunnel" #1: NAT-Traversal: Result using RFC 3947
> (NAT-Traversal): both are NATed
> 108 "cf-tunnel" #1: STATE_MAIN_I3: sent MI3, expecting MR3
> 004 "cf-tunnel" #1: STATE_MAIN_I4: ISAKMP SA established
> {auth=OAKLEY_PRESHARED_KEY cipher=aes_128
> prf=oakley_shagroup=modp2048}
> 117 "cf-tunnel" #2: STATE_QUICK_I1: initiate
> 004 "cf-tunnel" #2: STATE_QUICK_I2: sent QI2, IPsec SA established
> tunnel mode {ESP=>0xfcd947de <0x968b8923 xfrm=AES_128-HMAC_SHA1
> NATOA=none NATD=66.45.165.34:4500 DPD=none}
> 
> /var/log/messages shows:
> Nov  1 15:05:37 linux pppd[1718]: pppd 2.4.5 started by root, uid 0
> Nov  1 15:05:37 linux pppd[1718]: Using interface ppp0
> Nov  1 15:05:37 linux pppd[1718]: Connect: ppp0 <--> /dev/pts/2
> Nov  1 15:05:38 linux pppd[1718]: Terminating on signal 15
> Nov  1 15:05:38 linux pppd[1718]: Modem hangup
> Nov  1 15:05:38 linux pppd[1718]: Connection terminated.
> Nov  1 15:05:38 linux pppd[1718]: Exit.
> 
> Ive done some googling on the "Terminating on signal 15" problem,
> butwithout much help.
> 
> Any ideas on where i can look for more info on why pppd is failing?
> 
> Thanks in advance!
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Micropayments: https://flattr.com/thing/38387/IPsec-for-Linux-made-easy
> Building and Integrating Virtual Private Networks with Openswan: 
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155


More information about the Users mailing list