From 69f8ed84e0443f79c406471db4e3e23ede5304fa Mon Sep 17 00:00:00 2001 From: Job Snijders Date: Tue, 6 Aug 2024 14:25:16 +0000 Subject: [PATCH 1/3] Switch to RTR version 0 - RFC 6810; the ASPA work still is in flux hindering users. --- cmd/stayrtr/stayrtr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/stayrtr/stayrtr.go b/cmd/stayrtr/stayrtr.go index cbcbc5a..c5f47ae 100644 --- a/cmd/stayrtr/stayrtr.go +++ b/cmd/stayrtr/stayrtr.go @@ -53,7 +53,7 @@ var ( ExportPath = flag.String("export.path", "/rpki.json", "Export path") - RTRVersion = flag.Int("protocol", 2, "RTR protocol version. Version 2 is draft-ietf-sidrops-8210bis-10") + RTRVersion = flag.Int("protocol", 0, "RTR protocol version. Default is version 0 (RFC 6810)") RefreshRTR = flag.Int("rtr.refresh", 3600, "Refresh interval") RetryRTR = flag.Int("rtr.retry", 600, "Retry interval") ExpireRTR = flag.Int("rtr.expire", 7200, "Expire interval") From 5e86f3fb4795c03c0c476daac6aeb73ec757165f Mon Sep 17 00:00:00 2001 From: Job Snijders Date: Tue, 6 Aug 2024 21:10:52 +0200 Subject: [PATCH 2/3] Update stayrtr.go As @cjeker suggested, version 1 brings other benefits aside from BGPsec --- cmd/stayrtr/stayrtr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/stayrtr/stayrtr.go b/cmd/stayrtr/stayrtr.go index c5f47ae..cd9c3c3 100644 --- a/cmd/stayrtr/stayrtr.go +++ b/cmd/stayrtr/stayrtr.go @@ -53,7 +53,7 @@ var ( ExportPath = flag.String("export.path", "/rpki.json", "Export path") - RTRVersion = flag.Int("protocol", 0, "RTR protocol version. Default is version 0 (RFC 6810)") + RTRVersion = flag.Int("protocol", 1, "RTR protocol version. Default is version 0 (RFC 6810)") RefreshRTR = flag.Int("rtr.refresh", 3600, "Refresh interval") RetryRTR = flag.Int("rtr.retry", 600, "Retry interval") ExpireRTR = flag.Int("rtr.expire", 7200, "Expire interval") From 32ee9e0c68c5bad598d2ac8d9c469f6472fc7138 Mon Sep 17 00:00:00 2001 From: Job Snijders Date: Tue, 6 Aug 2024 21:12:03 +0200 Subject: [PATCH 3/3] Update stayrtr.go Also fix description --- cmd/stayrtr/stayrtr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/stayrtr/stayrtr.go b/cmd/stayrtr/stayrtr.go index cd9c3c3..265e94a 100644 --- a/cmd/stayrtr/stayrtr.go +++ b/cmd/stayrtr/stayrtr.go @@ -53,7 +53,7 @@ var ( ExportPath = flag.String("export.path", "/rpki.json", "Export path") - RTRVersion = flag.Int("protocol", 1, "RTR protocol version. Default is version 0 (RFC 6810)") + RTRVersion = flag.Int("protocol", 1, "RTR protocol version. Default is version 1 (RFC 8210)") RefreshRTR = flag.Int("rtr.refresh", 3600, "Refresh interval") RetryRTR = flag.Int("rtr.retry", 600, "Retry interval") ExpireRTR = flag.Int("rtr.expire", 7200, "Expire interval")