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

Aerts,Bas baerts@lucent.com
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.



chrs.

-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu]
Sent: Friday, April 26, 2002 6:25 AM
To: syslog-ng@lists.balabit.hu
Subject: syslog-ng digest, Vol 1 #683 - 3 msgs



Send syslog-ng mailing list submissions to
	syslog-ng@lists.balabit.hu

To subscribe or unsubscribe via the web, visit
	https://lists.balabit.hu/mailman/listinfo/syslog-ng
or, via email, send a message with subject or body 'help' to
	syslog-ng-request@lists.balabit.hu
You can reach the person managing the list at
	syslog-ng-admin@lists.balabit.hu

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: syslog-ng@lists.balabit.hu
Date: Thu, 25 Apr 2002 13:43:57 -0400 (EDT)
From: "Ed Ravin" <eravin@panix.com>
Reply-To: syslog-ng@lists.balabit.hu

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: syslog-ng@lists.balabit.hu
Date: Thu, 25 Apr 2002 13:49:45 -0400 (EDT)
From: "Ed Ravin" <eravin@panix.com>
Reply-To: syslog-ng@lists.balabit.hu

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-
libol=/src/build/libol-0.3.2
[...]
> >  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() {
 hosts_access()
 ; 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 <nate@campin.net>
To: syslog-ng@lists.balabit.hu
Subject: Re: [syslog-ng]Random Directories
protocol="application/pgp-signature"; boundary="bKyqfOwhbdpXa4YI"
Reply-To: syslog-ng@lists.balabit.hu


--bKyqfOwhbdpXa4YI
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
>=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.
--=20
"Press any key... no, no, no, NOT THAT ONE!"  -Anon. =20
=20
"Enter any 11-digit prime number to continue..."  -Anon. =20


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

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

iD8DBQE8yKzbWpDEZMF673kRAh6FAJ0Ss0ojsCDCKwUg8YIf6ItBYFLrSwCeJOnK
l5Tnlp4KTRExjeYW0FZa48M=
=Q0Lh
-----END PGP SIGNATURE-----

--bKyqfOwhbdpXa4YI--



--__--__--

_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng


End of syslog-ng Digest