[syslog-ng] syslog-ng IPv6 problem ver 3.01

Arya, Manish Kumar m.arya at yahoo.com
Fri Apr 8 12:40:45 CEST 2011


I am getting syntax error on line udp6 or tcp6 in destination

same works well as source in version 3.2.1

deb:/var/log# netstat -na | grep 514
tcp6       0      0 fd00:abcd:4321:2:20:514 :::*                    LISTEN
udp6       0      0 fd00:abcd:4321:2:20:514 :::*

here is my config for syslog client using syslog-ng 3.01

source s_local {
        internal();
        unix-stream("/dev/log");
        file("/proc/kmsg" log_prefix("kernel: "));
        udp();
};

destination ipv6_host {
#        udp6(ip(fd00:abcd:4321:2:20c:29ff:fea8:9671) port(514));
        tcp6(ip(fd00:abcd:4321:2:20c:29ff:fea8:9671) port(514));
};

destination d_local {
        file("/var/log/messages");
};

log {
        source(s_local);
        destination(ipv6_host);
        destination(d_local);
};



More information about the syslog-ng mailing list