grdp

package module
v0.8.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2026 License: GPL-3.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Golang Remote Desktop Protocol

grdp is a pure Go client implementation of Microsoft's Remote Desktop Protocol.

中文说明

Forked from tomatome/grdp, itself forked from icodeface/grdp.

Documentation

  • docs/porting-guide.md is for building something with this library: the session from connect to disconnect, what each part expects of you, and the traps that have already been paid for once.
  • docs/protocol-layers.md is a map of the layers for someone porting or extending it: what each package does and does not do, what each layer relies on the one below it for, and where to look first when something breaks.
  • docs/windows-verification.md records what was checked against a real Windows host and how, including the symptoms worth recognising again.
  • docs/input-verification.md records how input is proved to have arrived rather than inferred from a screenshot.

Every package has a package doc, and every exported identifier has a doc comment; go doc ./client is a reasonable place to start.

Status

The connection, authentication, rendering, input and clipboard paths are implemented and verified against real servers, over both the legacy bitmap path and the newer graphics channel.

Verified against xrdp 0.9.24 and against a real Windows 10 host:

  • Connection, MCS, capability exchange
  • Display Control: the desktop can be resized while the session runs. The channel is asked for by the client, the layout waits for the server's capabilities, OnResize reports the size the server actually chose - it rounds to a mode it has, so 720 comes back as 768 - and the framebuffer follows. Verified against a real Windows 10 host, where the desktop resizes and the two composites still agree to 0 of 983040 pixels.
  • TLS and NLA (CredSSP with NTLMv2, including the version 6 public key binding)
  • Standard RDP Security, the old path with no TLS: verified against a local xrdp configured for it, which scripts/dev-rdp.sh standard sets up. It produces output pixel-identical to the TLS path on the same target, which is a stronger check than "it connects".
  • Licensing exchange
  • Bitmap updates, RLE, 24 and 32 bpp
  • Pointer position, and pointer shapes decoded into a cursor: the AND and XOR masks are applied, the 20 slot cache the capability set advertises is implemented so a cached shape resolves instead of vanishing, system cursors are reported as such, and a gateway gets RGBA with alpha from OnCursor. Verified against xrdp, which sends two colour cursors and whose shapes come back with the hotspots a real cursor has (arrow at 0,0, I beam at 4,8) rather than garbage, and against a real Windows 10 host, whose 41x39 arrows and I beams come back with 145 to 352 opaque pixels each.
  • Keyboard and mouse input, including modifier keys
  • Clipboard, text, both directions
  • NSCodec and RemoteFX (RFX) bitmap codecs, checked byte for byte against libfreerdp's own decoder
  • ZGFX, the bulk compression the EGFX channel wraps its messages in, also checked byte for byte against libfreerdp, including against captures of real Windows traffic
  • Surface commands, drdynvc, RDPGFX command parsing
  • EGFX (RDPGFX) rendering, verified against a real Windows server: the desktop, its icons and text come through over the graphics channel with no bitmap updates at all. Off by default, see below.
  • Drawing orders: the bitmap cache and MEMBLT, with the bounds an order carries as a clip, plus PATBLT with its brush, the polygons, the polyline, the ellipses, the multi rectangle orders, the glyph cache behind TEXT2, LineTo, SaveBitmap and FastIndex. Verified against a real Windows server, where a whole lock screen comes through the cache, gradients and text included. It matches the bitmap path to the taskbar clock, which is where two runs of the same path differ too. Off by default, see below.
  • VNC, against a real TigerVNC server: a frame is received and parsed, and the clipboard works in both directions. scripts/vnc-dev.sh fetches TigerVNC without root and runs the live tests. Raw, CopyRect and Hextile encodings, and RequestClipboardText is not implemented, which a test records. The live tests have seen TigerVNC choose Hextile for ordinary rectangles and CopyRect for a real scroll, and check that the copied pixels are the ones the source held.

