[syslog-ng]Unwanted logging
BENGT OLSSON
bol@bth.se
Tue, 17 Sep 2002 14:31:46 +0200
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);
long_hostnames(off); sync(0); log_fifo_size(1000); };
source all { sun-streams ("/dev/log" door("/etc/.syslog_door"));
internal(); udp(); };
destination hosts {
file("/var/syslog/hosts/$HOST/$FACILITY_$YEAR-$MONTH-$DAY" owner(root)
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
0x0.0x5dc3cea
0x0.0x5dc3d5a
0x0.0x5dc4077
0x0.0x5dca334
0x0.0x5dcea7a
0x0.0x637fb77
0x0.0x642bad8
0x0.0x64c5ea8
An example of correct hosts -directory in the
/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
loging whit long hostnames....any guess?
Best Regards
--
Bengt Olsson
Blekinge Tekniska Högskola
Datorenheten Campus Gräsvik
Vallhallavägen 1 371 79 Karlskrona
Mail: bol@bth.se
Tel: 0455-385152
Mobil: 0708-787 780