hints:rpki
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| hints:rpki [2025/10/17 07:55] – [FORT] philip | hints:rpki [2026/07/20 14:54] (current) – [RPKI-client] 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.14.2, 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 95: | Line 72: | ||
| < | < | ||
| - | wget https:// | + | wget https:// |
| </ | </ | ||
| and then install it: | and then install it: | ||
| < | < | ||
| - | sudo apt install ./fort_1.6.7-1_amd64.deb | + | sudo apt install ./fort_1.6.8-1_amd64.deb |
| </ | </ | ||
| Line 190: | Line 167: | ||
| **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 as part of the Ubuntu 22.04 distribution. However, the packaged version is old (version 7.6). At the time of writing, the current release of **rpki-client** is version 8.7. | + | **rpki-client** has now been packaged and is available |
| - | So for this reason, and to stay up to date, at least 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. Oh well. | + | My preference is to stay up to date on Ubuntu, |
| - | ==== 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**, | ||
| - | < | ||
| - | 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:// | + | ==== Initial Preparation ==== |
| - | < | + | |
| - | 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** | + | Before you attempt |
| < | < | ||
| - | sudo apt install libssl-dev | + | sudo apt install |
| </ | </ | ||
| Line 254: | Line 202: | ||
| < | < | ||
| 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 342: | Line 290: | ||
| < | < | ||
| cd dist | cd dist | ||
| - | sudo cp -p stayrtr-v0.6.2-linux-x86_64 / | + | sudo cp -p stayrtr-v0.6.4-1-g4bad963-linux-x86_64 / |
| - | sudo cp -p rtrdump-v0.6.2-linux-x86_64 / | + | sudo cp -p rtrdump-v0.6.4-1-g4bad963-linux-x86_64 / |
| - | sudo cp -p rtrmon-v0.6.2-linux-x86_64 / | + | sudo cp -p rtrmon-v0.6.4-1-g4bad963-linux-x86_64 / |
| </ | </ | ||
hints/rpki.1760687752.txt.gz · Last modified: by philip
