I am having problems getting l2tp to talk to pppd
Seems to send but fails to receive, I do see packets
returning (tcpdump ) to l2tpd but they dont seem to be
getting to pppd
Anyone have any ideas where I am going wrong
I dont think this is an ipsec problem as I have l2tpd
with full debugging turned on and I see watch appears
to be communications in both directions to the client
(Win XP)
l2tpd.conf included after debug.
Am using rp-l2tp-0.4
PPPD Debug info
Jul 21 14:03:50 bfa pppd[20412]: pppd options in effect:
Jul 21 14:03:50 bfa pppd[20412]: debug debug
# (from command line)
Jul 21 14:03:50 bfa pppd[20412]: kdebug 7
# (from command line)
Jul 21 14:03:50 bfa pppd[20412]: nodetach
# (from command line)
Jul 21 14:03:50 bfa pppd[20412]: logfile
/var/log/l2tpd.log # (from /etc/ppp/options)
Jul 21 14:03:50 bfa pppd[20412]: dump # (from
/etc/ppp/options)
Jul 21 14:03:50 bfa pppd[20412]: require-pap
# (from command line)
Jul 21 14:03:50 bfa pppd[20412]: login # (from
command line)
Jul 21 14:03:50 bfa pppd[20412]: lock # (from
/etc/ppp/options)
Jul 21 14:03:50 bfa pppd[20412]: local # (from
/etc/ppp/options)
Jul 21 14:03:50 bfa pppd[20412]: sync # (from
command line)
Jul 21 14:03:50 bfa pppd[20412]: noaccomp
# (from command line)
Jul 21 14:03:50 bfa pppd[20412]: nopcomp
# (from command line)
Jul 21 14:03:50 bfa pppd[20412]: passive
# (from /etc/ppp/options)
Jul 21 14:03:50 bfa pppd[20412]: lcp-echo-failure 6
# (from command line)
Jul 21 14:03:50 bfa pppd[20412]: lcp-echo-interval 30
# (from command line)
Jul 21 14:03:50 bfa pppd[20412]: novj # (from
command line)
Jul 21 14:03:50 bfa pppd[20412]: Using interface ppp0
Jul 21 14:03:50 bfa pppd[20412]: Connect: ppp0 <-->
/dev/ttyp4
Jul 21 14:03:38 bfa last message repeated 6 times
Jul 21 14:03:50 bfa /netbsd: ppp0 output:
ff03c021010100140206000000000304c02305062ffd38dc
Jul 21 14:03:50 bfa /netbsd: ppp0 output:ff 03 c0 21 01
01 00 14 02 06 00 00 00 00 03 04 ...!............
Jul 21 14:03:50 bfa /netbsd: ppp0 output:c0 23 05 06 2f
fd 38 dc .#../.8.
Jul 21 14:03:50 bfa /netbsd: ppp0: missing UI (0x3),
got 0xc0
Jul 21 14:03:53 bfa /netbsd: ppp0 output:
ff03c021010100140206000000000304c02305062ffd38dc
Jul 21 14:05:30 bfa /netbsd: ppp0 output:c0 23 05 06 2a
b4 5f d8 .#..*._.
Jul 21 14:05:30 bfa /netbsd: ppp0: missing UI (0x3),
got 0xc0
Jul 21 14:05:33 bfa /netbsd: ppp0 output:
ff03c021010100140206000000000304c02305062ab45fd8
Jul 21 14:06:00 bfa pppd[14589]: LCP: timeout sending
Config-Requests
pppdlog
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap>
<magic 0x2ab45fd8>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap>
<magic 0x2ab45fd8>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap>
<magic 0x2ab45fd8>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap>
<magic 0x2ab45fd8>]
LCP: timeout sending Config-Requests
<l2tpd.conf>
# Global section (by default, we start in global mode)
global
# Load handlers
load-handler "sync-pppd.so"
load-handler "cmd.so"
# Bind address
listen-port 1701
# Configure the sync-pppd handler. You MUST have a
"section sync-pppd" line
# even if you don't set any options.
section sync-pppd
pppd-path /usr/sbin/pppd
lns-pppd-opts "login noauth debug kdebug 7 require-pap
10.0.0.1:10.0.0.2 lcp-echo-interval 30 lcp-ech
o-failure 6"
#lns-pppd-opts "file /etc/ppp/options"
#lac-pppd-opts "user example name example noipdefault
ipcp-accept-local ipcp-accept-remote lcp-echo-i
nterval 30 lcp-echo-failure 6"
# Peer section
section peer
peer 0.0.0.0
mask 0
#secret s3cr3t
port 1701
lac-handler sync-pppd
lns-handler sync-pppd
#hide-avps no
# Configure the cmd handler. You MUST have a "section
cmd" line
# even if you don't set any options.
section cmd
ß------End->
James Vodanovich
Logged In: YES
user_id=1645659
Originator: NO
This may be the same problem I just came across, see patch 1596730.