Not done, or not finished:

  • RemoteFX Progressive (codec ids 0x0009 and 0x000D), which needs its own arithmetic decoder. The THINCLIENT capability flag asks the server not to use it, and the dispatch error names it if a server does anyway.
  • Interleaved and banded RLE bitmaps. Only bitmap cache revision 3 asks for them, and offering revision 3 to Windows changes nothing: it sends revision 2 either way, which uses the same decoder bitmap updates do. So this is not implemented because nothing tested reaches it, not because it was skipped.
  • Decoding H.264. The framing is implemented, with an AVCDecoder interface for a caller to supply one, and the codecs are advertised only when it is set: a pure Go decoder is out of scope and cgo would change what this library is. Without one nothing is advertised, so the negotiation is unchanged.
  • Windowed surface placement: MapSurfaceToScaledOutput is applied, with the pixels resampled to the size the server asked for, but the two window variants are recorded and exposed rather than applied, because there is no window to place anything in.
  • Compressed dynamic virtual channel data is refused with an error rather than decoded, which is visible rather than silent, and the negotiation does not ask for it.
  • The shape, glyph and nine grid orders have no server to be verified against. A Windows 10 host was watched with every one of them advertised and sent 1473 MEMBLTs and nothing else, and xrdp sends no orders at all. They are implemented from FreeRDP's parsers and unit tested, which is the honest extent of it, and for that reason the capability advertisement offers MEMBLT alone: asking an older server for orders never watched working would be worse than leaving it on bitmap updates.

What a failed login looks like

Login failures are classified, because the message alone does not say which kind it was and the most common one is the most misleading. Against an NLA server a wrong password does not come back as an authentication error: Windows does not answer a bad logon, it drops the TLS connection, so what arrives is tls: internal error, which reads like a certificate problem and sends an operator looking in the wrong place.

What happened The error How to test it
The password was refused wraps ErrAuthenticationFailed errors.Is(err, client.ErrAuthenticationFailed)
The connection could not be established at all wraps ErrUnreachable errors.Is(err, client.ErrUnreachable)
...and why it could not the *net.OpError is still in the chain errors.Is(err, syscall.ECONNREFUSED) for nothing listening, EHOSTUNREACH for the network
The TLS handshake failed, so nothing was sent wraps ErrTLSFailure errors.Is(err, client.ErrTLSFailure)
The CredSSP exchange failed before the credentials were sent wraps ErrCredSSP errors.Is(err, client.ErrCredSSP)
The server wants a different security protocol *x224.NegotiationFailure, with a code errors.As(err, &x224.NegotiationFailure{})
The server ended the session, usually because another connection took it over wraps ErrSessionEndedByServer errors.Is(err, client.ErrSessionEndedByServer)

The four kinds that involve the account are separated by the stage they happen in, because that is the only thing the transport can know for certain. Before the credentials are sent, a failure is ErrTLSFailure or ErrCredSSP and the account has not been proven wrong. After they are sent and the server goes quiet, it is ErrAuthenticationFailed, which is what a refused logon looks like from here.

ErrTLSFailure was unreachable until recently: TPKT armed its first read before the TLS handshake existed, so a handshake failure was reported by the read loop as a plain transport error while the code that would classify it was still inside its own read. That is fixed, and the sentinel was verified with a stub that reaches the handshake and fails it. ErrCredSSP, the same path one step further along, is verified the same way.

$ rdpcli -host host -user user -pass wrong -proto nla
login failed: client: the server did not accept the credentials: nla: the CredSSP
              authentication exchange failed: read header: remote error: tls: internal error
  kind: authentication — the exchange did not complete, which is usually a rejected password

ErrAuthenticationFailed says the exchange did not complete, and deliberately does not say the password was wrong: a server that vanished in the middle of the exchange looks the same. What it does rule out is TLS itself, since a certificate problem fails before the exchange begins.

The last of those is the one that looks most like a fault and is not: a session taken over by another connection is still on the server, detached, and connecting again gets it back. A dropped network sends no disconnect ultimatum at all, so the presence of one is what tells the two apart, and that is a fact rather than a reading of the bytes.

The one case with no signal at all is a server that accepts the connection and then reports the failure inside the session, which is what xrdp does: it shows a login failed for user dialog as pixels and sends nothing on the wire. There is no protocol-level way for a client to notice that, and inventing one — reading the screen — is not something this library is going to do.

A headless gateway

cmd/rdpws is a gateway in one file: it holds an RDP session, serves the screen to a browser as dirty rectangles encoded to JPEG over a WebSocket, and takes the browser's keyboard, mouse and pointer back the other way. It is the example the library was missing, since the two that shipped were a desktop program and a socket.io page from its early days, and neither showed how to drive a session with no window in front of it.

go run ./cmd/rdpws -host 192.0.2.10 -user user -pass secret
# then open http://127.0.0.1:8080/

It is also a test that can be run rather than read, which is the point of it:

go run ./cmd/rdpws -host 127.0.0.1 -user rdptest -pass rdptest -selftest
selftest: ok — page has a canvas, size announced, 12881 bytes as JPEG (1024x768),
                2 cursor images, 1 frames encoded

That connects, serves, drives a frame and a pointer image through the WebSocket a browser would use, decodes them, and sends input back. It is what exercises Framebuffer and OnFrame, OnCursor and TypeText together, so the three things a gateway needs are in one place that runs.

What is verified, and how

The distinction this table draws is the point of the repository. Every claim in the list above is in the first column or the second, and nothing is in the first without having been run against something that did not write the test.

How it is known
Connection, TLS, NLA, licensing, input, clipboard, bitmap updates Run against xrdp 0.9.24 and a real Windows 10 host
Standard RDP Security Run against a local xrdp requiring it, and pixel-identical to the TLS path on the same target
EGFX rendering A whole Windows desktop through the graphics channel, compared against the bitmap path
Drawing orders A whole Windows lock screen through the bitmap cache, and the two drawing paths agree to the taskbar clock
VNC A real TigerVNC server: a frame arrives, and the clipboard works both ways
NSCodec, RemoteFX, ZGFX Byte for byte against libfreerdp, whose encoder produced the input and whose decoder produced the expected output
Display Control A real Windows 10 host resizes its desktop on request, and the framebuffer follows to 1280x768
Cursors on Windows A real Windows 10 host: 41x39 shapes, hotspots at the arrow's tip, and the AND mask rule that xrdp's two colour cursors never exercise
Robustness Fuzzing, which found two infinite loops and three panics; the corpus is kept
The shape, glyph, nine grid and multi rectangle orders FreeRDP's parsers and unit tests only: no reachable server sends them
The AVC420 and AVC444 framing FreeRDP's parsers and unit tests only: decoding needs a decoder this does not ship

Using it as a library

s := client.NewSetting()
s.Width, s.Height = 1024, 768
s.Protocol = "nla"           // "tls", "nla" or "rdp"

c := client.NewClient("host:3389", "user", "password", client.TC_RDP, s)

// Where the pixels are: one place, whichever way the server chooses to draw.
c.OnFrame(func(dirty []image.Rectangle) { /* encode exactly these regions */ })
c.OnCursor(func(cur *client.Cursor) { /* draw cur.Image, positioned by cur.Hotspot */ })
c.OnCursorPos(func(x, y int) { /* and put it here */ })
c.OnClipboardText(func(text string) { /* paste */ })

if err := c.Login(); err != nil {
    log.Fatal(err)
}

fb := c.Framebuffer()        // BGRA, top down, valid until the next OnFrame
c.MouseMove(400, 300)
c.MouseDown(0, 400, 300)
c.MouseUp(0, 400, 300)
c.TypeText("text", 8*time.Millisecond)  // characters, so an input method works

OnFrame reports each batch of updates once, with the dirty rectangles already merged and clipped, so a caller encodes what changed rather than guessing. The pixels come from Framebuffer whatever path the server used, and the dirty rectangles are what changed rather than the whole screen.

The pointer is not part of the desktop: OnCursor gives it as an image with alpha, plus a hotspot to position it by, and it fires on a shape change and not on movement.

Opt-ins, all off by default because each changes what is negotiated:

  • Setting.EnableClipboard opens the clipboard channel, for text both ways. Client.Files is the file transfer surface, which takes a provider for the files to share and reads the ones the server offers by range.
  • Setting.EnableDisplayControl opens Display Control, so RequestResize can change the desktop size while the session runs. The answer arrives on OnResize, and it is the answer that counts: the server rounds to a mode it has, so asking for 720 can give 768.
  • Setting.EnableEGFX opts into the graphics channel. With it on, an unsupported codec means a blank screen rather than a degraded one, because a server that picks EGFX stops sending bitmap updates entirely.
  • Setting.EnableOrders advertises MEMBLT and renders the drawing orders that follow. It changes how the server draws, and the two paths cannot be mixed.

OnBitmap, Screen, OnOrdersFrame and OnSurfaceFrame still work for callers that want the raw updates or the orders machinery, and are deprecated where Framebuffer and OnFrame supersede them.

Trying it out

cmd/rdpcli is a headless client that connects, decodes, and writes what it received to a PNG. It is enough to check a server end to end:

go run ./cmd/rdpcli -host 192.0.2.10:3389 -user user -pass secret -proto nla \
    -wait 20s -dump /tmp/screen.png

# drive input and watch it land
go run ./cmd/rdpcli -host 192.0.2.10:3389 -user user -pass secret -proto nla \
    -wait 20s -dump /tmp/after.png -post-input 4s \
    -key click:400,600 -type 'echo hello' -key press:0x1c

Flags worth knowing: -type types a string (handling shift), -key sends raw input events, -clipboard and -set-clipboard exercise the clipboard, -egfx and -orders switch the drawing path, -pointer logs pointer updates, and -log 0 is a full trace.

How the verification was done

docs/windows-verification.md records what was checked against a real Windows host and, more usefully, how: which symptom means the protocol is at fault and which means the account is, where a capture settled a question the specification left ambiguous, and which mistakes were made on the way. The codecs and ZGFX are checked byte for byte against libfreerdp rather than against expectations written by the same person who wrote the decoder, which is how the interpretations behind several bugs were caught.

Development

scripts/dev-rdp.sh manages a local xrdp target for integration testing: setup (once, makes the rest passwordless), up, down, status, probe, probe-session (which prepares a session whose X input events are logged so that input can be verified rather than eyeballed), and standard, which restarts xrdp requiring Standard RDP Security so that path can be tested too.

scripts/gen-codec-vectors.sh regenerates the codec test vectors from libfreerdp's encoders and decoders, so the image codecs are checked against a reference implementation rather than against hand written expectations. scripts/gen-zgfx-vectors.sh does the same for ZGFX, except that the streams come from our test encoder because FreeRDP's compressor is a stub; FreeRDP's decoder still supplies the expected output.

scripts/compare-shots.py compares two screenshots of the same screen, taken over different drawing paths, and reports whether they differ like a lossy codec or like a region that never got drawn.

scripts/vnc-dev.sh fetches TigerVNC without root, starts it on a private display, and runs the live VNC tests against it.

cmd/rdpws -selftest is the integration test for the headless path above.

go run ./cmd/docaudit ./... lists exported identifiers that godoc will render without a doc comment, which is the one thing that makes an API unpleasant to read from go doc alone.

Take ideas from

Documentation

Overview

Package grdp is a Go implementation of Microsoft's Remote Desktop Protocol: the client half of RDP, the RFB (VNC) client that this fork inherited alongside it, and the codecs, orders and virtual channels they need.

It is meant to be built on rather than used as a program. There is no window anywhere in it, and every drawing path hands out pixels and leaves the painting to the caller, so the same library serves a desktop client, a command line tool and a browser gateway.

Getting started

s := client.NewSetting()
s.Width, s.Height = 1024, 768
s.Protocol = "nla"          // "tls" (the default), "nla" or "rdp"

c := client.NewClient("host:3389", "user", "password", client.TC_RDP, s)
defer c.Close()

c.OnFrame(func(dirty []image.Rectangle) { /* encode these regions */ })
c.OnCursor(func(cur *client.Cursor) { /* draw cur.Image at cur.Hotspot */ })

if err := c.Login(); err != nil {
	log.Fatal(err)
}
c.MouseMove(400, 300)
c.TypeText("text", 8*time.Millisecond)

[client.Framebuffer] is where the pixels are, whichever way the server chose to draw them, and [client.Client.OnFrame] says which parts of it changed. cmd/rdpcli is a headless client that dumps a PNG, and cmd/rdpws is a gateway that serves one to a browser; both are small enough to read as examples.

How it is put together

The layers are the protocol's, from the socket upwards, and each one is a package that knows only about the layer beneath it:

protocol/tpkt      TPKT framing, and the TLS and CredSSP handshake
protocol/x224      the X.224 connection request, where security is chosen
protocol/nla       NTLMv2 and CredSSP, used by tpkt
protocol/t125      MCS: channel joins, and the GCC blocks that carry
                   the client's capabilities and settings
protocol/sec       RDP security: encryption, and the licensing exchange
protocol/pdu       the PDU layer: capabilities, updates, input, orders
protocol/rfb       RFB (VNC), which is a different protocol and shares none
                   of the above except the socket

