[Openswan Users] pluto traps in aggressive mode with 2.6.24rc4

Murat Sezgin sezginmurat at gmail.com
Fri Oct 15 22:06:35 EDT 2010


Thanks for the link. I have downloaded and tried this latest release
candidate. It is trapping at the same function, through a different function
call path. The new backtrace is as below. Now it shows md has a null
address. You can also see the inside of st->hidden_variables. What next
could you suggest me?

Regards,
Murat

(gdb) bt
#0  0x430d8790 in complete_v1_state_transition (mdp=<value optimized out>,
result=26)
    at
/scratch/msezgin/BSP21_7K_VPN/openwrt/build_dir/linux-ubicom32_IP7160RGW/openswan-2.6.30rc1/programs/pluto/ikev1.c:1908
#1  0x41e94698 in __stdio_WRITE () from
/scratch/msezgin/BSP21_7K_VPN/libs/libc.so.0
#2  0x42fbea74 in initial_fa () from
/scratch/msezgin/BSP21_7K_VPN/libs/libc.so.0
#3  0x41e81278 in write () from /scratch/msezgin/BSP21_7K_VPN/libs/libc.so.0
#4  0xffffffff in ?? ()
(gdb) f 0
#0  0x430d8790 in complete_v1_state_transition (mdp=<value optimized out>,
result=26)
    at
/scratch/msezgin/BSP21_7K_VPN/openwrt/build_dir/linux-ubicom32_IP7160RGW/openswan-2.6.30rc1/programs/pluto/ikev1.c:1908
1908     if( st && md->dpd && st->hidden_variables.st_dpd != md->dpd) {
(gdb) l
1903     md->result = result;
1904     TCLCALLOUT("adjustFailure", st, (st ? st->st_connection : NULL),
md);
1905     result = md->result;
1906
1907     /* If state has DPD support, import it */
1908     if( st && md->dpd && st->hidden_variables.st_dpd != md->dpd) {
1909 DBG(DBG_DPD, DBG_log("peer supports dpd"));
1910 st->hidden_variables.st_dpd = md->dpd;
1911
1912 if(st->st_connection->dpd_delay && st->st_connection->dpd_timeout) {
(gdb) p st
$1 = (struct state *) 0x4315eb6d
(gdb)  p md
$2 = (struct msg_digest *) 0x0
(gdb)  p md->dpd
$3 = 795634018
(gdb)  p &md->dpd
$4 = (bool *) 0xf4
(gdb) p st->hidden_variables
$5 = {st_malformed_received = 1919907433, st_malformed_sent = 1684366368,
st_xauth_client_done = 1836279657, st_xauth_client_attempt = 1679828272,
st_modecfg_server_done = 946632736,
  st_modecfg_vars_set = 1987256357, st_got_certrequest = 809004152,
st_modecfg_started = 790966328, st_skeyid_calculated = 1819803760, st_dpd =
825565299, st_dpd_local = 1952543845,
  st_logged_p1algos = 544170602, st_nat_traversal = 1701016608, st_nat_oa =
{u = {v4 = {sin_family = 28271, sin_port = 29728, sin_addr = {s_addr =
1718580590}, sin_zero = "d\000\000p15 s"}, v6 = {
        sin6_family = 28271, sin6_port = 29728, sin6_flowinfo = 1718580590,
sin6_addr = {in6_u = {u6_addr8 = "d\000\000p15 state obj", u6_addr16 =
{25600, 112, 12597, 8307, 29793, 29797, 8303,
              25194}, u6_addr32 = {1677721712, 825565299, 1952543845,
544170602}}}, sin6_scope_id = 1701016608}}}, st_natd = {u = {v4 =
{sin_family = 8997, sin_port = 27765, sin_addr = {
          s_addr = 543584117}, sin_zero = "nd, in %"}, v6 = {sin6_family =
8997, sin6_port = 27765, sin6_flowinfo = 543584117, sin6_addr = {in6_u =
{u6_addr8 = "nd, in %s\000\000v2 pe",
            u6_addr16 = {28260, 11296, 26990, 8229, 29440, 118, 12832,
28773}, u6_addr32 = {1852058656, 1768824869, 1929379958, 840986725}}},
sin6_scope_id = 1701981216}}}}
(gdb) p st->hidden_variables.st_dpd
$6 = 825565299


On Fri, Oct 15, 2010 at 4:25 PM, Paul Wouters <paul at xelerance.com> wrote:

> On Fri, 15 Oct 2010, Murat Sezgin wrote:
>
> Hi Paul,
>> Where can I find the 2.6.30rc1 package? It is not on the openswan web
>> page. We were
>> downloading 2.6.24rc4 from the
>> http://www.openswan.org/download/development/. But now it is
>> not in this page as well. We also need the MD5 checksum values of these
>> packages because we
>> are using openwrt platform which downloads the packages and patches.
>>
>
> rc means Release Candidate. Those are in
> http://www.openswan.org/download/testing/
>
> Paul
>


On Fri, Oct 15, 2010 at 4:25 PM, Paul Wouters <paul at xelerance.com> wrote:

> On Fri, 15 Oct 2010, Murat Sezgin wrote:
>
>  Hi Paul,
>> Where can I find the 2.6.30rc1 package? It is not on the openswan web
>> page. We were
>> downloading 2.6.24rc4 from the
>> http://www.openswan.org/download/development/. But now it is
>> not in this page as well. We also need the MD5 checksum values of these
>> packages because we
>> are using openwrt platform which downloads the packages and patches.
>>
>
> rc means Release Candidate. Those are in
> http://www.openswan.org/download/testing/
>
> Paul
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20101015/1cdc306d/attachment.html 


More information about the Users mailing list