Skip to content

File Transfer support for rfbUltraVNC_MsLogonIIAuth #13

Closed
@wqweto

Description

@wqweto

In ClientConnection::NegotiateProtocolVersion function (in ClientConnection.cpp file) for protocol version RFB 003.008 there is a comment left like this

else if (m_minorVersion == 8) // adzm 2010-09 - RFB 3.8
{
	// adzm2010-10 - RFB3.8 - m_fServerKnowsFileTransfer set during rfbUltraVNC auth
}

But in ClientConnection::AuthenticateServer function the mentioned flag m_fServerKnowsFileTransfer = true is set only for rfbUltraVNC (no password) security type and not for any other password protected security type under rfbUltraVNC_Xxx family incl. rfbUltraVNC_MsLogonIIAuth (which is the exact reason I'm posting this issue).

This prevents protocol version RFB 003.008 servers from being recognized by the client as supporting UltraVNC's proprietary File Transfer sub-protocol when the server is password protected but allows it just ok when the server is not password protected. . . which is somewhat weird behavior.

Is this a deliberate omission or do you want me to send a PR with the m_fServerKnowsFileTransfer = true set for all rfbUltraVNC_Xxx family of authentication (or rfbUltraVNC_MsLogonIIAuth only)?

What else can I do in my RFB 003.008 server to enable File Transfer for password protected instances?

p.s. My incomplete VNC server effort is here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SolvedTicket solved

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions