[Openswan Users] Service xl2tpd needed

sasa sasa at shoponweb.it
Tue Feb 6 06:38:05 EST 2007


Hi, now I have installed:

xl2tpd-1.1.06-4
xl2tpd-debuginfo-1.1.06-4

...for recompile xl2tpd with debug options I must modify xl2tpd.spec, now in 
this file I have:

make DFLAGS="$RPM_OPT_FLAGS -g -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY"

I must modify this line in:

make DFLAGS= -g -DDEBUG_PAYLOAD -DDEBUG_MAGIC -DDEBUG_FLOW_MORE
-DDEBUG_CONTROL_XMIT -DDEBUG_CONTROL -DDEBUG_FLOW -DDEBUG_CLOSE
-DDEBUG_HELLO

or I must don't modify:
make DFLAGS="$RPM_OPT_FLAGS -g -DDEBUG_PPPD -DDEBUG_CONTROL -DDEBUG_ENTROPY"

..but only to add line in spec file:

export DFLAGS= -g -DDEBUG_PAYLOAD -DDEBUG_MAGIC -DDEBUG_FLOW_MORE
-DDEBUG_CONTROL_XMIT -DDEBUG_CONTROL -DDEBUG_FLOW -DDEBUG_CLOSE
-DDEBUG_HELLO

..and then:

rpmbuild -bb /usr/src/redhat/SPECS/xl2tpd.spec
rpm -hiv /usr/src/redhat/RPMS/xl2tp*rpm

Thanks.

------
Salvatore.


----- Original Message ----- 
From: "Paul Wouters" <paul at xelerance.com>
To: "sasa" <sasa at shoponweb.it>
Cc: <users at openswan.org>
Sent: Friday, February 02, 2007 4:17 PM
Subject: Re: [Openswan Users] Service xl2tpd needed


> On Fri, 2 Feb 2007, sasa wrote:
>
>> "Paul Wouters" wrote:
>>
>> > Do you have any xl2tpd logs that indicate a problem?
>> >
>> > Can you recompile xl2tpd and use:
>> >
>> > DFLAGS= -g -DDEBUG_PAYLOAD -DDEBUG_MAGIC -DDEBUG_FLOW_MORE
>> > ->DDEBUG_CONTROL_XMIT
>> >  -DDEBUG_CONTROL -DDEBUG_FLOW -DDEBUG_CLOSE ->DDEBUG_HELLO
>>
>> I use Fedora Core 4 and I have installed xl2tdp and xl2tpd-debuginfo with
>> source file,
>>
>> #rpm -hiv xl2tpd*src.rpm
>> #rpmbuild -ba /ysr/src/redhat/SPECS/xl2tpd.spec
>> #rpm -hiv /usr/src/redhat/RPMS/i386/xl2tp*rpm
>>
>> ...now in this mode how can I do for have xl2tpd logs with debug 
>> information ?
>> I must necessary recompile xl2tpd with your options (DFLAGS= -g
>> -DDEBUG_PAYLOAD ...) or not ?
>
> Yes. You can install the xl2tpd source rpm, export the DFLAGS variable and
> rebuild using rpmbuild -bb /usr/src/redhat/SPECS/xl2tpd (or edit the spec 
> file
> and add the export line just before the 'make' command and run rpmbuild.
>
>> I have viewed in log file /var/log/messages, for ipsec I have:
>>
>> Feb  1 02:09:25 fw4 pluto[1870]: "left-road"[27] 80.180.223.xxx #57: 
>> received
>> Delete SA(0x75088c21) payload: deleting IPSEC State #58
>
> That's windows hanging up because it is not getting l2tp packets anymore.
>
>> ..but for xl2tpd at "Feb  1 02:09:25 " I haven't nothig:
>>
>> [root at fw4 ~]# grep xl2tpd /var/log/messages
>> ...
>> Jan 31 09:59:32 fw4 xl2tpd[2023]: control_finish: Connection closed to
>> 82.55.150.76, serial 0 ()
>> Feb  1 11:40:34 fw4 xl2tpd[2023]: death_handler: Fatal signal 15 received
>
> This is 9 hours after ipsec went away, so they are very likely not 
> related.
>
> Paul
> 



More information about the Users mailing list