Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 62 additions & 22 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,69 @@
[workspace]
resolver = "2"
members = [
"ntap-db/oui",
"ntap-db/ipv4-asn",
"ntap-db/ipv4-country",
"ntap-db/ipv6-asn",
"ntap-db/ipv6-country",
"ntap-db/tcp-service",
"ntap-db/udp-service",
"ntap-db/as",
"ntap-db/country",
"ntap",
]
[package]
name = "ntap"
version = "0.8.0"
edition = "2021"
authors = ["shellrow <shellrow@foctal.com>"]
description = "Network traffic monitor/analyzer"
repository = "https://github.com/shellrow/ntap"
homepage = "https://github.com/shellrow/ntap"
documentation = "https://github.com/shellrow/ntap"
readme = "README.md"
keywords = ["network","security","cross-platform"]
categories = ["network-programming"]
license = "MIT"

[workspace.package]
version = "0.7.0"
authors = ["shellrow <shellrow@fortnium.com>"]

[workspace.dependencies]
[dependencies]
anyhow = { version = "1" }
bytes = "1"
serde = { version = "1", features = ["derive"] }
bincode = "1.3"
rangemap = "1.5"
serde_json = "1"
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3", features = ["time", "chrono"] }
netdev = { version = "0.36", features = ["serde"] }
nex = { version = "0.22", features = ["serde"] }
tokio = { version = "1.38" }
clap = { version = "4.5", features = ["cargo"] }
crossterm = "0.27"
rand = "0.8"
ratatui = "0.25"
comfy-table = "7.1"
hickory-resolver = { version = "0.24" }
futures = {version = "0.3"}
netsock = { version = "0.3", features = ["serde"] }
#reqwest = { version="0.12", default-features = false, features = ["json", "rustls-tls", "stream"] }
chrono = { version = "0.4", features = ["serde"] }
time = { version = "0.3", features = ["local-offset"] }
ipnet = { version = "2.11" }
home = "0.5"
termtree = "0.5"
indicatif = { version = "0.18" }
inquire = "0.6"
#ndb-oui = { version = "0.2", features = ["bundled"] }
ndb-tcp-service = { version = "0.2", features = ["bundled"] }
ndb-udp-service = { version = "0.2", features = ["bundled"] }
ndb-as = { version = "0.2", features = ["bundled"] }
ndb-ipv4-asn = { version = "0.2", features = ["bundled"] }
ndb-ipv6-asn = { version = "0.2", features = ["bundled"] }
ndb-ipv4-country = { version = "0.2", features = ["bundled"] }
ndb-ipv6-country = { version = "0.2", features = ["bundled"] }

[target.'cfg(windows)'.dependencies]
winreg = "0.50"

#[features]
#default = ["bundled"]
#bundled = [
# "ndb-oui/bundled",
# "ndb-tcp-service/bundled",
# "ndb-udp-service/bundled",
# "ndb-as/bundled",
# "ndb-ipv4-asn/bundled",
# "ndb-ipv6-asn/bundled",
# "ndb-ipv4-country/bundled",
# "ndb-ipv6-country/bundled",
#]

# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"
allow-dirty = true
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,12 @@ Network traffic monitor/analyzer, for Linux, macOS, and Windows.
## Overview
**ntap** provides comprehensive insights into your network's activity, enabling users to monitor traffic, manage connections, and view network configurations with ease.

[Screenshots](#screenshots)

## Features
- **Network Statistics**: Dive into comprehensive statistics about your network traffic, covering bytes/bandwidth usage, top remote hosts, connections, and processes.
- **Live Packet Capture**: Continuously track the flow of network packets in real-time, offering insights into ongoing traffic.
- **Real-time Monitoring**: Monitor network utilization with country and Autonomous System (AS) or Internet Service Provider (ISP) information as it unfolds.
- **Live Packet Capture**: Continuously track the flow of network packets in real-time, offering insights into ongoing traffic.
- **Connection Management**: Quickly and effectively analyze active network connections to optimize performance and security.
- **Interface and Routing Insights**: Obtain detailed views of network interfaces and routing tables to enhance network management and troubleshooting.
- **Your Public IP Address Info**: Effortlessly retrieve and display your current public IP address, along with associated country and AS (or ISP) info.

## Usage
See [usage](resources/doc/USAGE.md)
Expand Down
18 changes: 0 additions & 18 deletions ntap-db/as/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion ntap-db/as/README.md

This file was deleted.

Binary file removed ntap-db/as/resources/as.bin
Binary file not shown.
50 changes: 0 additions & 50 deletions ntap-db/as/src/lib.rs

This file was deleted.

18 changes: 0 additions & 18 deletions ntap-db/country/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion ntap-db/country/README.md

This file was deleted.

Binary file removed ntap-db/country/resources/country.bin
Binary file not shown.
50 changes: 0 additions & 50 deletions ntap-db/country/src/lib.rs

This file was deleted.

19 changes: 0 additions & 19 deletions ntap-db/ipv4-asn/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion ntap-db/ipv4-asn/README.md

This file was deleted.

Binary file removed ntap-db/ipv4-asn/resources/ipv4-asn.bin
Binary file not shown.
51 changes: 0 additions & 51 deletions ntap-db/ipv4-asn/src/lib.rs

This file was deleted.

19 changes: 0 additions & 19 deletions ntap-db/ipv4-country/Cargo.toml

This file was deleted.

1 change: 0 additions & 1 deletion ntap-db/ipv4-country/README.md

This file was deleted.

Binary file removed ntap-db/ipv4-country/resources/ipv4-country.bin
Binary file not shown.
Loading