]> git.ipfire.org Git - thirdparty/FORT-validator.git/log
thirdparty/FORT-validator.git
4 years agoMerge branch 'master' into master 47/head
Julian Reschke [Fri, 19 Feb 2021 09:36:57 +0000 (10:36 +0100)] 
Merge branch 'master' into master

4 years agoUpdate docs, set 'router-keys' as name for output.bgpsec in json format
pcarana [Thu, 18 Feb 2021 04:41:33 +0000 (22:41 -0600)] 
Update docs, set 'router-keys' as name for output.bgpsec in json format

4 years agoAdd argument to set the desired output format
pcarana [Thu, 18 Feb 2021 02:08:30 +0000 (20:08 -0600)] 
Add argument to set the desired output format

4 years agosupport ROA export in JSON formatwq
reschke [Wed, 10 Feb 2021 18:01:44 +0000 (19:01 +0100)] 
support ROA export in JSON formatwq

4 years agoFix rsync and thread pool bugs. 1.5.0 v1.5.0
pcarana [Wed, 27 Jan 2021 15:32:18 +0000 (09:32 -0600)] 
Fix rsync and thread pool bugs.

+Mistakenly (of course, it was a bug) the returned value from rsync execution was being confused with the returned value from execvp call. The main problem was when rsync returned a code 12 (Error in rsync protocol data stream); in that case, the caller confused that error with ENOMEM (also with value 12), which led to terminate execution.
+The thread pool wait function wasn't considering pending taks at the queue; also the poll function was holding and releasing the mutex more than it was needed, and the thread attributes are now globally initialized (thanks @ydahhrk for the code review).
+Increment the number of threads at the internal pool to 10.

4 years agoFix vCard broken unit test
pcarana [Mon, 18 Jan 2021 22:33:02 +0000 (16:33 -0600)] 
Fix vCard broken unit test

4 years agoFix vCard properties basic validation
pcarana [Wed, 13 Jan 2021 16:47:24 +0000 (10:47 -0600)] 
Fix vCard properties basic validation

4 years agoUpdate license year
pcarana [Thu, 7 Jan 2021 22:53:15 +0000 (16:53 -0600)] 
Update license year

4 years agoAdd 'Quick Start' paragraph and some usage examples of --init-tals
pcarana [Tue, 15 Dec 2020 23:00:51 +0000 (17:00 -0600)] 
Add 'Quick Start' paragraph and some usage examples of --init-tals

4 years agoUpdate default value of thread-pool.validation.max to 5
pcarana [Tue, 15 Dec 2020 00:37:17 +0000 (18:37 -0600)] 
Update default value of thread-pool.validation.max to 5

4 years agoUse --tal argument with --init-tals (that now is a flag)
pcarana [Tue, 15 Dec 2020 00:00:07 +0000 (18:00 -0600)] 
Use --tal argument with --init-tals (that now is a flag)

4 years agoForce to stop application on ENOMEM error
dhfelix [Sat, 28 Nov 2020 01:03:21 +0000 (19:03 -0600)] 
Force to stop application on ENOMEM error

discussed in #40

4 years agoAdd warning messages to notify start/end of first validation cycle
pcarana [Thu, 26 Nov 2020 00:19:57 +0000 (18:19 -0600)] 
Add warning messages to notify start/end of first validation cycle

4 years agoAdd docs for thread-pool.* args, add flow to reject RTR clients
pcarana [Wed, 25 Nov 2020 23:28:40 +0000 (17:28 -0600)] 
Add docs for thread-pool.* args, add flow to reject RTR clients

+An RTR client is rejected when there aren't available threads at the pool to attend it.
+Add new function at thread_pool.c to check if the pool has available threads to work.
+Use an internal buffer at sockaddr2str(), since the buffer received as parameter wasn't utilized by anybody.
+Update max values: thread-pool.server.max=500, thread-pool.validation.max=100.

4 years agoFix server.address examples
pcarana [Wed, 25 Nov 2020 22:08:04 +0000 (16:08 -0600)] 
Fix server.address examples

4 years agoRemove debug comments and code
pcarana [Tue, 24 Nov 2020 00:32:21 +0000 (18:32 -0600)] 
Remove debug comments and code

