3 releases

0.0.3 Jan 8, 2023
0.0.2 Dec 23, 2022
0.0.1 Nov 19, 2022

#4 in #iridium

MIT/Apache

84KB
2K SLoC

Iridium's SBD Direct-IP Dump

Iridium's Direct-IP protocol of Short Burst Data (SBD) communication system.

This crate is focused on parsing and extracting information from Direct-IP (binary) messages. It could be used, for instance, to identify if a message is an MT type, expose the IMEI, or show the payload.

Install

MacOS (Apple Silicon)

curl -o directip -L https://github.com/castelao/DirectIP/releases/latest/download/directip-dump-aarch64-apple-darwin
chmod +x directip

MacOS (Intel)

curl -o directip -L https://github.com/castelao/DirectIP/releases/latest/download/directip-dump-x86_64-apple-darwin
chmod +x directip

Linux (arm)

curl -o directip -L https://github.com/castelao/DirectIP/releases/latest/download/directip-dump-arm-unknown-linux-gnueabihf
chmod +x directip

Linux (x86_64)

curl -o directip -L https://github.com/castelao/DirectIP/releases/latest/download/directip-dump-x86_64-unknown-linux-musl
chmod +x directip

Windows (x86_64)

Invoke-WebRequest -Uri 'https://github.com/castelao/DirectIP/releases/latest/download/directip-dump-x86_64-pc-windows-msvc.exe' -OutFile directip

From source code

Install the Rust compiler if you don't already have it. Follow the instructions at https://www.rust-lang.org/tools/install

Compile it by running: cargo build --release -p directip-dump

Options and customization

  • direction: Identify if message is of type mobile terminated (MT) or mobile originated (MO).

  • imei: Extract the IMEI from the given message.

Examples

directip-dump --direction my_file.isbd

Minimum supported Rust version

Currently the minimum supported Rust version is 1.60.0

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~4MB
~69K SLoC