asdig is a simple tool for retrieving ASN (autonomous system number)

match from IPv4/IPv6 published by services like Rezopole GoASMap or
Cymru.

For a given IPv4 or IPv6 it would display current BGP anouncements
received at the BGP-infrastructure of the queried IP-to-AS reference
server, or Internet Exchange Point (IXP) subnets from PeeringDB, or
reserved subnets from Internet Assigned Numbers Authority (IANA).  For a
given AS number it would display a digest of the registered informations
from Regional Internet Registries (RIR).

https://github.com/Rezopole/asdig

Thanks to kn@ and sthen@ for their input & help.

OK kn@
This commit is contained in:
denis 2020-05-18 11:00:41 +00:00
parent 7b107b3e31
commit a262672a06
4 changed files with 46 additions and 0 deletions

31
net/asdig/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/05/18 11:00:41 denis Exp $
COMMENT = retrieve routing informations efficiently via dns queries
GH_ACCOUNT = rezopole
GH_PROJECT = asdig
GH_TAGNAME = v0.97
CATEGORIES = net
MAINTAINER = Denis Fondras <denis@openbsd.org>
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} c lib/libbind/bind m
LIB_DEPENDS = net/libbind
SEPARATE_BUILD = Yes
CONFIGURE_STYLE = autoreconf
CONFIGURE_ARGS = prefix=${PREFIX} \
mandir=${PREFIX}/man
AUTOCONF_VERSION = 2.69
AUTOMAKE_VERSION = 1.16
# network access
TEST_IS_INTERACTIVE = Yes
TEST_TARGET = vimtest
.include <bsd.port.mk>

2
net/asdig/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (asdig-0.97.tar.gz) = bRpaJbiHUx2X36IEi022A0WkGsz/hO7aQqzQu7mY+2Q=
SIZE (asdig-0.97.tar.gz) = 15662

10
net/asdig/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
asdig is a simple tool for retrieving ASN (autonomous system number)
match from IPv4/IPv6 published by services like Rezopole GoASMap
(http://github.com/rezopole/goasmap) or Cymru.
For a given IPv4 or IPv6 it would display current BGP anouncements
received at the BGP-infrastructure of the queried IP-to-AS reference
server, or Internet Exchange Point (IXP) subnets from PeeringDB,
or reserved subnets from Internet Assigned Numbers Authority (IANA).
For a given AS number it would display a digest of the registered
informations from Regional Internet Registries (RIR).

3
net/asdig/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/05/18 11:00:41 denis Exp $
@bin bin/asdig
@man man/man1/asdig.1