[Openswan Users] openswan on dedibox

Reza Issany issanyr at gmail.com
Thu Nov 13 14:06:14 EST 2008


Ok, I've added debug tunnel = yes, I have recompiled the xl2tpd with DFLAGS
and change the mt and mru.

Here are logs :

Nov 13 20:02:53 transchaines xl2tpd[14721]: death_handler: Fatal signal 
15 received
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: global context 
descriptor
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is port, 
value is 1701
Nov 13 20:03:20 transchaines xl2tpd[17222]: set_port: Setting global 
port number to 1701
Nov 13 20:03:20 transchaines xl2tpd[17222]: set_port: port  flag to '1701'
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is debug 
tunnel, value is yes
Nov 13 20:03:20 transchaines xl2tpd[17222]: set_debug tunnel: debug 
tunnel  flag to 'yes'
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is ip 
range, value is 192.168.2.10-192.168.2.20
Nov 13 20:03:20 transchaines xl2tpd[17222]: range start = c0a8020a, end 
= c0a80214, sense=4294967295d
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is local 
ip, value is 192.168.2.1
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is 
length bit, value is yes
Nov 13 20:03:20 transchaines xl2tpd[17222]: set_length bit: length bit  
flag to 'yes'
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is 
require chap, value is yes
Nov 13 20:03:20 transchaines xl2tpd[17222]: set_require chap: require 
chap  flag to 'yes'
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is 
refuse pap, value is yes
Nov 13 20:03:20 transchaines xl2tpd[17222]: set_refuse pap: refuse pap  
flag to 'yes'
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is 
require authentication, value is yes
Nov 13 20:03:20 transchaines xl2tpd[17222]: set_require authentication: 
require authentication  flag to 'yes'
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is name, 
value is OCTIVPN
Nov 13 20:03:20 transchaines xl2tpd[17222]: set_name: name  flag to 
'OCTIVPN'
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is ppp 
debug, value is yes
Nov 13 20:03:20 transchaines xl2tpd[17222]: set_ppp debug: ppp debug  
flag to 'yes'
Nov 13 20:03:20 transchaines xl2tpd[17222]: parse_config: field is 
pppoptfile, value is /etc/ppp/options.l2tpd.lns
Nov 13 20:03:20 transchaines xl2tpd[17222]: set_pppoptfile: pppoptfile  
flag to '/etc/ppp/options.l2tpd.lns'
Nov 13 20:03:20 transchaines xl2tpd[17222]: setsockopt recvref[22]: 
Protocol not available
Nov 13 20:03:20 transchaines xl2tpd[17222]: This binary does not support 
kernel L2TP.
Nov 13 20:03:20 transchaines xl2tpd[17223]: xl2tpd version xl2tpd-1.2.3 
started on transchaines PID:17223
Nov 13 20:03:20 transchaines xl2tpd[17223]: Written by Mark Spencer, 
Copyright (C) 1998, Adtran, Inc.
Nov 13 20:03:20 transchaines xl2tpd[17223]: Forked by Scott Balmos and 
David Stipp, (C) 2001
Nov 13 20:03:20 transchaines xl2tpd[17223]: Inherited by Jeff McAdams, 
(C) 2002
Nov 13 20:03:20 transchaines xl2tpd[17223]: Forked again by Xelerance 
(www.xelerance.com) (C) 2006
Nov 13 20:03:20 transchaines xl2tpd[17223]: Listening on IP address 
0.0.0.0, port 1701
Nov 13 20:03:25 transchaines postfix/smtpd[12726]: connect from 
localhost[127.0.0.1]
Nov 13 20:03:25 transchaines postfix/smtpd[12726]: disconnect from 
localhost[127.0.0.1]
Nov 13 20:03:31 transchaines xl2tpd[17223]: get_call: allocating new 
tunnel for host 82.229.55.165, port 1701.
Nov 13 20:03:31 transchaines xl2tpd[17223]: ourtid = 36635, entropy_buf 
= 8f1b
Nov 13 20:03:31 transchaines xl2tpd[17223]: check_control: control, cid 
= 0, Ns = 0, Nr = 0
Nov 13 20:03:33 transchaines xl2tpd[17223]: trying to send control 
packet to 36635
Nov 13 20:03:33 transchaines xl2tpd[17223]: control_xmit: Scheduling and 
transmitting packet 0
Nov 13 20:03:33 transchaines xl2tpd[17223]: get_call: allocating new 
tunnel for host 82.229.55.165, port 1701.
Nov 13 20:03:33 transchaines xl2tpd[17223]: ourtid = 52207, entropy_buf 
= cbef
Nov 13 20:03:33 transchaines xl2tpd[17223]: check_control: control, cid 
= 0, Ns = 0, Nr = 0
Nov 13 20:03:33 transchaines xl2tpd[17223]: control_finish: Peer 
requested tunnel 26 twice, ignoring second one.
Nov 13 20:03:33 transchaines xl2tpd[17223]: control_zlb: sending control 
ZLB on tunnel 26
Nov 13 20:03:33 transchaines xl2tpd[17223]: build_fdset: closing down 
tunnel 52207
Nov 13 20:03:33 transchaines xl2tpd[17223]: call_close: Actually closing 
tunnel 52207
Nov 13 20:03:34 transchaines xl2tpd[17223]: network_thread: select timeout
Nov 13 20:03:34 transchaines xl2tpd[17223]: network_thread: select timeout
Nov 13 20:03:34 transchaines xl2tpd[17223]: trying to send control 
packet to 36635
Nov 13 20:03:34 transchaines xl2tpd[17223]: control_xmit: Scheduling and 
transmitting packet 0
Nov 13 20:03:34 transchaines xl2tpd[17223]: get_call: allocating new 
tunnel for host 82.229.55.165, port 1701.
Nov 13 20:03:34 transchaines xl2tpd[17223]: ourtid = 15648, entropy_buf 
= 3d20
Nov 13 20:03:34 transchaines xl2tpd[17223]: ourcid = 38322, entropy_buf 
= 95b2
Nov 13 20:03:34 transchaines xl2tpd[17223]: check_control: control, cid 
= 0, Ns = 0, Nr = 0
Nov 13 20:03:34 transchaines xl2tpd[17223]: control_finish: Peer 
requested tunnel 26 twice, ignoring second one.
Nov 13 20:03:34 transchaines xl2tpd[17223]: control_zlb: sending control 
ZLB on tunnel 26
Nov 13 20:03:34 transchaines xl2tpd[17223]: build_fdset: closing down 
tunnel 15648
Nov 13 20:03:34 transchaines xl2tpd[17223]: call_close: Actually closing 
tunnel 15648
Nov 13 20:03:35 transchaines xl2tpd[17223]: network_thread: select timeout
Nov 13 20:03:35 transchaines xl2tpd[17223]: network_thread: select timeout
Nov 13 20:03:35 transchaines xl2tpd[17223]: trying to send control 
packet to 36635
Nov 13 20:03:35 transchaines xl2tpd[17223]: control_xmit: Scheduling and 
transmitting packet 0
Nov 13 20:03:36 transchaines xl2tpd[17223]: network_thread: select timeout
Nov 13 20:03:36 transchaines xl2tpd[17223]: trying to send control 
packet to 36635
Nov 13 20:03:36 transchaines xl2tpd[17223]: control_xmit: Scheduling and 
transmitting packet 0
Nov 13 20:03:37 transchaines xl2tpd[17223]: network_thread: select timeout
Nov 13 20:03:37 transchaines xl2tpd[17223]: trying to send control 
packet to 36635
Nov 13 20:03:37 transchaines xl2tpd[17223]: control_xmit: Scheduling and 
transmitting packet 0
Nov 13 20:03:38 transchaines xl2tpd[17223]: get_call: allocating new 
tunnel for host 82.229.55.165, port 1701.
Nov 13 20:03:38 transchaines xl2tpd[17223]: ourtid = 24970, entropy_buf 
= 618a
Nov 13 20:03:38 transchaines xl2tpd[17223]: ourcid = 65370, entropy_buf 
= ff5a
Nov 13 20:03:38 transchaines xl2tpd[17223]: check_control: control, cid 
= 0, Ns = 0, Nr = 0
Nov 13 20:03:38 transchaines xl2tpd[17223]: control_finish: Peer 
requested tunnel 26 twice, ignoring second one.
Nov 13 20:03:38 transchaines xl2tpd[17223]: control_zlb: sending control 
ZLB on tunnel 26
Nov 13 20:03:38 transchaines xl2tpd[17223]: build_fdset: closing down 
tunnel 24970
Nov 13 20:03:38 transchaines xl2tpd[17223]: call_close: Actually closing 
tunnel 24970
Nov 13 20:03:38 transchaines xl2tpd[17223]: network_thread: select timeout
Nov 13 20:03:38 transchaines xl2tpd[17223]: network_thread: select timeout
Nov 13 20:03:38 transchaines xl2tpd[17223]: trying to send control 
packet to 36635
Nov 13 20:03:38 transchaines xl2tpd[17223]: Maximum retries exceeded for 
tunnel 36635.  Closing.


