summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/rsync.c
AgeCommit message (Expand)Author
12 hoursRewrite the rpki-client io read handling using the new ibuf_read API.Claudio Jeker
13 hoursAdjust rpki-client to new msgbuf APIClaudio Jeker
13 hoursAdjust rpki-client to the new msgbuf_write apiClaudio Jeker
13 hoursConvert msgbuf_write() callers to the new return logic.Claudio Jeker
8 daysrpki-client: use macros for skipping rather than hardcoded numbersTheo Buehler
2024-08-20Use msgbuf_queuelen() instead of accessing the queued member directly.Claudio Jeker
2024-03-22Replace protocol literal strings and strlen() calls with defined constantsJob Snijders
2024-02-26Also download SPLs via rsyncJob Snijders
2023-11-24Require files to be of a minimum size in the RRDP & RSYNC transportsJob Snijders
2023-11-23Don't set directory modtimes to match the sourceJob Snijders
2022-12-28spelling fixes; from paul tagliamonteJason McIntyre
2022-11-29Only include assert.h if we call assert()Job Snijders
2022-11-02Add support for draft-ietf-sidrops-signed-tal-12Job Snijders
2022-09-02extra newlineClaudio Jeker
2022-09-02Rework the rsync proc code. Use a proper queue of requests and enforceClaudio Jeker
2022-08-09Make the http code respect MAX_CONN_TIMEOUT and fail connects once theyClaudio Jeker
2022-08-08Unify the maximum idle IO timeout for RSYNC & HTTPSJob Snijders
2022-08-08Set rsync connection timeout to 15 seconds.Job Snijders
2022-05-24Introduce MAX_HTTP_REQUESTS and MAX_RSYNC_REQUESTS.Claudio Jeker
2022-04-20more whitespace cleanupsTheo de Raadt
2022-04-20Fix various annoying whitespace errors.Theo Buehler
2022-04-11Refactor on how the subprocesses are started.Claudio Jeker
2022-04-04Change from a dynamic allocation for the process list to a staticClaudio Jeker
2022-03-31Sync & permit ASPA objects to appear on ManifestsJob Snijders
2022-01-13Implement but don't use code to use rsync's --compare-dest feature.Claudio Jeker
2021-12-22Replace two questionable size_t types. For the repo id use a unsigned intClaudio Jeker
2021-11-03Limit the number of rsync processes being spawned by stopping to acceptClaudio Jeker
2021-10-28Don't fetch files larger than 2MBJob Snijders
2021-10-23Rename io_buf_new to io_new_buffer and io_buf_close to io_close_buffer.Claudio Jeker
2021-10-23Finnally move away from blocking reads in rpki-client. The code was aClaudio Jeker
2021-10-22First step of cleanup in the io land. Introduce io_buf_new() andClaudio Jeker
2021-09-01RPKI only cares about *.{cer,crl,gbr,mft,roa} files. Use rsync --includeClaudio Jeker
2021-04-19code review results in KNF, and moving local variables into lowest scopeTheo de Raadt
2021-04-01Abate superfluous lines from remote serversjob
2021-03-18Fail in rsync_base_uri() if the strdup calls fail. Do not bubble thisClaudio Jeker
2021-03-04Use the same way to error out in out of memory situation.Claudio Jeker
2021-03-04Remove NOTREACHED marker, it should be obvious when the code is:Claudio Jeker
2021-02-23Adjust pledge() and unveil() calls for proc_rsync() a bit. Since theClaudio Jeker
2021-02-19Move the mkpath() call from the rsync path to the main process. This allowsClaudio Jeker
2021-02-16Rework the repository handling. Split the handling of trust anchors intoClaudio Jeker
2021-02-03Use mkpath() == -1 to check for failure. No functional change.Claudio Jeker
2021-02-02Adjust the repository handling a bit. Instead of storing host/module pairsClaudio Jeker
2021-01-12rsync is using buffered output now, so remove this FIXME commentClaudio 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-02Remove the last users of io_*_write functions that call io_simple_write()Claudio Jeker
2020-11-24Kill connection if rsync server stallsjob
2020-09-12Include openssl/x509.h in extern.h since it uses a few of the typedefs fromClaudio Jeker
2020-09-12Move the proc_rsync and with that the rsync processing into rsync.cClaudio Jeker
2019-10-31Handle the TAL files in the master process and pass them as buffer to theClaudio Jeker