<div>&nbsp;</div>  <div>Hi,</div>  <div>I've compile syslog-ng-2.0.2 on HP-UX-11.11, however messages are not going to desired destinations as&nbsp; defined in the syslog-ng.conf .</div>  <div>&nbsp;</div>  <div>my syslog-ng.conf </div>  <div>---------------------------------------------</div>  <div># syslog-ng configuration file.<BR>#<BR># This should behave pretty much like the original syslog on HP-UX. But<BR># it could be configured a lot smarter.<BR>#<BR># See syslog-ng(8) and syslog-ng.conf(8) for more information.<BR>#<BR># 20000925 <A href="mailto:gb@sysfive.com">gb@sysfive.com</A></div>  <div>options { sync (0);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; time_reopen (10);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; log_fifo_size (1000);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; long_hostnames (off);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use_dns
 (no);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use_fqdn (no);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; create_dirs (no);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keep_hostname (yes);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; };</div>  <div>source s_sys {internal();pipe("/dev/log"); };</div>  <div>destination d_cons { file("/dev/console1"); };<BR>destination d_mesg { file("/var/adm/syslog/syslog-ng.log"); };<BR>destination d_mail { file("/var/adm/syslog/mail-ng.log"); };<BR>destination d_mlrt { usertty("root"); };<BR>destination d_mlal { usertty("*"); };</div>  <div>filter f_filter1&nbsp;&nbsp; { facility(mail) and level(debug); };<BR>filter f_filter2&nbsp;&nbsp; { (facility(mail) and level(debug)) or<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; level(info); };<BR>filter f_filter3&nbsp;&nbsp; { level(alert); };<BR>filter f_filter4&nbsp;&nbsp;
 { level(emerg); };</div>  <div>log { source(s_sys);&nbsp; destination(d_mail); };<BR>log { source(s_sys); destination(d_mesg); };<BR>log { source(s_sys); destination(d_cons);destination(d_mlrt); };<BR>log { source(s_sys);&nbsp; destination(d_mlal); };<BR>#</div>  <div>--------------------------------------------<BR></div>  <div>Now If I generate message using "logger"&nbsp; utility on system, message should go to "/var/adm/syslog/syslog-ng.log", though they are not going...</div>  <div>Is there anything wrong with .conf file?</div>  <div>&nbsp;</div>  <div>What should be the conf file for&nbsp; central server and client on HP-UX?</div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div>syslog-ng daemon is running like:</div>  <div>-------------------------------------------------------------------------------</div>  <div>syslog-ng service starting.<BR># ps -eaf |grep syslog-ng<BR>&nbsp;&nbsp;&nbsp; root 14437&nbsp;&nbsp;&nbsp;&nbsp; 1&nbsp; 0 10:22:30
 ?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0:00 /opt/soe/local/syslog-ng-2.0.2/sbin/syslog-ng -f /opt/soe/local<BR>#<BR></div>  <div>------------------------------------------------------------------------------</div>  <div>&nbsp;</div>  <div>Thanks</div>  <div>Shamim</div>  <div><BR><B><I>syslog-ng-request@lists.balabit.hu</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Send syslog-ng mailing list submissions to<BR>syslog-ng@lists.balabit.hu<BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR>or, via email, send a message with subject or body 'help' to<BR>syslog-ng-request@lists.balabit.hu<BR><BR>You can reach the person managing the list at<BR>syslog-ng-owner@lists.balabit.hu<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of syslog-ng digest..."<BR><BR><BR>Today's
 Topics:<BR><BR>1. Re: Is this possible in syslog-ng.conf . (v2.0.2)<BR>(Balazs Scheidler)<BR>2. Re: Setting permissions on log files (Balazs Scheidler)<BR>3. Re: Is this possible in syslog-ng.conf . (v2.0.2) (Evan Rempel)<BR>4. compilation errors with --enable-spoof-source<BR>(Ravi Papisetti -X (rpapiset - HCL at Cisco))<BR>5. Re: Is this possible in syslog-ng.conf . (v2.0.2)<BR>(Balazs Scheidler)<BR>6. Re: compilation errors with --enable-spoof-source<BR>(Balazs Scheidler)<BR>7. RE: compilation errors with --enable-spoof-source<BR>(Ravi Papisetti -X (rpapiset - HCL at Cisco))<BR>8. RE: compilation errors with --enable-spoof-source<BR>(Balazs Scheidler)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Mon, 19 Feb 2007 17:14:12 +0100<BR>From: Balazs Scheidler <BAZSI@BALABIT.HU><BR>Subject: Re: [syslog-ng] Is this possible in syslog-ng.conf . (v2.0.2)<BR>To: Syslog-ng users' and developers' mailing
 list<BR><SYSLOG-NG@LISTS.BALABIT.HU><BR>Message-ID: &lt;1171901652.11781.7.camel@bzorp.balabit&gt;<BR>Content-Type: text/plain<BR><BR>On Sun, 2007-02-18 at 16:48 -0800, Mr. James W. Laferriere wrote:<BR><BR>&gt; Ok . IMO counter intuitive , Tho reasonable with your explanation . <BR>&gt; One is very used to the 'source' in FW/router/...'s as being the source <BR>&gt; device(s) IP from where a packet came from .<BR><BR>syslog-ng is not a firewall :) this is sometimes strange to me as well,<BR>being involved in firewall products as well. But putting the joke aside,<BR>syslog-ng is a "syslog message pipe" processor: sources generate<BR>messages, destinations serve as message sinks. Some filtering here and<BR>there, that's about syslog-ng's internal structure.<BR><BR>So, naming source as a source is consistent with syslog-ng itself.<BR><BR>&gt; An aside , Can one do the 'Formatting' like my example above , again <BR>&gt; no examples show up like that , but I am hopeful
 .<BR>&gt; <BR>&gt; <BR>&gt; &gt; To do that you need the netmask() filter.<BR>&gt; <BR>&gt; Next time I'll go looking at the Blog at Gmane first before shooting my <BR>&gt; mouth off . netmask was just the hint I needed .<BR>&gt; Tho it sure would be nice for netmask() to support the /xx bits netmask <BR>&gt; format .<BR><BR>It does support this format.<BR><BR>-- <BR>Bazsi<BR><BR><BR><BR>------------------------------<BR><BR>Message: 2<BR>Date: Mon, 19 Feb 2007 17:15:57 +0100<BR>From: Balazs Scheidler <BAZSI@BALABIT.HU><BR>Subject: Re: [syslog-ng] Setting permissions on log files<BR>To: Syslog-ng users' and developers' mailing list<BR><SYSLOG-NG@LISTS.BALABIT.HU><BR>Message-ID: &lt;1171901757.11781.10.camel@bzorp.balabit&gt;<BR>Content-Type: text/plain<BR><BR>On Mon, 2007-02-19 at 01:45 +0000, Bryan Henderson wrote:<BR>&gt; With the 'file' destination, Syslog-ng modifies the ownership and<BR>&gt; permissions of the file when it opens it. There are configuration<BR>&gt;
 file options to choose what it sets them to, but AFAICT, no way to <BR>&gt; have Syslog-ng just leave the files as it finds them.<BR>&gt; <BR>&gt; I prefer to maintain permissions and ownership separately; I set them<BR>&gt; when I create the file and expect them to stick. Could there be a<BR>&gt; configuration file option for that?<BR>&gt; <BR><BR>IIRC, you can use -1 for various options, which means "do not touch".<BR>But I would need to test it. The code in the C part is there, the only<BR>question that remains whether the parser accepts "-1" in the place of<BR>owner/group/permissions.<BR><BR>-- <BR>Bazsi<BR><BR><BR><BR>------------------------------<BR><BR>Message: 3<BR>Date: Mon, 19 Feb 2007 09:02:15 -0800<BR>From: Evan Rempel <EREMPEL@UVIC.CA><BR>Subject: Re: [syslog-ng] Is this possible in syslog-ng.conf . (v2.0.2)<BR>To: "Syslog-ng users' and developers' mailing list"<BR><SYSLOG-NG@LISTS.BALABIT.HU><BR>Message-ID: &lt;45D9D817.7050309@uvic.ca&gt;<BR>Content-Type:
 text/plain; charset=ISO-8859-1; format=flowed<BR><BR>Balazs Scheidler wrote:<BR>&gt; On Sun, 2007-02-18 at 16:48 -0800, Mr. James W. Laferriere wrote:<BR>&gt; <BR>&gt;&gt; Ok . IMO counter intuitive , Tho reasonable with your explanation . <BR>&gt;&gt; One is very used to the 'source' in FW/router/...'s as being the source <BR>&gt;&gt; device(s) IP from where a packet came from .<BR>&gt; <BR>&gt; syslog-ng is not a firewall :) this is sometimes strange to me as well,<BR>&gt; being involved in firewall products as well. But putting the joke aside,<BR>&gt; syslog-ng is a "syslog message pipe" processor: sources generate<BR>&gt; messages, destinations serve as message sinks. Some filtering here and<BR>&gt; there, that's about syslog-ng's internal structure.<BR>&gt; <BR>&gt; So, naming source as a source is consistent with syslog-ng itself.<BR><BR>I think that the author of the original comment was refereing to the IP address binding<BR>in the source definition<BR><BR>source
 network { tcp( ip(xxxx) ); };<BR><BR>where the IP address is NOT the source at all, it is a local IP address to bind the listener to.<BR>Perhaps the syntax should be<BR><BR>source network { tcp( bind(xxxx) ); };<BR><BR>since the bind address MUST be ip since the definition is already defined to be tcp.<BR><BR>I think it is a little counter intuitive even within the scope of syslog-ng.<BR><BR>Evan.<BR><BR><BR>&gt; <BR>&gt;&gt; An aside , Can one do the 'Formatting' like my example above , again <BR>&gt;&gt; no examples show up like that , but I am hopeful .<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;&gt; To do that you need the netmask() filter.<BR>&gt;&gt; Next time I'll go looking at the Blog at Gmane first before shooting my <BR>&gt;&gt; mouth off . netmask was just the hint I needed .<BR>&gt;&gt; Tho it sure would be nice for netmask() to support the /xx bits netmask <BR>&gt;&gt; format .<BR>&gt; <BR>&gt; It does support this format.<BR>&gt; <BR><BR><BR>-- <BR>Evan Rempel
 erempel@uvic.ca<BR>Senior Programmer Analyst 250.721.7691<BR>Computing Services<BR>University of Victoria<BR><BR><BR>------------------------------<BR><BR>Message: 4<BR>Date: Mon, 19 Feb 2007 13:09:41 -0600<BR>From: "Ravi Papisetti -X (rpapiset - HCL at Cisco)"<BR><RPAPISET@CISCO.COM><BR>Subject: [syslog-ng] compilation errors with --enable-spoof-source<BR>To: "syslog-ng@lists.balabit.hu" <SYSLOG-NG@LISTS.BALABIT.HU><BR>Message-ID: &lt;5A8F8213-CAC5-4190-A902-FE91C0DC844D@mimectl&gt;<BR>Content-Type: text/plain; charset="iso-8859-1"<BR><BR>Hi,<BR><BR>I am using syslog-ng 1.6.11 and trying to compile this package with<BR>./configure --enable-spoof-source, it throws errors as below<BR><BR>checking whether to enable Sun STREAMS support... yes<BR>checking whether to enable Sun door support... yes<BR>checking whether to enable TCP wrapper support... no<BR>checking whether to enable spoof_source support... ./configure: test: too many arguments<BR>configure: error: libnet-config
 not found<BR><BR>It compiles fine without --enable-spoof-source this option. Could you do the needful.<BR><BR>Thanks,<BR>Ravi Kumar P.<BR>-------------- next part --------------<BR>An HTML attachment was scrubbed...<BR>URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070219/dc8ca38e/attachment-0001.html<BR><BR>------------------------------<BR><BR>Message: 5<BR>Date: Mon, 19 Feb 2007 20:23:01 +0100<BR>From: Balazs Scheidler <BAZSI@BALABIT.HU><BR>Subject: Re: [syslog-ng] Is this possible in syslog-ng.conf . (v2.0.2)<BR>To: Syslog-ng users' and developers' mailing list<BR><SYSLOG-NG@LISTS.BALABIT.HU><BR>Message-ID: &lt;1171912981.11781.12.camel@bzorp.balabit&gt;<BR>Content-Type: text/plain<BR><BR>On Mon, 2007-02-19 at 09:02 -0800, Evan Rempel wrote:<BR>&gt; Balazs Scheidler wrote:<BR>&gt; &gt; On Sun, 2007-02-18 at 16:48 -0800, Mr. James W. Laferriere wrote:<BR>&gt; &gt; <BR>&gt; &gt;&gt; Ok . IMO counter intuitive , Tho reasonable with your explanation .
 <BR>&gt; &gt;&gt; One is very used to the 'source' in FW/router/...'s as being the source <BR>&gt; &gt;&gt; device(s) IP from where a packet came from .<BR>&gt; &gt; <BR>&gt; &gt; syslog-ng is not a firewall :) this is sometimes strange to me as well,<BR>&gt; &gt; being involved in firewall products as well. But putting the joke aside,<BR>&gt; &gt; syslog-ng is a "syslog message pipe" processor: sources generate<BR>&gt; &gt; messages, destinations serve as message sinks. Some filtering here and<BR>&gt; &gt; there, that's about syslog-ng's internal structure.<BR>&gt; &gt; <BR>&gt; &gt; So, naming source as a source is consistent with syslog-ng itself.<BR>&gt; <BR>&gt; I think that the author of the original comment was refereing to the IP address binding<BR>&gt; in the source definition<BR>&gt; <BR>&gt; source network { tcp( ip(xxxx) ); };<BR>&gt; <BR>&gt; where the IP address is NOT the source at all, it is a local IP address to bind the listener to.<BR>&gt; Perhaps the
 syntax should be<BR>&gt; <BR>&gt; source network { tcp( bind(xxxx) ); };<BR>&gt; <BR>&gt; since the bind address MUST be ip since the definition is already defined to be tcp.<BR>&gt; <BR>&gt; I think it is a little counter intuitive even within the scope of syslog-ng.<BR>&gt; <BR><BR>ip is an alias for localip(), but it's true that all examples use ip().<BR><BR>-- <BR>Bazsi<BR><BR><BR><BR>------------------------------<BR><BR>Message: 6<BR>Date: Mon, 19 Feb 2007 20:23:34 +0100<BR>From: Balazs Scheidler <BAZSI@BALABIT.HU><BR>Subject: Re: [syslog-ng] compilation errors with --enable-spoof-source<BR>To: Syslog-ng users' and developers' mailing list<BR><SYSLOG-NG@LISTS.BALABIT.HU><BR>Message-ID: &lt;1171913014.11781.14.camel@bzorp.balabit&gt;<BR>Content-Type: text/plain<BR><BR>On Mon, 2007-02-19 at 13:09 -0600, Ravi Papisetti -X (rpapiset - HCL at<BR>Cisco) wrote:<BR>&gt; Hi,<BR>&gt; <BR>&gt; I am using syslog-ng 1.6.11 and trying to compile this package with<BR>&gt;
 ./configure --enable-spoof-source, it throws errors as below<BR>&gt; <BR>&gt; checking whether to enable Sun STREAMS support... yes<BR>&gt; checking whether to enable Sun door support... yes<BR>&gt; checking whether to enable TCP wrapper support... no<BR>&gt; checking whether to enable spoof_source support... ./configure: test:<BR>&gt; too many arguments<BR>&gt; configure: error: libnet-config not found<BR>&gt; <BR>&gt; It compiles fine without --enable-spoof-source this option. Could you<BR>&gt; do the needful.<BR>&gt; <BR><BR>You need libnet in order to compile syslog-ng with spoof source support.<BR><BR>-- <BR>Bazsi<BR><BR><BR><BR>------------------------------<BR><BR>Message: 7<BR>Date: Mon, 19 Feb 2007 16:36:42 -0600<BR>From: "Ravi Papisetti -X (rpapiset - HCL at Cisco)"<BR><RPAPISET@CISCO.COM><BR>Subject: RE: [syslog-ng] compilation errors with --enable-spoof-source<BR>To: "Syslog-ng users' and developers' mailing list"<BR><SYSLOG-NG@LISTS.BALABIT.HU><BR>Message-ID:
 &lt;6F4AD076-DD4B-45CE-9B37-8C326CB89BA9@mimectl&gt;<BR>Content-Type: text/plain; charset="us-ascii"<BR><BR>An HTML attachment was scrubbed...<BR>URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070219/5f74b573/attachment-0001.htm<BR><BR>------------------------------<BR><BR>Message: 8<BR>Date: Tue, 20 Feb 2007 08:59:33 +0000<BR>From: Balazs Scheidler <BAZSI@BALABIT.HU><BR>Subject: RE: [syslog-ng] compilation errors with --enable-spoof-source<BR>To: Syslog-ng users' and developers' mailing list<BR><SYSLOG-NG@LISTS.BALABIT.HU><BR>Message-ID: &lt;1171961973.9887.0.camel@bzorp.balabit&gt;<BR>Content-Type: text/plain<BR><BR>On Mon, 2007-02-19 at 16:36 -0600, Ravi Papisetti -X (rpapiset - HCL at<BR>Cisco) wrote:<BR>&gt; Already that is installed in my m/c. Compilations went successful<BR>&gt; without this option. I understand that libnet is to compile this<BR>&gt; package.<BR>&gt; <BR>&gt; Let us know how to check if Libnet package installation is fine in
 my<BR>&gt; system or not.<BR><BR>if libnet is installed, you should have a script called libnet-config<BR>somewhere in your path. that's what the configure script does not find.<BR><BR>-- <BR>Bazsi<BR><BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>syslog-ng maillist - syslog-ng@lists.balabit.hu<BR>https://lists.balabit.hu/mailman/listinfo/syslog-ng<BR><BR><BR>End of syslog-ng Digest, Vol 22, Issue 21<BR>*****************************************<BR></BLOCKQUOTE><BR><p>&#32;
                <hr size=1> 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the <a href="http://uk.rd.yahoo.com/mail/uk/taglines/default/championships/games/*http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk/">Yahoo! Mail Championships</a>. Plus: play games and win prizes.