Skip to content

[module] PacketCap: save clients packets#9280

Draft
sruon wants to merge 1 commit intoLandSandBoat:basefrom
sruon:packetcap
Draft

[module] PacketCap: save clients packets#9280
sruon wants to merge 1 commit intoLandSandBoat:basefrom
sruon:packetcap

Conversation

@sruon
Copy link
Contributor

@sruon sruon commented Jan 28, 2026

I affirm:

  • I understand that if I do not agree to the following points by completing the checkboxes my PR will be ignored.
  • I understand I should leave resolving conversations to the LandSandBoat team so that reviewers won't miss what was said.
  • I have read and understood the Contributing Guide and the Code of Conduct.
  • I have tested my code and the things my code has changed since the last commit in the PR and will test after any later commits.

What does this pull request do?

Been talking about this idea for a while: let operators enable capture for specific clients to allow reproducing and troubleshoot specific issues.

Not meant to be run at scale, only for spot checking specific clients communications.
Adds 1 charvar sql query on zone in for each char so it shouldn't be noticeable.

Format is simple for the time being, I am working on a different format with built-in streaming compression but it's not yet ready for such things.

[01/28/26 13:31:17:827][map][info] PacketCap: Enabled capture for Lsb (3) -> ./log/packets/3_20260128_203117.cap (PacketCapModule::OnCharZoneIn:74)

Steps to test these changes

Draft while I have certain operators test it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants