Project

General

Profile

Anomalie #2127

eole-firewall : si on définit dest_ip, les règles de firewall n'est pas correct

Added by Emmanuel GARETTE (2) about 11 years ago. Updated almost 11 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
09/29/2011
Due date:
% Done:

100%

Estimated time:
0.25 h
Spent time:
Distribution:
EOLE 2.3

Description

--- fwobjects.py    2011-09-29 11:03:32.000000000 +0200
+++ /usr/share/eole/bastion/fwobjects.py    2011-09-29 10:54:59.000000000 +0200
@@ -75,11 +75,11 @@
             raise Exception("Protocol %s not supported in _build_wide_src_allow"%self.protocol)

         ret = join(ipt, forward_target, '-i', self.interface1, '-s',
-                str(self.ip2), port_target, str(self.port1),
+                str(self.ip2), port_target, str(self.port2),
                 '-d', str(self.ip1), accept_target)
         ret += '\n'
         ret += join(ipt, prerouting_target, '-i', self.interface1, '-s',
-                str(self.ip2), port_target, str(self.port2),
+                str(self.ip2), port_target, str(self.port1),
                 dnat_target, '{0}:{1}'.format(str(self.ip1), str(self.port2)))
         return ret

Associated revisions

Revision b2a35709 (diff)
Added by Joël Cuissinat about 11 years ago

fwobjects.py : patch pour dest_ip (fixes #2127)

Revision c6390e0d (diff)
Added by Johan Cwiklinski over 5 years ago

Display 5 items; but save all; fixes #2127

Revision d5d68313 (diff)
Added by Johan Cwiklinski over 5 years ago

Display 5 items; but save all; fixes #2127

History

#1 Updated by Joël Cuissinat about 11 years ago

  • Assigned To set to Joël Cuissinat
  • Target version set to Mises à jour 2.3 - 02 RC
  • Estimated time set to 0.25 h

#2 Updated by Joël Cuissinat about 11 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#3 Updated by Fabrice Barconnière almost 11 years ago

  • Status changed from Résolu to Fermé
  • Distribution set to EOLE 2.3

Also available in: Atom PDF