19
21
<p><b>Configuration Directives</b>:</p>
23
<li>$InputTCPServerAddtlFrameDelimiter <Delimiter><br>
24
This directive permits to specify an additional frame delimiter for plain tcp syslog.
25
The industry-standard specifies using the LF character as frame delimiter. Some vendors,
26
notable Juniper in their NetScreen products, use an invalid frame delimiter, in Juniper's
27
case the NUL character. This directive permits to specify the ASCII value of the delimiter
28
in question. Please note that this does not guarantee that all wrong implementations can
29
be cured with this directive. It is not even a sure fix with all versions of NetScreen,
30
as I suggest the NUL character is the effect of a (common) coding error and thus will
31
probably go away at some time in the future. But for the time being, the value 0 can
32
probably be used to make rsyslog handle NetScreen's invalid syslog/tcp framing.
33
For additional information, see this
34
<a href="http://kb.monitorware.com/problem-with-netscreen-log-t1652.html">forum thread</a>.
35
<br><b>If this doesn't work for you, please do not blame the rsyslog team. Instead file
36
a bug report with Juniper!</b>
37
<br>Note that a similar, but worse, issue exists with Cisco's IOS implementation. They do
38
not use any framing at all. This is confirmed from Cisco's side, but there seems to be
39
very limited interest in fixing this issue. This directive <b>can not</b> fix the Cisco bug.
40
That would require much more code changes, which I was unable to do so far. Full details
41
can be found at the <a href="http://www.rsyslog.com/Article321.phtml">Cisco tcp syslog anomaly</a>
21
43
<li>$InputTCPServerRun <port><br>
22
44
Starts a TCP server on selected port</li>
23
45
<li><ul><li>$InputTCPMaxSessions <number></li></ul>
24
46
Sets the maximum number of sessions supported</li><li>$InputTCPServerStreamDriverMode <number><br>
25
Sets the driver mode for the currently selected <a href="netstream.html">network stream driver</a>. <number> is driver specifc.</li><li>$InputTCPServerStreamDriverAuthMode <mode-string><br>
47
Sets the driver mode for the currently selected <a href="netstream.html">network stream driver</a>. <number> is driver specifc.</li>
48
<li>$InputTCPServerInputName <name><br>
49
Sets a name for the inputname property. If no name is set "imtcp" is used by default. Setting a
50
name is not strictly necessary, but can be useful to apply filtering based on which input
51
the message was received from.
52
<li>$InputTCPServerStreamDriverAuthMode <mode-string><br>
26
53
Sets the authentication mode for the currently selected <a href="netstream.html">network stream driver</a>. <mode-string> is driver specifc.</li><li>$InputTCPServerStreamDriverPermittedPeer <id-string><br>
27
54
Sets permitted peer IDs. Only these peers are able to connect to the
28
55
listener. <id-string> semantics depend on the currently selected