-
Patch request
-
Resolution: Won't fix
-
Trivial
-
None
-
4.2.1
-
None
-
- Zabbix Proxy with IPv4/IPv6 on its interface.
- SourceIP= set to IPv4 in /etc/zabbix/zabbix_proxy.conf
- Web-Checks n Zabbix are used to check a site which has both IPv4/IPv6
-
Sprint 52 (May 2019), Sprint 53 (Jun 2019)
Steps to reproduce:
- Zabbix Proxy with IPv4/IPv6 on its interface.
- SourceIP= set to IPv4 in /etc/zabbix/zabbix_proxy.conf
- Web-Checks n Zabbix are used to check a site which has both IPv4/IPv6
Result:
- curl --interface 1.2.3.4 -I https://example.net/
curl: (45) bind failed with errno 22: Invalid argument
Expected:
- curl --interface 1.2.3.4 -4 -I https://example.net/
HTTP/1.1 200 OK
Server: nginx
....
Possible solution:
If `SourceIP=` is set to `IPv4` in `/etc/zabbix/zabbix_proxy.conf`, the curl should called with `-4` flag.
Regards,
Alex.