Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-3879

zbx_tcp_check_security in libs/zbxcomms/comms.c assumes FQDN will resolve to only one IP address, this is incorrect and causes problems

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • 1.8.5
    • Agent (G)
    • This is Fedora 15 with all updates releasted by Tue June 14, 2011 at 1:18 MDT.

      Description of problem:
      I have a IPv4/IPv6 network. As such many domain names have both A and AAAA
      records. DNS works forward and reverse for all of these things.

      Zabbix will accept Server=FQDN. It some times works, some times doesn't. I do
      not know but it seems that it resolves to just one of the entries and then only
      accepts from that entry. Instead, it should create it's own comma separated
      list and accept connections from anything where forward <=> reverse DNS is
      true.

      This should work according the 1.8 documentation online, but it is NOT
      working in my case.

      Version-Release number of selected component (if applicable):
      zabbix-1.8.5-3.fc15.x86_64

      Additional info:
      Server FQDN has one A and two AAAA records.

      Interestingly enough, while other hosts work sporadically (whether the resolved
      Server= line matches the ip address used by zabbix to contact the agents or
      not), it NEVER works for the localhost.

      Attached patch should fix the problem (tested as working here and solving all problems mentioned here and in https://bugzilla.redhat.com/show_bug.cgi?id=712833). If possible, please include this in a 1.8.x release so that Fedora will pick this up for F15.

      Thank you.

        1. zabbix-resolve.patch
          5 kB
        2. zabbix-resolve.patch
          5 kB
        3. zabbix-resolve.patch
          5 kB
        4. zabbix-resolve.patch
          4 kB
        5. zabbix-resolve.patch
          4 kB
        6. zabbix-resolve.patch
          4 kB

            Unassigned Unassigned
            tadams Trever L. Adams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: