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

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 6.2.6
    • Agent (G)
    • 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.

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

              Created:
              Updated:
              Resolved: