0

I have setup FreeRDP on Windows using vcpkg, CMAKE, Visual Studio Build Tools, Windows SDK and have got the exe and dll files after building the repo.

I am connecting to a RDP machine using sdl2-freerdp.exe with the command

./sdl2-freerdp /v:IP /u:USER /p:PASS /cert:ignore +rfx /gfx:RFX /dump:"record,file:session.pcap"

After doing this, the packets are getting stored in the mentioned file but I am not able to replay the session.

I tried commands like,

./sdl2-freerdp /play-rfx:"session.pcap" /v:IP /cert:ignore

./sdl2-freerdp /dump:"replay,file:session.pcap" /v:IP /cert:ignore

but none of them are working. Tried many other ways like editing the source code to add debug statements but not able to figure out usage of this replaying component of SDL in FreeRDP due to very poor documentation support.

asked Apr 29, 2025 at 11:17

1 Answer 1

0

This seems to be broken on Windows.

Working well on Linux systems.

You can do,

xfreerdp /v:IP /u:USERNAME /p:PASSWORD /cert:ignore /dump:"record,file:session.pcap"

This will save all the packets in the mentioned file. Wireshark and tcpdump won't be able to read this file (if you want to see the packets) due to different encoding and saving technique used by FreeRDP. Only SDL3 client and xfreerdp are being actively maintained for now.

Replay the recording using,

xfreerdp /v:IP /dump:"replay,file:session.pcap"

answered May 8, 2025 at 5:00
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.