summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client
AgeCommit message (Expand)Author
2021-03-05Factor out the URI check we do in various places into valid_uri().Claudio Jeker
2021-03-05Factor out the SHA256 hash checks into valid_filehash() so that it canClaudio Jeker
2021-03-05Remove space at end of lineClaudio Jeker
2021-03-04Add two error checks for strdup for consistency.Theo Buehler
2021-03-04typo in commentTheo Buehler
2021-03-04Last commit was done from a non-clean tree. Revert one line that brokeClaudio Jeker
2021-03-04Unify the out of memory errors here as well.Claudio Jeker
2021-03-04Use the same way to error out in out of memory situation.Claudio Jeker
2021-03-04an -> andTheo Buehler
2021-03-04zap whitespace on three linesTheo Buehler
2021-03-04Replace NOTREACHED with actuall errx() calls. I managed to return fromClaudio Jeker
2021-03-04Remove NOTREACHED marker, it should be obvious when the code is:Claudio Jeker
2021-03-04Simply ignore errors from tls_close(). ftp(1) does the same and it seemsClaudio Jeker
2021-03-04Implement a https client as a sub-process for rpki-client. This code willClaudio Jeker
2021-03-02There is no longer the need to mkpathat(), the main process runs now fromClaudio Jeker
2021-03-02Open both the cachedir and outputdir early and use fchdir(2) toClaudio Jeker
2021-03-02When building the chain of the intermediate certificates do not include theClaudio Jeker
2021-02-27It is perfectly fine to POLLIN and POLLOUT at the same time. It mayClaudio Jeker
2021-02-23Adjust pledge() and unveil() calls for proc_rsync() a bit. Since theClaudio Jeker
2021-02-22Rename mkpath() to mkpathat() since it uses mkdirat() internally.Claudio Jeker
2021-02-19Convert reallocarray + memset to recallocarray.Theo Buehler
2021-02-19Add the same ASCII check to the URI in TAL files as we do for URI in .cer filesClaudio Jeker
2021-02-19Move the mkpath() call from the rsync path to the main process. This allowsClaudio Jeker
2021-02-18Use X509_get_ext_d2i() also for x509_get_aki() and x509_get_ski().Claudio 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-16get Authority Information Access (AIA) from CA & EE certsjob
2021-02-08Extract the 1.3.6.1.5.5.7.48.5 (caRepository) SIA from the certificate.Claudio 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-04Eventhough most openssl includes include everything try to be a bit moreClaudio Jeker
2021-02-04Remove openssl includes and fcntl.h neither of those are used in main.c.Claudio Jeker
2021-02-04Cleanup openssl includes a bit. Use x509.h instead of x509v3.h, add asn1.hClaudio Jeker
2021-02-04Shuffle code around, move all the bits of proc_parser into parser.c.Claudio 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-02-02Add a mkpath() helper function to rpki-client to recursively createClaudio Jeker
2021-01-29A while ago rpki-client was changed to validate the sha256 hashes ofClaudio Jeker
2021-01-12rsync is using buffered output now, so remove this FIXME commentClaudio 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-29Fix calloc in GBRjob
2020-12-21Now that a NULL string is marshalled as NULL again we can drop someClaudio Jeker
2020-12-18In io_str_read() return 0-length strings as NULL pointers instead ofClaudio Jeker
2020-12-18Use asprintf with %.*s to construct the path based on the mft fileClaudio Jeker
2020-12-09Lets claim RFC6493 support.Claudio Jeker
2020-12-09Validate ghostbuster records (RFC 6493) but for now do nothing with theClaudio Jeker