feat: add tcp stream reassembly, interactive selection, and pyproject.toml#17
Open
adrianlzt wants to merge 3 commits into
Open
feat: add tcp stream reassembly, interactive selection, and pyproject.toml#17adrianlzt wants to merge 3 commits into
adrianlzt wants to merge 3 commits into
Conversation
Refactor to properly handle HTTP requests spanning multiple TCP packets. Instead of processing each packet individually, the tool now reassembles TCP streams and extracts complete HTTP requests with their bodies. Changes: - Remove -p/--port argument; auto-detect HTTP on any port - Group packets by TCP connection (4-tuple) - Reassemble stream data ordered by TCP sequence numbers - Extract request bodies using Content-Length header - Add interactive menu to select connections for curl output - Detect and mark TLS/encrypted connections as non-selectable - Handle multiple requests per connection (keep-alive/pipelining) - Add *.pcap to gitignore
Replace legacy setup.py with modern pyproject.toml configuration. Bump version to 0.2 to reflect the new TCP stream reassembly feature. Changes: - Add pyproject.toml with hatchling build backend - Remove setup.py - Add uv.lock for dependency locking - Update README to reflect TCP stream reassembly support
Add installation instructions using uvx and a complete example showing the interactive connection selection workflow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
TCP Stream Reassembly
Interactive Selection
Build System
Example
Coded using an LLM.