4 years agoUpdate to newer version 1.5.0 and TODO list at docs
pcarana [Tue, 24 Nov 2020 00:25:09 +0000 (18:25 -0600)] 
Update to newer version 1.5.0 and TODO list at docs

4 years agoUse thread pool for RTR server/clients, validation cycles at main thread
pcarana [Tue, 24 Nov 2020 00:20:40 +0000 (18:20 -0600)] 
Use thread pool for RTR server/clients, validation cycles at main thread

+Change the previous logic: RTR server lived at the main thread and the validation cycles were run in a distinct thread. Now the validation cycles are run at the main thread, and RTR server is spawned at a new thread.
+Create internal thread pool to handle RTR server task and delete RRDP dirs tasks.
+Create thread pool to handle incoming RTR clients. One thread is utilized per client.
+Create args: 'thread-pool.server.max' (spawned threads to attend RTR clients) and 'thread-pool.validation.max' (spawned threads to run validation cycles).
+Shutdown all living client sockets when the application ends its execution.
+Rename 'updates_daemon.*' to 'validation_run.*'.

4 years agoImplement a thread pool, still pending to use at RTR clients
pcarana [Fri, 6 Nov 2020 01:49:43 +0000 (19:49 -0600)] 
Implement a thread pool, still pending to use at RTR clients

+The pool is basically a tasks queue, it's initialized using a fixed amount of threads (all of them spawned at pool creation) where each of them will be waiting for pending tasks to attend.
+TODO: the number of threads per pool must be configurable.
+TODO: right now only a pool is utilized at the TALs validation (and therefore the whole RPKI tree beneath them), at least another pool can be used to receive RTR clients.

4 years agoAdd '--daemon' argument to daemonize fort, fixes #25
pcarana [Fri, 30 Oct 2020 20:18:13 +0000 (14:18 -0600)] 
Add '--daemon' argument to daemonize fort, fixes #25

+When the flag is enabled, any value set at '--log.output' and '--validation-log.output' is overwritten with 'syslog' (all enabled logs will be sent to syslog).
+Update the docs to include the new argument.

4 years agoAdd argument '--init-tals' to fetch RIR TALs
pcarana [Wed, 28 Oct 2020 00:22:11 +0000 (18:22 -0600)] 
Add argument '--init-tals' to fetch RIR TALs

+Once utilized, FORT tries to download the TALs and exits. In order to download ARIN TAL, the user must explicitly accept its RPA by typing yes (ignoring case) at stdin.
+Remove the write callback from HTTP download callers, it was unnecessary since every caller did the same thing.
+Update the docs to include the new argument.

4 years agoMerge from master (v1.4.2)
pcarana [Mon, 26 Oct 2020 23:55:13 +0000 (17:55 -0600)] 
Merge from master (v1.4.2)

4 years agoFix broken unit tests v1.4.2
pcarana [Tue, 20 Oct 2020 23:34:14 +0000 (18:34 -0500)] 
Fix broken unit tests

4 years agoMerge from 1.4.2 bug fix
pcarana [Mon, 19 Oct 2020 23:07:11 +0000 (18:07 -0500)] 
Merge from 1.4.2 bug fix

4 years agoExclude ARIN's TAL from git clean
pcarana [Mon, 19 Oct 2020 21:50:30 +0000 (16:50 -0500)] 
Exclude ARIN's TAL from git clean

4 years agoFix bug: data can be stale when the local-repository is deleted.
pcarana [Sat, 17 Oct 2020 01:27:26 +0000 (20:27 -0500)] 
Fix bug: data can be stale when the local-repository is deleted.

The data remained the same until an RRDP server had a delta update; in such case the updated files weren't found and the snapshot was processed, so the local cache was built again. In case that the RRDP server didn't had updates, the root manifest wasn't found and the whole validation cycle results were discarded.

Now, when the manifest isn't found and the RRDP has no updates, force the snapshot processing to assure that the error isn't of the RP. Also, update the daemon that cleans up the RRDP visited URIs, so that it deletes the files from its corresponding workspace.

