hints:rpki
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hints:rpki [2026/03/13 05:47] – [Initial Preparation] philip | hints:rpki [2026/09/13 03:17] (current) – [Building StayRTR] philip | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| ===== NLnetLabs Routinator ===== | ===== NLnetLabs Routinator ===== | ||
| - | Nothing to say here, the instructions just work, the validator installs sweetly, and just runs. As long as the instructions are followed. The current version of Routinator is 0.15.1, at time of writing. | + | Nothing to say here, the instructions just work, the validator installs sweetly, and just runs. As long as the instructions are followed. The current version of Routinator is 0.15.2, at time of writing. |
| - | If using Debian/ | + | If using Debian/ |
| - | + | ||
| - | If the link to the supplied package is added to your package manager, for example **apt** on Ubuntu, then create an entry in **/ | + | |
| - | + | ||
| - | < | + | |
| - | deb [arch=amd64] https:// | + | |
| - | </ | + | |
| - | + | ||
| - | (Note: if you are trying this on Ubuntu 24.04, there is no package for '' | + | |
| - | + | ||
| - | Then run: | + | |
| - | + | ||
| - | < | + | |
| - | wget -qO- https:// | + | |
| - | </ | + | |
| - | + | ||
| - | And then finally: | + | |
| - | + | ||
| - | < | + | |
| - | apt-get update | + | |
| - | apt install routinator | + | |
| - | </ | + | |
| - | + | ||
| - | Easy! | + | |
| The installer will set up the necessary **systemd** file so that Routinator starts automatically on boot. Remember to modify the **/ | The installer will set up the necessary **systemd** file so that Routinator starts automatically on boot. Remember to modify the **/ | ||
| Line 86: | Line 63: | ||
| ===== FORT ===== | ===== FORT ===== | ||
| - | FORT is the validator developed by NIC Mexico. More about it is on the [[https:// | + | FORT is the validator developed by NIC Mexico. More about it is on the [[https:// |
| - | FORT is available as part of Ubuntu 22.04 packaging, but it is an older version (1.5.3-1). Likewise for Ubuntu 24.04, the FORT shipped is version 1.6.1-1build3. For this reason we use the latest NIC Mexico produced package. | + | Do note that from version 1.6.3, FORT requires Ubuntu 24.04 as it requires libjansson4 (>= 2.14). Ubuntu 22.04 only comes with libjansson4 2.13.1-1.1build3 will only support FORT version 1.6.2. |
| + | |||
| + | FORT is available as part of Ubuntu 22.04 packaging, but it is an older version (1.5.3-1). Likewise for Ubuntu 24.04, the FORT shipped is version 1.6.1-1build3. Ubuntu 26.04 ships with version 1.6.7-1. For this reason we use the latest NIC Mexico produced package. | ||
| FORT is not quite so easy to install, but still relatively simple as long as you follow the instructions on their [[https:// | FORT is not quite so easy to install, but still relatively simple as long as you follow the instructions on their [[https:// | ||
| Line 95: | Line 74: | ||
| < | < | ||
| - | wget https:// | + | https:// |
| </ | </ | ||
| and then install it: | and then install it: | ||
| < | < | ||
| - | sudo apt install ./fort_1.6.7-1_amd64.deb | + | sudo apt install ./fort_1.7.0.experimental-1_amd64.deb |
| </ | </ | ||
| Line 190: | Line 169: | ||
| **rpki-client** is just a validator - it does not have the functionality to accept connections from a router. We'll come to that later on (we'll need to use [[rpki# | **rpki-client** is just a validator - it does not have the functionality to accept connections from a router. We'll come to that later on (we'll need to use [[rpki# | ||
| - | **rpki-client** has now been packaged and is available across most mainstream Linux/ | + | **rpki-client** has now been packaged and is available across most mainstream Linux/ |
| - | So to stay up to date on Ubuntu, we have to build it ourselves. A pity that the **rpki-client** maintainers don't build their own deb package, or pre-build packages like NLnetLabs do with Routinator, given that Ubuntu maintainers seem to be unable to keep the software current. Oh well. | + | My preference is to stay up to date on Ubuntu, |
| Line 198: | Line 177: | ||
| ==== Initial Preparation ==== | ==== Initial Preparation ==== | ||
| - | Before you attempt to download and build it, the **rpki-client** instructions note that you need a few other packages in place. These include **automake**, | + | Before you attempt to download and build it, the **rpki-client** instructions note that you need a few other packages in place. These include **automake**, |
| - | < | + | |
| - | sudo apt install automake autoconf make git libtool libexpat1-dev | + | |
| - | </ | + | |
| - | The other required package noted in the instructions is **tls** from LibreSSL. LibreSSL is a branch of OpenSSL and is used on OpenBSD - not found on Linux, but seems to be appearing in the latest Debian/ | + | |
| - | + | ||
| - | First we go to [[https:// | + | |
| - | < | + | |
| - | wget https:// | + | |
| - | </ | + | |
| - | We then unpack it: | + | |
| - | < | + | |
| - | tar zxf libressl-3.9.2.tar.gz | + | |
| - | </ | + | |
| - | and then build it: | + | |
| - | < | + | |
| - | cd libressl-3.9.2 | + | |
| - | ./configure --enable-libtls-only | + | |
| - | make | + | |
| - | sudo make install | + | |
| - | </ | + | |
| - | Note the option to only build **libtls** - we don't need the rest of LibreSSL and it could well interfere with OpenSSL which will already be on the system. Now that **libtls** is built, the **install** action will put the libraries in **/ | + | |
| - | < | + | |
| - | -rw-r--r-- 1 root root 18679208 Jul 14 10:11 libtls.a | + | |
| - | -rw-r--r-- 1 root root 923 Jul 14 10:11 libtls.la | + | |
| - | lrwxrwxrwx 1 root root 16 Jul 14 10:11 libtls.so -> libtls.so.29.0.0 | + | |
| - | lrwxrwxrwx 1 root root 16 Jul 14 10:11 libtls.so.29 -> libtls.so.29.0.0 | + | |
| - | -rw-r--r-- 1 root root 8721528 Jul 14 10:11 libtls.so.29.0.0 | + | |
| - | </ | + | |
| - | Run **sudo ldconfig** so that the system knows about the new libraries. | + | |
| - | + | ||
| - | Next we need to get some packages that **rpki-client** needs. These are **libssl-dev**, **rsync** and **zlib1g-dev**. | + | |
| < | < | ||
| - | sudo apt install libssl-dev | + | sudo apt install |
| </ | </ | ||
| Line 256: | Line 204: | ||
| < | < | ||
| sudo groupadd _rpki-client | sudo groupadd _rpki-client | ||
| - | sudo useradd | + | sudo useradd |
| </ | </ | ||
| Now we can install RPKI-client: | Now we can install RPKI-client: | ||
| Line 302: | Line 250: | ||
| First you will need a working Go environment. Full instructions are at [[https:// | First you will need a working Go environment. Full instructions are at [[https:// | ||
| - | First off, download the latest Go package (1.24.4 at time of writing): | + | First off, download the latest Go package (1.27.1 at time of writing): |
| < | < | ||
| - | wget https:// | + | wget https:// |
| </ | </ | ||
| If you have an existing Go environment, | If you have an existing Go environment, | ||
| Line 314: | Line 262: | ||
| cd /usr/local | cd /usr/local | ||
| sudo chmod 777 . | sudo chmod 777 . | ||
| - | tar xzf ~/go1.24.4.linux-amd64.tar.gz | + | tar xzf ~/go1.27.1.linux-amd64.tar.gz |
| sudo chmod 755 . | sudo chmod 755 . | ||
| </ | </ | ||
| Line 344: | Line 292: | ||
| < | < | ||
| cd dist | cd dist | ||
| - | sudo cp -p stayrtr-v0.6.3-8-g9586f8f-linux-x86_64 / | + | sudo cp -p stayrtr-v0.6.4-6-gf833a75-linux-x86_64 / |
| - | sudo cp -p rtrdump-v0.6.3-8-g9586f8f-linux-x86_64 / | + | sudo cp -p rtrdump-v0.6.4-6-gf833a75-linux-x86_64 / |
| - | sudo cp -p rtrmon-v0.6.3-8-g9586f8f-linux-x86_64 / | + | sudo cp -p rtrmon-v0.6.4-6-gf833a75-linux-x86_64 / |
| </ | </ | ||
hints/rpki.1773380843.txt.gz · Last modified: by philip
