<?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: ipfilter (ipf) not logging when started by ipfboot in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045418#M135232</link>
    <description>I should clarify --&lt;BR /&gt;&lt;BR /&gt;ipmon -s&lt;BR /&gt;  works when I start ipmon manually&lt;BR /&gt;&lt;BR /&gt;But it never starts from ipfboot, whether I run that with "start" or whether it is run at boot time.</description>
    <pubDate>Fri, 08 Aug 2003 21:26:50 GMT</pubDate>
    <dc:creator>Brian McEntire</dc:creator>
    <dc:date>2003-08-08T21:26:50Z</dc:date>
    <item>
      <title>ipfilter (ipf) not logging when started by ipfboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045416#M135230</link>
      <description>I installed the ipfilter depot from HP today on a  recently upgraded HP-UX 11i server. I also installed Bastille (but didn't lock much down.) After installing ipf, ran bastille and configured it to include the default ipf rules.&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/ipfboot looks good and ipf does successfully start (and works) after booting. &lt;BR /&gt;&lt;BR /&gt;But, ipmon does not start at boot time. I want it to. And it looks like it should:&lt;BR /&gt;&lt;BR /&gt;[newkf_root]$pwd&lt;BR /&gt;/etc/rc.config.d&lt;BR /&gt;[newkf_root]$grep IPMON *&lt;BR /&gt;ipfconf:IPMON_START=1&lt;BR /&gt;ipfconf:IPMON_FLAGS=-sD&lt;BR /&gt;&lt;BR /&gt;But ps -ef|grep ipmon does not show it running after boot. &lt;BR /&gt;&lt;BR /&gt;I can manually start ipmon and it works -- logs to stdout or to syslog if I start with -s. &lt;BR /&gt;&lt;BR /&gt;Can anyone think of why it won't start at boot time? The ipfboot script that came with the depot looks reasonable.&lt;BR /&gt;&lt;BR /&gt;Help greatly appreciated!</description>
      <pubDate>Fri, 08 Aug 2003 21:13:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045416#M135230</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-08-08T21:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter (ipf) not logging when started by ipfboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045417#M135231</link>
      <description>I believe there should be a message in /etc/rc.log as to what is going on.&lt;BR /&gt;&lt;BR /&gt;A boot start leaves you as the programmer/admin responsible for any kind of environment the startup script needs. In /etc/rc.log there is probably a message complaining about a missing environment variable.&lt;BR /&gt;&lt;BR /&gt;As a diagnostic, you can add a line to the startup script.&lt;BR /&gt;&lt;BR /&gt;env &amp;gt; /tmp/ipfilter.env.text&lt;BR /&gt;&lt;BR /&gt;This you can compare to the environment when you start it as root and you'll be able to solve this problem.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 08 Aug 2003 21:18:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045417#M135231</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-08-08T21:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter (ipf) not logging when started by ipfboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045418#M135232</link>
      <description>I should clarify --&lt;BR /&gt;&lt;BR /&gt;ipmon -s&lt;BR /&gt;  works when I start ipmon manually&lt;BR /&gt;&lt;BR /&gt;But it never starts from ipfboot, whether I run that with "start" or whether it is run at boot time.</description>
      <pubDate>Fri, 08 Aug 2003 21:26:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045418#M135232</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-08-08T21:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter (ipf) not logging when started by ipfboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045419#M135233</link>
      <description>Also, this is the only IPF related output in the /etc/rc.log file:&lt;BR /&gt;&lt;BR /&gt;Starting IPFilter&lt;BR /&gt;Output from "/sbin/rc2.d/S131ipfboot start":&lt;BR /&gt;----------------------------&lt;BR /&gt;Set 0 now inactive&lt;BR /&gt;0 entries flushed from NAT table&lt;BR /&gt;0 entries flushed from NAT list&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- - - &lt;BR /&gt;&lt;BR /&gt;Ahhhh... I think I have the answer to my own question.&lt;BR /&gt;&lt;BR /&gt;I looked in /sbin/rc2.d -- &lt;BR /&gt;&lt;BR /&gt;[newkf_root]$ls -l *syslogd&lt;BR /&gt;lrwxr-xr-x   1 root       sys             20 Apr 14  2000 S220syslogd -&amp;gt; /sbin/init.d/syslogd&lt;BR /&gt;&lt;BR /&gt;[newkf_root]$ls -l *ipfboot&lt;BR /&gt;lrwxr-xr-x   1 root       sys             20 Aug  8 14:26 S131ipfboot -&amp;gt; /sbin/init.d/ipfboot&lt;BR /&gt;&lt;BR /&gt;** Maybe my system is unique (it is an upgrade to HP-UX 11i and not a cold install). I found that ipfboot was starting before syslogd. Since my IPMON_FLAGS were set to log to syslogd, ipmon must have silently failed when syslogd wasn't available.&lt;BR /&gt;&lt;BR /&gt;The fix was simple, I renamed S131ipfboot to S231ipfboot so it starts very soon after syslogd.&lt;BR /&gt;&lt;BR /&gt;I did a reboot to test and it verified. ipmon now starts at boot and logs to syslog.&lt;BR /&gt;&lt;BR /&gt;Hope this helps someone else out there! If my system is not unique, perhaps the maintainer of the HP IPF depot can change the boot/start link to be a little later in runlevel 2.</description>
      <pubDate>Sat, 09 Aug 2003 00:07:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045419#M135233</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-08-09T00:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter (ipf) not logging when started by ipfboot</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045420#M135234</link>
      <description>Cancel that... ipmon -sD is now running (automatically) after boot. But it still logs nothing via syslog.&lt;BR /&gt;&lt;BR /&gt;In my /etc/syslog.conf file I have both &lt;BR /&gt;*.info  &lt;TABS&gt;/var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;local0.info &lt;TABS&gt;/var/adm/fw.log&lt;BR /&gt;&lt;BR /&gt;and I touched fw.log&lt;BR /&gt;&lt;BR /&gt;and hup'd syslog&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;... ipmon will dump packets to stdout if started with no parameters, but I can't get it to log via syslog and I'd really like to get that working so I can log to a log host already used by other hosts.&lt;BR /&gt;&lt;BR /&gt;Ideas?&lt;/TABS&gt;&lt;/TABS&gt;</description>
      <pubDate>Sat, 09 Aug 2003 01:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-ipf-not-logging-when-started-by-ipfboot/m-p/3045420#M135234</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-08-09T01:02:22Z</dc:date>
    </item>
  </channel>
</rss>

