Closed SkuldNorniern closed 8 months ago
The project underwent significant refactoring and enhancement, focusing on error handling, logging, and mode management. Modules were added and removed to streamline functionality, with a strong emphasis on improving the user experience through command-line arguments. The network functionality saw updates in packet capture and flow analysis, refining error management and logging. Overall, these changes aim to make the application more robust, user-friendly, and maintainable.
Files | Summary |
---|---|
src/main.rs |
Added cli , logger ; removed plugin ; added/implemented enums and functions for error handling and logging; refactored for command-line args. |
src/net/mod.rs |
Added capture , fluereflow modules; updated NetError implementations. |
src/net/capture.rs |
Refactored error handling/logging; updated CaptureDevice struct; improved function signature. |
src/net/.../online_fluereflow.rs , src/net/.../live_fluereflow.rs |
Restructured imports, logging; adjusted variable assignments; optimized flow control. |
src/net/.../packet_pcap.rs , src/net/.../offline_fluereflows.rs |
Refactored packet processing, logging; improved error handling and flow management. |
src/net/parser/... (multiple files) |
Updated imports, error handling, and logging in parsing functions. |
🐇✨
In the code's vast and verdant field,
A rabbit hopped, its fate now sealed.
With each leap, bugs fled in fear,
As cleaner paths began to appear.
"To refactor and to cleanse," it cheered,
For in the code, no more mess neared.
🌟🐾
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Logger Known Issue
Type of PR
Description:
In this pull request, proper log handling is implemented. This includes:
-v
flag.Additional context:
closes #65
Summary by CodeRabbit
New Features
Improvements
DateTime
from thechrono
crate.Refactor
plugin
.Bug Fixes