Exemplo n.º 1
0
 public void reloadFilterPolicy()
 {
     IPsec.FilterPolicy[] filterPolicies = IPsec.getFilterPolicies();
     if (!filterPoliciesContains(filterPolicies, "ddosMitigationPolicy"))
     {
         IPsec.addFilterPolicy(ddosMitigationFilterList, "ddosMitigationPolicy", "Filter policy used by ddosMitigator");
     }
     ddosMitigationFilterPolicy = IPsec.getFilterPolicy("ddosMitigationPolicy");
 }
Exemplo n.º 2
0
 public void reloadFilterPolicy()
 {
     IPsec.FilterPolicy[] filterPolicies = IPsec.getFilterPolicies();
     if (!filterPoliciesContains(filterPolicies, "ddosMitigationPolicy"))
     {
         IPsec.addFilterPolicy(ddosMitigationFilterList, "ddosMitigationPolicy", "Filter policy used by ddosMitigator");
     }
     ddosMitigationFilterPolicy = IPsec.getFilterPolicy("ddosMitigationPolicy");
 }