IoT Inspector Client for analyzing IoT device firmware
Project description
IoT Inspector 3
Simply run ./start.bash. It will take care of all the dependencies.
If the underlying Inspector core library is updated, please run the following first:
uv cache clean
uv lock --upgrade-package libinspector
uv sync
Developer Guide
If you are developing IoT Inspector, please read this section.
Database Schema
When presenting network stats, IoT Inspector reads from an internal SQLite database.
You should always read from the database using the following approach:
import libinspector
db_conn, rwlock = libinspector.global_state.db_conn_and_lock
with rwlock:
db_conn.execute("SELECT * FROM devices")
The schema is as follows:
CREATE TABLE devices (
mac_address TEXT PRIMARY KEY,
ip_address TEXT NOT NULL,
is_inspected INTEGER DEFAULT 0,
is_gateway INTEGER DEFAULT 0,
updated_ts INTEGER DEFAULT 0,
metadata_json TEXT DEFAULT '{}'
)
CREATE TABLE hostnames (
ip_address TEXT PRIMARY KEY,
hostname TEXT NOT NULL,
updated_ts INTEGER DEFAULT 0,
data_source TEXT NOT NULL,
metadata_json TEXT DEFAULT '{}'
)
CREATE TABLE network_flows (
timestamp INTEGER,
src_ip_address TEXT,
dest_ip_address TEXT,
src_hostname TEXT,
dest_hostname TEXT,
src_mac_address TEXT,
dest_mac_address TEXT,
src_port TEXT,
dest_port TEXT,
protocol TEXT,
byte_count INTEGER DEFAULT 0,
packet_count INTEGER DEFAULT 0,
metadata_json TEXT DEFAULT '{}',
PRIMARY KEY (
timestamp,
src_mac_address, dest_mac_address,
src_ip_address, dest_ip_address,
src_port, dest_port,
protocol
)
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iot_inspector-3.0.4-py3-none-any.whl.
File metadata
- Download URL: iot_inspector-3.0.4-py3-none-any.whl
- Upload date:
- Size: 249.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f2d605744f2bd241871347e893d1af52062da81df8a3eb0a9c35e5a8fd15105
|
|
| MD5 |
71adb09afb1c4ea30e012196039fca4d
|
|
| BLAKE2b-256 |
26557619f5667acf9f629ed1e96cf7fcb096e27703ad61a9767cbcacbef12d52
|
Provenance
The following attestation bundles were made for iot_inspector-3.0.4-py3-none-any.whl:
Publisher:
create_release.yml on nyu-mlab/iot-inspector-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iot_inspector-3.0.4-py3-none-any.whl -
Subject digest:
1f2d605744f2bd241871347e893d1af52062da81df8a3eb0a9c35e5a8fd15105 - Sigstore transparency entry: 604587746
- Sigstore integration time:
-
Permalink:
nyu-mlab/iot-inspector-client@8560dde443fa4a904392ed645964bf16622845bb -
Branch / Tag:
refs/heads/master - Owner: https://github.com/nyu-mlab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
create_release.yml@8560dde443fa4a904392ed645964bf16622845bb -
Trigger Event:
push
-
Statement type: