-/* $OpenBSD: main.c,v 1.265 2024/09/03 15:04:48 job Exp $ */
+/* $OpenBSD: main.c,v 1.266 2024/09/04 15:46:43 job Exp $ */
/*
* Copyright (c) 2021 Claudio Jeker <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
"proc exec unveil", NULL) == -1)
err(1, "pledge");
- while ((c = getopt(argc, argv, "Ab:Bcd:e:fH:jmnoP:rRs:S:t:T:vVx")) != -1)
+ while ((c = getopt(argc, argv, "Ab:Bcd:e:fH:jmnoP:Rs:S:t:T:vVx")) != -1)
switch (c) {
case 'A':
excludeaspa = 1;
case 'R':
rrdpon = 0;
break;
- case 'r': /* Remove after OpenBSD 7.3 */
- rrdpon = 1;
- break;
case 's':
timeout = strtonum(optarg, 0, 24*60*60, &errs);
if (errs)
usage:
fprintf(stderr,
- "usage: rpki-client [-ABcjmnoRrVvx] [-b sourceaddr] [-d cachedir]"
+ "usage: rpki-client [-ABcjmnoRVvx] [-b sourceaddr] [-d cachedir]"
" [-e rsync_prog]\n"
" [-H fqdn] [-P epoch] [-S skiplist] [-s timeout]"
" [-T table]\n"
-.\" $OpenBSD: rpki-client.8,v 1.108 2024/08/20 12:53:47 job Exp $
+.\" $OpenBSD: rpki-client.8,v 1.109 2024/09/04 15:46:43 job Exp $
.\"
.\" Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: August 20 2024 $
+.Dd $Mdocdate: September 4 2024 $
.Dt RPKI-CLIENT 8
.Os
.Sh NAME
.Nd RPKI validator to support BGP routing security
.Sh SYNOPSIS
.Nm
-.Op Fl ABcjmnoRrVvx
+.Op Fl ABcjmnoRVvx
.Op Fl b Ar sourceaddr
.Op Fl d Ar cachedir
.Op Fl e Ar rsync_prog
seconds from the unix epoch.
This overrides the default of using the current system time.
.It Fl R
-Synchronize via RSYNC only.
-.It Fl r
-Synchronize via RRDP.
-If RRDP fails, RSYNC will be used.
-This is the default.
-Mutually exclusive with
-.Fl n .
+Disable RRDP, synchronize only via RSYNC.
.It Fl S Ar skiplist
Do not connect to hosts listed in the
.Ar skiplist