Commit graph

44 commits

Author SHA1 Message Date
netravnen ebc8264187 Update 'roagen.php'
Add key for web-links to the git hosted registry at https://git.dn42.us/dn42/registry
2020-01-16 18:18:30 +00:00
netravnen 8114e94073 Update 'roagen.php'
Add web-links to the git hosted registry at https://git.dn42.us/dn42/registry
2020-01-16 10:58:35 +00:00
netravnen 57a755f292 roagen.php: change output datetime format from DATE_W3C to c 2020-01-10 14:27:54 +00:00
netravnen 6028890a49 roagen.php: remove use of uneeded varables, added human readable DateTime 2020-01-10 14:24:21 +00:00
netravnen d009109d65 roagen.php: add additional commentary info to metadata section 2020-01-10 13:56:02 +00:00
netravnen d67cd19794 bird: add ta and mnt info to roa files and sha256 checksums 2020-01-09 17:02:00 +00:00
netravnen 7e8927f375 BUG: fix bird ASNs from invalid string value to valid integer value 2019-01-05 23:58:13 +00:00
netravnen 9c783336e6 lib: add constants.php to hold ALL constants. Instead of stuffing contants into define.php 2019-01-05 22:55:25 +00:00
netravnen 88ae0edd07 BUG: fix roagenerator to be compliant with RFC 6483 section 4.
Changed maxlength to be either 32 (v4) or 128 (v6) when AS0 is set as origin ASN.

"""
4.  Disavowal of Routing Origination

   A ROA is a positive attestation that a prefix holder has authorized
   an AS to originate a route for this prefix into the inter-domain
   routing system.  It is possible for a prefix holder to construct an
   authorization where no valid AS has been granted any such authority
   to originate a route for an address prefix.  This is achieved by
   using a ROA where the ROA's subject AS is one that must not be used
   in any routing context.  Specifically, AS 0 is reserved by the IANA
   such that it may be used to identify non-routed networks [IANA-AS].

   A ROA with a subject of AS 0 (AS 0 ROA) is an attestation by the
   holder of a prefix that the prefix described in the ROA, and any more
   specific prefix, should not be used in a routing context.

   The route validation procedure, described in Section 2, will provide
   a "valid" outcome if any ROA matches the address prefix and origin
   AS, even if other valid ROAs would provide an "invalid" validation
   outcome if used in isolation.  Consequently, an AS 0 ROA has a lower
   relative preference than any other ROA that has a routable AS as its
   subject.  This allows a prefix holder to use an AS 0 ROA to declare a
   default condition that any route that is equal to or more specific
   than the prefix to be considered "invalid", while also allowing other
   concurrently issued ROAs to describe valid origination authorizations
   for more specific prefixes.

   By convention, an AS 0 ROA should have a maxLength value of 32 for
   IPv4 addresses and a maxlength value of 128 for IPv6 addresses;
   although, in terms of route validation, the same outcome would be
   achieved with any valid maxLength value, or even if the maxLength
   element were to be omitted from the ROA.

   Also by convention, an AS 0 ROA should be the only ROA issued for a
   given address prefix; although again, this is not a strict
   requirement.  An AS 0 ROA may coexist with ROAs that have different
   subject AS values; although in such cases, the presence or lack of
   presence of the AS 0 ROA does not alter the route's validity state in
   any way.
"""
2019-01-05 22:38:59 +00:00
netravnen 80185affeb misc: update all outputs to ONLY look for last MERGE commit instead of THE LAST commit 2019-01-05 18:02:18 +00:00
netravnen 897536b105 rfc8416.php, roagen.php: add full url to commit in _comments 2019-01-04 09:34:25 +00:00
netravnen f6ad6102e6 misc: updated JSON file to include a _comments section for when file was last modified 2019-01-04 09:34:25 +00:00
netravnen 585b867394 lib: add constants to define max-length
o MAX_LEN_IPV4
o MAX_LEN_IPV6
2019-01-04 09:34:25 +00:00
netravnen 4ccbe9fbfa roagen: updated to be compliant with current DN42 filtering rules 2019-01-04 09:34:25 +00:00
netravnen 3cd8ba21a5 Move update functions to update.sh 2019-01-04 09:34:25 +00:00
netravnen c93b4f6585 roagen: match for route6 string in route6 objects 2019-01-04 09:34:25 +00:00
netravnen ce523ae748 lib: move {functions,define}.php int lib/ 2019-01-04 09:34:25 +00:00
netravnen 690d942fc8 Move JSON encoding of array() to _functions lib 2019-01-04 09:34:25 +00:00
netravnen 6f08a272fd Bug: fix error in write* functions 2019-01-04 09:34:25 +00:00
netravnen d172a6edc7 Update roagen.php to use shared functions and constants 2019-01-04 09:34:24 +00:00
netravnen 67fa9b17e2 Roagen: changed remote repo name from origin to upstream 2019-01-04 09:34:24 +00:00
netravnen be10fa318f Update roagen.php to include latest git show
Include output of `git show` as comments at the top of output files
2019-01-04 09:34:13 +00:00
netravnen 8d7b160b31 Update roagen.php 2019-01-04 09:34:13 +00:00
netravnen dd79b8f4d2 Update roagen.php
o Added generator for bird roa file
2019-01-04 09:34:13 +00:00
netravnen f355060e9a Updated roagen.php - aligned test better 2019-01-04 09:34:13 +00:00
netravnen 52bca474a6 Updated roagen script to be able to capture and use max-length value 2019-01-04 09:33:05 +00:00
netravnen 69f3c9198f Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen d12f0ff63f Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen 0f7930a171 Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen 58e0219fae Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen f7566c8c52 Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen 1631048bc5 Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen d846811613 Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen 36eee4ca4d Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen cb331c1e31 Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen 8cd64c4f3e Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen b22e984abb Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen 171a528483 Updated roagen.php 2019-01-04 09:33:05 +00:00
netravnen 3bec9ae84c Updated roagen.php
Do not modify $maxLength to greater value than $mask if imported from ICVPN or CHAOSVPN
2019-01-04 09:33:04 +00:00
netravnen 5df235565f Updated roagen.php 2019-01-04 09:33:04 +00:00
netravnen 6a47400c31 Updated roagen.php - Added inline comments 2019-01-04 09:33:04 +00:00
netravnen 7b1699d3ec Updated README.md 2019-01-04 09:33:04 +00:00
netravnen d036c4bd82 Updated roagen.php
o Calls udpate.sh to
   1. commit dn42-rpki-export.json
   2. push repository to all remotes
2019-01-04 09:33:04 +00:00
netravnen 7df86efd21 Added roagen.php
Generates full JSON roa file dn42 registry
2019-01-04 09:33:04 +00:00