Paul Wouters a écrit :
> On Thu, 13 Nov 2008, Reza Issany wrote:
>
>   
>> i'm running with xl2tpd now :)
>>
>> Nov 13 19:37:19 transchaines xl2tpd[13794]: xl2tpd version xl2tpd-1.2.3
>> started on transchaines PID:13794
>>     
>
>   
>> I don't understand anything about these logs
>>     
>
> Can you edit the Makefile and use:
>
> DFLAGS= -g -DDEBUG_HELLO -DDEBUG_CLOSE -DDEBUG_FLOW -DDEBUG_PAYLOAD -DDEBUG_CONTROL -DDEBUG_CONTROL_XMIT -DDEBUG_FLOW_MORE -DDEBUG_MAGIC -DDEBUG_ENTROPY -DDEBUG_HIDDEN -DDEBUG_PPPD -DDEBUG_AAA -DDEBUG_FILE -DDEBUG_FLOW -DDEBUG_HELLO -DDEBUG_CLOSE -DDEBUG_ZLB -DDEBUG_AUTH
>
>   
>> /etc/xl2tpd/xl2tpd.conf :
>> [global]                                                                ;
>> Global parameters:
>> port = 1701                                                     ; * Bind to
>> port 1701
>>     
>
> Can you also add: debug tunnel = yes
>
> Also, set the mtu on your ethX interface to slightly under 1500, eg 1472?
>
> Paul
>
>   


More information about the Users mailing list