summaryrefslogtreecommitdiffhomepage
path: root/src/pkt.rs
Commit message (Collapse)AuthorAgeFilesLines
* Add fake ClientHello injection runtime optionsdilluti0n2025-12-301-3/+7
| | | | | - Add --fake flag to enable fake ClientHello injection - Add --fake-ttl option to override TTL of fake packets
* Consolidate fake ClientHello and split packet logicdilluti0n2025-12-301-24/+21
| | | | Introduce send_segment abstraction
* Prevent infinite loop on packet injection/filteringdilluti0n2025-12-301-1/+1
| | | | | - linux: fix infinite NFQUEUE loop by marking injected packets - windows: by marking packet to impostor
* Implement fake ClientHello injection with const TTLdilluti0n2025-12-301-2/+76
|
* Add dummy tls clienthello packetdilluti0n2025-12-301-0/+63
|
* Update copyright notices to notice email instead of github linkdilluti0n2025-09-051-1/+1
|
* Add license document and copyright notice headersdilluti0n2025-09-051-0/+17
|
* Remove unused field PktView.rawdilluti0n2025-08-211-2/+1
|
* Introduce PktView to remove duplicate packet parsinghskim2025-08-201-0/+18
- Added new `pkt.rs` with `PktView` struct wrapping `IpSlice` and `TcpSlice` - Updated `split_packet` and `handle_packet` to use `PktView` - Removed repeated calls to `IpSlice::from_slice` / `TcpSlice::from_slice` - Simplifies code and ensures parsing happens only once per packet