[syslog-ng] escaping \[ not respected

Len Conrad LConrad at Go2France.com
Tue Sep 30 22:19:06 CEST 2008


targeted string is "unknown[a.b.c.d]"

my filter:

filter f_conn_from_unk_private { not match ("unknown\[(10\.1\.|10\.2\.|10\.10\.5\.|192\.168\.200)"); };

error:

Error compiling regular expression; re='[(10.1.|10.2.|10.10.5.|192.168.200)', error='brackets ([ ]) not balanced'

Len


______________________________________________
IMGate OpenSource Mail Firewall www.IMGate.net



More information about the syslog-ng mailing list