Am 20.09.2013 um 17:29 schrieb Rainer Gerhards <[email protected]>:
>>> >>> Obviously, there are many ways to improve that module. But I thought I at >>> least get it started and gather some feedback. If time permits, I'll add >>> some more functionality later today. But the basic need should be solved >>> (if I understood correctly ;)). >> I think, the "basic need" would be to replace only invalid UTF-8 >> sequences, not every character with code < 32 or > 126. >> > > thanks. I have just committed to master branch a version who does this (by > default). > > >> Does the restriction to IPv4 apply only to expressions like >> if $fromhost-ip == "10.0.0.1" then >> or in general? >> > > That was a leftover from the doc I used as basis, mmutf8fix doesn't care > about IPvx. It's removed now. > > @risto: you now need to specify mode="controlcharacters" to replace all > non-printable US-ASCII characters, as proper UTF-8 checks are default now. > I thought that's more appropriate for this module ;) > > See last sample in doc: > http://www.rsyslog.com/doc/mmutf8fix.html > > Feedback on this module is appreciated. After some testing, I have mmutf8fix running in production along with my proposed ompgsql2 in an 7.5.3 environment. So far it looks good, at least valid utf8 stuff being passed unchanged. Waiting for e-mails with garbage in the header.. Axel --- PGP-Key:29E99DD6 ☀ +49 151 2300 9283 ☀ computing @ chaos claudius _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

