Age | Commit message (Collapse) | Author |
|
* Minor code style changes
* Disable rendering of timestamps in tests
* Update test snapshots
* Test everything with insta macros (no more `assert(_eq)?`)
- This has the benefit of creating snapshots for everything, allowing for later diffing
* Don't use `assert_debug_snapshot` for large string outputs
- This makes snapshots more human-inspectable
* Code style improvement on two tests
- `pause_by_space`
- `rearranged_by_tab`
* Minor code style improvements
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* fix(ui): upgrade tui to latest version and fix for breaking changes in the api
* fix(style): address PR comments
|
|
Event::Resize (#186)
|
|
* Remove connections vector from OpenSockets, use common OpenSockets implementation based on sysinfo and netstat2.
* Replace termion backend with crossterm, which works on Windows as well.
* More fixes for windows build.
* Remove tui default-features (termion), update unit tests for crossterm.
* Windows compilation fixes.
* Remove unused get_open_sockets implementations for linux and mac. Fix formatting.
* Add build.rs for windows to download and extract Packet.lib from npcap SDK.
* Resolve Cargo.lock after merging main.
* fix(tests): adjust snapshots new location of the dns resolution
* style(clippy): clippy
* style(clippy): remove dead code
* style(clippy): use write_all in build.rs
* style(clippy): remove unused import added by Intellij
* style(review): use String instead of str
* fix(build): run build.rs only once
* fix(regression): skip iface_is_up() filter only for Windows
* fix(review): restore per os implementation of get_open_sockets()
* fix(cargo): add missing os specific packages
* fix: conditional compilation of windows module
* fix: compilation errors
* fix: missing Protocol::from_str() implementation
* style(clippy): remove unused methods
Co-authored-by: Aram Drevekenin <aram@poor.dev>
|
|
issue in #177)
|
|
|
|
Conflicts:
src/display/components/layout.rs
src/display/ui.rs
src/main.rs
|
|
* Window ordering ability
Added ability to change display order of the windows using tab. Added a help tooltip.
* fix redundant clone
* fix fmt check
* cargo fmt fix 2
* Fixed help layout and added tests
* Fix fmt check
|
|
Simply replacing the "1 \n" write events with "2 \n" when we check the
snapshots to make them consistent. There may still be issues with timing
in the tests, but can serve as a stop-gap.
|
|
|
|
* Add accumlated usage
* Fixed a nasty performace leak
* Fix a silly reverse-ordering bug
* Address some feedback
* Finished some reorganizing
* Another silly reversal bug
* Let the test cases run
* Most tests are working
* Fix some formatting that got left behind
* Fix the rest of the tests
* Add some new tests to cover the total mode
* Whoops, a double newline
|
|
* add filter by dns queries
* update snapshots with cargo fmt
* add tests with filtering improvement
|
|
|
|
* added first version (no tests)
* fixed layout
* added support for 2 windows
* comments
* breathing windows
* added tests
* format
* fixed rebase
* review
* added more tests
* simplified table creation
* fix(table): do not overflow on max size
Co-authored-by: Aram Drevekenin <aram@poor.dev>
|
|
* fix(ui-state): do not overcalculate bandwidth and connections
* fix(ui-state): style and bug
* style(format): make clippy happy
|
|
* feat(helptext): communicate pause/resume to the user
* style(format): rustfmt
|
|
Display weighted average of bandwidth
|
|
|
|
|
|
|
|
When using e.g. WireGuard (a VPN which completely acts on layer3), no
packages will be matched as it's attempted to parse those as
ethernet (=layer2) packets. This is a problem as all layer3-packets fail
to get parsed properly (due to different offsets in the packet, wrong
protocols will be determined for instance).
This change inherits the basic idea from
`<libpnet/examples/packetdump.rs>` to check if it's possible to parse
version info using the IpPacket-parsers and if that fails, the sniffer
will fall-back to the ethernet-based approach.
|
|
|
|
readability (#58)
|
|
|
|
|