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

Agent2 ipv6 address does not match allowed hosts with brackets

    XMLWordPrintable

Details

    • Problem report
    • Status: Confirmed
    • Major
    • Resolution: Unresolved
    • 6.2.6
    • None
    • Agent (G)
    • docker image list
      REPOSITORY TAG IMAGE ID CREATED SIZE
      zabbix/zabbix-agent2 alpine-6.2-latest cb678bbe1ee5 6 hours ago 70.1MB
    • Support backlog

    Description

      The source address is not matched against ServerActive as described in the documentation.

      ServerActive=127.0.0.1:20051,zabbix.domain,[::1]:30051,::1,[12fc::1]

      It seems the square brackets around the ipv6 address cause a missmatch.

       

      Steps to reproduce:

      ServerActive=[2001:db8::1]:10051

      Result:
      => connection from "2001:db8::1" rejected, allowed hosts: "[2001:db8::1]"
      Expected:
      2001:db8::1 should match [2001:db8::1] 

       

      This bug was initially filed in the zabbix-docker github repo as #1044 but is was concluded that the problem is not caused by the docker environment parameters.

      Attachments

        Issue Links

          Activity

            People

              kprutkovs Konstantins Prutkovs
              KSCK Kevin Schick
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: