| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | windows: add close WinDivert handles on thread exit | dilluti0n | 2026-02-27 | 1 | -19/+21 | |
| | | | | | | | | | | | | | Move handle lifecycle into spawn_recv so each handle is properly closed when RUNNING becomes false. Filter and flags are passed in instead of a pre-opened handle. | |||||
| | * | windows: refactor thread spawnings to spawn_recv helper | dilluti0n | 2026-02-27 | 1 | -29/+28 | |
| | | | ||||||
| | * | windows: split WinDivert into separate recv/send/sniff handles | dilluti0n | 2026-02-27 | 2 | -72/+106 | |
| | | | | | | | | | | | | | windows: add cleanup for SEND_HANDLE windows: fix every packet goes to send-only handle | |||||
| | * | pkt: add hop infer log to put_hop_1 | dilluti0n | 2026-02-26 | 1 | -1/+10 | |
| | | | ||||||
| | * | pkt: move fake_autottl check out of put_hop_1 to caller | dilluti0n | 2026-02-26 | 2 | -25/+18 | |
| | | | | | | | | | pkt: inline hop inference into put_hop_1, decoupling it from fake | |||||
| | * | linux: fix rxring initialized even if fake_autottl not enabled | dilluti0n | 2026-02-26 | 3 | -28/+43 | |
| | | | | | | | | | | | | | | | 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: refactor run() into open_nfqueue/open_rxring helpers | dilluti0n | 2026-02-26 | 2 | -54/+60 | |
| | | | | | | | | | | | | | | | | | Extract nfqueue initialization (open, bind, set O_NONBLOCK) and rxring initialization (cBPF filter, open) into separate functions. Inline BorrowedFd scope as a let binding to eliminate floating q_ready/rx_ready declarations. Move SYNACK_443_CBPF const into open_rxring. | |||||
| | * | linux: rxring: implement current_packet and advance | dilluti0n | 2026-02-26 | 2 | -24/+62 | |
| | | | | | | | | | | | | | | | | | - Split next_packet into current_packet (read) and advance (release) to avoid TOCTOU between kernel overwrite and packet processing - Add current_frame helper to avoid duplicated pointer arithmetic - Switch AF_PACKET socket to ETH_P_ALL for future IPv6 support - Add FRAME_SIZE comment explaining 128B is sufficient for IP header | |||||
| | * | linux: rxring: implement RxRing::new | dilluti0n | 2026-02-26 | 2 | -7/+93 | |
| | | | ||||||
| | * | linux: add rxring skeleton and integrate into run loop | dilluti0n | 2026-02-26 | 3 | -23/+111 | |
| | | | | | | | | | | | | | | | - Add rxring module with RxRing struct (new/next_packet unimplemented) - Attach cBPF filter for TCP src port 443 SYN/ACK packets - Multiplex nfqueue and rxring via poll in run loop - Move fake_autottl SYN/ACK handling to pkt::put_hop | |||||
| | * | linux: nftables: drop serde_json, use nft text syntax | dilluti0n | 2026-02-26 | 3 | -100/+13 | |
| | | | | | | | | | 100 lines of JSON soup -> 16 lines of actual nftables | |||||
| | * | linux: nftables: remove syn/ack filter from nftables | dilluti0n | 2026-02-26 | 1 | -59/+0 | |
| |/ | ||||||
| * | pkt: fix infer_hops to use 128, not 126 | dilluti0n | 2026-02-26 | 1 | -2/+2 | |
| | | | | | add debug log for infer_hops | |||||
| * | nit: rename main_0 to _1 | dilluti0n | 2026-02-26 | 1 | -2/+2 | |
| | | ||||||
| * | pkt: add debug log to send_split with dst, segments, payload len | dilluti0n | 2026-02-26 | 1 | -6/+10 | |
| | | ||||||
| * | log: defer local_time() call until log level check passes | dilluti0n | 2026-02-26 | 1 | -1/+1 | |
| | | ||||||
| * | pkt: nit: rename split_packet_0/split_packet/split_packet_1 | dilluti0n | 2026-02-26 | 2 | -8/+8 | |
| | | | | | to build_packet/build_segment/send_split | |||||
| * | pkt: rename hoptab public API, drop _0 suffix | dilluti0n | 2026-02-26 | 3 | -19/+19 | |
| | | ||||||
| * | linux: remove Mutex from RAW4/RAW6, Socket is already Sync | dilluti0n | 2026-02-26 | 1 | -13/+9 | |
| | | ||||||
| * | Refactor send_to_raw to remove in-place packet reparsing | dilluti0n | 2026-02-26 | 3 | -23/+17 | |
| | | | | | | | Pass destination address from PktView::daddr() at call site instead of re-extracting it from raw bytes inside send_to_raw. Windows side ignores the argument. Also add #[inline] to PktView accessor methods. | |||||
| * | windows: nit: swap service_run/service_run_1 naming convention | dilluti0n | 2026-02-26 | 1 | -4/+4 | |
| | | ||||||
| * | linux: nit: swap daemonize/daemonize_1 naming convention | dilluti0n | 2026-02-26 | 1 | -4/+4 | |
| | | ||||||
| * | docs: README.md: fix typo | dilluti0n | 2026-02-24 | 1 | -1/+1 | |
| | | ||||||
| * | docs: README.md: fix | dilluti0n | 2026-02-24 | 1 | -6/+6 | |
| | | ||||||
| * | docs: README.md: mention cross-platform support explicitly | dilluti0n | 2026-02-24 | 1 | -3/+3 | |
| | | ||||||
| * | docs: README.md: rewrite Afterword for clarity and flow | dilluti0n | 2026-02-24 | 1 | -32/+35 | |
| | | ||||||
| * | docs: README.md: revert logo | dilluti0n | 2026-02-24 | 1 | -2/+1 | |
| | | ||||||
| * | docs: README.md: refine footnotes align and re-introduce gpl logo | dilluti0n | 2026-02-24 | 1 | -10/+4 | |
| | | ||||||
| * | docs: README.md: cut unnecessary things | dilluti0n | 2026-02-24 | 1 | -4/+0 | |
| | | ||||||
| * | docs: README.md: fix render issues | dilluti0n | 2026-02-24 | 1 | -0/+3 | |
| | | ||||||
| * | docs: README.md: refine | dilluti0n | 2026-02-24 | 1 | -1/+1 | |
| | | ||||||
| * | docs: README.md: refine | dilluti0n | 2026-02-24 | 1 | -1/+1 | |
| | | ||||||
| * | docs: README.md: fix render issues | dilluti0n | 2026-02-24 | 1 | -6/+5 | |
| | | ||||||
| * | docs: README.md: add afterword, refine quickstart, add platform info | dilluti0n | 2026-02-24 | 1 | -26/+75 | |
| | | ||||||
| * | docs: README: fix backquote | dilluti0n | 2026-02-22 | 1 | -3/+3 | |
| | | ||||||
| * | docs: README: add & update many things | dilluti0n | 2026-02-22 | 1 | -49/+81 | |
| | | ||||||
| * | install.sh: remove make dependency | dilluti0n | 2026-02-21 | 1 | -1/+26 | |
| | | ||||||
| * | docs: change description, refine manual | dilluti0n | 2026-02-20 | 5 | -97/+84 | |
| | | ||||||
| * | docs: dpibreak.1: simplify expressions | dilluti0n | 2026-02-20 | 2 | -65/+65 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -4/+4 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -0/+1 | |
| | | ||||||
| * | Revert "docs: README: remove logo and add cute icon on title" | dilluti0n | 2026-02-17 | 1 | -1/+2 | |
| | | | | | This reverts commit 09794890506de7eb83f3d29cb4685b4b360e328c. | |||||
| * | docs: README: remove logo and add cute icon on title | dilluti0n | 2026-02-17 | 1 | -2/+1 | |
| | | ||||||
| * | docs: README: remove How to use | dilluti0n | 2026-02-17 | 1 | -15/+3 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -1/+1 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -4/+6 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -25/+25 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -28/+28 | |
| | | ||||||
| * | docs: README: update | dilluti0n | 2026-02-17 | 1 | -3/+3 | |
| | | ||||||
| * | docs: README: add install.sh method | dilluti0n | 2026-02-17 | 1 | -4/+13 | |
| | | ||||||
