<?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 won't log via syslog in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045490#M750950</link>
    <description>Hmmm... I think it is narrowed down to ipmon -sD not working properly.&lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestions Andrew. I tried moving the @watcher line to the top of my syslog.conf file. It didn't help ipmon though.&lt;BR /&gt;&lt;BR /&gt;On the other hand, I tested syslog with 'logger' from the command line and the test message was successfully logged to both the local syslog.log file and to the remote log host. Syslogd seems to be doing it's job.&lt;BR /&gt;&lt;BR /&gt;So why isn't iplog logging via syslogd? When I run iplog at the command line, I do see rejected packets logged to the stdout... so it kind works. But it just won't log via syslog when I run it with -sD.&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
    <pubDate>Wed, 13 Aug 2003 13:32:13 GMT</pubDate>
    <dc:creator>Brian McEntire</dc:creator>
    <dc:date>2003-08-13T13:32:13Z</dc:date>
    <item>
      <title>ipfilter won't log via syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045483#M750943</link>
      <description>&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7a02449e75f2274cbc1e14ed8799f571,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7a02449e75f2274cbc1e14ed8799f571,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hi, sorry to cross post. (Is there a better way than just including the link above?) &lt;BR /&gt;&lt;BR /&gt;I recently upgraded a K100 from HP-UX 10.20 to 11i and I am thrilled with the availability of Bastille and IPFilter. Thanks HP!&lt;BR /&gt;&lt;BR /&gt;I've installed both and both are generally working well.&lt;BR /&gt;&lt;BR /&gt;However, I cannot get ipfilter to log via syslog.&lt;BR /&gt;&lt;BR /&gt;ipmon -sD is running&lt;BR /&gt;&lt;BR /&gt;and, I can see ipf rejecting and loging packets when I run ipmon with no parms (output to stdout.)&lt;BR /&gt; &lt;BR /&gt;But I just can't seem to get it to log via syslog. I'd really like to do that because syslog.conf on the system is already setup to log *.info to a log host.&lt;BR /&gt;&lt;BR /&gt;Any help would be much appreciated!</description>
      <pubDate>Sat, 09 Aug 2003 01:26:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045483#M750943</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-08-09T01:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter won't log via syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045484#M750944</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Can you show us your /etc/syslog.conf?&lt;BR /&gt;&lt;BR /&gt;ipmon uses LOG_INFO, LOG_NOTICE, LOG_WARNING, and LOG_ERR levels to log different actions/packets through syslog using the local0 facility.&lt;BR /&gt;&lt;BR /&gt;Check out those lines in your syslog.conf that sends to /dev/console or root.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Sat, 09 Aug 2003 23:18:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045484#M750944</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2003-08-09T23:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter won't log via syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045485#M750945</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Are you sure that you used "&lt;TAB&gt;" between your fields in "/etc/syslog.conf" and not spaces?. Also remember that your logfile must exist and be readable before you (re)start the syslog daemon.&lt;BR /&gt;&lt;BR /&gt;E.g.&lt;BR /&gt;&lt;BR /&gt;local4.debug&lt;TAB&gt;/var/adm/ipsec.log&lt;/TAB&gt;&lt;/TAB&gt;</description>
      <pubDate>Mon, 11 Aug 2003 04:00:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045485#M750945</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2003-08-11T04:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter won't log via syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045486#M750946</link>
      <description>Here is my syslog.conf:&lt;BR /&gt;&lt;BR /&gt;[newkf_root]$cat /etc/syslog.conf&lt;BR /&gt;# @(#) $Revision: 74.1 $&lt;BR /&gt;#&lt;BR /&gt;# syslogd configuration file.&lt;BR /&gt;#&lt;BR /&gt;# See syslogd(1M) for information about the format of this file.&lt;BR /&gt;#&lt;BR /&gt;mail.debug      /var/adm/syslog/mail.log&lt;BR /&gt;*.info;mail.none        /var/adm/syslog/syslog.log&lt;BR /&gt;*.alert /dev/console&lt;BR /&gt;*.alert root&lt;BR /&gt;*.emerg *&lt;BR /&gt;#&lt;BR /&gt;#log to a remote host&lt;BR /&gt;*.info  @watcher&lt;BR /&gt;&lt;BR /&gt;[watcher and its FQDN are specified in /etc/hosts] &lt;BR /&gt;&lt;BR /&gt;I double checked and all white space is tabs-only.&lt;BR /&gt;&lt;BR /&gt;I stopped and restarted syslogd and ipmon -sD. Still no logging. I am completely stumped. Know anymore ideas or troubleshootings steps I can take?&lt;BR /&gt;&lt;BR /&gt;By running ipstat, I can see rejected packets and they the number of rejected packets that are logged (as reported by that command) increments over time. None are recoreded to syslog.log. Syslogd appears to be working fine though, other events are being logged via syslog.</description>
      <pubDate>Mon, 11 Aug 2003 16:39:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045486#M750946</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-08-11T16:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter won't log via syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045487#M750947</link>
      <description>I have seen this problem before, and crazy though it sounds, you could try moving the "@watcher" line above the "syslog.log" line.&lt;BR /&gt;&lt;BR /&gt;Is the "syslogd" on the "watcher" server configured to allow remote connections. I seem to remember a HP patch that disabled the function. Ensure that you don't have the "-N" option activated. Syslog uses:&lt;BR /&gt;&lt;BR /&gt;syslog       514/udp                 # remote system logging&lt;BR /&gt;&lt;BR /&gt;This port must be allow by "/etc/hosts.allow" if your using TCP Wrappers, and/or "/var/adm/inetd.sec"?&lt;BR /&gt;&lt;BR /&gt;The only other suggestion I can think of is to kill entirely the "syslogd" daemon and then restart it, and see if any of this helps?&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Wed, 13 Aug 2003 06:18:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045487#M750947</guid>
      <dc:creator>Andrew Cowan</dc:creator>
      <dc:date>2003-08-13T06:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter won't log via syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045488#M750948</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try adding this into /etc/syslog.conf:&lt;BR /&gt;&lt;BR /&gt;local0.* /var/adm/syslog/syslog.log&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong</description>
      <pubDate>Wed, 13 Aug 2003 12:22:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045488#M750948</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2003-08-13T12:22:36Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter won't log via syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045489#M750949</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You could try using the logger command to test the various parts of your syslog.conf, ie send unique logger messages at the different priority levels and check they appear in the right place.  Also (as someone suggested earlier) the order of the lines in the syslog.conf file are important due to the way that data is filtered through them.  See the man pages for syslogd and syslog(3c) for further info.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Darren.</description>
      <pubDate>Wed, 13 Aug 2003 12:46:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045489#M750949</guid>
      <dc:creator>Darren Prior</dc:creator>
      <dc:date>2003-08-13T12:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter won't log via syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045490#M750950</link>
      <description>Hmmm... I think it is narrowed down to ipmon -sD not working properly.&lt;BR /&gt;&lt;BR /&gt;Thanks for the suggestions Andrew. I tried moving the @watcher line to the top of my syslog.conf file. It didn't help ipmon though.&lt;BR /&gt;&lt;BR /&gt;On the other hand, I tested syslog with 'logger' from the command line and the test message was successfully logged to both the local syslog.log file and to the remote log host. Syslogd seems to be doing it's job.&lt;BR /&gt;&lt;BR /&gt;So why isn't iplog logging via syslogd? When I run iplog at the command line, I do see rejected packets logged to the stdout... so it kind works. But it just won't log via syslog when I run it with -sD.&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Wed, 13 Aug 2003 13:32:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045490#M750950</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-08-13T13:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: ipfilter won't log via syslog</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045491#M750951</link>
      <description>[newkf_root]$logger -p local0.info test log fac - local0, level - info&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Test logged message shows up in both local hosts syslog.log file and gets logged properly on the log host.&lt;BR /&gt;&lt;BR /&gt;Seems like this has to be an ipmon problem?</description>
      <pubDate>Wed, 13 Aug 2003 13:35:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ipfilter-won-t-log-via-syslog/m-p/3045491#M750951</guid>
      <dc:creator>Brian McEntire</dc:creator>
      <dc:date>2003-08-13T13:35:54Z</dc:date>
    </item>
  </channel>
</rss>

