summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2023-10-12Handle IPv4-mapped IPv6 addresses when resolving connection ownercyqsimon
2023-10-12Reduce logging noise by omitting known orphan connectionscyqsimon
2023-10-12Forgot to allow write access to log filecyqsimon
2023-10-12Add logging when the process name fails to resolvecyqsimon
2023-10-11Ignore connections that fail parsing instead of panicking on BSD (#288)cyqsimon
* Ignore connections that fail parsing instead of panicking on BSD - Tentative fix for #217 * Log when a connection fails parsing - I actually love unreadable code * Fix clippy complaint
2023-10-11Fix clippy complaintscyqsimon
2023-10-11Add logging infrastructure (#302)cyqsimon
* Add logging dependencies * Initialise logging
2023-10-11Reduce repitition using default `Opts`cyqsimon
2023-10-11Never use `&Option` in function signaturecyqsimon
2023-10-11Minor refactor of `main.rs` (#301)cyqsimon
* Move CLI structs to their own file * `main` returns `Result` directly * Slightly reduced nesting
2023-10-08Explicitly name `layout-*` tests as socyqsimon
2023-10-08Migrate all tests to using `cargo-insta`cyqsimon
2023-10-07Compact tests using `rstest`cyqsimon
2023-10-07Rm old, unused test snapshotscyqsimon
2023-09-20Add missing version flag to CLI (#290)Marcin Puc
2023-09-20Update test snapshot, another onecyqsimon
2023-09-20Update test snapshotcyqsimon
2023-09-11migrate structopt to clap (#285)liyixin
* migrate structopt to clap * add a entry in changelog * Move changelog entry from `Added` to `Fixed` --------- Co-authored-by: cyqsimon <28627918+cyqsimon@users.noreply.github.com>
2023-09-01fix(windows): don't send key twice (#280)sigmaSd
2023-08-26fix: fix snapshot testsNbiba Bedis
2023-08-26chore: drop lazy_staticNbiba Bedis
2023-08-25Use variable capture syntax in format macros where possiblecyqsimon
2023-08-25Compact importscyqsimon
2023-08-25Move completion file locationcyqsimon
2023-08-25Migrate from `failure` to `anyhow`+`thiserror`cyqsimon
2023-08-25Fix `cargo {clippy,fmt}` complaintscyqsimon
2023-08-25clippyNbiba Bedis
2023-08-25update testsNbiba Bedis
2023-08-25use alternate modeNbiba Bedis
2023-08-25Add autocompletion script.Mathias Schmitt
Add the autocompletion of the different flags and options to bash. In particular, autocomplete network interfaces.
2023-08-25Switch from `tui` to `ratatui`cyqsimon
2023-08-25Fix windows buildcyqsimon
2023-08-25Fix MacOS clippy warnings (hopefully?)cyqsimon
2023-08-25Fix clippy warningscyqsimon
2023-08-25Bump deps againcyqsimon
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-12-27Convince clippy to chillBrooks J Rady
2020-10-15style(clippy): minor fixAram Drevekenin
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-09-29fix(sniffer): handle disconnected interfaces (and periodically attempt to ↵Mat Wood
re-connect) (#191) * Panic on non-Timeout errors in packet Sniffer * Attempt to Re-establish interface channels after disconnect Sniffer::next() now returns an io::Result so the thread in main can determine between no packets & a sniffing error - Matching on EtherType to remove duplicate code determining IP Version Added Sniffer::reset_channel to allow main to poll a previously connected interface * Error handling & timeout delay performed in Sniffer::next * Removing no longer needed Ether layer in test packet builder
2020-09-29fix(ui): upgrade tui to latest version and fix breaking changes (#190)Aram Drevekenin
* fix(ui): upgrade tui to latest version and fix for breaking changes in the api * fix(style): address PR comments
2020-09-14feat(ui): crossplatform terminal resize handling using crossterm ↵remgodow
Event::Resize (#186)
2020-09-11fix(dns): parsing of `/etc/resolv.conf` by manually updating `resolv-conf` ↵Maximilian Bosch
crate (#184) * Show the error cause if initializing a DNS resolver fails * Manually bump `resolv-conf` to `master` at rev `83c0f25` This fixes the parsing of `/etc/resolv.conf` with `options trust-ad` which is e.g. used in `systemd-resolved-v246`[1]. Refs #166 [1] https://github.com/systemd/systemd/commit/a742f9828ea73d9c2c9bafe701c10fe60f058012
2020-09-10feat(platform): windows build and run support (#180)remgodow
* 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>
2020-09-03feat(infra): replace termion with Windows compatible crossterm (#179)remgodow
* Replace termion backend with crossterm, which works on Windows as well. * Remove tui default-features (termion), update unit tests for crossterm. * Fix formatting.
2020-09-02fix(formatting): improve accuracy (#178)Aram Drevekenin
* fix(formatting): improve accuracy * style(format): line length * fix(formatting): use mebi/gibi/tibi bytes * style(format): fmt
2020-09-01hotfix(truncation): display long uneven hostnames properly (fixes small ↵Aram Drevekenin
issue in #177)
2020-09-01fix(formatting): panic when slice str (#177)zxlzy
* fix panic when slice str * copy code from diskonaut * typo fix
2020-07-14feat(raw): add delimiters to raw output (#175)sigmaSd