Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-20634

net.tcp.service[ftp] on agent 2 does not work with FileZilla server default banner

    XMLWordPrintable

Details

    • Problem report
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0.0
    • Agent (G)
    • None
    • Zabbix Agent 2 checking FileZilla Server (any version)
    • Team B
    • Sprint 85 (Feb 2022), Sprint 86 (Mar 2022)
    • 0.25

    Description

      Steps to reproduce:

      1. Install FileZilla server on windows
      2. Install Zabbix Agent 2
      3. Configure the following item: net.tcp.service[ftp]

      Result:

      Agent reports "0" (down)
      **

      Expected:
      Agent reports "1" (down)

       

      The problem is due to the validateFtp function in src/go/plugins/net/tcp/tcp.go

      https://github.com/zabbix/zabbix/blob/9dee1a607d56ab03f86105a2dbc939723cca956f/src/go/plugins/net/tcp/tcp.go#L148

       

      The agent checks for the string "220 ", while FileZilla default banner is:

      220-FileZilla Server 0.9.60 beta
      220-written by Tim Kosse ([email protected])
      220 Please visit https://filezilla-project.org/

      Attachments

        Activity

          People

            ssimonenko Sergey Simonenko
            c.mammoli Cristian Mammoli
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: