ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-2555

Simple check doesn't send correct sendtoclose string for pop3

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.8.3, 1.9.0 (alpha)
    • Component/s: Agent (G), Server (S)
    • Labels:
      None
    • Environment:
      CentOS 5.x

      Description

      When checking the status of a pop3 daemon, the connection isn't closed cleanly since no "sendtoclose" string is supplied (in simple.c). The correct string is "QUIT\n".

      I am attaching a patch.

        Issue Links

          Activity

          Hide
          Mark Eissler added a comment -

          The patch file was produced with "diff -urNad" command. Let me know if more context, etc. is required.

          Show
          Mark Eissler added a comment - The patch file was produced with "diff -urNad" command. Let me know if more context, etc. is required.
          Hide
          Aleksandrs Saveljevs added a comment -

          Fixed in pre-1.8.3 in r13126.

          Show
          Aleksandrs Saveljevs added a comment - Fixed in pre-1.8.3 in r13126.
          Hide
          Andris Mednis added a comment - - edited

          https://tools.ietf.org/html/rfc1939 says: "All commands are terminated by a CRLF pair."
          So, the closing string is "QUIT\r\n". Fixed as part of solving ZBX-8040.

          Show
          Andris Mednis added a comment - - edited https://tools.ietf.org/html/rfc1939 says: "All commands are terminated by a CRLF pair." So, the closing string is "QUIT\r\n". Fixed as part of solving ZBX-8040 .
          Hide
          Mark Eissler added a comment -

          I no longer have a zabbix installation, so someone else is going to have to patch and regression test.

          Show
          Mark Eissler added a comment - I no longer have a zabbix installation, so someone else is going to have to patch and regression test.

            People

            • Assignee:
              Unassigned
              Reporter:
              Mark Eissler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: