Skip to content

output: show only runtime logs on pcapng terminals - #1098

Merged
cfc4n merged 1 commit into
gojue:masterfrom
cfc4n:bugfix/quiet-pcapng-console
Nov 21, 2026
Merged

cfc4n merged 1 commit into
gojue:masterfrom
cfc4n:bugfix/quiet-pcapng-console

Conversation

@cfc4n

@cfc4n cfc4n commented Nov 21, 2026 •

Copy link
Copy Markdown
Member

Summary

Native pcapng capture printed a line for every encoder write, making startup and runtime diagnostics hard to see on busy interfaces. The console publisher now skips native pcapng events on stdout and stderr. The pcapng file writer and WebSocket publisher continue to receive capture data. Text mode using a pcapng source still displays decoded text.

Verification

  • Built the Linux arm64 binary with make all.
  • Passed go test -race ./..., production-tag make test-race, and production-tag golangci-lint.
  • Passed all 18 cases in the Linux pcapng suites for OpenSSL, GoTLS, and GnuTLS. The terminal checks require a runtime log and reject capture summaries. The file and WebSocket checks decrypt captured traffic using embedded TLS secrets.
  • Passed the OpenSSL text and keylog E2E suites.
  • Updated the Android BoringSSL terminal assertion and syntax-checked the script. Android device coverage is pending.

Devin Review

Printing a byte count for each encoder write floods the terminal and
makes it hard to see capture diagnostics. Skip native pcapng events in
the console publisher so file and network consumers still receive the
encoded capture. Cover the terminal behavior in unit and E2E tests.
Copilot AI balanced review requested due to automatic review settings November 21, 2026 13:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Devin Review: 3 flags

Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)

Devin Review

@cfc4n
cfc4n merged commit 669a5f7 into gojue:master Nov 21, 2026
15 checks passed
@cfc4n
cfc4n deleted the bugfix/quiet-pcapng-console branch November 21, 2026 14:47
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