syslog-ng--mainline: reimplemented netmask() filter which was missing from 1.9.9
Link: <http://intra.balabit/cgi-bin/viewarch.cgi/devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-25> Revision: syslog-ng--mainline--2.0--patch-25 Archive: devel@balabit.hu--other-1 Creator: Balazs Scheidler <bazsi@balabit.hu> Date: Sat Mar 18 23:08:50 CET 2006 Standard-date: 2006-03-18 22:08:50 GMT Modified-files: ChangeLog doc/reference/syslog-ng.xml src/cfg-grammar.y src/cfg-lex.l src/filter.c src/filter.h src/logmsg.h tests/unit/test_filters.c New-patches: devel@balabit.hu--other-1/syslog-ng--mainline--2.0--patch-25 Summary: reimplemented netmask() filter which was missing from 1.9.9 Keywords: * src/cfg-grammar.y, src/cfg-lex.l: added KW_NETMASK * src/filter.c (filter_netmask_new): new function to construct a netmask filter, cidr "address/prefix" and "address/address" formats are accepted * src/logmsg.h: fixed a warning by declaring log_msg_clear_matches function * doc/reference/syslog-ng.xml: added a notice on redefining template() for network destinations * tests/unit/test_filter.c: added unit tests for netmask filter Diff stats: ChangeLog | 28 ++++++++++++++++++++ doc/reference/syslog-ng.xml | 12 ++++++-- src/cfg-grammar.y | 3 +- src/cfg-lex.l | 1 src/filter.c | 59 +++++++++++++++++++++++++++++++++++++++++++- src/filter.h | 3 -- src/logmsg.h | 1 tests/unit/test_filters.c | 6 ++++ 8 files changed, 106 insertions(+), 7 deletions(-)
participants (1)
-
bazsi@balabit.hu