[syslog-ng]Unwanted logging

Hamilton, Andrew Andrew.Hamilton@afccc.af.mil
Tue, 17 Sep 2002 08:35:28 -0400


I can help with the long_hostnames part.  You have use_fqdn(yes) which =
turns
on the full qualified domain name of the host.=20

Regards,
Drew

-----Original Message-----
From: BENGT OLSSON [mailto:bol@bth.se]
Sent: Tuesday, September 17, 2002 8:32 AM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng]Unwanted logging


Hi

I get some unwanted loggin from strange hosts....

The syslog-ng.conf-file looks like;

options { use_fqdn(yes); keep_hostname(yes); use_dns(yes);=20
long_hostnames(off); sync(0); log_fifo_size(1000); };
source all { sun-streams ("/dev/log" door("/etc/.syslog_door"));=20
internal(); udp();  };
destination hosts {=20
file("/var/syslog/hosts/$HOST/$FACILITY_$YEAR-$MONTH-$DAY" owner(root)=20
group(root) perm(0600) dir_perm(0700) create_dirs(yes)); };
log { source(all) ;  destination(hosts) ; };

An example of unwanted "hosts"-directory in the =
/var/syslog/hosts-directory;
0x0.0x5da74da            =20
0x0.0x5dc3cea
0x0.0x5dc3d5a
0x0.0x5dc4077
0x0.0x5dca334
0x0.0x5dcea7a
0x0.0x637fb77
0x0.0x642bad8
0x0.0x64c5ea8

An example of correct hosts -directory in the=20
/var/syslog/hosts-directory looks like this;
trillian.student.bth.se
trumma.bth.se
viking.student.bth.se
viola.bth.se
violin.bth.se
vogonjeltz.student.bth.se
voyager.student.bth.se
vroomfondel.student.bth.se
 zaphod.student.bth.se

Is there some internal logging or what is it comming from?

A minor problem is that i have  the "long_hostnames" to off and still =
it=20
loging whit long hostnames....any guess?

Best Regards

--=20
Bengt Olsson
Blekinge Tekniska H=F6gskola
Datorenheten	Campus Gr=E4svik
Vallhallav=E4gen 1	371 79 Karlskrona

Mail:	bol@bth.se
Tel:	0455-385152
Mobil:	0708-787 780



_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html