if i do not add ListenIP to zabbix_agentd.conf or zabbix_server.conf the processes bind to tcp6 . if i provide for example ListenIP=127.0.0.1 it bind's to tcp (v4).
# with ListenIP: netstat -nalp | grep zabbix_agentd
tcp 0 0 127.0.0.1:10050 0.0.0.0:* LISTEN 22978/zabbix_agentd
# without ListenIP
tcp6 0 0 :::10050 :::* LISTEN 23060/zabbix_agentd
if i do not define ListenIP on server and agentd, it results in errors like these:
zabbix_server.log:
Item [ZABBIX Server:agent.ping] error: Got empty string from [localhost]. Assuming that agent dropped connection because of access permissions
zabbix_agentd.log:
Listener error: Connection from [::ffff:127.0.0.1] rejected. Allowed server is [localhost]
i would expect that zabbix_* binds to tcp and tcp6 if no ListenIP is defined.
this is on svn rev. 7202
# with ListenIP: netstat -nalp | grep zabbix_agentd
tcp 0 0 127.0.0.1:10050 0.0.0.0:* LISTEN 22978/zabbix_agentd
# without ListenIP
tcp6 0 0 :::10050 :::* LISTEN 23060/zabbix_agentd
if i do not define ListenIP on server and agentd, it results in errors like these:
zabbix_server.log:
Item [ZABBIX Server:agent.ping] error: Got empty string from [localhost]. Assuming that agent dropped connection because of access permissions
zabbix_agentd.log:
Listener error: Connection from [::ffff:127.0.0.1] rejected. Allowed server is [localhost]
i would expect that zabbix_* binds to tcp and tcp6 if no ListenIP is defined.
this is on svn rev. 7202
Comment