summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/main.c
AgeCommit message (Expand)Author
2021-02-19Convert reallocarray + memset to recallocarray.Theo Buehler
2021-02-19Move the mkpath() call from the rsync path to the main process. This allowsClaudio Jeker
2021-02-18All the code for output handling was moved to output.c some time ago.Claudio Jeker
2021-02-16Prevent double free by copying the URI string from struct tal to the repo.Claudio Jeker
2021-02-16Rework the repository handling. Split the handling of trust anchors intoClaudio Jeker
2021-02-05Remove the not so periodic stats from rpki-client. The output is not veryClaudio Jeker
2021-02-04The uri parameter of struct entity is actually a local file path.Claudio Jeker
2021-02-04Define the msgbuf queues globably. Clean up the code since rsyncq and procqClaudio Jeker
2021-02-04Fix an overly long lineClaudio Jeker
2021-02-04Remove openssl includes and fcntl.h neither of those are used in main.c.Claudio Jeker
2021-02-04Shuffle code around, move all the bits of proc_parser into parser.c.Claudio Jeker
2021-02-02Adjust the repository handling a bit. Instead of storing host/module pairsClaudio Jeker
2021-01-29A while ago rpki-client was changed to validate the sha256 hashes ofClaudio Jeker
2021-01-08Simplify the entity queue processing. There is no need to keep the entityClaudio Jeker
2021-01-08Start using the ibuf API (ibuf_dynamic, ibuf_add, ibuf_close) for writingClaudio Jeker
2020-12-21Now that a NULL string is marshalled as NULL again we can drop someClaudio Jeker
2020-12-18Use asprintf with %.*s to construct the path based on the mft fileClaudio Jeker
2020-12-09Validate ghostbuster records (RFC 6493) but for now do nothing with theClaudio Jeker
2020-12-02Remove the last users of io_*_write functions that call io_simple_write()Claudio Jeker
2020-10-24queue_add_from_cert() and queue_add_from_tal() are both called with properlyClaudio Jeker
2020-10-11Introduce repo_filename() a function that converts a URI into the localClaudio Jeker
2020-10-01Rewrite the signal handler to just toggle a flag and then exit asapClaudio Jeker
2020-10-01Make the repotab (rt) a global instead of passing the value around asClaudio Jeker
2020-10-01Use correct way to report error when strtonum fails.Claudio Jeker
2020-09-15Experienced a situation where (older code) rpki-client+openrsyncd got "stuck"Theo de Raadt
2020-09-12Remove last two arguments from repo_lookup() since they are unused.Claudio Jeker
2020-09-12Move the proc_rsync and with that the rsync processing into rsync.cClaudio Jeker
2020-09-12Delete unused strdup().tobhe
2020-09-12Change the noop (-n) behaviour. When no network fetch is done thereClaudio Jeker
2020-07-31Replace warnc() with warnx() + strerror() since the first is less portable.Claudio Jeker
2020-07-28-Separate out the adding of trust anchors into a separate function thanBob Beck
2020-06-30Remove -f (force) option.job
2020-06-24Stop using rsync --delete when syncing up with the CA repos. InsteadClaudio Jeker
2020-05-18Properly wait for exiting rsync processes. Since SIGCHILD is blockedClaudio Jeker
2020-05-06rpki-client is only interested in real files. Don't tell rsync toClaudio Jeker
2020-04-30Reword verbose log messages to clarify what's happeningjob
2020-04-30Place elapsed, user, and system time for processing in the comment headers.Theo de Raadt
2020-04-28Print statistics as comments at the top of the files which can takeTheo de Raadt
2020-04-23Always initialize cachedir and outputdir.Sebastian Benoit
2020-04-18improve whitespaces in usageTheo de Raadt
2020-04-16remove the libcrypto cleanup before exit. Most of the functions areClaudio Jeker
2020-04-16Replace deprecated ERR_remove_state(0) with ERR_remove_thread_state(NULL);Claudio Jeker
2020-04-01Split the mft file and hash check from the mft parsing. This makes it easierClaudio Jeker
2020-04-01Better warning message. Show the filename of the CRL instead of the constantClaudio Jeker
2020-03-06Change default table name for BIRD to something that is more easily identifab...job
2020-02-11Simplify and unify wording for the -I sourceaddr option in various places.Theo de Raadt
2019-12-16When rsync exits non zero because of network issues or because theClaudio Jeker
2019-12-06add -d to usage();Jason McIntyre
2019-12-06Don't hardcode the cache directory for rpki-client. If started as rootClaudio Jeker
2019-12-05No need to unveil(NULL, NULL) right before pledge "stdio rpath".Theo Buehler