Am 20.09.2013 um 11:17 schrieb Rainer Gerhards <[email protected]>:

>> 
>> FYI: I am currently looking into a basic module that does this simple type
>> of "fixing". It should be fairly simple, so I guess I can implement it
>> today.
>> 
> 
> I have added a very small module that permits to replace control characters
> with some other sequence of your liking. The patch is here:
> 
> http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=8929d2f71b76a1c3180e94f718d69ab8be01d9d6
Thanks for that quick action!
> 
> Doc here:
> http://www.rsyslog.com/doc/mmutf8fix.html
> 
> 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.
Does the restriction to IPv4 apply only to expressions like
        if $fromhost-ip == "10.0.0.1" then
or in general?

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.

Reply via email to