From 47bbd838bdaa200d89d8210a6a0ba9c322129bca Mon Sep 17 00:00:00 2001
From: Tom Bergfeld
Date: Fri, 31 Oct 2008 14:47:30 +0100
Subject: restructured rsyslog.conf documentation
Signed-off-by: Rainer Gerhards
---
doc/imtcp.html | 2 ++
1 file changed, 2 insertions(+)
(limited to 'doc/imtcp.html')
diff --git a/doc/imtcp.html b/doc/imtcp.html
index ecc72748..583cd531 100644
--- a/doc/imtcp.html
+++ b/doc/imtcp.html
@@ -2,6 +2,8 @@
TCP Syslog Input Module
+back
+
TCP Syslog Input Module
Module Name: imtcp
Author: Rainer Gerhards
--
cgit v1.2.3
From 483be404716d8e3e55f200955e1904219eb97a9b Mon Sep 17 00:00:00 2001
From: Rainer Gerhards
Date: Wed, 10 Dec 2008 14:26:19 +0100
Subject: enhanced imtcp, among others to handel invalid NetScreen framing
- added $InputTCPServerAddtlFrameDelimiter config directive, which
enabeles to specify an additional, non-standard message delimiter
for processing plain tcp syslog. This is primarily a fix for the invalid
framing used in Juniper's NetScreen products. Credit to forum user
Arv for suggesting this solution.
- added $InputTCPServerInputName property, which enables a name to be
specified that will be available during message processing in the
inputname property. This is considered useful for logic that treats
messages differently depending on which input received them.
---
doc/imtcp.html | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
(limited to 'doc/imtcp.html')
diff --git a/doc/imtcp.html b/doc/imtcp.html
index 583cd531..0ee0f96a 100644
--- a/doc/imtcp.html
+++ b/doc/imtcp.html
@@ -20,11 +20,36 @@ $InputTCPServerRun multiple times. This is not currently supported.
Configuration Directives:
+- $InputTCPServerAddtlFrameDelimiter <Delimiter>
+This directive permits to specify an additional frame delimiter for plain tcp syslog.
+The industry-standard specifies using the LF character as frame delimiter. Some vendors,
+notable Juniper in their NetScreen products, use an invalid frame delimiter, in Juniper's
+case the NUL character. This directive permits to specify the ASCII value of the delimiter
+in question. Please note that this does not guarantee that all wrong implementations can
+be cured with this directive. It is not even a sure fix with all versions of NetScreen,
+as I suggest the NUL character is the effect of a (common) coding error and thus will
+probably go away at some time in the future. But for the time being, the value 0 can
+probably be used to make rsyslog handle NetScreen's invalid syslog/tcp framing.
+For additional information, see this
+forum thread.
+
If this doesn't work for you, please do not blame the rsyslog team. Instead file
+a bug report with Juniper!
+
Note that a similar, but worse, issue exists with Cisco's IOS implementation. They do
+not use any framing at all. This is confirmed from Cisco's side, but there seems to be
+very limited interest in fixing this issue. This directive can not fix the Cisco bug.
+That would require much more code changes, which I was unable to do so far. Full details
+can be found at the Cisco tcp syslog anomaly
+page.
- $InputTCPServerRun <port>
Starts a TCP server on selected port
- $InputTCPMaxSessions <number>
Sets the maximum number of sessions supported- $InputTCPServerStreamDriverMode <number>
-Sets the driver mode for the currently selected network stream driver. <number> is driver specifc. - $InputTCPServerStreamDriverAuthMode <mode-string>
+Sets the driver mode for the currently selected network stream driver. <number> is driver specifc.
+- $InputTCPServerInputName <name>
+Sets a name for the inputname property. If no name is set "imtcp" is used by default. Setting a
+name is not strictly necessary, but can be useful to apply filtering based on which input
+the message was received from.
+ - $InputTCPServerStreamDriverAuthMode <mode-string>
Sets the authentication mode for the currently selected network stream driver. <mode-string> is driver specifc. - $InputTCPServerStreamDriverPermittedPeer <id-string>
Sets permitted peer IDs. Only these peers are able to connect to the
listener. <id-string> semantics depend on the currently selected
--
cgit v1.2.3
From aba90e82484118f3568ec51c01de5ba845da589a Mon Sep 17 00:00:00 2001
From: Rainer Gerhards
Date: Fri, 22 May 2009 17:06:52 +0200
Subject: added capability to run multiple tcp listeners (on different ports)
Well, actually this and a lot of related things. I improved the
testbench so that the new capabilities are automatically tested and
also did some general cleanup. The current multiple tcp listener
solution will probably receive some further cleanup, too, but looks
quite OK so far. I also reviewed the way tcpsrv et all work, in
preparation of using this code for imdiag. I need to document the
findings, especially as the code is rather complicated "thanks" to
the combination of plain tcp and gssapi transport modes.
---
doc/imtcp.html | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'doc/imtcp.html')
diff --git a/doc/imtcp.html b/doc/imtcp.html
index 0ee0f96a..9ea7efa1 100644
--- a/doc/imtcp.html
+++ b/doc/imtcp.html
@@ -14,9 +14,10 @@ Encryption can be provided by using stunnel
(an alternative is the use
the imgssapi
modul).
-In the future, multiple receivers may be configured by
+
Multiple receivers may be configured by
specifying
-$InputTCPServerRun multiple times. This is not currently supported.
+$InputTCPServerRun multiple times. This is available since version 4.3.1, earlier
+versions do NOT support it.
Configuration Directives:
@@ -58,7 +59,6 @@ AuthMode and network stream driver. Permitted
Caveats/Known Bugs:
- module always binds to all interfaces
-- only a single listener can be bound
- can not be loaded together with imgssapi
(which includes the functionality of imtcp)
--
cgit v1.2.3