Skip to content

feat: pcap using pcapgo#31

Merged
mimuret merged 11 commits intov2from
ver2.4.0
Jul 20, 2025
Merged

feat: pcap using pcapgo#31
mimuret merged 11 commits intov2from
ver2.4.0

Conversation

@mimuret
Copy link
Copy Markdown
Owner

@mimuret mimuret commented Mar 10, 2025

No description provided.

mimuret added 9 commits March 10, 2025 19:47
- Fixed incorrect assignment of dm.QueryMessage and dm.ResponseMessage:
  - Correctly assign QueryMessage for client queries and ResponseMessage for client responses.
- Added error handling for ic.Writer.Write to log write failures.
- Optimized time.Now calls by caching the result to improve performance.
- Enhanced safety of `send` condition by adding nil checks for MAC addresses.
- Improved logging for unknown TransportLayer by including layer type information.
- Refactored redundant code for setting dnstap.Message fields into a helper function to reduce duplication.
- Added detailed error messages for extractLinkLayer to include packet information.
- Ensured proper cleanup in Start function by adding defer handle.Close().
- Improved Setup function error messages for better clarity on invalid parameters.
@mimuret mimuret changed the title add: output/otel-trace feat: pcap using pcapgo Jul 20, 2025
@mimuret mimuret merged commit 9e2dd78 into v2 Jul 20, 2025
1 of 2 checks passed
@mimuret mimuret deleted the ver2.4.0 branch July 20, 2025 15:11
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.

1 participant