Agent2 ipv6 address does not match allowed hosts with brackets

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Major
    • Affects Version/s: 6.2.6
    • Component/s: Agent (G)
    • Environment:
      docker image list
      REPOSITORY TAG IMAGE ID CREATED SIZE
      zabbix/zabbix-agent2 alpine-6.2-latest cb678bbe1ee5 6 hours ago 70.1MB
    • Sprint 97 (Feb 2023), Sprint 98 (Mar 2023), Sprint 99 (Apr 2023)
    • 0.5

      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.

            Assignee:
            Konstantins Prutkovs (Inactive)
            Reporter:
            Kevin Schick
            Team C
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: