Skip to main content

IRRTree

Project description

IRRTree
=======

Simple tool to quickly assess potential resource consumption of an AS-SET.

```
job$ irrtree
IRRtool v1.0.0
usage: irrtree [-h host] [-p port] [-d] [ -4 | -6 ] [-s ASXX] <AS-SET>
-d,--debug print debug information
-4,--ipv4 resolve IPv4 prefixes (default)
-6,--ipv6 resolve IPv6 prefixes
-p,--port=port port on which IRRd runs (default: 43)
-h,--host=host hostname to connect to (default: rr.ntt.net)
-s,--search=AUTNUM output only related to autnum (in ASXXX format)

Written by Job Snijders <job@instituut.net>
Source: https://github.com/job/irrtree
(.venv)Vurt:irrtree job$
```

**Note:** especially when dealing with large AS-SETs, the latency towards the
IRRd host has significant impact on this program's execution time. Lower
latency is beter.

Examples
========

Display structure of `AS-COLOCLUE`, counting IPv6 prefixes:

```
$ irrtree -6 AS-COLOCLUE
IRRTree (1.0.0) report for 'AS-COLOCLUE' (IPv6), using rr.ntt.net at 2015-07-08 00:25
AS-COLOCLUE (3 ASNs, 33 pfxs)
+-- AS-SNIJDERS (2 ASNs, 32 pfxs)
| +-- AS-ESGOB-ANYCAST (1 ASNs, 29 pfxs)
| | +-- AS60564 (29 pfxs)
| +-- AS15562 (3 pfxs)
+-- AS8283 (1 pfxs)
```

Only display leaves in the `AS2914:AS-EUROPE` structure that relate to `AS15562`:

```
$ irrtree -s AS15562 AS-COLOCLUE
IRRTree (1.0.0) report for 'AS-COLOCLUE' (IPv4), using rr.ntt.net at 2015-07-08 00:25
AS-COLOCLUE (3 ASNs, 8 pfxs)
+-- AS-SNIJDERS (2 ASNs, 8 pfxs)
+-- AS15562 (8 pfxs)
```

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

irrtree-1.0.0.tar.gz (5.6 kB view details)

Uploaded Source

File details

Details for the file irrtree-1.0.0.tar.gz.

File metadata

  • Download URL: irrtree-1.0.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for irrtree-1.0.0.tar.gz
Algorithm Hash digest
SHA256 62f2433c4a81315fc8fabbabe034d999875c146e99493f67118708888a6d7467
MD5 cff87a8796e6b193487fffcbe47d6bd9
BLAKE2b-256 48bbd87b2b264f793fef4630867893dba0d02d7249dd914ff5518cba2f7a2480

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page