reuse reqid when a ROUTED child_sa gets INSTALLED

fixed a bug in retransmission code
added support for the "keyingtries" ipsec.conf parameter
added support for the "dpddelay" ipsec.conf parameter
done some work for "dpdaction" behavior
some other cleanups and fixes
This commit is contained in:
Martin Willi committed 2006-09-05 14:07:25 +00:00
1 parent da8ab11e91
commit a655f5c09c
35 files changed
+552 -477

No files matched your search

+3
View File
@@ -116,6 +116,9 @@ static int add_connection(char *name,
msg.add_conn.algorithms.ike = NULL;
msg.add_conn.algorithms.esp = NULL;
msg.add_conn.dpd.delay = 0;
msg.add_conn.dpd.route = 0;
msg.add_conn.me.id = push_string(&msg, my_id);
msg.add_conn.me.address = push_string(&msg, my_addr);
msg.add_conn.me.subnet = push_string(&msg, my_net);
+4
View File
@@ -145,6 +145,10 @@ struct stroke_msg_t {
unsigned long tries;
unsigned long fuzz;
} rekey;
struct {
time_t delay;
bool route;
} dpd;
stroke_end_t me, other;
} add_conn;