Пример #1
0
 public void reloadFilterAction()
 {
     IPsec.FilterAction[] filterActions = IPsec.getFilterActions();
     if (!filterActionsContains(filterActions, "ddosMitigationBlock"))
     {
         IPsec.addAction("ddosMitigationBlock", "block", "IP Filter List used by ddosMitigator");
     }
     ddosMitigationFilterAction = IPsec.getFilterAction("ddosMitigationBlock");
 }
Пример #2
0
 public void reloadFilterAction()
 {
     IPsec.FilterAction[] filterActions = IPsec.getFilterActions();
     if (!filterActionsContains(filterActions, "ddosMitigationBlock"))
     {
         IPsec.addAction("ddosMitigationBlock", "block", "IP Filter List used by ddosMitigator");
     }
     ddosMitigationFilterAction = IPsec.getFilterAction("ddosMitigationBlock");
 }