diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-08-07 09:07:27 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-08-07 09:07:27 +0200 |
commit | 6f75d5460b12d6f57b3671d71d889747da0074cc (patch) | |
tree | fbd83a1ac25d1c5294cdde04de78da6ca816eaf5 /doc/rsyslog_conf.html | |
parent | 5674b8ef46ad0ec7c3c795f7981b6fd2d0b8330e (diff) | |
download | rsyslog-6f75d5460b12d6f57b3671d71d889747da0074cc.tar.gz rsyslog-6f75d5460b12d6f57b3671d71d889747da0074cc.tar.xz rsyslog-6f75d5460b12d6f57b3671d71d889747da0074cc.zip |
bugfix: IPv6 addresses could not be specified in forwarding actionv2.0.6
New syntax @[addr]:port introduced to enable that. Root problem was IPv6
addresses contain colons. (backport from 3.21.3)
Diffstat (limited to 'doc/rsyslog_conf.html')
-rw-r--r-- | doc/rsyslog_conf.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/rsyslog_conf.html b/doc/rsyslog_conf.html index bf878e82..25298d33 100644 --- a/doc/rsyslog_conf.html +++ b/doc/rsyslog_conf.html @@ -535,6 +535,15 @@ framing and maximum compression to the host 192.168.0.1 at port 1470.</p> <p>In the example above, messages are forwarded via UDP to the machine 192.168.0.1, the destination port defaults to 514. Messages will not be compressed.</p> +<p>Note that IPv6 addresses contain colons. So if an IPv6 address is specified +in the hostname part, rsyslogd could not detect where the IP address ends +and where the port starts. There is a syntax extension to support this: +put squary brackets around the address (e.g. "[2001::1]"). Square +brackets also work with real host names and IPv4 addresses, too. +<p>A valid sample to send messages to the IPv6 host 2001::1 at port 515 +is as follows: +<p>*.* @[2001::1]:515 +<p>This works with TCP, too. <p><b>Note to sysklogd users:</b> sysklogd does <b>not</b> support RFC 3164 format, which is the default forwarding template in rsyslog. As such, you will experience duplicate hostnames if rsyslog is the sender and sysklogd is the |