netravnen
3bec9ae84c
Do not modify $maxLength to greater value than $mask if imported from ICVPN or CHAOSVPN |
||
---|---|---|
README.md | ||
roagen.php | ||
update.sh |
dn42-rpki-export.json
Requirements for running
- Verify curl, git, bash, and php is installed.
mkdir -p ~/dn42/
.cd ~/dn42/
.git clone https://git.dn42.us/netravnen/dn42-rpki-export.json
.git clone https://git.dn42.us/dn42/registry
.- Verify everything work by running
cd ~/dn42/dn42-rpki-export.json/ && php roagen.php
. - In $USER crontab file put
14 */3 * * * cd ~/dn42/dn42-rpki-export.json/ && php roagen.php
. Finetune time between runs to your liking.
NB: The roagen.php script is written with the paths to the dn42 registry folder being both git repositories reside in the same parent folder.