Date: Thu, 27 Nov 2014 11:13:42 +0100 From: Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> To: freebsd-stable@freebsd.org Subject: Re: bsnmpd returning strange IP address values Message-ID: <20141127101342.GA18410@lyxys.ka.sub.org> In-Reply-To: <20141125223503.GA55437@lyxys.ka.sub.org> References: <20141125223503.GA55437@lyxys.ka.sub.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, * Wolfgang Zenker <wolfgang@lyxys.ka.sub.org> [141125 23:35]: > [..] > When requesting that table from a host running net-snmpd the values returned > make sense: [..] > However, if I try this with a host running bsnmpd, I get something strange: > $ bsnmpwalk -v 2c -s reader@juno.lyx ipAddrTable > ipAdEntAddr[0.0.0.0] = 0.0.0.0 > ipAdEntIfIndex[0.0.0.0] = 1 > ipAdEntNetMask[0.0.0.0] = 48.0.0.0 > ipAdEntBcastAddr[0.0.0.0] = 0 > ipAdEntReasmMaxSize[0.0.0.0] = 65535 > All systems running 10.1-STABLE this appears to be a regression. Testing against a host running 8.4-STABLE: $ bsnmpwalk -v 2c -s reader@saturn.lyxys.ka.sub.org ipAddrTable ipAdEntAddr[0.0.0.0] = 0.0.0.0 ipAdEntAddr[127.0.0.1] = 127.0.0.1 ipAdEntAddr[217.29.35.151] = 217.29.35.151 ipAdEntIfIndex[0.0.0.0] = 1 ipAdEntIfIndex[127.0.0.1] = 7 ipAdEntIfIndex[217.29.35.151] = 1 ipAdEntNetMask[0.0.0.0] = 0.0.0.0 ipAdEntNetMask[127.0.0.1] = 255.0.0.0 ipAdEntNetMask[217.29.35.151] = 255.255.255.0 ipAdEntBcastAddr[0.0.0.0] = 0 ipAdEntBcastAddr[127.0.0.1] = 1 ipAdEntBcastAddr[217.29.35.151] = 1 ipAdEntReasmMaxSize[0.0.0.0] = 65535 ipAdEntReasmMaxSize[127.0.0.1] = 65535 ipAdEntReasmMaxSize[217.29.35.151] = 65535 While the entries for [0.0.0.0] still look kind of weird, the other entries are ok and hold the information that I want to have. I'll open a PR. Wolfgang
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141127101342.GA18410>