5 Apr
2011
5 Apr
'11
2:01 p.m.
Reuben Farrelly <reuben-syslogng-list@reub.net> writes:
I was hoping for a config like this (IPv6 address truncated somewhat):
source net { tcp6( ip(2001::20) port(601) max_connections(25) ); udp6( ip(2001::20) port(601) max_connections(25) ); };
But seems to be a no-go:
-----
Error parsing afsocket, syntax error, unexpected LL_NUMBER, expecting LL_IDENTIFIER or LL_STRING in /etc/syslog-ng/syslog-ng.conf at line 32, column 18:
tcp6( ip(2001::20) port(601) max_connections(25) ); ^^^^ -----
I haven't tested it yet, but my vague guess is that ip("2001::20") should work. (The documentation does mention that ip() expects a string value) However, I haven't tried this, so your mileage may vary. -- |8]