aboutsummaryrefslogtreecommitdiff
path: root/src/data/hostinfod.conf
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-10-20 07:28:50 +1030
committerDavid Timber <mieabby@gmail.com>2020-10-20 07:28:50 +1030
commit4c882d7216bb12d5821a108b9f11544a075c7024 (patch)
tree84fba1d9decbab537a2ddb1931ef89f219438274 /src/data/hostinfod.conf
parent5dbfcb1f66b681fbb6cdec8836efe2c2d84f957e (diff)
Impl hostinfod and extras ...
* Use EOVERFLOW instead of E2BIG * Add prne_iobuf_zero() * Fix format check logic error in prne_htbt_ser_msg_head() * Add prne_dup_str() * Add prne_timespec_ms()
Diffstat (limited to 'src/data/hostinfod.conf')
-rw-r--r--src/data/hostinfod.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/data/hostinfod.conf b/src/data/hostinfod.conf
new file mode 100644
index 0000000..36c577e
--- /dev/null
+++ b/src/data/hostinfod.conf
@@ -0,0 +1,21 @@
+hostinfod:
+ db:
+ host: "localhost"
+ # port: 3306
+ user: "user"
+ pw: ""
+ db: "prne"
+ # table_prefix: "prne-"
+ ssl:
+ ca: "ca.crt"
+ crt: "hostinfod.crt"
+ key: "hostinfod.key"
+ # key_pw: ""
+ dh: "hostinfod-dh.pem"
+ # max_conn: 0
+ report_int: 60000
+ sck_op_timeout: 5000
+ # nb_thread:
+ # backlog: 10
+ listen_port: 64420
+ # verbose: 2