[syslog-ng] Is this possible in syslog-ng.conf . (v2.0.2)
Balazs Scheidler
bazsi at balabit.hu
Sun Feb 18 16:39:04 CET 2007
On Sun, 2007-02-18 at 00:43 -0800, Mr. James W. Laferriere wrote:
> Hello All , While I haven't seen any examples of this type of
> definition of a 'source net' around I am hoping we can do something like ...
> Not the formatting BUT the /24 &/or the netmask'ing .
>
> source net {
> udp(
> ip(
> 199.33.245.0/24, # or 199.33.245.0/255.255.255.0, ...
> 205.141.166.0/24
> )
> port(514)
> );
> };
The source statement defines a listener and does not apply any filtering
on incoming syslog datagrams. To do that you need the netmask() filter.
--
Bazsi
More information about the syslog-ng
mailing list