<div dir="ltr"><div><div><div><div><div>I was at PuppetConf last week and, from an automation perspective (and ease of overall management), the majority of people that I spoke with turn off firewalld in favor of iptables.<br><br></div>In particular, anyone that was compliance focused was 100% against any application being able to modify the firewall directly with the notable exceptions of Docker and OpenStack.<br><br></div>Finally, I have enough trouble getting people to understand the output of a linear iptables output. I gave up trying to explain the firewalld output.<br><br></div>Prior to sticking it in the STIG, *please* see if a stock-standard ISSO can understand both the ramifications and the output of using firewalld in production.<br><br></div><div>If we are to stick with firewalld, I might suggest that the default rules be replaced with two zones, trusted and untrusted as this makes things MUCH easier.<br><br></div><div>To Jeff&#39;s original point, there is now the &#39;direct&#39; command in firewall-cmd that lets you just shove iptables rules into the stack. I haven&#39;t played with this enough to determine if it makes any sense to use in production. I will say that trying to read the output of a raw iptables command once firewalld is running is pretty much impossible on a standard terminal. Likewise, running 15 commands to try and figure out what&#39;s actually going on with the firewalld stack is highly irritating.<br><br></div><div>Heck, I had to resort to writing down the entire stack on paper because I couldn&#39;t just read it!<br></div><div><br></div>Yours Curmudgeonly,<br><br></div>Trevor<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 8, 2015 at 12:31 PM, Gabe Alford <span dir="ltr">&lt;<a href="mailto:redhatrises@gmail.com" target="_blank">redhatrises@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Here are some old threads that discussed this that *I think* (should say vaguely remember) moved to usage of Firewalld over the IPTables services.<br><br><a href="https://lists.fedorahosted.org/pipermail/scap-security-guide/2014-October/006214.html" target="_blank">https://lists.fedorahosted.org/pipermail/scap-security-guide/2014-October/006214.html</a><br><a href="https://lists.fedorahosted.org/pipermail/scap-security-guide/2014-October/006208.html" target="_blank">https://lists.fedorahosted.org/pipermail/scap-security-guide/2014-October/006208.html</a><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 8, 2015 at 10:07 AM, Šimon Lukašík <span dir="ltr">&lt;<a href="mailto:slukasik@redhat.com" target="_blank">slukasik@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On 10/07/2015 07:55 PM, Jeffrey Hawkins wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
A question on Requirements, in particular STIGs.<br>
<br>
Looking thru the work-in-progress it appears there is a callout for<br>
usage of FIREWALLD, otherwise, a Finding.  I would have thought it would<br>
be acceptable for RHEL Hosts with static configurations using IPTABLES<br>
is acceptable.  We have RHEL Application Server Hosts (Headless)  that<br>
have static services and configurations with well defined static<br>
IPTABLES based rules for INPUT/OUTPUT (FORWARDING disabled).  There are<br>
no dynamic changes that are ever applied to these Hosts, and if there<br>
are changes, we explicitly account for these.    We are moving from<br>
RHEL6 to RHEL7 and do not see any security benefit in moving the INPUT<br>
rules set to be managed by FIREWALLD. If FIREWALLD evolves to be a<br>
complete controller of IPTABLES Rules, rather than a mixture of<br>
FIREWALLD manages some, while other must be manually configured in<br>
IPTABLES, the we will move to FIREWALLD. We would like to see the STIG<br>
Requirements provide for an OR Case to allow for STATIC based IPTABLES<br>
Usage, rather than requiring usage of FIREWALLD.<br>
<br>
Who is handling this area to discuss this, and make acceptable the usage<br>
of STATIC IPTABLES Rules ?<br>
<br>
Jeff<br>
<br>
</blockquote>
<br></div></div>
Hello Jeff,<br>
<br>
I think you are touching some of the harder questions here.<br>
<br>
We are in transition period. There is a lot of deployments and configuration systems touching iptables directly. On the other hand, firewalld abstraction can make some of the use-cases easier.<br>
<br>
If the question was, can a general guidance like STIG require everyone to use firewalld. It could, however, it may not get adopted due to the upper mentioned facts.<br>
<br>
If the question was, will the SSG upstream accept my contribution if I choose either part. The answer is yes. We can have OVAL checks for firewalld and iptables combined and then XCCDF description that describes the rational rather then technical detail. If you happen to use iptables (or firewalld) heavily in your organization, feel free to start with adressing your use case.<br>
<br>
Thoughts?<span><font color="#888888"><br>
~š.<br>
-- <br>
SCAP Security Guide mailing list<br>
<a href="mailto:scap-security-guide@lists.fedorahosted.org" target="_blank">scap-security-guide@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide" rel="noreferrer" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide</a><br>
<a href="https://github.com/OpenSCAP/scap-security-guide/" rel="noreferrer" target="_blank">https://github.com/OpenSCAP/scap-security-guide/</a></font></span></blockquote></div><br></div>
</div></div><br>--<br>
SCAP Security Guide mailing list<br>
<a href="mailto:scap-security-guide@lists.fedorahosted.org">scap-security-guide@lists.fedorahosted.org</a><br>
<a href="https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide" rel="noreferrer" target="_blank">https://lists.fedorahosted.org/mailman/listinfo/scap-security-guide</a><br>
<a href="https://github.com/OpenSCAP/scap-security-guide/" rel="noreferrer" target="_blank">https://github.com/OpenSCAP/scap-security-guide/</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Trevor Vaughan<br>Vice President, Onyx Point, Inc<br>(410) 541-6699<br><br>-- This account not approved for unencrypted proprietary information --</div></div></div>
</div>