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

17 Commits

Author SHA1 Message Date
644fb871a3 Move slurm into json file 2021-10-28 20:39:19 -04:00
783f2eaf9f More test code 2021-10-25 20:52:41 -04:00
1262f5f0ca simplifycompositelit: No need to specify type in slice 2021-10-24 10:30:29 -04:00
e9eba5e63f Add length checks 2021-10-20 09:13:10 +00:00
2305bc7144 Shorten error message 2021-10-20 09:13:10 +00:00
eaa1f0bee2 Convert a number of places from string to int 2021-10-20 09:13:10 +00:00
eff66b2e0d More cleanups 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
10e50c95ca Handle invalid slurm entry #67 2020-06-05 16:46:57 -07:00
b4f0245713 Serial control
* Set three modes of operating serial:
  * Default: serials will start at 0 and increment at every change
  * Beginning: serial will be set to the value found in the JSON then increment at every change
  * Full: serial will be set based on the value found in the JSON at each refresh
2020-03-29 18:07:59 -07:00
bc45dfff76 Bugfix #42: empty slurm file removes all ROAs 2020-02-26 20:50:37 -08:00
60f8a6fe84 Filter and assertion implementation (#34)
* Possibility to read a slurm file (rfc8416) from an http/https endpoint or from a file
* Filters prefixes and adds new ones contained in the configuration
* Can output a new rpki.json which contains the updated prefixes and sign it (other GoRTR can consome from it)
2019-11-05 12:39:19 -08:00
e312c7905b Fix potential panic risk for #36 2019-11-05 11:46:11 -08:00
0846db6160 Add GetMaxLen to the prefixfile api 2019-10-25 12:47:12 -07:00
ae09564516 Go fmt 2018-11-12 20:59:38 -08:00
8f6f16dbd0 RTRdump: dump the content of a RTR server in JSON format 2018-11-12 19:10:39 -08:00
c1a96dbfdf Refactoring:
* Moved app in cmd directory
* Moved structures into "file" package
* Inserted cryptographic checks (signature) and validity checks
2018-09-13 14:41:09 -07:00