[syslog-ng] syslog-ng anon patch

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue May 31 19:26:04 CEST 2005


On Mon, 30 May 2005 19:12:51 CDT, micah milano said:

> The attached patch comes from http://dev.riseup.net/patches/syslog-ng what
> it does is provide a simple filter to strip out unwanted regular expressions
> from logs, as well as an IP alias that enables you to strip out IP addresses
> from your logs.

Interesting.  Does it apply the regexp to *the entire message* (a quick read of
the code indicates so)?

Also, I see in make_filter_replace:

	if (strcasecmp(re,"ips") == 0) {
		re = "...([\\.\\-](25

Was the \\- intended?

And just to *ensure* that rocks and rotten tomatoes are heaved at me:

Any plans to expand that RE to cover IPv6 addresses? ;)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 226 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20050531/536eb846/attachment.pgp


More information about the syslog-ng mailing list