Commons Net
  1. Commons Net
  2. NET-416

Increasing sub-negotiation message holder array size

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.0.1
    • Fix Version/s: 3.1
    • Component/s: Telnet
    • Environment:

      Linux

      Description

      I am trying to achieve NTLM Authentication by extending the Telnet option handler. The challenge sent by the telnet server is greater than 256 bytes, but currently the __suboption[] array in TelnetInputStream supports only a 256 bytes message. If I increase the size of the array to 512, I am able to achieve NTLM Authentication.

      1. NTLM_Auth_Support.patch
        0.5 kB
        Abhijeet Gaikwad

        Activity

        Hide
        Abhijeet Gaikwad added a comment -

        __suboption[] array size increased to 512. As NTLM packet size sent by server is more than 256 bytes.
        If increased, Telnet Client can be used to support NTLM Authnetication from Linux as well as Windows machine.

        Show
        Abhijeet Gaikwad added a comment - __suboption[] array size increased to 512. As NTLM packet size sent by server is more than 256 bytes. If increased, Telnet Client can be used to support NTLM Authnetication from Linux as well as Windows machine.

          People

          • Assignee:
            Unassigned
            Reporter:
            Abhijeet Gaikwad
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development