| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Bump version to 0.5.1v0.5.1 | dilluti0n | 2026-03-10 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.5.0v0.5.0 | dilluti0n | 2026-03-02 | 1 | -1/+1 |
| | | |||||
| * | windows: simplify packet handling with recv_loop macro | hskimse | 2026-03-01 | 1 | -2/+2 |
| | | | | | | | | | | Replace generic spawn_recv with recv_loop macro that encapsulates the buffer allocation and receive loop. Divert handle now runs directly on the main thread, while sniff handle spawns a dedicated thread only when fake_autottl is enabled. This eliminates the mpsc channel, Event enum, and the race condition where concurrent open_handle calls during driver initialization could cause error 1058. | ||||
| * | linux: fix rxring initialized even if fake_autottl not enabled | dilluti0n | 2026-02-26 | 1 | -1/+1 |
| | | | | | | | | Conditionally initialize rxring only when fake_autottl is enabled. Extract poll_once() using libc::poll directly; fd=-1 trick eliminates the need for conditional branching on optional rxring fd, as poll sets revents=0 for negative fds per POSIX. Drop nix poll feature. | ||||
| * | linux: nftables: drop serde_json, use nft text syntax | dilluti0n | 2026-02-26 | 1 | -1/+0 |
| | | | | | 100 lines of JSON soup -> 16 lines of actual nftables | ||||
| * | docs: change description, refine manual | dilluti0n | 2026-02-20 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.4.3 | dilluti0n | 2026-02-16 | 1 | -1/+1 |
| | | |||||
| * | log: drop chrono, use localtime_r and GetLocalTime directly | dilluti0n | 2026-02-16 | 1 | -1/+1 |
| | | | | | 24 KiB is precious :) | ||||
| * | log: print time with crate chrono | dilluti0n | 2026-02-16 | 1 | -0/+1 |
| | | |||||
| * | Bump version to 0.4.2 | dilluti0n | 2026-02-16 | 1 | -1/+1 |
| | | |||||
| * | linux: exit if not root | dilluti0n | 2026-02-16 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.4.1v0.4.1 | dilluti0n | 2026-02-15 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.4.0 | dilluti0n | 2026-02-15 | 1 | -1/+1 |
| | | |||||
| * | windows: implement windows service | dilluti0n | 2026-02-15 | 1 | -0/+1 |
| | | | | | | | | | | Revert lock_handle() send_to_raw cannot get a mutex since lock is not released per iteration. commit e08b57d281d8368dc02f06e3b6cd43edf88b2438 | ||||
| * | linux: implement daemonize | dilluti0n | 2026-02-15 | 1 | -1/+2 |
| | | | | | | Closes: #2 Link: https://github.com/dilluti0n/dpibreak/issues/2 | ||||
| * | build: preprocess version of dpibreak.1 | dilluti0n | 2026-02-03 | 1 | -0/+3 |
| | | |||||
| * | Bump version to 0.3.0v0.3.0 | dilluti0n | 2026-02-01 | 1 | -1/+1 |
| | | | | | Closes: https://github.com/dilluti0n/dpibreak/issues/12 | ||||
| * | Add benchmark for pkt/hoptab, add feature bench for internal benches | dilluti0n | 2026-01-23 | 1 | -0/+11 |
| | | |||||
| * | Bump version to v0.2.2v0.2.2 | dilluti0n | 2026-01-18 | 1 | -1/+1 |
| | | |||||
| * | linux: drop iptables crate (regex dep) to reduce binary size | dilluti0n | 2026-01-18 | 1 | -1/+0 |
| | | | | | Introduce minimal iptables wrapper. | ||||
| * | build: enable LTO and panic=abort to reduce binary size | dilluti0n | 2026-01-18 | 1 | -0/+4 |
| | | |||||
| * | Bump version to v0.2.1v0.2.1 | dilluti0n | 2026-01-16 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.2.0v0.2.0 | dilluti0n | 2026-01-16 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.1.1v0.1.1 | dilluti0n | 2026-01-12 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.1.0v0.1.0 | dilluti0n | 2026-01-05 | 1 | -1/+1 |
| | | |||||
| * | Update license notice; Happy new year! | dilluti0n | 2026-01-05 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.0.7v0.0.7 | dilluti0n | 2026-01-04 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.0.6v0.0.6 | dilluti0n | 2025-12-28 | 1 | -1/+1 |
| | | |||||
| * | ci: switch nfq dependency to crates.io-compatible nfq-updated | dilluti0n | 2025-12-28 | 1 | -1/+1 |
| | | |||||
| * | ci: add readme metadata on Cargo.toml | dilluti0n | 2025-12-28 | 1 | -0/+1 |
| | | |||||
| * | Bump version to 0.0.5v0.0.5 | dilluti0n | 2025-12-22 | 1 | -1/+1 |
| | | |||||
| * | Bump version to 0.0.4v0.0.4 | dilluti0n | 2025-10-29 | 1 | -1/+1 |
| | | |||||
| * | linux: switch to apply_nft_rules() from nftables-rs for rule setting | dilluti0n | 2025-10-29 | 1 | -1/+0 |
| | | | | | | nftables-rs didn’t fit use case, so it was decoupled, and logging was improved. | ||||
| * | Bump version to 0.0.3v0.0.3 | dilluti0n | 2025-10-06 | 1 | -1/+1 |
| | | |||||
| * | Move linux-only dependencies on Cargo.toml | dilluti0n | 2025-10-06 | 1 | -2/+2 |
| | | |||||
| * | platform: linux: add nftables support with iptables fallback | dilluti0n | 2025-10-03 | 1 | -0/+2 |
| | | | | | | | | | | | Introduce nftables rules under a dedicated "dpibreak" table and chain. Traffic on TCP port 443 is queued using NFQUEUE. If nftables is not supported, fall back to the existing iptables-based rules for both IPv4 and IPv6. Also update cleanup logic to remove nftables table if used, or iptables rules otherwise. | ||||
| * | Bump version to 0.0.2v0.0.2 | dilluti0n | 2025-09-11 | 1 | -2/+2 |
| | | |||||
| * | Update package description | dilluti0n | 2025-09-07 | 1 | -1/+1 |
| | | |||||
| * | Update copyright notices to notice email instead of github link | dilluti0n | 2025-09-05 | 1 | -2/+2 |
| | | |||||
| * | Update version and metadatas on Cargo.toml | dilluti0n | 2025-09-05 | 1 | -1/+7 |
| | | | | | * Use: Cargo.toml inside on program | ||||
| * | Add license document and copyright notice headers | dilluti0n | 2025-09-05 | 1 | -0/+17 |
| | | |||||
| * | Decouple once_cell by replacing it with standard lib | Dilluti0n | 2025-08-23 | 1 | -1/+0 |
| | | |||||
| * | build: use winres to add manifest for windows binary | dilluti0n | 2025-08-06 | 1 | -2/+4 |
| | | |||||
| * | minor: set WINDIVERT_PATH for windows build | dilluti0n | 2025-08-06 | 1 | -0/+1 |
| | | |||||
| * | implement: not-working framework for windows | dilluti0n | 2025-08-06 | 1 | -1/+2 |
| | | |||||
| * | fix: windows build errors | dilluti0n | 2025-08-06 | 1 | -1/+1 |
| | | |||||
| * | refactor: move platform-dependent code to mod platform | dilluti0n | 2025-07-27 | 1 | -3/+8 |
| | | |||||
| * | revert ctrlc to override default SIGINT handler | dilluti0n | 2025-07-22 | 1 | -0/+1 |
| | | |||||
| * | feat: poll NFQUEUE socket instead sleep on main loop | dilluti0n | 2025-07-22 | 1 | -2/+1 |
| | | | | | | | | | | | The main motivation for using poll + recv (even with a single FD) is that blocking recv() is not interrupted by SIGINT, likely due to SA_RESTART being enabled by default. On the other hand, poll() is always interruptible by signals regardless of SA_RESTART. Instead of manually configuring sigaction in Rust, using poll here is simpler and more reliable. | ||||
| * | implement: send_to_raw; open raw socket and sendto it! | dilluti0n | 2025-07-21 | 1 | -1/+2 |
| | | | | | * important: it works !! | ||||
