summaryrefslogtreecommitdiffstats
path: root/runtime/nsd_gtls.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-05-26 11:01:42 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2008-05-26 11:01:42 +0200
commit7b604269c725eaa6120ddbece6a1ec0b67d9cf82 (patch)
tree1e2416798213053f67f1ea4c4b18117ed7f628db /runtime/nsd_gtls.h
parentf31a0537c649b0ecf40986e5dc8fea6386e6bcb0 (diff)
downloadrsyslog-7b604269c725eaa6120ddbece6a1ec0b67d9cf82.tar.gz
rsyslog-7b604269c725eaa6120ddbece6a1ec0b67d9cf82.tar.xz
rsyslog-7b604269c725eaa6120ddbece6a1ec0b67d9cf82.zip
added capability to auto-configure tls auth rule for client connecting to server
must match hostname in send action
Diffstat (limited to 'runtime/nsd_gtls.h')
-rw-r--r--runtime/nsd_gtls.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/nsd_gtls.h b/runtime/nsd_gtls.h
index 59109e68..a88e34fc 100644
--- a/runtime/nsd_gtls.h
+++ b/runtime/nsd_gtls.h
@@ -37,6 +37,7 @@ typedef nsd_if_t nsd_gtls_if_t; /* we just *implement* this interface */
struct nsd_gtls_s {
BEGINobjInstance; /* Data to implement generic object - MUST be the first data element! */
nsd_t *pTcp; /**< our aggregated nsd_ptcp data */
+ uchar *pszConnectHost; /**< hostname used for connect - may be used to authenticate peer if no other name given */
int iMode; /* 0 - plain tcp, 1 - TLS */
int bAbortConn; /* if set, abort conncection (fatal error had happened) */
enum {