Commit Graph

397 Commits

Author SHA1 Message Date
cyqsimon
a43591dfd3 Fix cargo {clippy,fmt} complaints 2023-08-25 17:34:37 +08:00
Nbiba Bedis
492d1f2e2f clippy 2023-08-25 17:34:37 +08:00
Nbiba Bedis
17f77c3593 update tests 2023-08-25 17:34:37 +08:00
Nbiba Bedis
0b7be9398e use alternate mode 2023-08-25 17:34:37 +08:00
cyqsimon
66ba68954e Update MSRV 2023-08-25 17:20:17 +08:00
cyqsimon
83d006fe0b Add myself to authors 2023-08-25 17:20:00 +08:00
cyqsimon
4980e4b281 Removed Travis CI file 2023-08-25 16:55:57 +08:00
cyqsimon
df2a57c7b6 Improve Homebrew instructions on Linux
- Fixes #228
2023-08-25 16:45:25 +08:00
Mathias Schmitt
223bd3f192 Makefile: Install autocompletion script. 2023-08-25 16:16:18 +08:00
Mathias Schmitt
06ea4d1e61 Add autocompletion script.
Add the autocompletion of the different flags and options to bash.
In particular, autocomplete network interfaces.
2023-08-25 16:16:18 +08:00
freddii
0d7b410cfd fixed spelling mistake 2023-08-25 16:14:17 +08:00
Teoh Han Hui
e4420fbfc6 Fix setcap example
* Use POSIX sh command substitution syntax
* Use `command -v` shell built-in instead of `which`
2023-08-25 16:13:44 +08:00
Herby Gillot
3d2599aefb docs(readme): add instructions for installing via MacPorts 2023-08-25 16:12:30 +08:00
Brooks Rady
6500421c2e docs(changelog): resolve-conf + trust-ad fix 2023-08-25 16:12:00 +08:00
cyqsimon
b2a045a7e3 Merge pull request #274 from imsnif/ratatui
Switch from `tui` to `ratatui`
2023-08-25 15:19:48 +08:00
cyqsimon
e06b5956a8 Switch from tui to ratatui 2023-08-25 15:15:14 +08:00
cyqsimon
94df6e07db Merge dependency bumps and fixes
Tests still have to be fixed.
2023-08-25 14:54:24 +08:00
cyqsimon
04e3a2aac6 CI: switch to dtolnay/rust-toolchain 2023-08-25 14:46:11 +08:00
cyqsimon
ef67b325d5 CI: disable fail fast 2023-08-25 14:06:56 +08:00
cyqsimon
1891892b39 Fix windows build 2023-08-25 13:26:31 +08:00
cyqsimon
bcb690563c Fix build script on Windows 2023-08-25 13:23:02 +08:00
cyqsimon
552d982c8f CI: build should come before clippy 2023-08-25 11:38:44 +08:00
cyqsimon
ff044d42e2 Update CI 2023-08-25 11:33:02 +08:00
cyqsimon
7eaee4e6ba Fix deprecated use of panic! macro
This time, actually.
2023-08-25 10:52:20 +08:00
cyqsimon
94b09e2b82 Fix MacOS clippy warnings (hopefully?) 2023-08-25 10:40:04 +08:00
cyqsimon
491c72f465 Fix clippy warnings 2023-08-25 10:22:04 +08:00
cyqsimon
6700f4375a Bump deps again 2023-08-25 10:19:57 +08:00
cyqsimon
3950e42528 Temporarily switch to patched fork of packet-builder 2023-08-25 09:32:34 +08:00
cyqsimon
ac8ee79cc1 Bump incompatible deps
- Binary build is fixed, but `packet_builder` crate seems to have some issues
2023-08-14 18:47:08 +08:00
cyqsimon
3550d86f92 Bump compatible deps to fix build 2023-08-14 16:54:55 +08:00
Aram Drevekenin
45503a01a6 docs(sponsorship): add my Github Sponsors 2022-02-19 10:11:08 +01:00
Brooks Rady
acd1b0a95d fix(dns): updated resolv-conf dependency
* fix(style): some clippy lints breaking the CI
2020-12-27 00:28:03 +00:00
Brooks J Rady
1f508ddfb6 Convince clippy to chill 2020-12-27 00:17:15 +00:00
Brooks J Rady
adb0daee8d Upgrade resolv-conf version 2020-12-26 17:13:55 +00:00
Aram Drevekenin
fde53ddb3b style(clippy): minor fix 2020-10-15 11:31:27 +02:00
Aram Drevekenin
a703513412 chore(release): 0.20.0 0.20.0 2020-10-15 11:05:36 +02:00
Aram Drevekenin
1e0849b0d1 docs(changelog): CLI dns server address flag 2020-10-01 15:05:49 +02:00
Aram Drevekenin
e813362e5c feat(dns): allow custom dns server as cli flag (#193)
* feat(dns): allow custom dns server as cli flag

* fix(style): remove commented debugging line (oops)
2020-10-01 15:02:55 +02:00
Aram Drevekenin
4af7abaae2 chore(release): 0.19.0 0.19.0 2020-09-29 17:32:45 +02:00
Aram Drevekenin
15ec5c0215 docs(changelog): reconnect disconnected interfaces 2020-09-29 17:35:22 +02:00
Mat Wood
0737704d4e fix(sniffer): handle disconnected interfaces (and periodically attempt to 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-29 17:32:58 +02:00
Aram Drevekenin
f9d397c7c9 docs(changelog): TUI upgrade 2020-09-29 16:50:53 +02:00
Aram Drevekenin
19b956e6d5 fix(ui): upgrade tui to latest version and fix breaking changes (#190)
* fix(ui): upgrade tui to latest version and fix for breaking changes in the api

* fix(style): address PR comments
2020-09-29 16:48:57 +02:00
Aram Drevekenin
8020b94914 docs(readme): update for windows and re-order installation instructions 2020-09-20 13:57:45 +02:00
Aram Drevekenin
e64b15a20b docs(changelog): fix build on freebsd 2020-09-20 13:08:09 +02:00
Aram Drevekenin
32300aff53 fix(freebsd): build properly (#189) 2020-09-20 13:05:23 +02:00
Aram Drevekenin
ad5b40a640 docs(changelog): ci change 2020-09-20 12:24:00 +02:00
remgodow
58187b49d1 chore(ci): build binaries using Github actions. (#181)
* 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

* Test github actions.

* Fix action syntax.

* Fix "Show build.rs stderr" step.

* Add artifact upload step.

* style(clippy): use write_all in build.rs

* Fix path in upload binary step

* style(clippy): remove unused import added by Intellij

* Separate upload artifacts actions for Windows.

* Troubleshooting windows artifacts upload.

* Fix typo

* Bump upload-artifact to v2.

* fix(review): change branch name to main, remove nightly

* feat(infra): test builds on nightly rust

* fix(infra): remove debug logs from ci action

* feat(infra): release github action

* fix: merge issues

* fix(release): add linux generic

* feat(infra): build musl on release

* feat(infra): fix release verioning

* feat(infra): another try for fixing versioning

* fix(infra): use version from version step instead of release id

* fix(infra): fix add macos target variable, use --target for cargo build

* fix(infra): add musl-tools required by musl target

* fix(infra): fix action

* fix(infra): fix action

* fix(build): trigger build-release action when release has been created on github, tar executable without directories

* fix(debug): remove actions branch

Co-authored-by: Aram Drevekenin <aram@poor.dev>
2020-09-20 12:22:53 +02:00
Aram Drevekenin
2ef120fa7a docs(changelog): window resizing 2020-09-14 15:59:39 +02:00
remgodow
e8a3f31348 feat(ui): crossplatform terminal resize handling using crossterm Event::Resize (#186) 2020-09-14 15:57:41 +02:00