implemented IKEv2 force_encap connection parameter
enforces UDP encapsulation by faking NAT detection payloads to hurdle restrictive firewalls
This commit is contained in:
@@ -110,6 +110,7 @@ static int add_connection(char *name,
|
||||
msg.add_conn.eap_type = 0;
|
||||
msg.add_conn.mode = 1;
|
||||
msg.add_conn.mobike = 1;
|
||||
msg.add_conn.force_encap = 0;
|
||||
|
||||
msg.add_conn.rekey.reauth = 0;
|
||||
msg.add_conn.rekey.ipsec_lifetime = 0;
|
||||
|
||||
@@ -183,6 +183,7 @@ struct stroke_msg_t {
|
||||
int eap_type;
|
||||
int mode;
|
||||
int mobike;
|
||||
int force_encap;
|
||||
struct {
|
||||
char *ike;
|
||||
char *esp;
|
||||
|
||||
Reference in New Issue
Block a user