Lgre modif visant corriger un lger bug introduit lgrement par
une modification lgrement extensive de Stphane mais a priori lgrement non teste. Donc, je rsume : quand on modifie quelque chose en rapport avec le wifi, faut tester si le wifi marche encore. Quand on modifie quelque chose en rapport avec le firewall, faut tester si le firewall marche encore. Quand on modifie quelque chose en rapport avec X, faut tester si X marche encore. PS: la connexion de secours ne fonctionne plus, comptez pas sur moi pour rparer. darcs-hash:20060327080349-d1718-08fd2ce848ca341d40b30b90b7efa190d762ca5c.gz
This commit is contained in:
parent
9e10f8584c
commit
2f844907c4
1 changed files with 1 additions and 0 deletions
|
@ -617,6 +617,7 @@ class firewall_komaz(firewall_crans) :
|
||||||
'udp' : machine.portUDPout() }
|
'udp' : machine.portUDPout() }
|
||||||
|
|
||||||
for proto in [ 'tcp', 'udp' ] :
|
for proto in [ 'tcp', 'udp' ] :
|
||||||
|
if not ports[proto]: ports[proto] = ':'
|
||||||
for port in ports[proto]:
|
for port in ports[proto]:
|
||||||
iptables("-I SERVEURS_VERS_EXT -s %s -p %s --dport %s -m mac --mac-source %s -j ACCEPT" \
|
iptables("-I SERVEURS_VERS_EXT -s %s -p %s --dport %s -m mac --mac-source %s -j ACCEPT" \
|
||||||
%(ip,proto,port,mac))
|
%(ip,proto,port,mac))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue