Modify

Opened 4 years ago

Last modified 22 months ago

#10945 new enhancement

syslogd parameters wrong when logging to IPv6 host

Reported by: berni@… Owned by: developers
Priority: low Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

The boot init script appends ':<port>' (by default ':514') to the address configured in system.@system[0].log_ip

When the log_ip variable is set to an IPv6 address appending :514 alters the address in a way that makes it either invalid or at least unused.

Actual result:

root@OpenWrt:~# uci show system.@system[0].log_ip 
system.cfg02e48a.log_ip=2001:a60:a000::69
root@OpenWrt:~# ps auxw | grep syslog
 2857 root      1484 S    /sbin/syslogd -L -R 2001:a60:a000::69:514 -l 8 -C16

Expected result (both verified to be working):

/sbin/syslogd -L -R 2001:a60:a000::69 -l 8 -C16
/sbin/syslogd -L -R [2001:a60:a000::69]:514 -l 8 -C16

Attachments (0)

Change History (1)

comment:1 Changed 22 months ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.