- working policy installation and removal
This commit is contained in:
@@ -311,16 +311,25 @@ static void load_default_config (private_configuration_manager_t *this)
|
||||
RSA_DIGITAL_SIGNATURE,
|
||||
30000);
|
||||
|
||||
/* traffic selectors */
|
||||
/* traffic selectors alice */
|
||||
ts = traffic_selector_create_from_string(1, TS_IPV4_ADDR_RANGE, "10.1.0.0", 0, "10.1.255.255", 65535);
|
||||
sa_config_a->add_my_traffic_selector(sa_config_a,ts);
|
||||
ts = traffic_selector_create_from_string(1, TS_IPV4_ADDR_RANGE, "10.2.0.0", 0, "10.2.255.255", 65535);
|
||||
sa_config_a->add_other_traffic_selector(sa_config_a,ts);
|
||||
ts = traffic_selector_create_from_string(6, TS_IPV4_ADDR_RANGE, "10.1.0.0", 0, "10.1.255.255", 65535);
|
||||
sa_config_a->add_my_traffic_selector(sa_config_a,ts);
|
||||
ts = traffic_selector_create_from_string(6, TS_IPV4_ADDR_RANGE, "10.2.0.1", 22, "10.2.0.1", 22);
|
||||
sa_config_a->add_other_traffic_selector(sa_config_a,ts);
|
||||
|
||||
/* traffic selectors bob */
|
||||
ts = traffic_selector_create_from_string(1, TS_IPV4_ADDR_RANGE, "10.2.0.0", 0, "10.2.255.255", 65535);
|
||||
sa_config_b->add_my_traffic_selector(sa_config_b,ts);
|
||||
ts = traffic_selector_create_from_string(1, TS_IPV4_ADDR_RANGE, "10.1.0.0", 0, "10.1.255.255", 65535);
|
||||
sa_config_b->add_other_traffic_selector(sa_config_b,ts);
|
||||
ts = traffic_selector_create_from_string(6, TS_IPV4_ADDR_RANGE, "10.2.0.0", 0, "10.2.255.255", 65535);
|
||||
sa_config_b->add_my_traffic_selector(sa_config_b,ts);
|
||||
ts = traffic_selector_create_from_string(6, TS_IPV4_ADDR_RANGE, "10.1.0.0", 0, "10.1.255.255", 65535);
|
||||
sa_config_b->add_other_traffic_selector(sa_config_b,ts);
|
||||
|
||||
/* child proposal for alice */
|
||||
proposal = proposal_create(1);
|
||||
|
||||
Reference in New Issue
Block a user