[client] sits on top and is the only package most callers need. The packages below it are exported because types from them appear in the API: a pointer update is a [pdu.PointerDataPDU], a security negotiation failure is an [x224.NegotiationFailure]. They are not offered as a stable interface of their own, and they change when the protocol work needs them to.

The three drawing paths

A session uses one path at a time, and the choice is made at connect time by what the client advertises:

  • Bitmap updates, the default. Rectangles of RLE or codec data decoded into BGRA. Every server supports this and it is the path that works.
  • Drawing orders, with Setting.EnableOrders. The client advertises MEMBLT and the server stops sending bitmap updates entirely, drawing through its bitmap cache instead, which is far smaller on the wire and far more work to render.
  • EGFX, with Setting.EnableEGFX. A dynamic virtual channel carries surfaces and codec data, and the client composites. Again the server stops sending bitmap updates.

The last two cannot be mixed with the first in one session, which is why both are off by default: turning one on and meeting a codec that is not implemented gives a blank screen rather than a degraded one.

What it does not do

It does not paint. There is no widget, no window and no pixel format conversion for a display, only the pixels as the protocol delivers them.

It does not implement RemoteFX Progressive, which needs an arithmetic decoder, or H.264, whose framing is implemented but whose decoding is left to a caller through the codec.AVCDecoder interface, because a pure Go decoder is out of scope and cgo would change what this library is.

It does not implement bitmap cache revision 3, and two of the drawing orders have no server here to be checked against. Both are recorded in the README rather than implied by silence.

What has been verified

The connection, TLS, NLA, licensing, bitmap, RemoteFX, NSCodec, ZGFX, orders, EGFX, cursor, input and Display Control paths have all been run against a real Windows 10 host and against xrdp, and the codecs are checked byte for byte against libfreerdp rather than against expectations written by the same person who wrote the decoder. docs/windows-verification.md records what was checked and how, including the traps that have already been paid for once.

"It builds" is not "it works", and this package's own history is the argument: five separate faults were found only by pointing the code at a server that disagreed, after unit tests had passed. When a layout or a value is in question, settle it against FreeRDP's implementation or against a capture rather than against the specification's prose, which has been ambiguous or wrong every time it was asked.

Traps

  • Setting.EnableEGFX and Setting.EnableOrders are opt in, change how the server draws, and cannot be mixed with the bitmap path in one session.
  • Setting.EnableClipboard and Setting.EnableDisplayControl are opt in because each opens a channel and changes the connect sequence. Without them the clipboard and resize methods return an error rather than doing nothing.
  • A refused logon against an NLA server arrives looking like a TLS problem. [client.ErrAuthenticationFailed] is what says otherwise; see the README for the whole set of failure kinds.
  • Change a capability and you change what the server sends. Order support and the pointer cache size in particular are contracts: advertise a pointer cache and the server stops resending shapes, so a client with nowhere to put them loses the cursor.

Working on it

go build ./... && go vet ./... && go test ./...
go run ./cmd/docaudit ./...       // exported identifiers with no doc comment

scripts/dev-rdp.sh manages a local xrdp for integration testing and scripts/vnc-dev.sh fetches TigerVNC without root for the RFB side. The decoders are checked against libfreerdp by scripts/gen-codec-vectors.sh, which is why they can be trusted further than their own tests.

Directories