4 years agoAdd links to Mikrotik, Arista, Nokia, and Huawei docs
pcarana [Thu, 1 Oct 2020 18:40:36 +0000 (13:40 -0500)] 
Add links to Mikrotik, Arista, Nokia, and Huawei docs

4 years agoMinor fixes: add a couple of spaces, and 'pr_crit' at thread errors
pcarana [Thu, 1 Oct 2020 17:31:17 +0000 (12:31 -0500)] 
Minor fixes: add a couple of spaces, and 'pr_crit' at thread errors

4 years agoUpdate to current version 1.4.2
pcarana [Tue, 29 Sep 2020 16:23:55 +0000 (11:23 -0500)] 
Update to current version 1.4.2

4 years agoAvoid the same leak that existed at v1.4.0
pcarana [Tue, 29 Sep 2020 15:21:26 +0000 (10:21 -0500)] 
Avoid the same leak that existed at v1.4.0

4 years agoMerge from master (v1.4.1)
pcarana [Tue, 29 Sep 2020 15:19:00 +0000 (10:19 -0500)] 
Merge from master (v1.4.1)

4 years agoUpdate current version to 1.4.1 v1.4.1
pcarana [Wed, 23 Sep 2020 18:08:47 +0000 (13:08 -0500)] 
Update current version to 1.4.1

4 years agoFix leaks due to bad struct release and wrong lock usage
pcarana [Wed, 23 Sep 2020 17:02:45 +0000 (12:02 -0500)] 
Fix leaks due to bad struct release and wrong lock usage

+Also add missing parenthesis at logging docs, and fix lock usage at RRDP DB (db_rrdp_reset_visited_tals).

4 years agoInclude RPM installation steps
pcarana [Wed, 9 Sep 2020 22:02:51 +0000 (17:02 -0500)] 
Include RPM installation steps

4 years agoRename LICENSE file, update year (a bit late), include license at dist
pcarana [Fri, 4 Sep 2020 23:28:39 +0000 (18:28 -0500)] 
Rename LICENSE file, update year (a bit late), include license at dist

4 years agoUpdate to newer version 1.4.1
pcarana [Wed, 2 Sep 2020 21:41:01 +0000 (16:41 -0500)] 
Update to newer version 1.4.1

4 years agoMerge from master
pcarana [Wed, 2 Sep 2020 15:43:04 +0000 (10:43 -0500)] 
Merge from master

4 years agoUpdate docs to include 'docker pull' option, related to #17
pcarana [Tue, 1 Sep 2020 21:38:52 +0000 (16:38 -0500)] 
Update docs to include 'docker pull' option, related to #17

4 years agoUse a local workspace fort RRDP related files, fixes #39.
pcarana [Tue, 1 Sep 2020 19:29:20 +0000 (14:29 -0500)] 
Use a local workspace fort RRDP related files, fixes #39.

+Whenever an RRDP file is identified (ie. update notification URI) create a directory at '--local-repository' where all of the RRDP files (XMLs as well as 'publish' elements at those snapshot/delta files) will be created and read.
+The rsync URIs at the publish/withdraw elements, are mapped to the location <--local-repository>/<rrdp workspace>/<URI part>. Eg. if '--local-repository=/tmp/fort' and the current workspace (each TAL has its own workspace) is 'ABC', then the URI 'rsync://example.com/foo/bar.cer' will be created at '/tmp/fort/ABC/example.com/foo/bar.cer'.
-RSYNC repositories are still created at '--local-repository'.

4 years agoRemove useless variable
pcarana [Fri, 28 Aug 2020 21:07:55 +0000 (16:07 -0500)] 
Remove useless variable

4 years agoUse the latest version (1.4.0) at Dockerfile
pcarana [Fri, 28 Aug 2020 20:54:45 +0000 (15:54 -0500)] 
Use the latest version (1.4.0) at Dockerfile

4 years agoClose socket on error, log bind info one time only v1.4.0
pcarana [Thu, 13 Aug 2020 21:42:25 +0000 (16:42 -0500)] 
Close socket on error, log bind info one time only

4 years agoAdd installation steps using Marco d'Itri (@rfc1036) debian package
pcarana [Fri, 7 Aug 2020 00:02:09 +0000 (19:02 -0500)] 
Add installation steps using Marco d'Itri (@rfc1036) debian package

