Oubli de modification du nom de chaîne pour le parefeu v4
This commit is contained in:
parent
7ab4485d54
commit
607c1b8855
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class firewall(base.firewall_routeur):
|
||||||
return chain
|
return chain
|
||||||
|
|
||||||
def limit_ssh_connexion(self, table=None, apply=False, ttl=120, counter_name="SSH"):
|
def limit_ssh_connexion(self, table=None, apply=False, ttl=120, counter_name="SSH"):
|
||||||
chain = 'LIMIT-SSH-CONNEXION'
|
chain = 'LIMIT-%s-CONNEXION' % (counter_name,)
|
||||||
|
|
||||||
if table == 'filter':
|
if table == 'filter':
|
||||||
pretty_print(table, chain)
|
pretty_print(table, chain)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue