Uploaded image for project: 'James Imap'
  1. James Imap
  2. IMAP-249

IMAP should not disconnect clients on bad command immediatelly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2-M1
    • 0.2
    • Parser
    • None

    Description

      When IMAP processor can not parse command immediately disconnects a client .

      Unfortunately from time to time outlook sends bad commands to the server.
      One of the examples is Outlook 2007 - when copying a message (drag & drop message with Ctrl) it sends an empty request to the server ( \r \n ).

      There are 2 options I can think about:

      a) handling only the case would require consuming '\r' '\n' characters before processing a tag
      b) general change of error handling - here is what Courier-IMAP is doing:
      instead of sending bye & disconnecting, we could send NO, to avoid DoS 10 consequent errors are allowed, then say bye

      Attachments

        1. empty_request.pcap
          6 kB
          Wojciech Strzałka

        Activity

          People

            norman Norman Maurer
            wstrzalka Wojciech Strzałka
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: