Null User
edd5801e1d
fuck.
2022-02-09 13:20:14 +00:00
Null User
3195e542b7
Moving cache more
2022-02-09 12:58:35 +00:00
Null User
179ebdd40a
Wire up cache refactor stuff
2022-02-09 12:43:47 +00:00
Null User
f2531db1e1
Shuffle shuffle shuffle refactor metrics
2022-02-02 05:15:05 +00:00
Null User
a19658de54
Well, metrics are moved and it builds?
2022-02-02 04:48:24 +00:00
Ties de Kock
1833aceccf
Revert defer unlock in select/case
...
Hindsight... Agree with lspgn here, it is confusing that there is
a non-local effect (lock being held) that you will only hit when
you add code later in the same function.
I do not like the style of the alternatives (anonymous functions
called immediately) either.
2021-10-31 17:05:57 +01:00
Ties de Kock
3822cf8807
Do not defer unlock 'over' channel communication
2021-10-31 11:26:09 +01:00
Ties de Kock
4ddfd7f215
defer unlocks in rtrmon iff unlock happens before return
2021-10-30 16:16:32 +02:00
Darren O'Connor
91228f65e3
remove unused
2021-10-27 20:59:40 -04:00
Darren O'Connor
0b738b8ee2
GOMAXPROCS
2021-10-27 18:16:16 -04:00
Null User
5878317f6e
Catch error and simplify the initial sync stuff
2021-10-27 04:36:47 +00:00
Null User
2455723c87
Make the refresh faster when update fails
2021-10-26 15:20:17 +00:00
Null User
76eac7450a
Refresh faster when the VRPs weren't downloaded on init
2021-10-26 14:14:55 +00:00
Null User
6332b3ee71
Fix the crash in #39
2021-10-26 13:37:56 +00:00
Darren O'Connor
c55254b8ff
Controversial
2021-10-25 21:26:49 -04:00
Darren O'Connor
783f2eaf9f
More test code
2021-10-25 20:52:41 -04:00
Job Snijders and GitHub
fb912e5c18
Merge pull request #35 from bgp/feature/add-codeql-actions
...
Add codeql actions
2021-10-25 20:07:31 +01:00
Ties de Kock
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
Ties de Kock
bd1a7d232f
Document rtrmon behaviour and metrics
...
* Add how to run rtrmon in the README
* Basic explanation of rtrmon metrics in the README
2021-10-25 19:45:16 +02:00
Job Snijders
876179b0d9
Use specific prometheus exporter port for rtrmon
2021-10-24 14:24:08 +00:00
Job Snijders
580a914a01
Switch to stayrtr specific Prometheus port
2021-10-24 14:22:45 +00:00
Darren O'Connor
ef1da161e0
Bump to 1.16 and remove deprecated package
2021-10-24 10:04:09 -04:00
Ties de Kock and Job Snijders
5f34f8c4f3
Abort when positional arguments are provided
2021-10-20 09:13:10 +00:00
Ties de Kock and Job Snijders
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
Ties de Kock and Job Snijders
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
Job Snijders
e9eba5e63f
Add length checks
2021-10-20 09:13:10 +00:00
Job Snijders
eaa1f0bee2
Convert a number of places from string to int
2021-10-20 09:13:10 +00:00
Job Snijders
bcbffb50bc
Add more test data
2021-10-20 09:13:10 +00:00
Ties de Kock and Job Snijders
07b91f052f
Visibility thresholds can be overridden via args
...
* Visibility thresholds can be overridden via command line arguments.
* Format the default thresholds in help output
2021-10-20 09:13:10 +00:00
Ties de Kock and Job Snijders
a29da795ac
Track objects that differ for a longer period separately
...
* Track when the VRP was first seen for each VRP
* Add a metric which tracks how many objects that were first seen
[duration] ago are not present in the other endpoint.
* Use current naming convention for the metric to be consistent (i.e. no
prefix with application name).
2021-10-20 09:13:10 +00:00
Job Snijders and Job Snijders
38d058e133
more cleanup
2021-10-20 09:13:10 +00:00
Job Snijders and Job Snijders
eff66b2e0d
More cleanups
2021-10-20 09:13:10 +00:00
Job Snijders and Job Snijders
00bdf085ca
remove unneeded dependencies
2021-10-20 09:13:10 +00:00
Job Snijders and Job Snijders
bea554ffbd
by default emit some log output on stdout
2021-10-20 09:13:10 +00:00
Job Snijders and Job Snijders
4a32f18e17
remove cf.pub
2021-10-20 09:13:10 +00:00
Job Snijders and Job Snijders
9f9de8af55
Remove -verify option
...
This solves #2
2021-10-20 09:13:10 +00:00
Job Snijders and Job Snijders
6d022d33bf
remove key reference
2021-10-20 09:13:10 +00:00
Job Snijders and Job Snijders
1e3201a89c
flip some defaults
2021-10-20 09:13:10 +00:00
Ties de Kock and Job Snijders
539c0d393a
Add If-Modified-Since support to stayrtr
2021-10-20 09:13:10 +00:00
Ties de Kock and Job Snijders
27ca8523d3
Add Last-Modified support to http client and rtrmon
...
Adds `Last-Modified` header support and enables this (and `ETag`s)
by default for rtrmon.
I'm using rtrmon with a backend that suports `If-Modified-Since`
but not `If-None-Match`. To poll this often (sub-minute interval)
it is better to use conditional requests.
2021-10-20 09:13:10 +00:00
Ties de Kock and Job Snijders
8645bef1e4
Use the correct url in prometheus label
2021-10-20 09:13:10 +00:00
Job Snijders
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
Generic Commit Task
a945537f3e
Change JSON default
...
Fixes #4
2021-05-08 02:04:15 +00:00
Generic Committer and Generic Commit Task
eb60e4b5e9
Rebrand
2021-05-07 14:37:05 +00:00
Louis Poinsignon
24a2b45435
fix build flags
2020-11-23 15:14:07 -08:00
Louis Poinsignon
53e60e542e
fix ssh rtrmon issues
2020-11-23 15:14:07 -08:00
Louis Poinsignon
cced326b97
fix dockerfiles
2020-11-23 15:14:07 -08:00
Louis Poinsignon
5eab7fd59a
Prometheus
2020-11-23 15:11:56 -08:00
Louis Poinsignon
6c18d81f8f
rtrmon: improve metadata
2020-11-23 15:11:56 -08:00
Louis Poinsignon
98803cd72d
Add RTRmon, a tool to compare different RTR/JSON outputs
2020-11-23 15:11:56 -08:00