<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Enable Logging on RH 7.3 Firewall in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091855#M87542</link>
    <description>You don't want to use ipchains. Its obsolete.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;I'm going to need a couple of hours to play around and get you a working configuration.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;If I find a doc, I'll post it and give you a head start.&lt;BR /&gt; &lt;BR /&gt;Here is a possbility.&lt;BR /&gt;&lt;A href="http://linux.ardynet.com/ipmasq/ipmasq.php3#iptables" target="_blank"&gt;http://linux.ardynet.com/ipmasq/ipmasq.php3#iptables&lt;/A&gt;&lt;BR /&gt;What I have yet to figure out is how to define the logfile.  Then of course, you have to filter and interpret the log file.&lt;BR /&gt;I will give this a shot in about 7-8 hours when I get to my test Linux Server.&lt;BR /&gt;&lt;BR /&gt;Please if my work is useful reward it with the point system.&lt;BR /&gt; &lt;BR /&gt;SEP</description>
    <pubDate>Mon, 13 Oct 2003 12:59:06 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-10-13T12:59:06Z</dc:date>
    <item>
      <title>Enable Logging on RH 7.3 Firewall</title>
      <link>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091852#M87539</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;   I am using RedHat 7.3 with firewall on Multihome machine. I have configured the rules thru Firewall-config utility &amp;amp; its working fine.&lt;BR /&gt;   But no log is being generated of the firewall rules either in /var/log/messages or /var/log/secure .&lt;BR /&gt;&lt;BR /&gt;  Can please let me know how to enable the logging into Linux 7.3 Firewall, so that the log can be generated of the packet passed thru the firewall &amp;amp; packet denied thru the firewall.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;&lt;BR /&gt;Varian.</description>
      <pubDate>Mon, 13 Oct 2003 09:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091852#M87539</guid>
      <dc:creator>varian_1</dc:creator>
      <dc:date>2003-10-13T09:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Logging on RH 7.3 Firewall</title>
      <link>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091853#M87540</link>
      <description>Which firewall are you using, iptables or ipchains.&lt;BR /&gt; &lt;BR /&gt;I don't currently keep a log on my iptables firewall but want to.  If your question is an iptables question, I'll figure it out and get back to you. FAST.&lt;BR /&gt; &lt;BR /&gt;Firewall configuration is in the following file:&lt;BR /&gt; &lt;BR /&gt;/etc/sysconfig/iptables  or ipchains&lt;BR /&gt; &lt;BR /&gt;Depending on which one you are using.&lt;BR /&gt; &lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Oct 2003 10:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091853#M87540</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-13T10:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Logging on RH 7.3 Firewall</title>
      <link>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091854#M87541</link>
      <description>try to execute the command from command promt.I think RedHat 7.3 uses ipchains by default and it there is a newer application called iptables&lt;BR /&gt;here is the example of adding a rule with logging using iptables&lt;BR /&gt;iptables -A INPUT -p tcp -m multiport -m state --state NEW --dport 22,25,110,113 -i eth0 -m limit -j LOG --log-prefix "ACCEPTED:"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;anyway if you still would like to use ipchains -see it's man.&lt;BR /&gt;by the way to stop using ipchains and to move forward to iptables you must do the following one by one:&lt;BR /&gt;chkconfig ipchains off&lt;BR /&gt;chkconfig --del ipchains&lt;BR /&gt;chkconfig --add iptables&lt;BR /&gt;chkconfig iptables on</description>
      <pubDate>Mon, 13 Oct 2003 10:06:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091854#M87541</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2003-10-13T10:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Logging on RH 7.3 Firewall</title>
      <link>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091855#M87542</link>
      <description>You don't want to use ipchains. Its obsolete.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;I'm going to need a couple of hours to play around and get you a working configuration.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;If I find a doc, I'll post it and give you a head start.&lt;BR /&gt; &lt;BR /&gt;Here is a possbility.&lt;BR /&gt;&lt;A href="http://linux.ardynet.com/ipmasq/ipmasq.php3#iptables" target="_blank"&gt;http://linux.ardynet.com/ipmasq/ipmasq.php3#iptables&lt;/A&gt;&lt;BR /&gt;What I have yet to figure out is how to define the logfile.  Then of course, you have to filter and interpret the log file.&lt;BR /&gt;I will give this a shot in about 7-8 hours when I get to my test Linux Server.&lt;BR /&gt;&lt;BR /&gt;Please if my work is useful reward it with the point system.&lt;BR /&gt; &lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Oct 2003 12:59:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091855#M87542</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-13T12:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Logging on RH 7.3 Firewall</title>
      <link>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091856#M87543</link>
      <description>I have messages logging to /var/log/messages&lt;BR /&gt; &lt;BR /&gt;Here is how:&lt;BR /&gt;in /etc/sysconfig/iptables same rule as you were editing...&lt;BR /&gt;&lt;BR /&gt;-A INPUT -d ip_of_nic -m state RELATED,ESTABLISHED -j LOG --log-level 2 --log-tcp-sequence&lt;BR /&gt;&lt;BR /&gt;Logging is pretty intense and I'm going to dial it back and play some more.&lt;BR /&gt; &lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Oct 2003 13:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091856#M87543</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-13T13:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Enable Logging on RH 7.3 Firewall</title>
      <link>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091857#M87544</link>
      <description>I'm going to give it a rest now.&lt;BR /&gt; &lt;BR /&gt;I found this document particularly useful.&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-iptables-options.html" target="_blank"&gt;http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-iptables-options.html&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;Check the man on syslog.conf for directing the output into a different file. Watch diskspace on /var&lt;BR /&gt; &lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Oct 2003 14:09:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/enable-logging-on-rh-7-3-firewall/m-p/3091857#M87544</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-10-13T14:09:43Z</dc:date>
    </item>
  </channel>
</rss>

