[syslog-ng]Help with host filter for 10.10.10.0/26

Balazs Scheidler syslog-ng@lists.balabit.hu
Fri, 6 Jun 2003 12:19:08 +0200


On Fri, Jun 06, 2003 at 10:26:46AM +0200, Henning Markussen wrote:
> Hi !
> 
> Can someone help me with a filter that matches 10.10.10.0/26 ?

is 10.10.10.0/26 the sender of the log message itself, or it is included in
the message as the 'host' field?

if it is the sender you can use the netmask() filter:

filter f_xx { netmask("10.10.10.0/26"); };

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1