4 years agoLog info message of revalidation only if 'incid-crl-stale' is 'warn'
pcarana [Thu, 6 Aug 2020 18:11:36 +0000 (13:11 -0500)] 
Log info message of revalidation only if 'incid-crl-stale' is 'warn'

4 years agoFix typos (prefered -> preferred)
pcarana [Tue, 4 Aug 2020 21:57:00 +0000 (16:57 -0500)] 
Fix typos (prefered -> preferred)

4 years agoMerge from master
pcarana [Tue, 4 Aug 2020 21:53:05 +0000 (16:53 -0500)] 
Merge from master

4 years agoMerge pull request #37 from LucianaMatesoft/master
pcarana [Tue, 4 Aug 2020 20:59:41 +0000 (15:59 -0500)] 
Merge pull request #37 from LucianaMatesoft/master

Add configuration for SEO.

4 years agoAdd plugins installation to README and fix minor typos 37/head
pcarana [Tue, 4 Aug 2020 20:57:26 +0000 (15:57 -0500)] 
Add plugins installation to README and fix minor typos

4 years agoShorten description for index page. Add sitemap generation.
lvitale [Mon, 3 Aug 2020 11:40:43 +0000 (08:40 -0300)] 
Shorten description for index page. Add sitemap generation.

4 years agoAdd SEO configuration and description for all pages.
lvitale [Fri, 31 Jul 2020 21:11:29 +0000 (18:11 -0300)] 
Add SEO configuration and description for all pages.

4 years agoMinor update: stop reading XML doc on error
pcarana [Fri, 31 Jul 2020 18:18:46 +0000 (13:18 -0500)] 
Minor update: stop reading XML doc on error

4 years agoLog (missing) XML reader errors
pcarana [Thu, 30 Jul 2020 18:59:00 +0000 (13:59 -0500)] 
Log (missing) XML reader errors

4 years agoMove the xmlRelaxNGSetParserErrors() call and its first parameter
pcarana [Wed, 29 Jul 2020 18:27:55 +0000 (13:27 -0500)] 
Move the xmlRelaxNGSetParserErrors() call and its first parameter

4 years agoAlso send XML2 parser errors to configured log output
pcarana [Wed, 29 Jul 2020 18:10:28 +0000 (13:10 -0500)] 
Also send XML2 parser errors to configured log output

4 years agoUpdate ARIN's TAL local file name
pcarana [Wed, 29 Jul 2020 16:58:22 +0000 (11:58 -0500)] 
Update ARIN's TAL local file name

4 years agoChange the way that the server handles client connections, fix memleak
pcarana [Tue, 28 Jul 2020 23:16:35 +0000 (18:16 -0500)] 
Change the way that the server handles client connections, fix memleak

+Using a thread for each server socket worked ok, but at a great cost since each thread can increase memory consumption; instead, use non-blocking sockets and select() to poll for client connections on each configured server socket.
+Fix memory leak when the incidence 'stale CRL' returns error.

4 years agoSend libxml log messages to configured validation log output
pcarana [Tue, 28 Jul 2020 01:30:06 +0000 (20:30 -0500)] 
Send libxml log messages to configured validation log output

4 years agoUpdate docs with new http.* args and deprecated rrdp.* args
pcarana [Tue, 28 Jul 2020 00:06:19 +0000 (19:06 -0500)] 
Update docs with new http.* args and deprecated rrdp.* args

4 years agoIgnore case when comparing URI protocol
pcarana [Fri, 24 Jul 2020 18:00:16 +0000 (13:00 -0500)] 
Ignore case when comparing URI protocol

4 years agoFix AIA validation, log all 'enomem', use tmp files at http downloads
pcarana [Fri, 24 Jul 2020 17:08:50 +0000 (12:08 -0500)] 
Fix AIA validation, log all 'enomem', use tmp files at http downloads

+The AIA validation flow didn't considered entirely the scenario where a TA child AIA extension didn't matched the actual location from where the TA was fetched (common case: when its downloaded from an HTTPS URI), so despite the TA actually existed it wasn't considered when the validator was working with local files.
+Replace all '-ENOMEM' return codes with the log function 'pr_enomem'.
+Use temporal files whenever an HTTPS file is being downloaded.
+Fix memory leak when working with local TA files.
+The message '{..} discarding any other validation results' is now sent to the operation log.
+Fix GCC 10 warning related to 'strncpy', use 'memcpy' instead.

