[syslog-ng]RE: syslog-ng digest, Vol 1 #683 - 3 msgs

Aerts,Bas [email protected]
Fri, 3 May 2002 15:08:23 +0200

probably you should recompile tcpwrappers with the 'process_options' feature
enabled in the Makefile (or something like that) for enhanced language
options (:-((:

# Optional: Turning on language extensions
# Instead of the default access control language that is documented in
# the hosts_access.5 document, the wrappers can be configured to
# implement an extensible language documented in the hosts_options.5
# document.  This language is implemented by the "options.c" source
# module, which also gives hints on how to add your own extensions.
# Uncomment the next definition to turn on the language extensions
# (examples: allow, deny, banners, twist and spawn).
#STYLE	= -DPROCESS_OPTIONS	# Enable language extensions.


-----Original Message-----
From: [email protected]
[mailto:[email protected]]
Sent: Friday, April 26, 2002 6:25 AM
To: [email protected]
Subject: syslog-ng digest, Vol 1 #683 - 3 msgs

Send syslog-ng mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the web, visit
or, via email, send a message with subject or body 'help' to
	[email protected]
You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific than
"Re: Contents of syslog-ng digest..."

Today's Topics:

  1. Re: syslog-ng and AIX (Ed Ravin)
  2. Re: Error when compiling with tcp-wrappers (Ed Ravin)
  3. Re: Random Directories (Nate Campi)


Message: 1
Subject: Re: [syslog-ng]syslog-ng and AIX
To: [email protected]
Date: Thu, 25 Apr 2002 13:43:57 -0400 (EDT)
From: "Ed Ravin" <[email protected]>
Reply-To: [email protected]

Balazs Scheidler writes:
> -F or --foreground options

Oh dear, this is what I get for reading an outdated man page instead
of looking at the program itself.


Message: 2
Subject: Re: [syslog-ng]Error when compiling with tcp-wrappers
To: [email protected]
Date: Thu, 25 Apr 2002 13:49:45 -0400 (EDT)
From: "Ed Ravin" <[email protected]>
Reply-To: [email protected]

Balazs Scheidler writes:
> On Wed, Apr 24, 2002 at 11:38:25PM -0400, Ed Ravin wrote:
> >

./configure  --prefix=/install/syslog-ng-1.5.16 --enable-tcp-wrapper --with-
> >  checking for hosts_access in -lwrap... no
> >  checking whether to enable TCP wrapper support... yes
> >
> > So clearly something is broken in the configure process.
> can you check config.log why it fails?

Here's the log:

 configure:2725: checking for tcpd.h
 configure:2735: gcc -E  conftest.c >/dev/null 2>conftest.out
 configure:2762: checking for hosts_access in -lwrap
 configure:2781: gcc -o conftest -g -O2   conftest.c -lwrap   1>&5
 /usr/lib/libwrap.so: undefined reference to `allow_severity'
 /usr/lib/libwrap.so: undefined reference to `deny_severity'
 collect2: ld returned 1 exit status
 configure: failed program was:
 #line 2770 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
     builtin and then its argument prototype would still apply.  */
 char hosts_access();

 int main() {
 ; return 0; }
 configure:2811: checking whether to enable TCP wrapper support

I think the fix is that the test program should define "allow_severity"
and "deny_severity", since those are required to be in the user program
for it to compile successfully.


Message: 3
Date: Thu, 25 Apr 2002 18:26:51 -0700
From: Nate Campi <[email protected]>
To: [email protected]
Subject: Re: [syslog-ng]Random Directories
protocol="application/pgp-signature"; boundary="bKyqfOwhbdpXa4YI"
Reply-To: [email protected]

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Apr 25, 2002 at 10:59:43AM +0200, Balazs Scheidler wrote:
> On Wed, Apr 24, 2002 at 10:47:11AM -0700, Nate Campi wrote:
> > On Wed, Apr 24, 2002 at 10:32:20AM -0700, Painter, Jennifer wrote:
> > > Directories with names like "  Error", " SCSI", ","
> > >=20
> > > Are showing up in the directory that holds the syslogs for the differ=
ent hosts that we monitor. =20
> > >=20
> > > Has anyone seen these random directories.  Any suggestions on how to =
deal with them.
> >=20
> > I want a macro taken from gethostbyaddr() instead of from the message
> > contents that could be used to force a valid hostname no matter what.
> >=20
> try the attached patch.=20
> ps: if this patches proves to be stable, I'll release 1.5.17

Working as expected, on a lightly loaded loghost. I'll report back
tomorrow. Thanks.
"Press any key... no, no, no, NOT THAT ONE!"  -Anon. =20
"Enter any 11-digit prime number to continue..."  -Anon. =20

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org




syslog-ng maillist  -  [email protected]

End of syslog-ng Digest