6 Commits

Author SHA1 Message Date
dad49936be Refactor client and router code for improved readability, fix function naming, and enhance error handling; add initial test cases and configuration file 2026-03-05 14:36:08 +01:00
479270834d Refactor error handling to use bail! for cleaner error propagation and add shutdown signal handling in client and router 2026-03-03 10:19:37 +01:00
3113b04294 Enhance error handling and improve client notification in router logic 2026-03-03 07:57:14 +01:00
9241f1fbac Refactor code structure for improved readability and maintainability 2026-03-02 14:29:25 +01:00
fb9d6ca9c8 Add new dependencies and implement TUN interface initialization
- Updated Cargo.toml to include `etherparse` and enable async feature for `tun-rs`.
- Added `ip_match_network` function in network module for IP matching.
- Implemented TUN interface initialization in `tun.rs`.
- Enhanced client handling in `client.rs` to support new features and improved message handling.
- Refactored router messages to use a structured `VpnPacket`.
- Updated settings for spell checking in VSCode.
2026-02-27 11:30:08 +01:00
0c5b860324 First 2026-02-27 07:13:08 +01:00