| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Ensure WinDivert is present on ci and build.ps1 fail early on errors | dilluti0n | 2025-09-11 | 2 | -22/+29 | |
| | | | | | | | | | | | | | | | | | | | * github: download and extract WinDivert before running build * build: add check for WinDivert path existence and fail early * build: stop on missing distribution files instead of skipping The release workflow failed because WinDivert binaries were not present, and the build script continued execution even when cargo build failed. Ensure WinDivert is downloaded in CI and explicitly check its path before packaging. Also, make the build script exit immediately on missing files or build errors. Reported-by: dilluti0n <[email protected]> Link: https://github.com/dilluti0n/dpibreak/issues/1 Fixes: #1 | |||||
| * | build: fix make install failure on release tarballs | dilluti0n | 2025-09-09 | 1 | -13/+15 | |
| | | | | | | | | | | | | | | | | `make install` used to fail when run from a release tarball because $(PROG) were depend on $(TARGET) but recipie for $(TARGET) were not there. Decoupling build and installation by removing that dependancy. Additionaly, there was verbose error messages Cargo.toml and git metadata were not available on release tarball. Reorganized execution order so that install/uninstall target no longer depends on cargo or git. Reported-by: dilluti0n <[email protected]> Link: https://github.com/dilluti0n/dpibreak/issues/4 Fixes: #4 | |||||
| * | github: fix release action (no x86_64-unknown-linux-musl)v0.0.1 | dilluti0n | 2025-09-07 | 1 | -2/+7 | |
| | | ||||||
| * | docs: README.md: add Quickstart section | dilluti0n | 2025-09-07 | 1 | -3/+29 | |
| | | ||||||
| * | github: create release.yml, automation build & gh release | Hee | 2025-09-07 | 1 | -0/+83 | |
| | | ||||||
| * | build: add release script for windows | dilluti0n | 2025-09-07 | 1 | -0/+208 | |
| | | ||||||
| * | build: add help message | dilluti0n | 2025-09-07 | 1 | -4/+17 | |
| | | ||||||
| * | build: replace hardcoded paths with make automatic variables | dilluti0n | 2025-09-07 | 1 | -8/+8 | |
| | | ||||||
| * | build: decouple target `install' with `build' | dilluti0n | 2025-09-07 | 1 | -3/+4 | |
| | | | | | | | When installing, build should not happen both inside of release tarball and repository (cargo build with root user is kinda complexed). | |||||
| * | Add `--locked' option for cargo for reproducible build | dilluti0n | 2025-09-07 | 1 | -1/+1 | |
| | | ||||||
| * | Fix sha256sum path issue (dist/ is prefixed inside sha256 file) | dilluti0n | 2025-09-07 | 1 | -2/+2 | |
| | | ||||||
| * | scripts: remove obsolate release script | dilluti0n | 2025-09-07 | 1 | -75/+0 | |
| | | ||||||
| * | Implement makeing release tarball on Makefile | dilluti0n | 2025-09-07 | 2 | -4/+62 | |
| | | ||||||
| * | Add Makefile for instalation on Linux | dilluti0n | 2025-09-07 | 1 | -0/+48 | |
| | | ||||||
| * | scripts: exclude debuginfo file from tarball | dilluti0n | 2025-09-07 | 1 | -10/+7 | |
| | | ||||||
| * | log: add splash! macro and centralize no-splash handling | dilluti0n | 2025-09-07 | 4 | -30/+39 | |
| | | | | | | | | | | | | | | * Introduce: `splash!` macro in `log.rs` to print startup messages conditionally, based on `--no-splash` flag. * Move: `NO_SPLASH` management into `log.rs` with helper functions: (`set_no_splash`, `no_splash`). * Remove: old `splash()` function in `main.rs` and replace with `splash!` macro usage. * Set: default `LogLevel` according to build profile (Debug → Debug, Release → Warning). * Print: unified startup messages across Linux and Windows, including `MESSAGE_AT_RUN`. | |||||
| * | 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 | |
| | | ||||||
