Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-549

Telnet does not convert LF to CRLF in ASCII mode


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 3.4
    • Component/s: Telnet
    • Environment:

      Windows 7, Java 1.7.



      We are using your library to connect/login to some Windows and Foundary devices via Telnet.
      The source(client) is a Windows 7 professional windows machine and all the servers we are trying to connect are Windows machines running Microsoft(R) Windows(R) Server 2003, Standard Edition.
      In version 2.2 we were able to connect and then login successfully to these devices with no issues.
      However, on upgrade to 3.3 version, we are unable to login to these devices successfully.
      In v 3.3, after entering the username and hitting enter, there is no response at all. However in v 2.2, as soon as you enter the username and hit enter, password prompt comes back for us to enter the password and we are logged in successfully.

      I compraed the packet captures between the two versions for the same target server machine. The only difference I can see is when the user name is set, in v2.2 a '\r' is appended to the end of the username where is v 3.3, this '\r' is missing. Is this due to any change in library?

      I can provide the packet capture/logs if required. Please let us know if this is a known issue or if there are any workarounds.





            • Assignee:
              pnatarajan Pradeep Natarajan
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: