4 Feb 2011 15:26
[Openswan dev] Initiate on demand and netkey
Mattias Walstrom <lazzer <at> vmlinux.org>
2011-02-04 14:26:53 GMT
2011-02-04 14:26:53 GMT
We have had problems with initiate on demand triggering, and it often goes well but sometimes this results
in different understanding about which SPI to use for the traffic on both ends (and communication is lost).
As I had understood, intiate on demand is only useful for MAST/KLIPS, or have I missed something here?
Index: openswan-2.6.32/programs/pluto/initiate.c
===================================================================
--- openswan-2.6.32.orig/programs/pluto/initiate.c
+++ openswan-2.6.32/programs/pluto/initiate.c
<at> <at> -730,6 +730,9 <at> <at> initiate_ondemand_body(struct find_oppo_
/* on klips/mast assume we will do something */
work = (kern_interface == USE_KLIPS || kern_interface == USE_MASTKLIPS);
+ if (!work)
+ return work;
+
/* What connection shall we use?
* First try for one that explicitly handles the clients.
*/
RSS Feed