An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          



addr




Look up route origin information from the command-line





GitHub Workflow Status


Codecov


GitHub release (latest SemVer)





addr gets its information from the wonderful bgp.tools.

## 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 prefix

Flags:
-h, --help help for addr
-v, --version version for addr

Use "addr [command] --help" for more information about a command.
```

### ASN

![](https://github.com/thatmattlove/addr/blob/main/screenshot1.png?raw=true)

### IP Address/Prefix

![](https://github.com/thatmattlove/addr/blob/main/screenshot2.png?raw=true)

![GitHub](https://img.shields.io/github/license/thatmattlove/addr?style=for-the-badge&color=black)