Skip to content

Qwen code 39fbeade b98c 43cc 8d61 7c02f7f364b4 - #851

Open
00mpaL0ompa wants to merge 2 commits into
ValdikSS:masterfrom
00mpaL0ompa:qwen-code-39fbeade-b98c-43cc-8d61-7c02f7f364b4
Open

00mpaL0ompa wants to merge 2 commits into
ValdikSS:masterfrom
00mpaL0ompa:qwen-code-39fbeade-b98c-43cc-8d61-7c02f7f364b4

Conversation

@00mpaL0ompa

Copy link
Copy Markdown

No description provided.

Key features implemented:
- Added src/acksplit.c and src/acksplit.h implementing TCP ACK splitting with plain and SACK modes for DPI circumvention
- Added src/qos.c and src/qos.h implementing DSCP packet marking with low priority WinDivert handle
- Extended main filter string in goodbyedpi.c to include ACK splitting traffic for ports 80/443
- Added command line options --ack-split, --ack-split-sack, --ack-split-bytes, --ack-keep-wscale, --qos-dscp
- Integrated ACK splitting logic into main packet processing loop with connection tracking
- Enhanced checksum recalculation condition to prevent unnecessary processing on injected packets

This commit adds sophisticated TCP-level DPI circumvention techniques by allowing fine-grained control over ACK packets and outbound packet prioritization through DSCP marking, integrated seamlessly into the existing WinDivert-based architecture.
Key features implemented:
- Updated .gitignore with comprehensive exclusion patterns for build artifacts, dependencies, logs, environment files, editors, system files, coverage reports, and compressed files
- Refactored src/goodbyedpi.c main function to improve ACK splitting handling by adding conditional checks for ACK splitting in outbound TCP packet processing
- Enhanced TCP packet processing logic with improved checksum recalculation and packet reinjection flow
- Added TCP handle outgoing TTL parsing for fake packet functionality

The refactoring improves code maintainability and extends DPI circumvention capabilities with better ACK splitting integration.
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