IP address space visualization (pcap, geofeed, MaxMind)
Project description
cider-cli
https://pypi.org/project/cider-cli/
Cider-cli is a cli tool for producing CIDR maps, also known as "ip census maps", "ip maps", or "address space maps". These are very powerful graphs in your developer tool kit for understanding network traffic and visualizing address space in an organized fashion:
The goal is to solve and visualize complexities in address spaces, trends which may be clearer simply with a little color:
Installation
Cider-cli is currently an unpublished tool, but for beta testing purposes you can install via:
Install latest:
pip install cider-cli
Development Installation
git clone https://github.com/lramos0/cider-cli
cd cider-cli
pip install -e .
🧭 How to Use?
You can produce CIDR maps on an input, see supported data sources, using:
cider {input} --kind {geofeed|maxmind|pcap|cider} [options]
📁 Supported Data Sources
1. Formatted CSV (geofeeds, script outputs, etc)
CSV files with lines of the form:
ip_prefix,cc,region,city,...
Run:
cider ripe.csv --kind geofeed -o ripe_map.html
2. MaxMind CSV Snapshot Folder
The input must be the directory containing:
GeoLite2-City-Blocks-IPv4.csv GeoLite2-City-Locations-en.csv
Run:
cider GeoLite2-City-CSV_20250902 --kind maxmind -o maxmind_map.html
3. Packet Capture (.pcap)
You can generate a quick pcap of outbound traffic:
sudo tcpdump -i en0 -w capture.pcap 'tcp[tcpflags] & tcp-syn != 0'
Visualize it:
ipmap map capture.pcap --kind pcap -o pcap_map.html
🎨 Visualization Options
Currently, the formats allow for the following options (default is html output). This can be set with the output tag:
--output result.html
--output result.png --output-format png
📊 Example: Full Command
cider ripe.20250903.geo.csv \
--kind geofeed \
--view /16 \
--mode primary \
--colorscale default \
--output ripe_map.html
🏁 Output
Every visualization is an interactive Plotly map with:
-
Clickable mode toggles
-
Primary org / country count / prefix count views
-
Responsive scaling
-
Exportable HTML or PNG
Further Reading
You can find more details about this project on my official website Logan Ramos
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 cider_cli-0.1.5.tar.gz.
File metadata
- Download URL: cider_cli-0.1.5.tar.gz
- Upload date:
- Size: 28.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c99149bd6f96f99df07dd9e4023d52b07bcc7d12ec4a991e9ed1ea1a6a6df113
|
|
| MD5 |
1df9a61c11b5956fa6b6e14628d54273
|
|
| BLAKE2b-256 |
677e2c918cf35d553c7251846132045580700620fb715e08744bb9ad92873847
|
Provenance
The following attestation bundles were made for cider_cli-0.1.5.tar.gz:
Publisher:
publish-pypi.yml on lramos0/cider-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cider_cli-0.1.5.tar.gz -
Subject digest:
c99149bd6f96f99df07dd9e4023d52b07bcc7d12ec4a991e9ed1ea1a6a6df113 - Sigstore transparency entry: 779985835
- Sigstore integration time:
-
Permalink:
lramos0/cider-cli@6818b20ae8448a3f526849c10068311241761c6c -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/lramos0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@6818b20ae8448a3f526849c10068311241761c6c -
Trigger Event:
release
-
Statement type:
File details
Details for the file cider_cli-0.1.5-py3-none-any.whl.
File metadata
- Download URL: cider_cli-0.1.5-py3-none-any.whl
- Upload date:
- Size: 35.0 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 |
7254edb0f7e880db0b5b7d7a7dc173914f4d76c5c8a436899de4674c339de7b6
|
|
| MD5 |
4da2fc57b4445f4a21a8f313066115ef
|
|
| BLAKE2b-256 |
8eb242abfea8575b03840d56b139e522dc40cad426ee84e80738bcaae832fce1
|
Provenance
The following attestation bundles were made for cider_cli-0.1.5-py3-none-any.whl:
Publisher:
publish-pypi.yml on lramos0/cider-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cider_cli-0.1.5-py3-none-any.whl -
Subject digest:
7254edb0f7e880db0b5b7d7a7dc173914f4d76c5c8a436899de4674c339de7b6 - Sigstore transparency entry: 779985837
- Sigstore integration time:
-
Permalink:
lramos0/cider-cli@6818b20ae8448a3f526849c10068311241761c6c -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/lramos0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@6818b20ae8448a3f526849c10068311241761c6c -
Trigger Event:
release
-
Statement type: