summaryrefslogtreecommitdiffstats
path: root/src/tests
AgeCommit message (Collapse)Author
2020-01-09Update UI snapshots for new bandwidth calculationKelvin Zhang
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-07Address some comments on PRKelvin Zhang
2020-01-07Format code using rustfmtKelvin Zhang
2020-01-07Update snapshots because new process identification logic changes outputKelvin Zhang
2020-01-07Use <local_ip, local_port, protocol> to indentify processesKelvin 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-07Add local_ip field to Connection/RawConnection structKelvin Zhang
2020-01-07fix(ui): add spacing between the up and down bandwidth values for ↵Hugo Locurcio
readability (#58)
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-20test(interfaces): update snapshots to expect the interface nameEduardo 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-12-06fix(dns): use more idiomatic cloned in FakeResolverEduardo Broto
2019-11-30feat(dns): resolve hostnames asynchronouslyEduardo Broto
2019-11-07fix(packets): take render duration into account so as not to lose any packetsAram Drevekenin
2019-11-05style(fmt): rustfmtAram Drevekenin
2019-11-05feat(raw): machine friendly outputAram Drevekenin
2019-10-20Address compiler warningsWesley Moore
2019-10-17style(lint): rustfmt + clippyAram Drevekenin
2019-10-17refactor(style): remove unused traitsAram Drevekenin
2019-10-17refactor(styling): betterifyAram Drevekenin
2019-10-16feat(ui): change table orderAram Drevekenin
2019-10-16fix(sigwinch): block when waiting for signalAram Drevekenin
2019-10-14style(formatting): rustfmtAram Drevekenin
2019-10-14fix(winch): subscribe to SIGWINCH rather than checking an atomic boolean ↵Aram Drevekenin
constantly
2019-10-13feat(ui): components, new details and responsive layoutAram Drevekenin
2019-10-09test(ui): new details and responsive layoutAram Drevekenin
2019-10-06fix(styling): clippyAram Drevekenin
2019-10-06style(rustfmt): fmtAram Drevekenin
2019-10-06test(ui): SIGWINCHAram Drevekenin
2019-09-30refactor(structure): run tests as unit tests and remove lib functionalityAram Drevekenin