Pas de multicast (on avait le sap)

darcs-hash:20041212144811-41617-ee7f6b98f440e76c981c01f7dda75f1380e3bf62.gz
This commit is contained in:
pauget 2004-12-12 15:48:11 +01:00
parent 1c3e128c9e
commit 1c72577851

View file

@ -156,7 +156,7 @@ class firewall_komaz :
def restart(self):
""" Rédémarrage du firewall """
cprint('Redémarrage firewall' % esthetisme,'gras')
cprint('Redémarrage firewall','gras')
self.__exception_catcher(self.__stop)
self.start(False)
@ -204,6 +204,7 @@ class firewall_komaz :
iptables("-t nat -P PREROUTING ACCEPT")
iptables("-t nat -A PREROUTING -i lo -j ACCEPT")
iptables("-t nat -A PREROUTING -d 224.0.0.0/4 -j DROP")
iptables("-t nat -A PREROUTING -s ! %s -j TEST_VIRUS_FLOOD" % self.zone_serveur)
iptables("-t nat -A PREROUTING -j RESEAUX_NON_ROUTABLES_DST")
iptables("-t nat -A PREROUTING -i %s -j RESEAUX_NON_ROUTABLES_SRC" % self.eth_ext )