Fluere is a powerful and versatile tool designed for network monitoring and analysis. It is capable of capturing network packets in pcap format and converting them into NetFlow data, providing a comprehensive view of network traffic. It also Provides Terminal User Interface.
This PR modifies the error handling and logging mechanism in the fluere project to improve stability and provide better error reporting. The changes include:
Replacing panic calls with proper error handling using Result types and custom error messages.
Modifying the logger to create a new log file for each run by appending a timestamp to the log file name.
Handling the Result types returned from the net module functions in the main.rs file and exiting the program gracefully with error messages.
Summary of Changes
Modified src/net/packet_pnet.rs:
Replaced panic calls with proper error handling using Result types.
Customized error messages in the Snafu error definitions.
Modified src/utils/log.rs:
Modified the new function to create a new log file for each run by appending a timestamp to the log file name.
Modified src/main.rs:
Handled the Result types returned from the net module functions.
Printed error messages and exited the program gracefully in case of errors.
Fixes #31.
To checkout this PR branch, run the following command in your terminal:
git checkout {pull_request.branch_name}
🎉 Latest mprovements to Sweep:
Getting Sweep to format before committing! Check out Sweep Sandbox Configs to set it up.
We launched our browser extension making it faster to make Sweep issues.
We released a demo of our chunker, where you can find the corresponding blog and code.
💡 To get Sweep to edit this pull request, you can:
Leave a comment below to get Sweep to edit the entire PR
Leave a comment in the code will only modify the file
Edit the original issue to get Sweep to recreate the PR from scratch
Description
This PR modifies the error handling and logging mechanism in the fluere project to improve stability and provide better error reporting. The changes include:
Summary of Changes
Fixes #31.
To checkout this PR branch, run the following command in your terminal:
🎉 Latest mprovements to Sweep:
💡 To get Sweep to edit this pull request, you can: