Commit 2614286f authored by Daniel Stan's avatar Daniel Stan

firewall4: ipset CONFIRMATION est un hash:ip

Pour pouvoir indiquer les IPs de plusieurs range. (genre appt et cie)
parent ee76d0dc
......@@ -42,7 +42,7 @@ class firewall(base.firewall_routeur):
})
# Portail captif/blacklist soft: ipset des gens ayant cliqué pour continuer à naviguer
self.ipset['confirmation'] = base.Ipset("CONFIRMATION", "ipmap", "--from 138.231.136.0 --to 138.231.151.255")
self.ipset['confirmation'] = base.Ipset("CONFIRMATION", "hash:ip", "")
def blacklist_maj(self, ips):
"""Mise à jour des blacklistes"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment