From ac912bbc14c5520349ef245bf269b657fa323c11 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 16 Oct 2013 10:53:22 +0200 Subject: doc: describe mmrfc5424addhmac parameters --- doc/mmrfc5424addhmac.html | 104 ++++++++-------------------------------------- 1 file changed, 17 insertions(+), 87 deletions(-) diff --git a/doc/mmrfc5424addhmac.html b/doc/mmrfc5424addhmac.html index 16065a1f..74638a47 100644 --- a/doc/mmrfc5424addhmac.html +++ b/doc/mmrfc5424addhmac.html @@ -1,31 +1,19 @@ -IP Address Anonimization Module (mmanon) +mmrfc5424addhmac back -

IP Address Anonimization Module (mmanon)

+

mmrfc5424addhmac

Module Name:    mmanon

Author: Rainer Gerhards <rgerhards@adiscon.com>

-

Available since: 7.3.7

+

Available since: 7.5.6

Description:

-

The mmanon module permits to anonymize IP addresses. It is a message -modification module that actually changes the IP address inside the message, -so after calling mmanon, the original message can no longer be obtained. -Note that anonymization will break digital signatures on the message, if -they exist. -

How are IP-Addresses defined? -

We assume that an IP address consists of four octets in dotted notation, -where each of the octets has a value between 0 and 255, inclusively. After -the last octet, there must be either a space or a colon. So, for example, -"1.2.3.4 Test" and "1.2.3.4:514 Test" are detected as containing valid IP -addresses, whereas this is not the case for "1.2.300.4 Test" or -"1.2.3.4-Test". The message text may contain multiple addresses. If so, -each of them is anonimized (according to the same rules). -Important: We may change the set of acceptable characters after -the last octet in the future, if there are good reasons to do so. +

This module adds a hmac to RFC5424 structured data if not already present. +This is a custom module and uses openssl as requested by the sponsor. +This works exclusively for RFC5424 formatted messages; all others are ignored.

 

Module Configuration Parameters:

@@ -33,86 +21,28 @@ the last octet in the future, if there are good reasons to do so.

 

Action Confguration Parameters:

Caveats/Known Bugs:

-

Samples:

-

In this snippet, we write one file without anonymization and another one -with the message anonymized. Note that once mmanon has run, access to the -original message is no longer possible (execept if stored in user -variables before anonymization). -

- -

This next snippet is almost identical to the first one, but -here we anonymize the full IPv4 address. Note that by -modifying the number of bits, you can anonymize different parts -of the address. Keep in mind that in simple mode (used here), the bit values -must match IP address bytes, so for IPv4 only the values 8, 16, 24 and -32 are valid. Also, in this example the replacement is done -via asterisks instead of lower-case "x"-letters. Also keep in mind that -"replacementChar" can only be set in simple mode. -

- -

The next snippet is also based on the first one, but anonimzes an -"odd" number of bits, 12. The value of 12 is used by some folks as a -compromise between keeping privacy and still permiting to gain some -more in-depth insight from log files. Note that anonymizing 12 bits -may be insufficient to fulfill legal requirements (if such exist). -

[rsyslog.conf overview] [manual index] [rsyslog site]

This documentation is part of the rsyslog project.
-Copyright © 2008-2013 by Rainer Gerhards and +Copyright © 2013 by Rainer Gerhards and Adiscon. Released under the GNU GPL version 3 or higher.

-- cgit v1.2.3