This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Bug in syslogd parsing of IP aliases?

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
naser
NewUser
NewUser
Posts: 11
Joined: 20 Feb 2016 20:07
Status: Offline

Bug in syslogd parsing of IP aliases?

Post by naser »

When there are IP aliases added to network interface, syslogd doesn't seem to parse things correctly.

For example:
#ifconfig re0 alias 172.24.0.225 netmask 255.255.255.0
# ifconfig
...
inet 172.24.0.224 netmask 0xffffff00 broadcast 172.24.0.255
inet 172.24.0.225 netmask 0xffffff00 broadcast 172.24.0.255
Results in syslogd starting with the following parameters:
#ps -auxww |grep syslogd
root 3359 0.0 0.1 14548 2156 - Is 9:35AM 0:00.00 /usr/sbin/syslogd -8 -a 172.24.0.224 -a 172.24.0.225/32 -a 24 -f /var/etc/syslog.conf
Which instead should be -a 172.24.0.224/24 -a 172.24.0.225/32 or better yet -a 172.24.0.224/24 -a 172.24.0.225/24 ?

User avatar
zoon01
Developer
Developer
Posts: 724
Joined: 20 Jun 2012 21:06
Location: Netherlands
Contact:
Status: Offline

Re: Bug in syslogd parsing of IP aliases?

Post by zoon01 »

This is something that needs to be changed on freebsd and or syslogd
It's not an specific n4f bug.
System specs: XigmaNAS 11.2.0.4 -embedded on Samsung 860 EVO 256GB and Supermicro X10SL7-F w / Bios v3.2, IPMI v.03.86 / CPU E3-1241 v3 @ 3.50GHz - 32GB Crucial DDR3L 1600mhz ECC 1.35v , LSI 2308 on PH20.00.07.00 IT mode, Storage: 5x Western Digital Red (WD30EFRX) raidz

Development system is same system in virtualbox.

Post Reply

Return to “Suggestions & Requests”