I can help with the long_hostnames part. You have use_fqdn(yes) which turns on the full qualified domain name of the host. 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); 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 _______________________________________________ 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
participants (1)
-
Hamilton, Andrew