[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Firewall Config Tool



yep that works ..

--- /usr/share/gipt/internet.py.orig    2004-08-31 08:31:52.000000000 +0200
+++ /usr/share/gipt/internet.py 2004-08-31 08:30:51.000000000 +0200
@@ -33,6 +33,7 @@
    ("5/2", _("Redirect Net for TOS")),
    ("5/3", _("Redirect Host for TOS")),
    ("8", _("Echo Request")),
+    ("9", _("ICMP")),
    ("11", _("Time Exceeded")),
    ("11/0", _("TTL count exceeded")),
    ("11/1", _("Fragment Reass time exceeded")),

Are you planning gipt, to import your current iptables configuration?

Sulyok Peti wrote:

2004-08-30, h keltezéssel 13:59-kor Grant Williamson ezt írta:


RHEL3

[root trax tmp]# gipt

(gipt.py:27865): Gdk-WARNING **: can not set locale modifiers
Traceback (most recent call last):
File "/usr/share/gipt/gipt.py", line 58, in ?
gipt = GIPT()
File "/usr/share/gipt/gipt.py", line 38, in __init__
self.load()
File "/usr/share/gipt/gipt.py", line 46, in load
if line[0] in (':', '-') : table.load(line)
File "/usr/share/gipt/Table.py", line 25, in load
rule = Rule(buf)
File "/usr/share/gipt/Rule.py", line 58, in __init__
self.icmp_type = internet.icmp_type_n2t[buf[1]]
KeyError: 9



This is a bug in gipt 0.1. ICMP type 9 is missing from the icmp_type dictionary in internet.py.

Peti







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]