From 3fb3d74e7113e514819670ee42e7f5703f13ceec Mon Sep 17 00:00:00 2001 From: David Timber Date: Sun, 25 Oct 2020 16:10:37 +1030 Subject: Impl proone-hostinfod yaml config ... * Add proper sample host_cred data in src/data/proto-test/hostinfo_rsp * Fix typo in configure.ac --- src/data/hostinfod.conf | 21 --------------------- src/data/hostinfod.conf.sample | 21 +++++++++++++++++++++ src/data/proto-test/hostinfo_rsp | 4 ++-- 3 files changed, 23 insertions(+), 23 deletions(-) delete mode 100644 src/data/hostinfod.conf create mode 100644 src/data/hostinfod.conf.sample (limited to 'src/data') diff --git a/src/data/hostinfod.conf b/src/data/hostinfod.conf deleted file mode 100644 index 36c577e..0000000 --- a/src/data/hostinfod.conf +++ /dev/null @@ -1,21 +0,0 @@ -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 diff --git a/src/data/hostinfod.conf.sample b/src/data/hostinfod.conf.sample new file mode 100644 index 0000000..36c577e --- /dev/null +++ b/src/data/hostinfod.conf.sample @@ -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 diff --git a/src/data/proto-test/hostinfo_rsp b/src/data/proto-test/hostinfo_rsp index d2f110c..659a146 100644 --- a/src/data/proto-test/hostinfo_rsp +++ b/src/data/proto-test/hostinfo_rsp @@ -15,6 +15,6 @@ 11223344 # crash_cnt DEADBEEF # parent_pid BABEBABE # child_pid - 04 # host_cred_len + 0A # host_cred_len 00 # arch - 54455354 # "TEST" + 5445535400 3132333400 # "TEST", "1234" -- cgit