Commit graph

95 commits

Author SHA1 Message Date
netravnen df0e9c1d59 misc: linkify all filenames in roa/README file 2019-01-05 23:41:44 +00:00
netravnen cdce14fea3 misc: update.sh edited with final notes to roa/README about file compability 2019-01-05 23:36:31 +00:00
netravnen 8157e1c69d misc: add ROA statistics in roa/README file 2019-01-05 23:19:21 +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 b996e31414 lib: Fix error in generation of 'bird4_route_dn42.conf' and 'bird6_route_dn42.conf' 2019-01-05 20:56:27 +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 2264a504c9 lib: update bird conf gen to use 'git log' instad of 'git show' 2019-01-05 17:46:10 +00:00
netravnen 9ea40bc70d update.sh: add link to dn42 registry 2019-01-05 17:35:06 +00:00
netravnen 96364e9a15 update.sh: add link to dn42 registry 2019-01-05 17:29:06 +00:00
netravnen bbcfb35978 update.sh: add link to dn42 registry 2019-01-05 17:28:32 +00:00
netravnen 3f3404005e Update update.sh 2019-01-04 14:43:52 +00:00
netravnen 9e0b71787d Update gitignore 2019-01-04 14:40:32 +00:00
netravnen 547e27e0b6 Update update.sh 2019-01-04 11:21:36 +00:00
netravnen 27cbcb6a2a Update update.sh 2019-01-04 11:20:20 +00:00
netravnen 71de216e73 Update README.md 2019-01-04 10:56:54 +00:00
netravnen eee4e85582 Update README.md 2019-01-04 10:54:51 +00:00
netravnen a5c17a8116 Update README.md 2019-01-04 10:51:48 +00:00
netravnen 8438575854 Update .gitignore 2019-01-04 10:49:14 +00:00
netravnen a125e598d0 Updated README.md 2019-01-04 10:34:42 +00:00
netravnen 155fc86ac9 Updated update.sh 2019-01-04 10:31:03 +00:00
netravnen 755fda7bd3 Update README 2019-01-04 10:25:46 +00:00
netravnen 124e396aa9 update.sh: update 'git push remote' commands to cover both local and sub-repo roa 2019-01-04 10:16:37 +00:00
netravnen a2033470f8 update.sh: ensure sub-repo in dir roa/ is created if not exists 2019-01-04 10:11:22 +00:00
netravnen 98ce68e163 roa: do not ignore roa/.gitkeep 2019-01-04 10:01:12 +00:00
netravnen 3bdf2b3b54 gitignore: Ignore roa/ 2019-01-04 09:34:25 +00:00
netravnen 5025e2b2f4 roagen: update compability for ROA files for Bird 2.x, too.
- Update the following files:
  - lib/functions.php
  - roa/README.md
  - update.sh
- New ROA files being generated for Bird 2.x
  - roa/bird_route_dn42.conf
  - roa/bird4_route_dn42.conf
  - roa/bird6_route_dn42.conf
2019-01-04 09:34:25 +00:00
netravnen 897536b105 rfc8416.php, roagen.php: add full url to commit in _comments 2019-01-04 09:34:25 +00:00
netravnen dd99643721 roa: Output to README file update 2019-01-04 09:34:25 +00:00
netravnen 72a09ef39c rfc8416: update comment field to use url to registry on web 2019-01-04 09:34:25 +00:00
netravnen 7bcb084f8f Doc: Update readme instructions 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 e6c859d9bd misc: fix wrong registry remote name 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 b93f428e97 Update update.sh 2019-01-04 09:34:25 +00:00
netravnen 4edb0b53ea update.sh: Added a roa/README.md to generated output 2019-01-04 09:34:25 +00:00
netravnen e9b77861e7 lib: removed comments from routinator rfc8416 style exception file 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 f8c6a92c72 Remove fetchUpstreamMaster() 2019-01-04 09:34:25 +00:00
netravnen 4287f264f7 git ops: add quiet switch for git push pull operations. 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 3e4779f43c readme: add dir tree 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 6ead86db65 Bug: fix error in function writeBirdConfig 2019-01-04 09:34:24 +00:00
netravnen d172a6edc7 Update roagen.php to use shared functions and constants 2019-01-04 09:34:24 +00:00
netravnen 8e1420558e Update rfc8416.php to use shared functions and constants 2019-01-04 09:34:24 +00:00
netravnen f03f3368a6 Libraries: Moved functions and shared constants into seperate files 2019-01-04 09:34:24 +00:00