4 years agoMove rrdp.* args to http.* configurations
pcarana [Thu, 23 Jul 2020 16:46:10 +0000 (11:46 -0500)] 
Move rrdp.* args to http.* configurations

+The new arguments are: http.enabled, http.priority, http.retry.count, http.retry.interval.
+rrdp.* args still exist. When any of them is set (via conf file or as arg) a warning message is displayed and the value of the argument is set to its corresponding http.* arg.
+Move the 'retries logic' to the http requests, since only RRDP flows had it.
+At a TAL: when shuffle-uris arg is set, do the shuffle first and then consider the priority set at rsync and http args, so that the priority argument can be honored.

4 years agoUse CURLOPT_NOSIGNAL to avoid signals at the multithreaded environment
pcarana [Tue, 21 Jul 2020 16:41:08 +0000 (11:41 -0500)] 
Use CURLOPT_NOSIGNAL to avoid signals at the multithreaded environment

4 years agoUpdate docs with new incidences and server.address behavior
pcarana [Tue, 14 Jul 2020 23:32:04 +0000 (18:32 -0500)] 
Update docs with new incidences and server.address behavior

+Also mark 100% compliance with manifests RFC, since the new incidences (stale objects) covers the missing 'local policies' of an RP.

4 years agoAdd the option to run from a docker container, add image build to README
pcarana [Tue, 14 Jul 2020 18:52:35 +0000 (13:52 -0500)] 
Add the option to run from a docker container, add image build to README

4 years agoMention that the TALs have an HTTPS URI, fixes #34
pcarana [Tue, 14 Jul 2020 17:26:03 +0000 (12:26 -0500)] 
Mention that the TALs have an HTTPS URI, fixes #34

4 years agoUpdate to the newer version
pcarana [Tue, 14 Jul 2020 00:18:57 +0000 (19:18 -0500)] 
Update to the newer version

4 years agoAdd docker folder and Dockerfile to build the image, fixes #17
pcarana [Mon, 13 Jul 2020 23:53:51 +0000 (18:53 -0500)] 
Add docker folder and Dockerfile to build the image, fixes #17

4 years agoAdd manual installation steps for Alpine and Gentoo
pcarana [Mon, 13 Jul 2020 23:47:57 +0000 (18:47 -0500)] 
Add manual installation steps for Alpine and Gentoo

4 years agoAdd stale MFT and CRL incidences
pcarana [Mon, 13 Jul 2020 22:05:33 +0000 (17:05 -0500)] 
Add stale MFT and CRL incidences

+The new incidences have the IDs 'incid-crl-stale' and 'incid-mft-stale'.
+SSL lib implementations (OpenSSL and LibreSSL at least) doesn't make it easy to ignore a stale CRL, so when the incidence exists and is warn/ignored, retry the verification using a cloned CRL with a valid 'nextUpdate' field.

4 years agoAllow to bind to multiple addresses using a CSV at server.address
pcarana [Mon, 13 Jul 2020 19:08:59 +0000 (14:08 -0500)] 
Allow to bind to multiple addresses using a CSV at server.address

4 years agoAdd HTTPS URIs to TALs, update ARIN download URI
pcarana [Mon, 13 Jul 2020 18:00:08 +0000 (13:00 -0500)] 
Add HTTPS URIs to TALs, update ARIN download URI

5 years agoFix bug: error'd repositories weren't logged if a child repo was synced v1.3.0
pcarana [Fri, 3 Jul 2020 21:56:04 +0000 (16:56 -0500)] 
Fix bug: error'd repositories weren't logged if a child repo was synced

+If a parent repository wasn't successfully synced (eg. LACNIC) but a child repository was synced (eg. Brazil), the errors related to the parent repository weren't logged to the operation log.
+Fix this by poping the working repository from the TA, since this was causing the error. All the repositories were erroneously related, so on success of any of them, the error logs were discarded.
+Two additional updates are done: don't rsync when forcing the download of an URI whose ancestor had a previous error, and remove line breaks from stale repositories summary.
+Rename some local variables to aid dev reading.