Path Synopsis
Package client is the API to use.
Package client is the API to use.
cmd
docaudit command
Command docaudit lists exported identifiers without doc comments.
Command docaudit lists exported identifiers without doc comments.
rdpcli command
Command rdpcli is a small headless RDP client used to verify connectivity against a live server.
Command rdpcli is a small headless RDP client used to verify connectivity against a live server.
rdpws command
Command rdpws is a headless RDP gateway: it holds an RDP session and serves the screen to a browser over a WebSocket, taking the browser's keyboard and mouse back the other way.
Command rdpws is a headless RDP gateway: it holds an RDP session and serves the screen to a browser over a WebSocket, taking the browser's keyboard and mouse back the other way.
Package codec implements the bitmap codecs that RDP servers use to encode bitmap update and surface command payloads.
Package codec implements the bitmap codecs that RDP servers use to encode bitmap update and surface command payloads.
Package core is the layer everything else is built on: bounded readers and writers over io.Reader and io.Writer, a net.Conn wrapper that can be upgraded to TLS, small string and pixel conversions, and the RLE bitmap decompressor.
Package core is the layer everything else is built on: bounded readers and writers over io.Reader and io.Writer, a net.Conn wrapper that can be upgraded to TLS, small string and pixel conversions, and the RLE bitmap decompressor.
Package emission is an event emitter: named events with listener functions, and an optional panic recoverer.
Package emission is an event emitter: named events with listener functions, and an optional panic recoverer.
Package glog is the logging shim the protocol layers write through.
Package glog is the logging shim the protocol layers write through.
Package orders renders the drawing orders a server sends when the client says it supports them.
Package orders renders the drawing orders a server sends when the client says it supports them.
Package plugin is the virtual channel framework.
Package plugin is the virtual channel framework.
cliprdr
Package cliprdr implements the clipboard virtual channel: text and files, in both directions.
Package cliprdr implements the clipboard virtual channel: text and files, in both directions.
disp
Package disp implements the display control dynamic virtual channel (MS-RDPEDISP), which is how a client asks the server to change the desktop size while a session is running.
Package disp implements the display control dynamic virtual channel (MS-RDPEDISP), which is how a client asks the server to change the desktop size while a session is running.
drdynvc
Package drdynvc implements the dynamic virtual channel channel (MS-RDPEDYC).
Package drdynvc implements the dynamic virtual channel channel (MS-RDPEDYC).
rdpgfx
Package rdpgfx implements the RDP Graphics Pipeline Extension channel (MS-RDPEGFX), the modern drawing path where a server composites surfaces and sends them as compressed bitmaps.
Package rdpgfx implements the RDP Graphics Pipeline Extension channel (MS-RDPEGFX), the modern drawing path where a server composites surfaces and sends them as compressed bitmaps.
protocol
lic
Package lic holds the licensing PDUs, which an RDP client must answer before the session becomes usable.
Package lic holds the licensing PDUs, which an RDP client must answer before the session becomes usable.
nla
Package nla implements NTLMv2 and CredSSP, which is how RDP authenticates the account before the session exists.
Package nla implements NTLMv2 and CredSSP, which is how RDP authenticates the account before the session exists.
pdu
Package pdu is the RDP PDU layer: capabilities, session updates, input, and the drawing orders that the orders package renders.
Package pdu is the RDP PDU layer: capabilities, session updates, input, and the drawing orders that the orders package renders.
rfb
Package rfb is the RFB (VNC) client protocol this fork inherited from upstream.
Package rfb is the RFB (VNC) client protocol this fork inherited from upstream.
sec
Package sec is RDP security: the encryption of the session, and the licensing exchange that runs on top of it.
Package sec is RDP security: the encryption of the session, and the licensing exchange that runs on top of it.
t125
Package t125 is MCS, the layer that carries RDP's channels over the connection X.224 established.
Package t125 is MCS, the layer that carries RDP's channels over the connection X.224 established.
t125/ber
Package ber implements the BER/DER primitives that CredSSP's TSRequest is built from: tags, lengths, integers, octet strings and sequences.
Package ber implements the BER/DER primitives that CredSSP's TSRequest is built from: tags, lengths, integers, octet strings and sequences.
t125/gcc
Package gcc holds the GCC user data blocks that travel inside the MCS connect initial: the client's core settings, the set of virtual channels it wants, and its security settings.
Package gcc holds the GCC user data blocks that travel inside the MCS connect initial: the client's core settings, the set of virtual channels it wants, and its security settings.
t125/per
Package per implements the subset of PER encoding that MCS and the GCC blocks need: lengths, choices, enumerations, integers and octet streams.
Package per implements the subset of PER encoding that MCS and the GCC blocks need: lengths, choices, enumerations, integers and octet streams.
tpkt
Package tpkt is the bottom of the RDP stack: the TPKT framing that every packet sits in, and the TLS and CredSSP handshake that runs before any RDP PDU does.
Package tpkt is the bottom of the RDP stack: the TPKT framing that every packet sits in, and the TLS and CredSSP handshake that runs before any RDP PDU does.
x224
Package x224 carries the X.224 connection request and confirm, which is the first thing an RDP client says and the point at which the security protocol is chosen.
Package x224 carries the X.224 connection request and confirm, which is the first thing an RDP client says and the point at which the security protocol is chosen.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL