From 3ae3033800076fca0e9f5f491da2f420b610ffc2 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 26 Feb 2008 17:41:46 +0000 Subject: - fixed wrong pointer in imgssapi config coding - added $InputGSSServerMaxSessions config directive --- doc/imgssapi.html | 14 ++++---------- plugins/imgssapi/imgssapi.c | 2 ++ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/doc/imgssapi.html b/doc/imgssapi.html index 09d89701..af15e59e 100644 --- a/doc/imgssapi.html +++ b/doc/imgssapi.html @@ -10,8 +10,7 @@

Description:

Provides the ability to receive syslog messages from the network protected via Kerberos 5 encryption and authentication. This -module also contains the functionality found in imtcp, -which can not be used if imgssapi is used.

+module also accept plain tcp syslog messages on the same port if configured to do so. If you need just plain tcp, use  imtcp instead.

Configuration Directives:

Caveats/Known Bugs:

Sample:

This sets up a GSS server on port 1514 that also permits to diff --git a/plugins/imgssapi/imgssapi.c b/plugins/imgssapi/imgssapi.c index e3bd183c..01e4cdea 100644 --- a/plugins/imgssapi/imgssapi.c +++ b/plugins/imgssapi/imgssapi.c @@ -373,6 +373,8 @@ CODEmodInit_QueryRegCFSLineHdlr addGSSListener, NULL, STD_LOADABLE_MODULE_ID)); CHKiRet(omsdRegCFSLineHdlr((uchar *)"inputgssserverservicename", 0, eCmdHdlrGetWord, NULL, &gss_listen_service_name, STD_LOADABLE_MODULE_ID)); + CHKiRet(omsdRegCFSLineHdlr((uchar *)"inputgssservermaxsessions", 0, eCmdHdlrInt, + NULL, &iTCPSessMax, STD_LOADABLE_MODULE_ID)); CHKiRet(omsdRegCFSLineHdlr((uchar *)"resetconfigvariables", 1, eCmdHdlrCustomHandler, resetConfigVariables, NULL, STD_LOADABLE_MODULE_ID)); ENDmodInit -- cgit