diff options
Diffstat (limited to 'Source/charon/config/configuration_manager.c')
-rw-r--r-- | Source/charon/config/configuration_manager.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/charon/config/configuration_manager.c b/Source/charon/config/configuration_manager.c index c5c6ec6ae..7179e5555 100644 --- a/Source/charon/config/configuration_manager.c +++ b/Source/charon/config/configuration_manager.c @@ -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); |