summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2020-05-03style(lint): make clippy happy on all channelsAram Drevekenin
2020-05-03style(lint): make clippy happyAram Drevekenin
2020-05-03chore(deps): remove pnet_bandwhich_fork and upgrade to latest pnet + ↵Aram Drevekenin
packet_builder releases
2020-04-05fix(tests): update total-utilization and hide-dns testsAram Drevekenin
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-03-31Fix the loss of large, merged packets (#158)Brooks Rady
2020-03-01fix(error-handling): add custom error handling (#104)yossarian
* Initial * Add errors file * Update * Add error message * Update * Add kind method * Update error kind * Update get_datalink_channel * Update unused var * Initial * Add errors file * Update * Add error message * Update * Add kind method * Update error kind * Update error message * Update error name * Update error messages * Update message * Update * Update error message * format * format2 * update * Update error checking * format * refactor * reduce message * remove unused code * fix lint * wip * add multiline * add handle_errors * update fold * update * clippy * Update * spaces * fix(error-handling): display interface names in errors * style(format): rustfmt Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-01-25feat(layout): new layout (#139)Aram Drevekenin
2020-01-18Merge pull request #135 from zhangxp1998/setcapKelvin Zhang
Update description about capabilities needed
2020-01-18Update description about capabilities neededKelvin Zhang
2020-01-18Merge pull request #132 from jcfvalente/list-unknownKelvin Zhang
Show UNKNOWN in the process list
2020-01-18Declare and initialize data_for_process in one step. Applied suggested changes.José
2020-01-18fix(cli): collect table args (#134)Aram Drevekenin
2020-01-17Adds unknown to the process listJosé
2020-01-16Fix VPN traffice not displayed bugKelvin Zhang
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-14Merge pull request #70 from zhangxp1998/ipv6ebroto
Support Ipv6
2020-01-14Address code review commnetsKelvin Zhang
2020-01-14fix(network): bug that upload speed is not tabulated correctly (#116)Kelvin Zhang
2020-01-14fix(ui-state): do not overcalculate bandwidth and connections (#114)Aram Drevekenin
* fix(ui-state): do not overcalculate bandwidth and connections * fix(ui-state): style and bug * style(format): make clippy happy
2020-01-13fix(dns): display a more informative message in case we can't resolveEduardo Broto
Tested in Linux. When offline, /etc/resolve.conf is a broken symlink, so opening it yields an IO error. It should work similarly in other OSs as the resolver is OS-agnostic. Before, the message was simply: Error: io error. After this change, a more informative message is shown.
2020-01-13Fix fake_input loopback flag set to 1 issueKelvin Zhang
2020-01-13Fix regex for parsing ipv6 listening socketsKelvin Zhang
2020-01-13Parse ipv6 info from procfsKelvin Zhang
2020-01-13Parse ipv6 entries from lsofKelvin Zhang
2020-01-13Sniff Ipv6 packetsKelvin Zhang
2020-01-13feat(helptext): communicate pause/resume to the user (#111)Aram Drevekenin
* feat(helptext): communicate pause/resume to the user * style(format): rustfmt
2020-01-13Merge pull request #110 from Erk-/bsdKelvin Zhang
Add support for more operating systems.
2020-01-12Add support for more operating systems.Valdemar Erk
This commit will add support for operating systems that have the lsof tool, initially it will only work on MacOS and FreeBSD, but more operating systems may be added at a later time. Signed-off-by: Valdemar Erk <valdemar@erk.io>
2020-01-12Merge pull request #77 from imsnif/averageKelvin Zhang
Display weighted average of bandwidth
2020-01-12test(snapshots): update to new formulaAram Drevekenin
2020-01-12Fix formatting issue, remove deadcodeKelvin Zhang
2020-01-12suggestion for previous state storage and calculationAram Drevekenin
2020-01-11fix(error): mention `setcap(8)`-fix in EPERM error on Linux (#108)Maximilian Bosch
This is already mentioned in the README, but I figured that it might be helpful to point linux-users to this if they try to run `bandwhich` right after installing it and encountering this kind of error.
2020-01-10Add testcase for pause featureKelvin Zhang
2020-01-10Pause UI with <SPACE>Kelvin Zhang
2020-01-10changed permission on main.rsChubby Puddles Esq
2020-01-10fmt fixChubby Puddles Esq
2020-01-10made requested PR changesChubby Puddles Esq
2020-01-09Update UI snapshots for new bandwidth calculationKelvin Zhang
2020-01-09Display weighted average of bandwidthKelvin Zhang
2020-01-09formatting issuesChubby Puddles Esq
2020-01-09Upgraded trust-dns-resolver (#92)Chubby Puddles Esq
2020-01-09Fix codestyle using rustfmtMaximilian Bosch
2020-01-08Use more meaningful consts from libpnet to match packetsMaximilian 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-08Fix clippy warning on MacKelvin Zhang
2020-01-08Fix issue #84 by handle error more gracefullyKelvin Zhang
2020-01-07Merge pull request #82 from zhangxp1998/udpKelvin Zhang
Fix bug that non-connected Udp sockets aren't displayed