[firewall4] Rechagement des blacklists au moins une fois part jour
This commit is contained in:
parent
0ccdde8eb6
commit
dd2e28d3b4
1 changed files with 3 additions and 0 deletions
|
@ -14,3 +14,6 @@ header("Régénération du pare-feu")
|
||||||
min=random.randint(0,59)
|
min=random.randint(0,59)
|
||||||
print "# Regénération des règles MAC-IP du firewall"
|
print "# Regénération des règles MAC-IP du firewall"
|
||||||
print "%s 1 * * * root /usr/scripts/gestion/gen_confs/firewall4/firewall4.py test_mac_ip > /dev/null" % min
|
print "%s 1 * * * root /usr/scripts/gestion/gen_confs/firewall4/firewall4.py test_mac_ip > /dev/null" % min
|
||||||
|
|
||||||
|
print "# Régénération des blacklists du firewall"
|
||||||
|
print "%s 2 * * * root /usr/scripts/gestion/gen_confs/firewall4/firewall4.py blacklists > /dev/null" % min
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue