summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/repo.c
AgeCommit message (Expand)Author
2023-07-20Do not set O_EXCL on open() when a published file is on the withdraw list.Claudio Jeker
2023-06-29rpki-client: fix vap_pas statsTheo Buehler
2023-06-29In rrdp_session_save() stop the loop over deltas once MAX_RRDP_DELTASClaudio Jeker
2023-06-23Improve detection of RRDP session desynchronizationClaudio Jeker
2023-05-30Fixup file modification timestamps to optimize failover from RRDP to RSYNCJob Snijders
2023-05-25Fix repo_cleanup_entry() state machine so that the repository lookupsClaudio Jeker
2023-05-16RRDP snapshots should encode publish elements only once. If encounteredClaudio Jeker
2023-04-26Improve accounting by tracking things by repo and tal.Claudio Jeker
2023-03-30Add the protocol used to sync the repository to the open-metric output.Claudio Jeker
2023-03-29Instead of storing the short TAL name as repouri use the first TAL URIClaudio Jeker
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
2022-12-15Rework statistic collection to be per repository and add metric output optionClaudio Jeker
2022-09-02Introduce a deadline timer that aborts all repository syncs.Claudio Jeker
2022-09-02Use the abort commands when a repo timeout happens. This is cleanerClaudio Jeker
2022-09-02Move mkpath logic after checking for 'noop' to prevent creation of directorie...Job Snijders
2022-08-30In RRDP mode it is possible that a file in the validated cache dir isClaudio Jeker
2022-07-17infromation -> informationJonathan Gray
2022-05-15More KNF and whitespace fixes.Theo Buehler
2022-04-20Fix various annoying whitespace errors.Theo Buehler
2022-04-04Adjust cache cleanup to the deficits of RRDP. Unlike rysnc, RRDP has noClaudio Jeker
2022-02-14Draw a bit more attention to transport switches between RRDP, RSYNC, and cacheJob Snijders
2022-02-02When a RRDP fetch failed not only clear the filesystem but also flushClaudio Jeker
2022-01-28Do not skip .rrdp cache cleanup if rrdp is off (option -R). The syncClaudio Jeker
2022-01-26Change the repository layout by removing the valid directory. EverythingClaudio Jeker
2022-01-24When rename fails show the source filename and not the destination.Claudio Jeker
2022-01-23Handle EINTR the same way in all poll loops. In all cases restart theClaudio Jeker
2022-01-14Introduce a validated cache which holds all the files that haveClaudio Jeker
2022-01-13Move some functions around to reduce diff with an upcoming change.Claudio Jeker
2022-01-13Alter valid_filehash() to take a file descriptor instead of a path.Claudio Jeker
2022-01-13Implement a RRDP_CLEAR message that instructs the parent to cleanupClaudio Jeker
2022-01-13Add the same entityq_flush() logic in ta_lookup() as it is done inClaudio Jeker
2022-01-11Change the way the parser accesses files. It now builds the file pathClaudio Jeker
2022-01-04Fix -n mode by setting repository states to REPO_DONE instead of theClaudio Jeker
2021-12-29Merge multiple similar code bits together into repo_done(). Which currentlyClaudio Jeker
2021-12-22Replace two questionable size_t types. For the repo id use a unsigned intClaudio Jeker
2021-12-21Simplify code a bit. There is only one TA per TAL and so only oneClaudio Jeker
2021-12-07Use one common function to build the base directory path for repositories.Claudio Jeker
2021-11-25Replace MAX_REPO_TIMEOUT with repo_timeout, which is set to 1/4th ofJob Snijders
2021-11-25Check for possible negative diff timeout. Clamp it to 0 in that case.Claudio Jeker
2021-11-15Adjust how the repository count limit works. Instead of failing hard justClaudio Jeker
2021-11-09Limit the number of publication points under a given TAL.Claudio Jeker
2021-11-04Instead of creating a struct repo for each unique caRepository URIClaudio Jeker
2021-08-12Rework the logic for fetching TA files a bit. Move the logic that checksClaudio Jeker
2021-06-14Change errors for file manipulations from err(3) to warn(3) and adjust theClaudio Jeker
2021-05-04Similar to rsync repo delay deletes for rrdp repos to after processingClaudio Jeker
2021-04-19code review results in KNF, and moving local variables into lowest scopeTheo de Raadt
2021-04-13Before adding a file to the temporary rrdp repo remove it from theClaudio Jeker
2021-04-07When merging a repo even files to delete can be part of the temporaryClaudio Jeker
2021-04-02fix typo + some whitespaceTheo Buehler
2021-04-01spellingTheo de Raadt