summaryrefslogtreecommitdiffstats
path: root/src/tests/cases/raw_mode.rs
AgeCommit message (Collapse)Author
2023-10-26Minor code style improvements (#312)cyqsimon
- Build regex only once using `once_cell::sync::Lazy` - Reduce code duplication
2023-10-11Reduce repitition using default `Opts`cyqsimon
2023-10-11Minor refactor of `main.rs` (#301)cyqsimon
* Move CLI structs to their own file * `main` returns `Result` directly * Slightly reduced nesting
2023-08-25Use variable capture syntax in format macros where possiblecyqsimon
2023-08-25Compact importscyqsimon
2023-08-25Temporarily switch to patched fork of `packet-builder`cyqsimon
2023-08-14Bump incompatible depscyqsimon
- Binary build is fixed, but `packet_builder` crate seems to have some issues
2020-10-01feat(dns): allow custom dns server as cli flag (#193)Aram Drevekenin
* feat(dns): allow custom dns server as cli flag * fix(style): remove commented debugging line (oops)
2020-05-03chore(deps): remove pnet_bandwhich_fork and upgrade to latest pnet + ↵Aram Drevekenin
packet_builder releases
2020-04-05feat(network): add accumlated usage (#155)Brooks Rady
* 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
2020-04-05feat(network): hide dns queries by default (#161)Oleh
* add filter by dns queries * update snapshots with cargo fmt * add tests with filtering improvement
2020-01-16feat(ui): select windows to display from CLI (#107)Simone Robutti
* 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>
2020-01-09Fix codestyle using rustfmtMaximilian Bosch
2020-01-08Ensure that layer3 packets are displayed as wellMaximilian Bosch
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.
2020-01-07Merge pull request #82 from zhangxp1998/udpKelvin Zhang
Fix bug that non-connected Udp sockets aren't displayed
2020-01-07Update snapshots because new process identification logic changes outputKelvin Zhang
2020-01-07chore(packages): use pnet fork until they fix the pselect bug (#83)Aram Drevekenin
* chore(packages): use pnet fork until they fix the pselect bug * fix(deps): undo accidental dep change
2020-01-04refactor(tests): remove code duplications (#55)Simone Robutti
* moved keyboard_events_to_utils * refactored ui keyboard events * refactored raw mod * format * renamed sleep events function * refactored OsInputOutput * refactored opts * refactored backend first test * refactored backend ui tests * refactored backend raw tests * simplified terminal events read * format
2019-12-20style(code): fix clippy errorsEduardo Broto
2019-12-20feat(interfaces): listen on all interfaces by defaultEduardo Broto
Specifying an interface is now optional. The interface is shown in the connections table.
2019-12-07chore(style): fix clippy errorsEduardo Broto
2019-11-30feat(dns): resolve hostnames asynchronouslyEduardo Broto
2019-11-05style(fmt): rustfmtAram Drevekenin
2019-11-05feat(raw): machine friendly outputAram Drevekenin