-
Bug
-
Resolution: Done
-
Major
-
RH254 - RHEL 7 1 20140711
-
None
-
4
URL:
Reporter RHNID:
Section: -
Language:
Workaround:
Description: One of the example rich-rules for firewalld is incorrect (p99).
# firewall-cmd --add-rich-rule='rule service name=ftp limit value=2/m accept' Allow two new connections to ftp per minute.
I don't believe this does connection rate limiting. The limit rule is for limiting logging rate only.
Example should be removed, (since this is covered in the logging section), or modified to read
# firewall-cmd --add-rich-rule='rule service name=ftp log limit value="2/m" accept' Allow new connections for service ftp and log 2 per minute using syslog
Or simply replace with a different example, e.g.
# firewall-cmd --add-rich-rule='rule family="ipv4" source address="192.168.0.5" port port=8080 protocol=tcp accept'