wrong source IP when logging to remote IPv6 syslog server
Username: Miha Verlic
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=224
Hello,
I’m trying to send log to remote IPv6 syslog server (x:y:z:12::1), but packets received by syslog server are invalid. Instead of public IPv6 address, syslog udp packets are sent with ::1 source IP and therefore ignored by destination server. Logging over IPv4 works ok.
tcpdump log from destination syslog server:
23:34:16.988433 IP6 ::1.38044 > x:y:z:12::1.514: SYSLOG daemon.notice, length: 65
Configuration:
/etc/config/system:
option log_ip 'x:y:z:12::1'
Device is in the same range as syslog server (x:y:z:12::119/64) and has native IPv6 connectivity. Other services (dropbear, ntp client, snmpd, luci) are running fine over IPv6.
Device is TP-Link WDR3600, running lede reboot-1818-gb81fc291.