Bug 115355 - kmyfirewall-1.0 multiport rules syntax error
Bug#: 115355 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: bug-wranglers@gentoo.org Reported By: mattepiu@gentoo.org
Component: Applications
URL: 
Summary: kmyfirewall-1.0 multiport rules syntax error
Keywords:  
Status Whiteboard: 
Opened: 2005-12-12 16:50 0000
Description:   Opened: 2005-12-12 16:50 0000
When adding a multiport rule, the resulting line (to pass to iptables) become
flawed:
"-p tcp -p tcp --match multiport" and
"-p udp -p udp --match multiport" cause errors when applying firewall
(since repetition) and
"--equal-ports" is wrong syntax for "--ports"

Reproducible: Always
Steps to Reproduce:
1.add a multiport-matching rule 
2.try to apply firewall rules
3.

Actual Results:  
error applying rules, this stops the process.

Expected Results:  
apply all the rules to iptables without errors.

------- Comment #1 From Matteo Azzali 2005-12-12 16:52:51 0000 -------
Created an attachment (id=74596) [details]
fixes multiport syntax error (against iptables)

I needed to add in a comment since "new bugreport" form didn't allowed to 
add.
Patch is also already sent to developers of kmyfirewall to be evaluated.

------- Comment #2 From Carsten Lohrke 2005-12-12 18:24:58 0000 -------
Indeed. Thanks Matteo.