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 305104 Details for
Bug 443626
Pluto segfault with host-to-host config and other host down
[?]
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.
[patch]
Rewrite ikev2->ikev1 fallback code
openswan-2.6.12-fallback.patch (text/plain), 1.81 KB, created by
Miloslav Trmač
on 2008-05-12 08:43:55 UTC
(
hide
)
Description:
Rewrite ikev2->ikev1 fallback code
Filename:
MIME Type:
Creator:
Miloslav Trmač
Created:
2008-05-12 08:43:55 UTC
Size:
1.81 KB
patch
obsolete
>diff --exclude '*~' -urN openswan/programs/pluto/timer.c openswan-2.6.12/programs/pluto/timer.c >--- openswan/programs/pluto/timer.c 2008-04-22 05:55:38.000000000 +0200 >+++ openswan-2.6.12/programs/pluto/timer.c 2008-05-12 08:24:34.000000000 +0200 >@@ -255,21 +255,13 @@ > } > > if((try % 3)==0 >- && (c->policy & POLICY_IKEV2_ALLOW)!=0) { >+ && ((c->policy & (POLICY_IKEV2_ALLOW | POLICY_IKEV2_PROPOSE)) >+ ==(POLICY_IKEV2_ALLOW | POLICY_IKEV2_PROPOSE))) { > /* so, let's retry with IKEv2, alternating every three messages */ >- if(c->failed_ikev2) { >- c->failed_ikev2 = FALSE; >- loglog(RC_COMMENT, "next attempt will be IKEv2"); >- ipsecdoi_replace(st, LEMPTY, LEMPTY, try); >- } else { >- c->failed_ikev2 = TRUE; >- loglog(RC_COMMENT, "next attempt will be IKEv1"); >- ipsecdoi_replace(st, POLICY_IKEV1_DISABLE, LEMPTY, try); >- } >- } else { >- /* no, just retry with this policy */ >- ipsecdoi_replace(st, LEMPTY, LEMPTY, try); >+ c->failed_ikev2 = FALSE; >+ loglog(RC_COMMENT, "next attempt will be IKEv2"); > } >+ ipsecdoi_replace(st, LEMPTY, LEMPTY, try); > } > delete_state(st); > } >@@ -379,18 +371,10 @@ > && (c->policy & POLICY_IKEV1_DISABLE)==0) { > > /* so, let's retry with IKEv1, alternating every three messages */ >- if(c->failed_ikev2) { >- c->failed_ikev2 = FALSE; >- loglog(RC_COMMENT, "next attempt will be IKEv2"); >- ipsecdoi_replace(st, POLICY_IKEV1_DISABLE, LEMPTY, try); >- } else { >- c->failed_ikev2 = TRUE; >- loglog(RC_COMMENT, "next attempt will be IKEv1"); >- ipsecdoi_replace(st, LEMPTY, POLICY_IKEV2_PROPOSE, try); >- } >- } else { >- ipsecdoi_replace(st, LEMPTY, LEMPTY, try); >+ c->failed_ikev2 = TRUE; >+ loglog(RC_COMMENT, "next attempt will be IKEv1"); > } >+ ipsecdoi_replace(st, LEMPTY, LEMPTY, try); > } > > delete_state(st);
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 443626
:
303332
|
303661
| 305104