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

Henning Markussen syslog-ng@lists.balabit.hu
Fri, 6 Jun 2003 12:45:41 +0200


Yes it is the sender ...

and it works .. 

- Henning




Balazs Scheidler <bazsi@balabit.hu>
Sent by: syslog-ng-admin@lists.balabit.hu
06-06-03 12:19
Please respond to syslog-ng

 
        To:     syslog-ng@lists.balabit.hu
        cc: 
        Subject:        Re: [syslog-ng]Help with host filter for 10.10.10.0/26

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
_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html