[ZBX-23982] Protocol "ftp" not supported or disabled in libcurl Created: 2024 Jan 24 Updated: 2024 Apr 10 Resolved: 2024 Mar 01 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 6.0.25 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Trivial |
Reporter: | Tony | Assignee: | dimir |
Resolution: | Won't fix | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
debian 11 - zabbix server 6.0.25-1 |
Attachments: |
![]() ![]() ![]() ![]() |
Team: | |
Sprint: | Sprint candidates, S2401-2 |
Description |
Problem appears since zabbix upgrade from 6.0.9 to 6.0.25 Steps to reproduce:
Result: Protocol "ftp" not supported or disabled in libcurl
Should work like on 6.0.9 |
Comments |
Comment by dimir [ 2024 Jan 29 ] |
What does curl-config --protocols say? |
Comment by Tony [ 2024 Jan 29 ] |
I remark curl binary was not installed as curl-config (coming from libcurl4-gnutls-dev package on debian bullseye). I installed curl and libcurl4-gnutls-dev and here what curl-config --protocols response :
$ curl-config --protocols
Below some additionnal informations :
$ lsb_release -a
$ dpkg -l | grep curl
curl -v -i ftp://xxxx:[email protected]/
wOrking nice with curl command, with a 226 status code return Regards |
Comment by dimir [ 2024 Jan 31 ] |
Do you use packages from https://repo.zabbix.com ? What's the output of the command: ldd /usr/sbin/zabbix_server | grep curl |
Comment by Tony [ 2024 Jan 31 ] |
$ ldd /usr/sbin/zabbix_server | grep curl $ dpkg -S /usr/lib/x86_64-linux-gnu/libcurl.so.4 Yep i am using repo.zabbix.com $ cat /etc/apt/sources.list.d/zabbix.list $ apt-cache policy zabbix-server-mysql I will upgrade to the new 6.0.26-1+debian11 version to see if it s better. Tony |
Comment by dimir [ 2024 Feb 14 ] |
For security reasons we dropped protocols other than "http" and "https" in Web Monitoring, this indeed was introduced in 6.0.16: |
Comment by dimir [ 2024 Feb 14 ] |
ZBXNEXT-9015 asks to make this configurable, you're welcome to vote. Meanwhile, here's a patch that enables "ftp" support that you can try with version 6.0.26: zabbix-6.0.26-web-monitoring-ftp-rtsp.patch |
Comment by Tony [ 2024 Feb 14 ] |
Unfortunately i cannot apply the patch on my production environment, as my zabbix installation comes from zabbix-6.0.26 binaries pre-compiled from your official zabbix repository. I cannot re-compile easily all my zabbix stack. Any chance the patch will be applied into a future release ? or the I would like to have the possibility to active other protocols even if the default ones (http/https are only available). But in Administration -> General -> Other options like on the screenshot below, i have ftp mentionned (but this does not seem to have any effect on 6.0.26) Thanks for your support Tony OGER |
Comment by dimir [ 2024 Feb 14 ] |
Currently the Valid URI schemes do not affect Web Monitoring. This is why I have created ZBXNEXT. You have only 3 options:
|
Comment by Tony [ 2024 Feb 15 ] |
Thanks for your support. We hope the exception protocol security checkbox in ZBXNEXT-9015 will be implemented in a future release , because for us this is a regression feature in a LTS that is used (not only in my company) Regards Tony |
Comment by dimir [ 2024 Mar 01 ] |
Closing Won't Fix because this behaviour is expected. Feel free to vote for ZBXNEXT-9015 if you need this. |