Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 935231 Details for
Bug 1139080
ikev2 with nhelpers=0 fails on responder, sends INVALID_MSGID
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
set timeout event to prevent deleting PARENT_R1 state when nhelpers=0 in ikev2
openswan-libreswan-backport-nhelpers0_ikev2.patch (text/plain), 2.24 KB, created by
Paul Wouters
on 2014-09-08 02:08:19 UTC
(
hide
)
Description:
set timeout event to prevent deleting PARENT_R1 state when nhelpers=0 in ikev2
Filename:
MIME Type:
Creator:
Paul Wouters
Created:
2014-09-08 02:08:19 UTC
Size:
2.24 KB
patch
obsolete
>diff -Naur openswan-2.6.32-orig/include/pluto_constants.h openswan-2.6.32/include/pluto_constants.h >--- openswan-2.6.32-orig/include/pluto_constants.h 2014-09-07 21:51:05.800000000 -0400 >+++ openswan-2.6.32/include/pluto_constants.h 2014-09-07 21:56:17.792000000 -0400 >@@ -91,6 +91,7 @@ > EVENT_v2_RETRANSMIT, /* Retransmit v2 packet */ > > EVENT_PENDING_DDNS, /* try to start connections where DNS failed at init */ >+ EVENT_v2_RESPONDER_TIMEOUT > }; > > #define EVENT_REINIT_SECRET_DELAY 3600 /* 1 hour */ >diff -Naur openswan-2.6.32-orig/lib/libpluto/pluto_constants.c openswan-2.6.32/lib/libpluto/pluto_constants.c >--- openswan-2.6.32-orig/lib/libpluto/pluto_constants.c 2014-09-07 21:51:05.648000000 -0400 >+++ openswan-2.6.32/lib/libpluto/pluto_constants.c 2014-09-07 21:55:26.371000000 -0400 >@@ -87,7 +87,8 @@ > "EVENT_CRYPTO_FAILED", > "EVENT_PENDING_PHASE2", > "EVENT_v2_RETRANSMIT", >- "EVENT_PENDING_DDNS" >+ "EVENT_PENDING_DDNS", >+ "EVENT_v2_RESPONDER_TIMEOUT" > }; > > enum_names timer_event_names = >diff -Naur openswan-2.6.32-orig/programs/pluto/ikev2.c openswan-2.6.32/programs/pluto/ikev2.c >--- openswan-2.6.32-orig/programs/pluto/ikev2.c 2014-09-07 21:51:05.831000000 -0400 >+++ openswan-2.6.32/programs/pluto/ikev2.c 2014-09-07 21:53:29.402000000 -0400 >@@ -170,6 +170,7 @@ > .req_clear_payloads = P(SA) | P(KE) | P(Ni), > .processor = ikev2parent_inI1outR1, > .recv_type = ISAKMP_v2_SA_INIT, >+ .timeout_event = EVENT_v2_RESPONDER_TIMEOUT, > }, > > { .state = STATE_PARENT_R1, >@@ -920,6 +921,14 @@ > delete_event(st); > event_schedule(kind, delay, st); > break; >+ >+ case EVENT_v2_RESPONDER_TIMEOUT: >+ delete_event(st); >+ event_schedule(kind, >+ MAXIMUM_RETRANSMISSIONS_INITIAL * >+ EVENT_RETRANSMIT_DELAY_0, >+ st); >+ break; > > case EVENT_NULL: > /* XXX: Is there really no case where we want to set no timer? */ >diff -Naur openswan-2.6.32-orig/programs/pluto/timer.c openswan-2.6.32/programs/pluto/timer.c >--- openswan-2.6.32-orig/programs/pluto/timer.c 2014-09-07 21:51:05.806000000 -0400 >+++ openswan-2.6.32/programs/pluto/timer.c 2014-09-07 21:57:31.049000000 -0400 >@@ -580,6 +580,7 @@ > } > break; > >+ case EVENT_v2_RESPONDER_TIMEOUT: > case EVENT_SA_EXPIRE: > { > const char *satype;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1139080
: 935231