5 years agoAdd paragraph to help when installing debian package
pcarana [Thu, 2 Jul 2020 17:19:37 +0000 (12:19 -0500)] 
Add paragraph to help when installing debian package

5 years agoRemove completed TODO
pcarana [Wed, 1 Jul 2020 17:35:16 +0000 (12:35 -0500)] 
Remove completed TODO

5 years agoFix bug: didn't searched local files when an RRDP URI failed previously
pcarana [Fri, 26 Jun 2020 23:09:32 +0000 (18:09 -0500)] 
Fix bug: didn't searched local files when an RRDP URI failed previously

+Whenever an RRDP repository can't be fetched, an attempt to work with local files must be done. If RSYNC was disabled and there was an error fetching the RRDP repository, the next time that repository was found on a certificate, it was being rejected; the right thing to do, is to consider such scenario and keep working locally.

5 years agoAvoid additional operations after calling fork()
pcarana [Fri, 26 Jun 2020 19:38:23 +0000 (14:38 -0500)] 
Avoid additional operations after calling fork()

+Based on https://pubs.opengroup.org/onlinepubs/9699919799/functions/fork.html, the function called by the child process now avoids malloc's and only redirects its output to the corresponding pipes before doing the rsync execution with execvp().
+This fixes #35. Something at the musl implementation (very specific for docker+alpine) hangs the child process right after its creation, the parent process waits for the child to end but it never does, so the container runs for ever and never ends a validation cycle.
+Also, flush stderr/stdout before fork() to avoid a possible (in docker+alpine, almost sure) deadlock between parent process and its forked child.

5 years agoConsider that outgoing requests can be disabled
pcarana [Wed, 24 Jun 2020 20:47:10 +0000 (15:47 -0500)] 
Consider that outgoing requests can be disabled

5 years agoFix several bugs related to sync errors, update some log messages
pcarana [Fri, 19 Jun 2020 22:30:43 +0000 (17:30 -0500)] 
Fix several bugs related to sync errors, update some log messages

+Fix bug: an endless loop when a requested URI error was removed.
+Fix bug: some error'd URIs could be logged despite that their repository data was successfully fetched with another access method.
+Fig bug: if a TAL has more than one URI and there was an error fetching an URI, the following URIs in the list weren't considered to get the TA certificate.
+Only 'stderr' rsync output will be sent to operation log considering '--stale-repository-period', the 'stdout' rsync output will be sent to validation log at level info.
+Messages of rsync/rrdp retries are 'upgraded' from level info to warn (all on validation logs).
+Add a warning message (validation log) whenever local data is going to be utilized due to previous errors fetching repositories or TA certificates.
+Log all communication errors if 'log.level=debug'.

5 years agoSyslog facilities 'kern' and 'syslog' aren't supported
pcarana [Mon, 15 Jun 2020 23:05:33 +0000 (18:05 -0500)] 
Syslog facilities 'kern' and 'syslog' aren't supported

5 years agoReplace args '*log.prefix' for '*log.tag', add help message.
pcarana [Sat, 13 Jun 2020 00:34:57 +0000 (19:34 -0500)] 
Replace args '*log.prefix' for '*log.tag', add help message.

+Do the replacement at code, docs and unit tests.
+Add a help message that's printed whenever there's an error at the configuration arguments.
+Fix a broken unit test.
+Fix the description of 'validation-log.tag'.
+Fix some errors at configuration examples ('examples/config.json') and at the web docs ('usage.html#--configuration-file').

5 years agoFix bug when applying SLURM, and configure the log level on empty dirs
pcarana [Thu, 4 Jun 2020 23:14:03 +0000 (18:14 -0500)] 
Fix bug when applying SLURM, and configure the log level on empty dirs

+The bug was when a SLURM was successfully loaded, instead of stopping the interfal flow on success (a 'return' was needed) it continued to the error flow. This lead to worst errors later, such as segfault when a valid slurm was applied.
+Log error whenever the TALs configured directory is empty, log warning if the SLURM directory is empty.

