aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAgeFilesLines
...
* docs: CHANGELOG: updatedilluti0n2026-02-011-1/+2
|
* Bump version to 0.3.0v0.3.0dilluti0n2026-02-014-23/+25
| | | | Closes: https://github.com/dilluti0n/dpibreak/issues/12
* docs: README: updatedilluti0n2026-02-011-8/+13
|
* windows: start_fake.bat: enable --fake-autottl defaultlydilluti0n2026-02-011-1/+1
|
* docs: dpibreak.1: add --fake-autottldilluti0n2026-02-012-8/+39
|
* docs: dpibreak.1: update changed --fake depsdilluti0n2026-02-012-7/+7
|
* opt: add implicit dependancy between --fake-* and --fakedilluti0n2026-01-311-3/+3
| | | | Now --fake-* options implicitly turn on --fake option.
* docs: README: add unmask inst on gentoodilluti0n2026-01-311-0/+1
|
* Merge branch 'feat/fake-autottl'dilluti0n2026-01-2710-100/+1388
|\
| * pkt: fake: adjust autottl_delta to 1dilluti0n2026-01-231-1/+1
| |
| * pkt: remove pub on internal codesdilluti0n2026-01-231-8/+8
| |
| * Add benchmark for pkt/hoptab, add feature bench for internal benchesdilluti0n2026-01-234-0/+578
| |
| * pkt: hoptab: add testsdilluti0n2026-01-231-0/+140
| |
| * pkt: hoptab: implement priority-based evictiondilluti0n2026-01-231-35/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Introduce `EvictPriority` enum. - Optimize `is_stale` and `evict_priority` by passing entry references to eliminate redundant memory loads. pkt: hoptab: derive stale age from CAP Replace the magic `64` threshold with `STALE_AGE = CAP >> 1` and make the stale check inclusive (`age >= STALE_AGE`). This keeps the eviction/staleness policy consistent when CAP changes and documents the intended half-table age cutoff. pkt: hoptab: add compile time assertion for CAP pkt: hoptab: add comments
| * pkt: hoptab: fix find_hop occupancy checkdilluti0n2026-01-231-3/+49
| | | | | | | | | | Use ST_OCCUPIED instead of ST_EMPTY to avoid skipping valid entries; add debug logs
| * pkt: fake: implement infer_hopsdilluti0n2026-01-231-2/+15
| |
| * pkt: implement hop cache for --fake-autottldilluti0n2026-01-233-15/+286
| | | | | | | | | | | | | | | | | | - 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-232-85/+121
| |
| * pkt: add SYN/ACK(443) detection hook for fake-autottldilluti0n2026-01-231-0/+17
| |
| * windows: extend WinDivert filter for --fake-autottldilluti0n2026-01-232-6/+19
| | | | | | | | | | | | | | Build WinDivert filter at runtime: - Default: outbound TLS ClientHello packets - --fake-autottl: also capture inbound SYN/ACK from tcp sport 443 Keep !impostor to avoid recapture.
| * linux: iptables: implement SYN/ACK capture on --fake-autottldilluti0n2026-01-231-0/+19
| | | | | | | | | | | | - Add mangle/INPUT jump to DPIBREAK - Queue tcp sport 443 SYN/ACK packets (NFQUEUE --queue-bypass) - Cleanup removes INPUT jump as well
| * linux: nftables: queue SYN/ACK on --fake-autottldilluti0n2026-01-231-0/+59
| | | | | | | | - simplify nftables rules by removing DPIBREAK chain
| * opt: add option --fake-autottldilluti0n2026-01-231-7/+18
|/
* scripts: migrate test-url from bash to python to use asynciodilluti0n2026-01-232-42/+32
|
* linux: refactor rules backend into iptables/nftables modulesdilluti0n2026-01-233-301/+310
| | | | | | | Split iptables and nftables rule management into dedicated modules. Keep linux.rs focused on shared helpers and rule dispatch. (cherry picked from commit 60c0011ca0cf5a463056fca17f2f747e762e19f9)
* scripts: add test-urldilluti0n2026-01-221-0/+52
|
* platform: drop pub on internal constdilluti0n2026-01-221-2/+2
|
* docs: WINDOWS_GUIDE.txt: updatedilluti0n2026-01-201-3/+5
|
* Bump version to v0.2.2v0.2.2dilluti0n2026-01-183-6/+9
|
* linux: drop iptables crate (regex dep) to reduce binary sizedilluti0n2026-01-183-117/+78
| | | | Introduce minimal iptables wrapper.
* build: enable LTO and panic=abort to reduce binary sizedilluti0n2026-01-181-0/+4
|
* docs: README.md: polish the wordingdilluti0n2026-01-171-4/+0
|
* docs: README.md: replace manual installationdilluti0n2026-01-171-31/+14
|
* docs: README.md: change cargo link recommendationdilluti0n2026-01-171-1/+1
|
* docs: README.md: add Gentoo GURU instructiondilluti0n2026-01-171-1/+10
|
* Bump version to v0.2.1v0.2.1dilluti0n2026-01-163-2/+5
|
* opt: change default release log level to Warning as expecteddilluti0n2026-01-161-1/+1
|
* pkt: add debug_assertions to prevent cargo warningsdilluti0n2026-01-161-1/+3
|
* Bump version to 0.2.0v0.2.0dilluti0n2026-01-164-5/+9
|
* opt: deprecate `--loglevel` in favor of `--log-level`dilluti0n2026-01-163-5/+15
|
* opt: set default opts to DEFAULT_* to centralize init & usage outputdilluti0n2026-01-161-36/+46
|
* opt: use DEFAULT_LOG_LEVEL in arg parserdilluti0n2026-01-161-4/+1
| | | | | Initialize log_level from DEFAULT_LOG_LEVEL instead of duplicated cfg(debug_assertions) branches in parse_args_1().
* opt: fix OPT_LOG_LEVEL not initialized panicdilluti0n2026-01-161-2/+4
|
* opt: add comment for OPT_LOG_LEVEL initialize seqdilluti0n2026-01-161-0/+1
|
* Refactor main.rs; modulize opt.rs and pkt.rsdilluti0n2026-01-165-269/+283
| | | | | Move option parsing to opt.rs and packet handling to pkt.rs from main.rs
* Merge branch 'feat/fake-badsum'dilluti0n2026-01-166-32/+91
|\
| * docs: dpibreak.1: add --fake-badsum on manualdilluti0n2026-01-162-16/+35
| |
| * pkt: support overriding TCP checksum (badsum) in split_packet_0dilluti0n2026-01-162-12/+38
| | | | | | | | | | | | - Extend split_packet_0 to optionally override TCP checksum. - Compute L3 header length for IPv4/IPv6 and patch checksum field when requested. - Wire fake_clienthello to set checksum to 0 when fake_badsum() is enabled.
| * windows: do not recalculate tcp checksum when send_to_rawdilluti0n2026-01-161-3/+3
| | | | | | | | For --fake-badsum work; Anyway, it is already calculated
| * windows: add SKIP_BUILD_RS on build.rsdilluti0n2026-01-141-1/+6
| |