]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Prioritize https refreshes on TAL URLs
authorAlberto Leiva Popper <ydahhrk@gmail.com>
Mon, 24 Mar 2025 13:06:55 +0000 (10:06 -0300)
committerAlberto Leiva Popper <ydahhrk@gmail.com>
Mon, 24 Mar 2025 13:10:55 +0000 (10:10 -0300)
commitedfde02f1b9375a04658c253c778797d54f0beee
treeb72a6ebb58474e097717496bc6381da1c2fcfdfc
parentfd961c9472277f95b9ad47bbd480eac1fd6a4cf7
Prioritize https refreshes on TAL URLs

Few reasons:

1. rsync is a bit of a pain as a retrieval tool for RPKI,
   and I'd like to avoid it when I can get away with it.
2. Refresh by SIA was already prioritizing RRDP over rsync,
   so this makes the overall behavior more consistent.
3. Always preferring one protocol over the other tends to
   reduce bandwidth & cache usage.

So, mirror the SIA refresh order for TAs. From highest to lowest
priority:

1. Online HTTPS (including RRDP)
2. Online rsync
3. Fallback HTTPS (including RRDP)
4. Fallback rsync
src/object/tal.c