1
0
mirror of https://github.com/bgp/stayrtr.git synced 2024-05-06 15:54:54 +00:00

24 Commits

Author SHA1 Message Date
2455723c87 Make the refresh faster when update fails 2021-10-26 15:20:17 +00:00
76eac7450a Refresh faster when the VRPs weren't downloaded on init 2021-10-26 14:14:55 +00:00
6332b3ee71 Fix the crash in #39 2021-10-26 13:37:56 +00:00
c55254b8ff Controversial 2021-10-25 21:26:49 -04:00
783f2eaf9f More test code 2021-10-25 20:52:41 -04:00
0a9217aaad Use local variable for password, not argument
Use the local variable (possibly containing a password from the
environment) for the SSH password.
2021-10-25 20:16:16 +02:00
580a914a01 Switch to stayrtr specific Prometheus port 2021-10-24 14:22:45 +00:00
ef1da161e0 Bump to 1.16 and remove deprecated package 2021-10-24 10:04:09 -04:00
5f34f8c4f3 Abort when positional arguments are provided 2021-10-20 09:13:10 +00:00
03dff2d962 Refactor to update state when cache or SLURM changes
Before this commit the new stayrtr state was only recalculated
when the validated cache changed.

This commit refactors the update loop and separates the actual
update from pulling the updated cache. The update is triggered
when the SLURM file changes _or_ when the validated cache changes.

Should fix https://github.com/cloudflare/gortr/issues/95 and make
further changes that trigger an update when an update in the cache
has expired easier.
2021-10-20 09:13:10 +00:00
4a9a490985 Clarify how boolean options are disabled in the help text.
If they are disabled the wrong way (e.g. `-log.verbose false -loglevel debug`)
some of the arguments are eaten and later arguments no longer apply.
2021-10-20 09:13:10 +00:00
e9eba5e63f Add length checks 2021-10-20 09:13:10 +00:00
bcbffb50bc Add more test data 2021-10-20 09:13:10 +00:00
eff66b2e0d More cleanups 2021-10-20 09:13:10 +00:00
00bdf085ca remove unneeded dependencies 2021-10-20 09:13:10 +00:00
bea554ffbd by default emit some log output on stdout 2021-10-20 09:13:10 +00:00
4a32f18e17 remove cf.pub 2021-10-20 09:13:10 +00:00
9f9de8af55 Remove -verify option
This solves #2
2021-10-20 09:13:10 +00:00
6d022d33bf remove key reference 2021-10-20 09:13:10 +00:00
1e3201a89c flip some defaults 2021-10-20 09:13:10 +00:00
539c0d393a Add If-Modified-Since support to stayrtr 2021-10-20 09:13:10 +00:00
0bbe564d58 Correct terminology helps communicate more clearly about what is happening
Validators (such as rpki-client) ingest ROAs and emit Validated ROA Payloads (VRPs).
RTR servers exclusively deal with ingesting VRPs and emitting VRPs via RTR.
2021-05-08 15:26:08 +00:00
a945537f3e Change JSON default
Fixes #4
2021-05-08 02:04:15 +00:00
eb60e4b5e9 Rebrand 2021-05-07 14:37:05 +00:00