Cooper Quintin
f2b722ad5f
version update
2025-06-04 10:12:08 -07:00
Markus Unterwaditzer
2915dea9e9
Remove dead code and default features
2025-05-30 10:21:30 -07:00
Markus Unterwaditzer
6941bc57b6
Fix issues on TP-Link v9
...
* Fix autostart by adding another port trigger for rayhunter-daemon
* Use Orbic's IOCTL params as fallback
* Fix sdcard path and make it configurable
* Update docs to indicate support
* Add uninstalling instructions for TP-Link
2025-05-30 10:14:51 -07:00
Cooper Quintin
5b9dd856a8
version bump
2025-05-30 10:13:34 -07:00
Cooper Quintin
4ee504fed7
bump version to 0.3.1
2025-05-28 17:31:58 -07:00
Cooper Quintin
e463d40c07
bump version to 0.3.0
2025-05-16 12:19:03 -07:00
Cooper Quintin
c569101c36
Merge branch 'main' into frontend-rework
2025-04-28 17:19:28 -07:00
Markus Unterwaditzer
32b67df55d
Fix clippy lints and upgrade deku
...
Old version of deku was throwing clippy lints in generated code
2025-04-25 11:57:33 -07:00
oopsbagel
e04b78f0e0
ci: use rust-lld for all release targets
...
Removes dependency on gcc-based cross-compilation toolchain.
2025-04-25 11:55:23 -07:00
Will Greenberg
b95ff90e5e
cargo fmt
2025-04-24 13:23:29 -07:00
Cooper Quintin
e4bfa7a1f3
Merge branch 'main' into frontend-rework
2025-04-22 11:41:51 -07:00
Cooper Quintin
8082e013f4
bump version
2025-04-22 11:04:42 -07:00
Will Greenberg
057c9acb40
wip
2025-04-14 11:59:54 -07:00
oopsbagel
9fe75ac961
chore: cargo fmt
2025-04-14 11:49:24 -07:00
Cooper Quintin
1b29cf0dee
Merge branch 'main' into build-features
2025-04-11 10:38:49 -07:00
oopsbagel
01e762a3d6
fix(lib): enable building for windows targets
...
- conditionally build diag_device.rs only for unix
- use build time target for runtime metadata on unix
2025-04-11 10:07:02 -07:00
Markus Unterwaditzer
3dc373f0d3
add code comment
2025-04-08 21:21:20 +02:00
Markus Unterwaditzer
bccdcf36e1
Merge remote-tracking branch 'origin/main' into build-features
2025-04-08 21:16:08 +02:00
dependabot[bot]
775468f037
Bump tokio from 1.44.1 to 1.44.2
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.44.1 to 1.44.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.44.1...tokio-1.44.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.44.2
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-08 08:44:46 -07:00
Markus Unterwaditzer
499b86aca6
Add build features for multiple device types
...
The bin crate now has two features, one for each supported device.
* The IOCTL change from #142 is compiled in conditionally.
* Tp-link display is supported & tested for HW rev 3 and HW rev 5.
The release tarballs now contain two rayhunter-daemon binaries, for
orbic and tplink. An installer for tplink is not yet included.
Co-authored-by: m0veax <m0veax@chaospott.de >
2025-04-07 21:15:32 +02:00
Sashanoraa
04652d2097
Add implement Default on types with ::new
...
This fixes a clippy lint warning
2025-03-27 11:57:01 -07:00
Sashanoraa
034e0632e4
Box some of the larger information element enum variants
...
An enum is always the size needed to store its largest variant. Some of
the variants of the InformationElement and LteInformationElement are
substantially larger than the rest. Boxing the larger variants reduces
the size of the enum, in some cases by several kilobytes.
Since Rust does not currently support destructing a Box via pattern
matching, some code that destructures these enums had to be modified.
2025-03-27 11:57:01 -07:00
Sashanoraa
4edf001ca4
Fix small clippy warnings
2025-03-27 11:57:01 -07:00
Sashanoraa
b0a1b14160
Remove unused import due to e79dc4a
...
The referenced commit disabled the null-cipher but did not remove the
now unused import.
2025-03-26 10:41:05 -07:00
oopsbagel
431a97ca65
chore: bump all Cargo.toml versions to 0.2.6
2025-03-25 17:02:01 -07:00
Will Greenberg
e79dc4a8f0
lib: diable null-cipher heuristic due to false positives
...
Due to an upstream hampi bug (https://github.com/ystero-dev/hampi/issues/133 ),
our RRC parser is reporting false-positives for the null cipher
heuristic.
2025-03-25 15:13:36 -07:00
Sashanoraa
d0d01089dd
Fix various clippy warnings
...
This commit fixes various clippy warnings that do not affect the
function of the code and aren't stylistic in nature.
2025-03-24 13:47:20 -07:00
oopsbagel
0b3c0de481
fix(lib/util): use better names for runtime metadata
...
- document RuntimeMetadata fields
- rename RayhunterMetadata to RuntimeMetadata
- rename RuntimeMetadata.os to RuntimeMetadata.system_os
- remove unpopulated hardware field
- remove unnecessary duplication of datastructure in analyzer harness
2025-03-19 11:48:54 -07:00
oopsbagel
f2b5aa2743
feat: show rayhunter version/os/arch in pcap, ndjson, qmdl manifest
...
Create a util mod to provide information about the rayhunter binary and
system.
2025-03-19 11:48:54 -07:00
oopsbagel
09d35ccec7
feat(pcap): add operating system kernel name and release
...
Display the uname sysname and release as the OS option in the pcap Section
Header Block, falling back on just the std::env::consts::OS name ("linux") in
the case of runtime errors.
Co-authored-by: Nat Budin <natbudin@gmail.com >
2025-03-19 11:48:54 -07:00
oopsbagel
5ae186bc73
feat(pcap): add rayhunter name and version to metadata
...
Add the compile-time name and version to the pcap's Section Header Block
as the shb_userappl option, the canonical place for storing the name of
the application used to create the pcap.[0]
[0] https://ietf-opsawg-wg.github.io/draft-ietf-opsawg-pcap/draft-ietf-opsawg-pcapng.html#section-4.1-10
2025-03-19 11:48:54 -07:00
Will Greenberg
5a084f1abb
lib: set uplink flag for NAS
2025-01-30 11:33:14 -08:00
Will Greenberg
34d87d1fd7
this macro isn't public, so docstrings won't work
2025-01-28 11:02:19 -08:00
Will Greenberg
da4952e70f
fix docstring code
2025-01-28 11:02:19 -08:00
Will Greenberg
30323b8329
Keep old 2G downgrade analyzer
2025-01-28 11:02:19 -08:00
Will Greenberg
28b0f409db
fix attribution
2025-01-28 11:02:19 -08:00
Will Greenberg
12640cc878
Rewrite our 2G downgrade analyzer
2025-01-28 11:02:19 -08:00
Will Greenberg
26eda5904f
Better wording on IMSI requested warning
2025-01-28 11:02:19 -08:00
Will Greenberg
6bd36921d8
consider early IMSI request medium sev
2025-01-08 15:23:59 -08:00
Will Greenberg
c83ae30be8
fix language
2025-01-08 15:23:59 -08:00
Will Greenberg
fa612241a5
lib: add IMSI requested heuristic
2025-01-08 15:23:59 -08:00
Will Greenberg
10592bbd9d
lib: add inbound/outbound field to NAS
2025-01-06 16:24:11 -08:00
Will Greenberg
327eaddcd7
rayhunter-check: pcapify qmdl
2025-01-06 16:24:11 -08:00
Cooper Quintin
f4a6c834d2
remove false positive IMSI heuristic until we get a NAS parser
2024-12-09 10:53:58 -08:00
Cooper Quintin
ee75326912
Fix macos install ( #67 )
...
* update shell path and some docs
* download ADB if not present
* big O not little o
* bugfix
* bugfix
* silence errors for macos developers
* Update dist/install-common.sh
Co-authored-by: Will Greenberg <willg@eff.org >
---------
Co-authored-by: Will Greenberg <willg@eff.org >
2024-10-22 12:21:27 -07:00
Will Greenberg
6c237e884c
lib: rm duplicate TestAnalyzer
2024-10-10 12:41:25 -07:00
Will Greenberg
16f705f29c
Add the test analyzer entirely via daemon flags
...
Also consolidate the duplicate AnalysisWriter implementation
2024-10-08 14:58:46 -07:00
Cooper Quintin
ca4f49b15f
Framebuffer update ( #60 )
...
* first pass at changing the UI color based on state
* adding flag to qmdl metadata for when hueristic is triggered
* update style for web page to match UI and have color alert on heuristic trigger
* add test analyzer
* rename example_analyzer to test_analyzer
* refactor ui update to not depend on server
* refactor to pass around color instead of display state for framebuffer channel
* add debug feature flag for test analyzer
* remove warning status from qmdl manifest
* dont keep has warning around
2024-10-03 10:41:59 -07:00
Will Greenberg
861aaedd47
rayhunter-check improvements
2024-08-19 16:49:01 -07:00
Will Greenberg
d6fb54afb3
lib: rm unused imports
2024-08-05 09:57:09 -07:00