Hello,

I have some troubles makging an l2tp connection between win2k and
freesWAN/l2tpd.
The IPsec connection seem to be okay, SA established.
The problem comes with the ppp daemon.
the error I have is : 
peer closing for reason 3 (Control channel already exists)

One strange thing is "auth" in the pppd command line, even if I have
noauth in options.l2tpd

I don't understand what is the "ip range" field in the l2tpd.conf.
If I remove this field, I have peer closing connection for reason 1.

I have joined my l2tpd log, l2tpd.conf and options.l2tpd .

Could anybody help me ?
Thank you very much for any answer.

Best regards.

-- 
Stephane DESMET
Responsable produits de sécurité
All Computing SAS
17, rue du Colisée - 75008 Paris
France
(+33)1 49 53 90 36
(+33)6 88 82 55 87
internet: www.allcomputing.fr



#> l2tpd -D
This binary does not support kernel L2TP.
l2tpd version 0.69 started on barrikaad PID:3042
Written by Mark Spencer, Copyright (C) 1998, Adtran, Inc.
Forked by Scott Balmos and David Stipp, (C) 2001
Inhereted by Jeff McAdams, (C) 2002
Linux version 2.4.19-grsec-2 on a i686, port 1701
ourtid = 24419, entropy_buf = 5f63
check_control: control, cid = 0, Ns = 0, Nr = 0
handle_avps: handling avp's for tunnel 24419, call 0
message_type_avp: message type 1 (Start-Control-Connection-Request)
protocol_version_avp: peer is using version 1, revision 0.
framing_caps_avp: supported peer frames: sync
bearer_caps_avp: supported peer bearers:
firmware_rev_avp: peer reports firmware version 1280 (0x0500)
hostname_avp: peer reports hostname 'westeban'
vendor_avp: peer reports vendor 'Microsoft€'
assigned_tunnel_avp: using peer's tunnel 11
receive_window_size_avp: peer wants RWS of 8.  Will use flow control.
check_control: control, cid = 0, Ns = 1, Nr = 1
handle_avps: handling avp's for tunnel 24419, call 0
message_type_avp: message type 3 (Start-Control-Connection-Connected)
control_finish: Connection established to 10.1.10.58, 1701.  Local: 24419, Remote: 11. 
 LNS session is 'barricade'
check_control: control, cid = 0, Ns = 2, Nr = 1
handle_avps: handling avp's for tunnel 24419, call 0
message_type_avp: message type 10 (Incoming-Call-Request)
message_type_avp: new incoming call
ourcid = 7323, entropy_buf = 1c9b
assigned_call_avp: using peer's call 1
call_serno_avp: serial number is 0
bearer_type_avp: peer bears: analog
check_control: control, cid = 0, Ns = 3, Nr = 1
check_control: control, cid = 1, Ns = 3, Nr = 2
handle_avps: handling avp's for tunnel 24419, call 7323
message_type_avp: message type 12 (Incoming-Call-Connected)
tx_speed_avp: transmit baud rate is 10000000
frame_type_avp: peer uses:sync frames
ignore_avp : Ignoring AVP
start_pppd: I'm running:  "/usr/sbin/pppd" "passive" "-detach" "10.1.30.254:10.0.0.1" 
"auth" "name" "Barricade" "file" "/etc/ppp/options.l2tpd" 
control_finish: Call established with 10.1.10.58, Local: 7323, Remote: 1, Serial: 0
check_control: control, cid = 0, Ns = 4, Nr = 2
check_control: control, cid = 1, Ns = 4, Nr = 2
handle_avps: handling avp's for tunnel 24419, call 7323
message_type_avp: message type 14 (Call-Disconnect-Notify)
result_code_avp: peer closing for reason 3 (Control channel already exists), error = 0 
()
assigned_call_avp: using peer's call 1
control_finish: Connection closed to 10.1.10.58, serial 0 ()
check_control: control, cid = 0, Ns = 5, Nr = 2
handle_avps: handling avp's for tunnel 24419, call 0
message_type_avp: message type 4 (Stop-Control-Connection-Notification)
assigned_tunnel_avp: using peer's tunnel 11
result_code_avp: peer closing for reason 6 (Requester is being shut down), error = 0 ()
control_finish: Connection closed to 10.1.10.58, port 1701 (), Local: 24419, Remote: 11
death_handler: Fatal signal 2 received


l2tpd.conf:
[global]
port = 1701
access control = no

[lns barricade]
name = Barricade
require authentication = yes
pppoptfile = /etc/ppp/options.l2tpd
ppp debug = no
flow bit = yes
lac = 0.0.0.1 - 223.255.255.255
local ip = 10.1.30.254
ip range = 10.0.0.1 - 10.0.0.254
__END__


/etc/ppp/options.l2tpd:
noauth
nomagic
__END__


My test network is :

LAN(10.1.30.0/24)----(10.1.30.254)FreeSWAN/l2tpd(10.1.10.50)---------win2k 
roadwarrior(10.1.10.58)



Reply via email to