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

          Mark Eissler created issue -
          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.
          Mark Eissler made changes -
          Field Original Value New Value
          Attachment simple.c.patch [ 13151 ]
          richlv made changes -
          Fix Version/s 1.8.2 [ 10060 ]
          Alexei Vladishev made changes -
          Assignee Aleksandrs Saveljevs [ asaveljevs ]
          Aleksandrs Saveljevs made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Aleksandrs Saveljevs made changes -
          Link This issue duplicates ZBX-2553 [ ZBX-2553 ]
          Aleksandrs Saveljevs made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Assignee Aleksandrs Saveljevs [ asaveljevs ] Alexander Vladishev [ sasha ]
          Resolution Fixed [ 1 ]
          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.
          Aleksandrs Saveljevs made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Aleksandrs Saveljevs made changes -
          Resolution Fixed [ 1 ]
          Status Closed [ 6 ] Reopened [ 4 ]
          Aleksandrs Saveljevs made changes -
          Status Reopened [ 4 ] Closed [ 6 ]
          Fix Version/s 1.8.3 [ 10063 ]
          Fix Version/s 1.9 (trunk) [ 10046 ]
          Resolution Fixed [ 1 ]
          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.
          Alexei Vladishev made changes -
          Workflow Zabbix workflow [ 18428 ] Zabbix workflow - new [ 43788 ]
          Alexander Vladishev made changes -
          Zabbix ID NA
          Alexander Vladishev made changes -
          Assignee Alexander Vladishev [ sasha ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: