Blame SOURCES/rsyslog-8.24.0-doc-rhbz1309698-imudp-case-sensitive-option.patch

ff08e8
From 27eda7938d678bc69b46cfcb8351e871161ba526 Mon Sep 17 00:00:00 2001
ff08e8
From: Noriko Hosoi <nhosoi@momo7.localdomain>
ff08e8
Date: Fri, 13 Jul 2018 10:44:13 -0700
ff08e8
Subject: [PATCH] Introducing an option preservecase to imudp and imtcp module
ff08e8
 for managing the case of FROMHOST value.
ff08e8
ff08e8
Usage:
ff08e8
  module(load="imudp" [preservecase="on"|"off"])
ff08e8
  module(load="imtdp" [preservecase="on"|"off"])
ff08e8
ff08e8
If preservecase="on", FROMHOST value is handled in the case sensitive manner.
ff08e8
If preservecase="off", FROMHOST value is handled in the case insensitive manner.
ff08e8
ff08e8
To maintain the current behaviour, the default value of preservecase is
ff08e8
"on" for imtcp and "off" for imudp.
ff08e8
ff08e8
References:
ff08e8
  https://github.com/rsyslog/rsyslog/pull/2774
ff08e8
  https://bugzilla.redhat.com/show_bug.cgi?id=1309698
ff08e8
---
ff08e8
 source/configuration/modules/imtcp.rst | 9 +++++++++
ff08e8
 source/configuration/modules/imudp.rst | 9 +++++++++
ff08e8
 2 files changed, 18 insertions(+)
ff08e8
ff08e8
diff --git a/source/configuration/modules/imtcp.rst b/source/configuration/modules/imtcp.rst
ff08e8
index 2ddb7e9a..b9fe0adb 100644
ff08e8
--- a/source/configuration/modules/imtcp.rst
ff08e8
+++ b/source/configuration/modules/imtcp.rst
ff08e8
@@ -138,6 +138,15 @@
ff08e8
    Array of peers:
ff08e8
    PermittedPeer=["test1.example.net","10.1.2.3","test2.example.net","..."]
ff08e8
 
ff08e8
+.. function::  PreserveCase <on/off>
ff08e8
+
ff08e8
+   *Default: off*
ff08e8
+
ff08e8
+   This parameter is for controlling the case in fromhost.  If set to "on", 
ff08e8
+   the case in fromhost is preserved.  E.g., 'Host1.Example.Org' when the 
ff08e8
+   message was received from 'Host1.Example.Org'.  Defaults to "off" for 
ff08e8
+   backwards compatibility.
ff08e8
+
ff08e8
 Input Parameters
ff08e8
 ^^^^^^^^^^^^^^^^
ff08e8
 
ff08e8
diff --git a/source/configuration/modules/imudp.rst b/source/configuration/modules/imudp.rst
ff08e8
index 487853f6..b92f0810 100644
ff08e8
--- a/source/configuration/modules/imudp.rst
ff08e8
+++ b/source/configuration/modules/imudp.rst
ff08e8
@@ -97,6 +97,15 @@
ff08e8
    set to 32. It may increase in the future when massive multicore
ff08e8
    processors become available.
ff08e8
 
ff08e8
+.. function::  PreserveCase <on/off>
ff08e8
+
ff08e8
+   *Default: off*
ff08e8
+
ff08e8
+   This parameter is for controlling the case in fromhost.  If set to "on", 
ff08e8
+   the case in fromhost is preserved.  E.g., 'Host1.Example.Org' when the 
ff08e8
+   message was received from 'Host1.Example.Org'.  Defaults to "off" for 
ff08e8
+   backwards compatibility.
ff08e8
+
ff08e8
 .. index:: imudp; input parameters
ff08e8
 
ff08e8
 Input Parameters