aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pkt/fake.rs
Commit message (Collapse)AuthorAgeFilesLines
* log: add debug!/info!/warn!/error! macros and refactor to use itdilluti0n2026-03-021-8/+2
|
* pkt: move fake_autottl check out of put_hop_1 to callerdilluti0n2026-02-261-22/+0
| | | | pkt: inline hop inference into put_hop_1, decoupling it from fake
* pkt: fix infer_hops to use 128, not 126dilluti0n2026-02-261-2/+2
| | | | add debug log for infer_hops
* pkt: nit: rename split_packet_0/split_packet/split_packet_1dilluti0n2026-02-261-1/+1
| | | | to build_packet/build_segment/send_split
* pkt: rename hoptab public API, drop _0 suffixdilluti0n2026-02-261-2/+2
|
* pkt: fake: adjust autottl_delta to 1dilluti0n2026-01-231-1/+1
|
* pkt: fake: implement infer_hopsdilluti0n2026-01-231-2/+15
|
* pkt: implement hop cache for --fake-autottldilluti0n2026-01-231-6/+21
| | | | | | | | | - add pkt::hoptab: small fixed-size hash table keyed by IP (v4-mapped/v6) with TTL-based staleness + simple eviction - store (src_ip -> inferred hop) on SYN/ACK from :443 - lookup (dst_ip -> hop) when crafting fake ClientHello, fallback to --fake-ttl on miss - add PktView helpers: ttl(), saddr(), daddr()
* pkt: move fake ClientHello logic into pkt::fake moduledilluti0n2026-01-231-0/+115