Re: potential socket leak in ipaddress_linux

2015-05-11 Thread Niels Baggesen
Den 04-05-2015 kl. 04:44 skrev Pete Flugstad:
 In the function netsnmp_access_other_info_get, a netlink socket is
 created to communicate with the kernel.  However, all the error cases in
 the function neglect to close the socket, so if any of those errors are
 ever hit, the socket will leak.

Thanks for the note! This has now been fixed for the 5.6branch and newer.

/Niels

-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: bug report in route_linux.c

2015-05-11 Thread Niels Baggesen
Den 04-05-2015 kl. 04:42 skrev Pete Flugstad:
 In Net-SNMP 5.7.3, the file
 agent/mibgroup/ip-forward-mib/data_access/route_linux.c, the function
 _load_ipv6 opens /proc/net/ipv6_route and processes it's contents.

 Immediately after opening the code does:

  fgets(line,sizeof(line),in); /* skip header */

 However, in my version of linux (3.16.0), there is no header line on
 this file, so this line discards the first entry in that file.

Thanks for the note! This has been for fixed for the 5.5 branch and newer.

/Niels

-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


Re: bug report in systemstats_linux.c

2015-05-11 Thread Niels Baggesen
Den 04-05-2015 kl. 04:41 skrev Pete Flugstad:
 In systemstats_linux.c, in systemstats_v6_load_file, while parsing
 /proc/net/snmp6, two lines are confused:

 Ip6InNoECTPkts  14583
 Ip6InNoRoutes 0

 However, when Ip6InNoECTPkts is encountered in , it is interpreted as
 IpInNoRoutes, which shows up when the agent is walked:

Thanks for the note! This has been fixed for the 5.5 branch and newer.

/Niels

-- 
Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net
The purpose of computing is insight, not numbers   ---   R W Hamming

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders