[syslog-ng] [Bug 242] New: IP address stripped to first number with use_fqdn off

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Thu Aug 1 02:57:53 CEST 2013


https://bugzilla.balabit.com/show_bug.cgi?id=242

           Summary: IP address stripped to first number with use_fqdn off
           Product: syslog-ng
           Version: 3.4.x
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: unspecified
         Component: syslog-ng
        AssignedTo: bazsi at balabit.hu
        ReportedBy: list0570 at paradise.net.nz
Type of the Report: bug
   Estimated Hours: 0.0


transport("udp") ip("0.0.0.0") port(514)
                ip-protocol(4)
                keep_timestamp(no)
                keep_hostname(no) # no = rewrite hostname
                use_dns(yes) # yes, no, persist_only
                use_fqdn(no)

Regardless of what the use_dns setting is, if the host name is an IP address A.B.C.D, use_fqdn is no, and /etc/hosts has no name and the DNS lookup fails, then
only "A" is logged as the host name.
This is not useful at all - if a name lookup fails for an IP address, you have to keep the IP address and not truncate it to something useless.

syslog-ng-3.4.2-1.5.1.i586 from openSUSE 12.3


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list