summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client
AgeCommit message (Expand)Author
2021-06-29Flip the -r RRDP switch, which went through community testing for half a year.Theo de Raadt
2021-06-14Fix ROA & MFT version check handlingjob
2021-06-14Change errors for file manipulations from err(3) to warn(3) and adjust theClaudio Jeker
2021-06-14Do a fstatvfs() call to figure out if the filesystem used for the cacheClaudio Jeker
2021-06-03Use O_DIRECTORY when opening directories. This makes some errors a bitClaudio Jeker
2021-05-27Fix more warningsjob
2021-05-27Fix warningjob
2021-05-18bump rpki-client versionSebastian Benoit
2021-05-11Make sure some variables are initialised since modern gcc warns about them.Claudio Jeker
2021-05-11Arm the alarms in all childs so they terminate if the timeout is hit.Claudio Jeker
2021-05-11Before calling ASN1_time_parse() initialize the struct tm. WhileClaudio Jeker
2021-05-10To add keep-alive support the read handler got changed a lot. Now whenClaudio Jeker
2021-05-09Garbage collect sz in mft_parse_filehash() which has been unusedTheo Buehler
2021-05-09two whitespace tweaksTheo Buehler
2021-05-09Remove unnecessary NULL check that breaks the build with OpenSSL 1.1.Theo Buehler
2021-05-06Bring comment in sync with the code. No functional change.Claudio Jeker
2021-05-06Add an 'expires' column to CSV & JSON outputjob
2021-05-05Emit an integer instead of a string in JSON outputjob
2021-05-05Clarify -n behaviorjob
2021-05-04Similar to rsync repo delay deletes for rrdp repos to after processingClaudio Jeker
2021-04-21HTTP errors are logged by the http module. No need to repeat them.Claudio Jeker
2021-04-21When setting RRDP_STATE_PARSE_ERROR a warning is issued so there is no needClaudio Jeker
2021-04-20Add keep-alive support to the HTTP module.Claudio Jeker
2021-04-20Switch some warnings to logx() to reduce log noise on runs without -v.Claudio Jeker
2021-04-20more KNFTheo de Raadt
2021-04-19code review results in KNF, and moving local variables into lowest scopeTheo de Raadt
2021-04-15Reshuffle and reindent code. No functional change.Claudio Jeker
2021-04-15Rework the http code to require poll() only when really needed.Claudio Jeker
2021-04-15Make rpki-client -V output nicer.Claudio Jeker
2021-04-15Call rrdp_data_handler() for any kind of poll event that has happened.Claudio Jeker
2021-04-15Do not only check the serial number but also the session_id beforeClaudio Jeker
2021-04-14move the RPKI_VERSION define into its own version.h file, helps portable.Sebastian Benoit
2021-04-13Adjust http_done() the be more like http_fail() -- only do the messageClaudio Jeker
2021-04-13Before adding a file to the temporary rrdp repo remove it from theClaudio Jeker
2021-04-12Cast XML_GetCurrentLineNumber() to unsigned long long in warnx sinceClaudio Jeker
2021-04-11Fix two typos in commentsjob
2021-04-09Tidy up the http state machine a bit. Make sure that http_nextstate() runsClaudio Jeker
2021-04-08Expose two extra metrics via JSONjob
2021-04-08Increase buffer size for http_info a bit. 64 chars is a bit short forClaudio Jeker
2021-04-08Refactor the regular and chunked data write so that one function canClaudio Jeker
2021-04-08Switch logic from != to ==. Makes the code easier to read.Claudio Jeker
2021-04-08Change the order of the poll loop to first process active http connectionsClaudio Jeker
2021-04-08Shuffle deck chairs so that the order is more logical (at least for me).Claudio Jeker
2021-04-08Prevent a use-after-free access in case of a http redirect by also clearingClaudio Jeker
2021-04-08More cleanup of the main function. Use a loop to collect all childs withClaudio Jeker
2021-04-08Missing setproctitle("rrdp") noticed by deraadt@Claudio Jeker
2021-04-08reword manpage on -njob
2021-04-07In some cases the http process terminates and Theo's and my theory is thatClaudio Jeker
2021-04-07Free the parser then close the file. Seems like the better order.Claudio Jeker
2021-04-07minor KNF found while hunting for a bugTheo de Raadt