5 years agoFix a logging problem
dhfelix [Wed, 3 Jun 2020 23:14:07 +0000 (18:14 -0500)] 
Fix a logging problem

When validating the application settings, the error messages were not
displayed.

5 years agoFix unit tests, add missing impersonator log functions
pcarana [Mon, 1 Jun 2020 16:50:07 +0000 (11:50 -0500)] 
Fix unit tests, add missing impersonator log functions

5 years agoFix log configuration issues
dhfelix [Fri, 29 May 2020 00:11:00 +0000 (19:11 -0500)] 
Fix log configuration issues

Some logs were displayed despite being disabled.

5 years agoAdd new logging docs (log types and arguments)
pcarana [Thu, 21 May 2020 18:51:21 +0000 (13:51 -0500)] 
Add new logging docs (log types and arguments)

5 years agoMerge branch 'master' into 1.3.0
pcarana [Thu, 21 May 2020 04:30:49 +0000 (23:30 -0500)] 
Merge branch 'master' into 1.3.0

5 years agoUse common function to get time, try to simplify previous SLURM loading
pcarana [Thu, 21 May 2020 04:23:20 +0000 (23:23 -0500)] 
Use common function to get time, try to simplify previous SLURM loading

5 years agoAdd installation steps for Gentoo, fixes #23
pcarana [Thu, 21 May 2020 04:10:31 +0000 (23:10 -0500)] 
Add installation steps for Gentoo, fixes #23

5 years agoDocument new configuration arg 'stale-repository-period'
pcarana [Thu, 21 May 2020 04:09:59 +0000 (23:09 -0500)] 
Document new configuration arg 'stale-repository-period'

5 years agoSeparate validation logs from operation logs
dhfelix [Thu, 21 May 2020 03:05:27 +0000 (22:05 -0500)] 
Separate validation logs from operation logs

Fix #31

5 years agoMerge pull request #33 from ximon18/typo-correction
pcarana [Wed, 20 May 2020 15:25:35 +0000 (10:25 -0500)] 
Merge pull request #33 from ximon18/typo-correction

Documentation typo corrections

5 years agoFIX: tunned -> tuned 33/head
ximon18 [Wed, 20 May 2020 12:51:57 +0000 (14:51 +0200)] 
FIX: tunned -> tuned

5 years agoFIX: criptographically -> cryptographically
ximon18 [Wed, 20 May 2020 12:46:30 +0000 (14:46 +0200)] 
FIX: criptographically -> cryptographically

5 years agoLog only communication errors on first level RPKI servers
pcarana [Mon, 18 May 2020 22:54:42 +0000 (17:54 -0500)] 
Log only communication errors on first level RPKI servers

5 years agoUpgrade to new version
pcarana [Wed, 13 May 2020 23:47:07 +0000 (18:47 -0500)] 
Upgrade to new version

5 years agoAllow to work with cache on requests errors, common func to get date
pcarana [Wed, 13 May 2020 23:43:43 +0000 (18:43 -0500)] 
Allow to work with cache on requests errors, common func to get date

+ Create common function to get the current date and time.
+ Identify request errors, specifically after trying to fetch data via http/rsync without success. This helps to identify if a whole repository can't be downloaded after a considerable time (it can be configured).
+ Allow to work with local files even when there was a download error.
+ Add 'stale-repository-period' argument to set the time period that must lapse to warn about stale repositories (this will be logged to the operation log).

5 years agoFix typo v1.2.1
pcarana [Tue, 28 Apr 2020 23:20:49 +0000 (18:20 -0500)] 
Fix typo

5 years agoFix typo at error message
pcarana [Fri, 24 Apr 2020 18:52:07 +0000 (13:52 -0500)] 
Fix typo at error message

5 years agoMerge branch 'master' into 1.2.1
pcarana [Fri, 24 Apr 2020 18:17:46 +0000 (13:17 -0500)] 
Merge branch 'master' into 1.2.1

Add docs updates to have the latest version plus the new changes.

5 years agoDocument MALLOC_ARENA_MAX memory tuning quirk
pcarana [Thu, 23 Apr 2020 23:50:41 +0000 (18:50 -0500)] 
Document MALLOC_ARENA_MAX memory tuning quirk