https://github.com/thatmattlove/addr
Look up route origin information from the command-line
https://github.com/thatmattlove/addr
asn-lookup bgp cli command-line ip-lookup
Last synced: 6 months ago
JSON representation
Look up route origin information from the command-line
- Host: GitHub
- URL: https://github.com/thatmattlove/addr
- Owner: thatmattlove
- License: bsd-3-clause-clear
- Created: 2023-08-04T01:42:35.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-06T19:09:47.000Z (about 2 years ago)
- Last Synced: 2025-04-09T21:44:15.189Z (6 months ago)
- Topics: asn-lookup, bgp, cli, command-line, ip-lookup
- Language: Go
- Homepage:
- Size: 86.9 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Installation
### macOS
#### Homebrew
```console
brew tap thatmattlove/addr
brew install addr
```### Linux
#### Debian/Ubuntu (APT)
```console
echo "deb [trusted=yes] https://repo.fury.io/thatmattlove/ /" > /etc/apt/sources.list.d/thatmattlove.fury.list
sudo apt update
sudo apt install addr
```#### RHEL/CentOS (YUM)
```console
echo -e "[fury-thatmattlove]\nname=thatmattlove\nbaseurl=https://repo.fury.io/thatmattlove/\nenabled=1\ngpgcheck=0" > /etc/yum.repos.d/thatmattlove.fury.repo
sudo yum update
sudo yum install addr
```### Windows
*TODO* In the meantime, download from [releases](https://github.com/thatmattlove/addr/releases)
## Usage
```console
❯ ./addr --help
addr is a tool to look up IP & ASN ownership and routing information.Usage:
addr [flags]
addr [command]Available Commands:
asn Look up an ASN
completion Generate the autocompletion script for the specified shell
help Help about any command
ip Look up an IP address or prefixFlags:
-h, --help help for addr
-v, --version version for addrUse "addr [command] --help" for more information about a command.
```### ASN

### IP Address/Prefix

