Commit 7b392092 authored by Gabriel Detraz's avatar Gabriel Detraz

Pas de log all sur sable

parent 39c84f0e
......@@ -79,7 +79,9 @@ class firewall(base.firewall_routeur):
self.add(table, chain, '-p tcp -j CONNMARK --restore-mark')
chain = 'POSTROUTING'
self.add(table, chain, '-j %s' % self.log_all(table))
# Sable ne supporte pas le logall
if not base.config.routeurs_du_crans['routeur_secondary']==hostname:
self.add(table, chain, '-j %s' % self.log_all(table))
self.add(table, chain, '-j %s' % self.clamp_mss(table))
self.add(table,chain, '-j %s' % self.limitation_debit(table, run_tc=True))
self.add(table, chain, '-j %s' % self.blacklist_upload(table, fill_ipset=True))
......
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