From: pcarana Date: Wed, 2 Oct 2019 15:07:35 +0000 (-0500) Subject: Simplify README, use a similar conf file example at man and docs X-Git-Tag: v1.1.0~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcbfc8591e4121d771aff5d861990f64b74179aa;p=thirdparty%2FFORT-validator.git Simplify README, use a similar conf file example at man and docs --- diff --git a/README.md b/README.md index bb113077..0f55acea 100644 --- a/README.md +++ b/README.md @@ -1,59 +1,9 @@ -# FORT +# FORT Validator -An RPKI Validator and RTR Server. +An RPKI Validator and RTR Server, part of the [FORT project](https://www.fortproject.net). -## Installation +## Documentation -Dependencies: +FORT Validator's documentation (installation, usage, etc.) can be found at [https://nicmx.github.io/FORT-validator/](https://nicmx.github.io/FORT-validator/). -1. libcrypto ([LibreSSL](http://www.libressl.org/) or [OpenSSL](https://www.openssl.org/) >= 1.1) -2. [jansson](https://github.com/akheron/jansson) -3. [rsync](http://rsync.samba.org/) - -The validator is currently supported in *64-bit* OS. A 32-bit OS may face the [Year 2038 problem](https://en.wikipedia.org/wiki/Year_2038_problem) when handling dates at certificates. - -After all the dependencies are installed, run: - -``` -./autogen.sh -./configure -make -make install -``` - -More documentation at [https://nicmx.github.io/FORT-validator/](https://nicmx.github.io/FORT-validator/). - -## Usage - -Use the following command to run an RTR server that will serve the ROAs resulting from a validation rooted at the trust anchors defined by the TALs contained at directory `--tal`: - -``` -fort \ - --tal \ - --local-repository \ - --server.address \ - --server.port -``` - -Run Fort validator as standalone (perform validation and exit) and print ROAs to CSV file: - -``` -fort \ - --mode standalone \ - --output.roa \ - --tal \ - --local-repository -``` - -Run Fort validator using a [SLURM file](https://tools.ietf.org/html/rfc8416): - -``` -fort \ - --slurm \ - --tal \ - --local-repository \ - --server.address \ - --server.port -``` - -Visit the [Usage](https://nicmx.github.io/FORT-validator/usage.html) section at the docs to know all the possible Fort configurations, these are some usage examples. \ No newline at end of file +If you wish to generate the docs by yourself, visit the [docs directory](https://github.com/NICMx/FORT-validator/tree/master/docs). \ No newline at end of file diff --git a/docs/usage.md b/docs/usage.md index ce84165d..300a0f79 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -443,15 +443,16 @@ Path to a JSON file from which additional configuration will be read. The configuration options are mostly the same as the ones from the `argv` interface. (See the "Availability" metadata of each field.) Here's a full configuration file example:
{
-	"tal": "/tmp/fort/tal/test.tal",
-	"local-repository": "/tmp/fort/repository",
+	"tal": "/tmp/fort/tal/",
+	"local-repository": "/tmp/fort/repository/",
 	"sync-strategy": "root",
 	"shuffle-uris": true,
+	"maximum-certificate-depth": 32,
 	"slurm": "/tmp/fort/test.slurm",
 	"mode": "server",
 
 	"server": {
-		"address": "192.0.2.1",
+		"address": "127.0.0.1",
 		"port": "8323",
 		"backlog": 16,
 		"interval": {
@@ -471,12 +472,15 @@ The configuration options are mostly the same as the ones from the `argv` interf
 		"program": "rsync",
 		"arguments-recursive": [
 			"--recursive",
+			"--delete",
 			"--times",
+			"--contimeout=20",
 			"$REMOTE",
 			"$LOCAL"
 		],
 		"arguments-flat": [
 			"--times",
+			"--contimeout=20",
 			"--dirs",
 			"$REMOTE",
 			"$LOCAL"
@@ -567,4 +571,4 @@ Fort will replace `"$REMOTE"` with the remote URL it needs to download, and `"$L
 - **Type:** JSON Object
 - **Availability:** JSON only
 
-A listing of actions to be performed by validation upon encountering certain error conditions. See [incidence](incidence.html).
+A listing of actions to be performed by validation upon encountering certain error conditions. See [Incidences](incidence.html).
diff --git a/man/fort.8 b/man/fort.8
index 053f53df..27ed91db 100644
--- a/man/fort.8
+++ b/man/fort.8
@@ -536,14 +536,14 @@ to a specific value:
 
 {
   "tal": "/tmp/fort/tal/",
-  "local-repository": "/tmp/fort/repository",
+  "local-repository": "/tmp/fort/repository/",
   "sync-strategy": "root",
   "shuffle-uris": true,
   "maximum-certificate-depth": 32,
   "mode": "server",
-  "slurm": "test.slurm",
+  "slurm": "/tmp/fort/test.slurm",
   "server": {
-    "address": "192.0.2.1",
+    "address": "127.0.0.1",
     "port": "8323",
     "backlog": 64,
     "interval": {