Red Hat Bugzilla – Bug 994134
cli: direct rule: add examples and default table
Last modified: 2013-10-23 10:44:07 EDT
Description of problem:
cli: RFE direct rule: set "filter" table as default. in iptables it may be omitted because it defaults to it. firewalld should not ignore that.
manpage: add examples of direct rules (there isn't even one)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
works: firewall-cmd --direct --add-rule ipv4 filter INPUT 1 -s 192.168.253.253 -p tcp --dport 80 -j DROP
not work: firewall-cmd --direct --add-rule ipv4 INPUT 1 -s 192.168.253.253 -p tcp --dport 80 -j DROP
* direct rule without table specification defaults to "filter" table
* the rule may be shown and represented with it, the point is just to ease it for the user when configuring
The use of a default table for the direct interface will make parsing much more complicated and also ambiguous. This could end up in big problems.
Closing as NOT A BUG.