Protocol type specified two times in generated rules
Bug #48076 reported by
tgrzejsz
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kmyfirewall (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: kmyfirewall
Example rules generated by kmyfirewall (taken from
/etc/kmyfirewal
$IPT -t filter -A INPUT --in-interface eth1 --out-interface eth1 -p tcp -p tcp --match multiport --destination-ports 445,137,138,139 -j DROP || { status="1"; echo " Setting up Rule: smb_tcp FAILED! "; exit 1; }
$IPT -t filter -A INPUT --in-interface eth1 --out-interface eth1 -p udp -p udp --match multiport --destination-ports 139,138,137,445 -j DROP || { status="1"; echo " Setting up Rule: smb_udp FAILED! "; exit 1; }
Note that "-p" option is specified two times in each rule which prevents
those rules from being accepted by iptables.
To post a comment you must log in.
Thanks for your bug report and helping to improve Ubuntu.
However, I couldn't find this file / rule in the latest version (1.0-1ubuntu3). Could you please check if the problem is still present there?