aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.toml
Commit message (Collapse)AuthorAgeFilesLines
* Publish local windivert crate to crates.iodilluti0n2026-07-151-1/+1
| | | | To publish dpibreak to there
* Bump version to 0.6.2v0.6.2dilluti0n2026-07-151-2/+2
|
* windows: touch WinDivert service at start to prevent bad state issuedilluti0n2026-07-141-0/+1
| | | | | | | | | | | | | | Query the service state with `sc query windivert` at startup, as this is observed to resolve the bad state described in commit 168a88b8 ("windows: fix some kind of race"). This is a defensive measure against the driver uninstall introduced by that commit. Normally the uninstall is attempted only after all handles opened by the current process are closed, but if another process still holds an open WinDivert handle at that point, the driver can remain stuck in a bad state on subsequent runs. Link: https://github.com/basil00/WinDivert/issues/406
* windows: windivert: nit: add to workspacedilluti0n2026-07-131-0/+2
|
* windows: pull windivert-0.6.0 to local crate/ dir from crates.iodilluti0n2026-07-131-1/+1
| | | | | | This is pulled from cargo cache: cp -r ~/.cargo/registry/src/index.crates.io-*/windivert-0.6.0 \ crates/windivert
* linux: rxring: fix tp_snaplen treated as the L3 length instead L2dilluti0n2026-07-101-0/+1
| | | | | | | | | While solving it, introduced Pkt abstraction so that advance() is automatically executed upon dropping it. This change still allows access to mmapped pointers within the Pkt.net() and enables the addition of other slice fields (such as mac) later.
* linux: drop nix, add wrapper libc_s insteaddilluti0n2026-07-061-1/+0
| | | | | | | | | | | | | When I updated nix to 0.31, `nix::fcntl::flock` became deprecated and unusable. At first I try to refactor `lock_pid_file()` to use the `lock` method of the `nix::fcntl::Flock` struct, but a situation arose where `set_len(0)` could not be called due to ownership issues. Linux system calls are fundamentally simple, stable, and backward compatible. Therefore, a compat layer is not necessary. Anticipating that this might happen again, this commit introduce the `libc_s`, which handles simple error processing for unsafe ffis in libc syscall bindings.
* nit: update emaildilluti0n2026-07-061-1/+1
|
* linux: drop ctrlc crate and use signalfd insteaddilluti0n2026-06-291-1/+0
| | | | | | This integrates well with the main poll loop and removes the global AtomicBool RUNNING, which previously did nothing but detect interrupts before entering the loop.
* Bump version to 0.6.1dilluti0n2026-04-161-1/+1
|
* build: declare MSRV as 1.88dilluti0n2026-04-081-0/+1
| | | | | | | | The hot loop in src/platform/linux.rs uses if-let chains:(`if cond && let Some(x) = expr`), stabilised in Rust 1.88. Older toolchains fail with a cryptic E0658 feature-gate error; declaring rust-version surfaces a clear "package requires rustc 1.88 or newer" message at cargo invocation time instead.
* Bump version to 0.6.0v0.6.0dilluti0n2026-04-051-1/+1
|
* Bump version to 0.5.1v0.5.1dilluti0n2026-03-101-1/+1
|
* Bump version to 0.5.0v0.5.0dilluti0n2026-03-021-1/+1
|
* windows: simplify packet handling with recv_loop macrohskimse2026-03-011-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 enableddilluti0n2026-02-261-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 syntaxdilluti0n2026-02-261-1/+0
| | | | 100 lines of JSON soup -> 16 lines of actual nftables
* docs: change description, refine manualdilluti0n2026-02-201-1/+1
|
* Bump version to 0.4.3dilluti0n2026-02-161-1/+1
|
* log: drop chrono, use localtime_r and GetLocalTime directlydilluti0n2026-02-161-1/+1
| | | | 24 KiB is precious :)
* log: print time with crate chronodilluti0n2026-02-161-0/+1
|
* Bump version to 0.4.2dilluti0n2026-02-161-1/+1
|
* linux: exit if not rootdilluti0n2026-02-161-1/+1
|
* Bump version to 0.4.1v0.4.1dilluti0n2026-02-151-1/+1
|
* Bump version to 0.4.0dilluti0n2026-02-151-1/+1
|
* windows: implement windows servicedilluti0n2026-02-151-0/+1
| | | | | | | | | Revert lock_handle() send_to_raw cannot get a mutex since lock is not released per iteration. commit e08b57d281d8368dc02f06e3b6cd43edf88b2438
* linux: implement daemonizedilluti0n2026-02-151-1/+2
| | | | | Closes: #2 Link: https://github.com/dilluti0n/dpibreak/issues/2
* build: preprocess version of dpibreak.1dilluti0n2026-02-031-0/+3
|
* Bump version to 0.3.0v0.3.0dilluti0n2026-02-011-1/+1
| | | | Closes: https://github.com/dilluti0n/dpibreak/issues/12
* Add benchmark for pkt/hoptab, add feature bench for internal benchesdilluti0n2026-01-231-0/+11
|
* Bump version to v0.2.2v0.2.2dilluti0n2026-01-181-1/+1
|
* linux: drop iptables crate (regex dep) to reduce binary sizedilluti0n2026-01-181-1/+0
| | | | Introduce minimal iptables wrapper.
* build: enable LTO and panic=abort to reduce binary sizedilluti0n2026-01-181-0/+4
|
* Bump version to v0.2.1v0.2.1dilluti0n2026-01-161-1/+1
|
* Bump version to 0.2.0v0.2.0dilluti0n2026-01-161-1/+1
|
* Bump version to 0.1.1v0.1.1dilluti0n2026-01-121-1/+1
|
* Bump version to 0.1.0v0.1.0dilluti0n2026-01-051-1/+1
|
* Update license notice; Happy new year!dilluti0n2026-01-051-1/+1
|
* Bump version to 0.0.7v0.0.7dilluti0n2026-01-041-1/+1
|
* Bump version to 0.0.6v0.0.6dilluti0n2025-12-281-1/+1
|
* ci: switch nfq dependency to crates.io-compatible nfq-updateddilluti0n2025-12-281-1/+1
|
* ci: add readme metadata on Cargo.tomldilluti0n2025-12-281-0/+1
|
* Bump version to 0.0.5v0.0.5dilluti0n2025-12-221-1/+1
|
* Bump version to 0.0.4v0.0.4dilluti0n2025-10-291-1/+1
|
* linux: switch to apply_nft_rules() from nftables-rs for rule settingdilluti0n2025-10-291-1/+0
| | | | | nftables-rs didn’t fit use case, so it was decoupled, and logging was improved.
* Bump version to 0.0.3v0.0.3dilluti0n2025-10-061-1/+1
|
* Move linux-only dependencies on Cargo.tomldilluti0n2025-10-061-2/+2
|
* platform: linux: add nftables support with iptables fallbackdilluti0n2025-10-031-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.2dilluti0n2025-09-111-2/+2
|
* Update package descriptiondilluti0n2025-09-071-1/+1
|