| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | docs: refine wording in README.md | dilluti0n | 2025-09-07 | 1 | -7/+8 | |
| | | ||||||
| * | docs: expand bugs-to section with more detailed explaination | dilluti0n | 2025-09-07 | 3 | -17/+37 | |
| | | ||||||
| * | manual: update package description | dilluti0n | 2025-09-07 | 2 | -2/+2 | |
| | | ||||||
| * | README.md: add many sections | dilluti0n | 2025-09-07 | 1 | -3/+72 | |
| | | ||||||
| * | Add changelog | dilluti0n | 2025-09-07 | 1 | -0/+3 | |
| | | ||||||
| * | Add markdown version of manual rendered with pandoc from dpibreak.1 | dilluti0n | 2025-09-07 | 1 | -0/+111 | |
| | | | | | pandoc -f man -t gfm --shift-heading-level-by=1 dpibreak.1 -o dpibreak.1.md | |||||
| * | Add manual page | dilluti0n | 2025-09-07 | 1 | -0/+131 | |
| | | ||||||
| * | scripts: set target to x86_64-unknown-linux-musl on release | dilluti0n | 2025-09-07 | 1 | -9/+46 | |
| | | | | | | The binary size is about 3MB before stripping anyway, so whether it’s built with musl or glibc doesn’t really make a difference. | |||||
| * | Update package description | dilluti0n | 2025-09-07 | 2 | -3/+3 | |
| | | ||||||
| * | scripts: implement release script for linux | dilluti0n | 2025-09-05 | 2 | -0/+43 | |
| | | ||||||
| * | res: update icon | dilluti0n | 2025-09-05 | 1 | -0/+0 | |
| | | ||||||
| * | Update copyright notices to notice email instead of github link | dilluti0n | 2025-09-05 | 11 | -13/+12 | |
| | | ||||||
| * | main: fix typo on splash message. | dilluti0n | 2025-09-05 | 1 | -1/+1 | |
| | | ||||||
| * | README.md: update copyright notice | dilluti0n | 2025-09-05 | 1 | -14/+3 | |
| | | ||||||
| * | Update version and metadatas on Cargo.toml | dilluti0n | 2025-09-05 | 4 | -6/+17 | |
| | | | | | * Use: Cargo.toml inside on program | |||||
| * | README.md: add disclaimer | dilluti0n | 2025-09-05 | 1 | -0/+6 | |
| | | ||||||
| * | Add windows program icons and embed with it build.rs | dilluti0n | 2025-09-05 | 7 | -0/+1 | |
| | | ||||||
| * | Add license document and copyright notice headers | dilluti0n | 2025-09-05 | 14 | -0/+866 | |
| | | ||||||
| * | Implement add-header.sh to add license header | dilluti0n | 2025-09-05 | 1 | -0/+56 | |
| | | ||||||
| * | Add help message for flag --no-splash | dilluti0n | 2025-09-05 | 1 | -0/+1 | |
| | | ||||||
| * | log: update error message | dilluti0n | 2025-09-05 | 1 | -1/+1 | |
| | | ||||||
| * | Add splash message and option --no-splash | dilluti0n | 2025-09-05 | 1 | -1/+18 | |
| | | ||||||
| * | Add flag --loglevel to set loglevel on runtime | dilluti0n | 2025-09-03 | 2 | -10/+51 | |
| | | | | | | | | | | | | | | | | * Introduce: `DEFAULT_LOG_LEVEL` and `LOG_LEVEL_OVERRIDE` (OnceLock) in log.rs. * Add: `set_log_level()` and `current_log_level()`; gate defaults by `debug_assertions`. * Implement: `FromStr` for `LogLevel` with a proper error type (`ParseLogLevelError`). * Update: `log_println!` to respect `current_log_level()` and use `format_args!`. * Extend: CLI: `--loglevel <debug|info|warning|error>` and reflect it in `usage()`. * Replace: ad-hoc prints with `log_println!` and plumb parsed level into `set_log_level`. | |||||
| * | Tidy up LogLevel enum definition | dilluti0n | 2025-09-03 | 4 | -21/+21 | |
| | | | | | | | * Remove: unused `Fatal` variant from `LogLevel`. * Update: comment on `Error` to indicate it represents unrecoverable errors. | |||||
| * | Use log.rs for conditional logging and centralized error reporting | dilluti0n | 2025-09-03 | 2 | -3/+8 | |
| | | | | | | | | | | * Set: `LOG_LEVEL` to `Debug` in debug builds and `Warning` in release builds via `#[cfg(debug_assertions)]`. * Replace: direct `println!` calls with `log_println!` for packet handling, warning messages, and argument parsing errors. * Ensures: consistent log formatting and respects the global log level configuration across the codebase. | |||||
| * | Refactor main to ensure cleanup via RAII guard | dilluti0n | 2025-09-03 | 1 | -2/+31 | |
| | | | | | | | | | | Introduce `EnsureCleanup` struct with a `Drop` implementation that calls `platform::cleanup()`. This guarantees cleanup is always performed after a successful bootstrap, regardless of how execution exits. Error handling is centralized in `main()`, where errors are logged once with their cause chain, and the process exits with the appropriate status code. | |||||
| * | Refactor prefixed logs to using log.rs, leaving Errors untouched | dilluti0n | 2025-09-03 | 3 | -10/+13 | |
| | | ||||||
| * | Implement log.rs; log level handling | dilluti0n | 2025-09-03 | 1 | -0/+34 | |
| | | ||||||
| * | Add prefix [INFO] or [WARNNING] on log messages | dilluti0n | 2025-08-31 | 2 | -10/+10 | |
| | | ||||||
| * | platform: windows: log WinDivert handle creation | dilluti0n | 2025-08-31 | 1 | -5/+7 | |
| | | | | | | | Define the TCP:443 outbound filter as a constant and reuse it in WinDivert::network. Add a log message when the handle is successfully constructed for better visibility during runtime. | |||||
| * | platform: linux: add verbose messages on bootstrap | dilluti0n | 2025-08-31 | 1 | -3/+19 | |
| | | ||||||
| * | platform: linux: unhardcode chain name DPIBREAK | dilluti0n | 2025-08-31 | 1 | -7/+11 | |
| | | ||||||
| * | Move is_client_hello to tls module for better readability | Dilluti0n | 2025-08-26 | 2 | -31/+29 | |
| | | ||||||
| * | Fix typo on split_packet error message | Dilluti0n | 2025-08-26 | 1 | -1/+1 | |
| | | ||||||
| * | Decouple once_cell by replacing it with standard lib | Dilluti0n | 2025-08-23 | 3 | -11/+2 | |
| | | ||||||
| * | platform: linux: decouple once_cell | Dilluti0n | 2025-08-23 | 1 | -6/+3 | |
| | | | | | * Replace once_cell::Lazy with plain AtomicBool | |||||
| * | platform: linux: use standard library instead of once_cell on socket | Dilluti0n | 2025-08-23 | 1 | -3/+4 | |
| | | ||||||
| * | platform: linux: make iptables helpers private | Dilluti0n | 2025-08-23 | 1 | -5/+5 | |
| | | ||||||
| * | Make platform and TLS imports explicit | Dilluti0n | 2025-08-23 | 1 | -8/+8 | |
| | | | | | | | | | * Remove: wildcard import from platform and top-level TLSMsg import. * Add: local use of TLSMsg inside is_client_hello(). * Add: local use of send_to_raw() inside handle_packet(). * Qualify: IS_U32_SUPPORTED, QUEUE_NUM, bootstrap(), run(), and cleanup() with platform::. | |||||
| * | Clean up is_client_hello() for clarity | Dilluti0n | 2025-08-23 | 1 | -12/+11 | |
| | | | | | | | * Remove nested TLSMsg::new() invocation. * Introduce fragment variable for readability. * Simplify control flow by flattening record parsing. | |||||
| * | Simplify signal handling with global AtomicBool | Dilluti0n | 2025-08-23 | 3 | -17/+18 | |
| | | | | | | | | * Remove Arc<AtomicBool> indirection and introduce global RUNNING. * Rename plant_handler() to trap_exit() for clarity. * Update run() implementations on Linux and Windows to use RUNNING directly. * Drop unused imports in main.rs, linux.rs, and windows.rs. | |||||
| * | Wrap planting handler to plant_handler | dilluti0n | 2025-08-23 | 1 | -9/+12 | |
| | | ||||||
| * | Clear output buffer before writing in split_packet | hskim | 2025-08-23 | 1 | -2/+1 | |
| | | | | | | | | Previously split_packet used truncate() after writing, which could leave stale data from earlier writes. This patch calls clear() before builder.write() to ensure the buffer only contains the current packet contents. | |||||
| * | Add command-line argument parsing and switch config to OnceLock | hskim | 2025-08-23 | 2 | -26/+65 | |
| | | | | | | | | | | | | This change introduces basic CLI parsing for --delay-ms, --queue-num (Linux only), and -h/--help. A usage() function was added, and error/help output now goes to stdout for consistency. Global constants DELAY_MS and QUEUE_NUM are replaced with OnceLock-based initialization, with helper accessors delay_ms() and queue_num(). The Linux platform code is updated accordingly to use queue_num() instead of a constant. | |||||
| * | Deduplicate CLI argument parsing | hskim | 2025-08-23 | 1 | -7/+22 | |
| | | | | | | Extracted common args.next() + parse logic into take_value() to remove duplication in --delay-ms and --queue-num handling. | |||||
| * | Implement argument parser | hskim | 2025-08-23 | 1 | -1/+21 | |
| | | ||||||
| * | Wrap platform dependant main loops to platform::run | hskim | 2025-08-22 | 3 | -66/+77 | |
| | | ||||||
| * | Fix Message too long warning on send_to_raw | dilluti0n | 2025-08-21 | 1 | -4/+1 | |
| | | ||||||
| * | Remove unused field PktView.raw | dilluti0n | 2025-08-21 | 1 | -2/+1 | |
| | | ||||||
| * | Move use derivatives | dilluti0n | 2025-08-21 | 1 | -2/+5 | |
| | | ||||||
