[syslog-ng] Listening on Multiple UDP Source Ports

hurling69 at yahoo.com hurling69 at yahoo.com
Fri Feb 24 13:37:31 UTC 2017


I'm running version syslog-ng-3.5.6-3.el7.x86_64

I've decided to go with the method of using multiple source ports.
source s_syslog-ports {
        network(transport("udp") ip(10.25.10.52) port(514));
        network(transport("tcp") ip(10.25.10.52) port(514) max-connections(100));
        network(transport("tcp") ip(10.25.10.52) port(1514) max-connections(100) flags(no-parse));};

However, when I try to add another line with another udp port, it has and issue with the configuration when I try to restart the service:
source s_syslog-ports {
        network(transport("udp") ip(10.25.10.52) port(514));
        network(transport("udp") ip(10.25.10.52) port(1514));
        network(transport("tcp") ip(10.25.10.52) port(514) max-connections(100));
        network(transport("tcp") ip(10.25.10.52) port(1514) max-connections(100) flags(no-parse));
};

Can you not specify multiple udp ports as sources?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20170224/dbd8ce82/attachment.html>


More information about the syslog-ng mailing list