Re: Net-SNMP 5.10.pre1 released for testing

2025-03-10 Thread Stuart Henderson
On 2025/03/07 15:34, Wes Hardaker via Net-snmp-coders wrote: > > Greetings all, > > It's been a while --- time to finally release a 5.10 pre-release > candidate. Consider this a feature freeze and the master branch should > only be used for bug fixes at this point. Please give 5.10.pre1 a > wh

Re: ipv4 index encoded as ascii poor form or am i stuck in the past

2024-01-03 Thread Stuart Henderson
On 2024/01/02 19:48, Denis Hainsworth wrote: > Apologies if this is terribly off topic. However its a very niche > mib/snmp question I'm hoping someone can guide me on as to if a vendor > is right or not. > > Up till now all vendors I know have implemented the index for > .iso.org.dod.internet.m

Re: response source IP for SNMP walk

2020-05-13 Thread Stuart Henderson
On 2020/05/13 13:45, chandrasekharreddy chinnapareddygari wrote: > Hi team, > > > I want to change source ip for snmpwalk like changing source IP for traps. > I know , we can use clientaddr for changing source IP for traps. > > > Is there any token is available to change source IP for snmpwalk

Re: [PATCH; request for votes] snmplib: Avoid that sprint_realloc_octet_string() triggers a segmentation fault

2018-05-19 Thread Stuart Henderson
On 2018/05/19 14:07, Bart Van Assche wrote: > strlcpy() implementations typically scan for the end of the source argument > passed to strlcpy(). Hence avoid passing an unterminated string to strlcpy(). > > Reported-by: Stuart Henderson > Fixes: 7f05daa8e0e0 ("CHANGES: BUG: 3

Re: Net-SNMP 5.8.rc2 available for testing

2018-05-19 Thread Stuart Henderson
On 2018/05/19 10:26, Magnus Fromreide wrote: > On Fri, May 18, 2018 at 08:46:40PM -0700, Bart Van Assche wrote: > > On 05/18/18 18:05, Stuart Henderson wrote: > > > On 2018/05/18 18:36, Robert Story wrote: > > > > snmplib: > > > >-

Re: Net-SNMP 5.8.rc2 available for testing

2018-05-18 Thread Stuart Henderson
On 2018/05/18 18:36, Robert Story wrote: > snmplib: > - [BUG 2815]: Display UTF-8 characters again > - [BUG 3444939]: BUG: 1796886: snmplib: Avoid that > sprint_realloc_octet_string() embeds unprintable control characters > or binary zeroes in its output. This behavi

removed USM_{AUTH,PRIV}_PROTO_*_LEN macros

2018-05-12 Thread Stuart Henderson
The USM_*_PROTO_*_LEN constant macros removed in 329a9d3c9 are used in other programs using Net-SNMP libraries. I noticed a problem building PHP against 5.8.rc1 but looking at codesearch.debian.net I find a few other programs that will be affected too: openvas-libraries, zabbix, openhpi, cacti-spin

Re: [PATCH] install openbsd6.h header

2018-05-11 Thread Stuart Henderson
On 2018/05/11 13:41, Bart Van Assche wrote: > On 05/11/18 13:33, Stuart Henderson wrote: > > Missed from when support was added to recognise OpenBSD 6.0+ in 367c44eb60. > > I couldn't see any file that Makefile.in is generated from, so just patching > > it d

[PATCH] install openbsd6.h header

2018-05-11 Thread Stuart Henderson
Missed from when support was added to recognise OpenBSD 6.0+ in 367c44eb60. I couldn't see any file that Makefile.in is generated from, so just patching it directly, hope that's right: >From 47c3f2e69fc5f73dd9ca1ca1eeaca648f1bc3608 Mon Sep 17 00:00:00 2001 From: Stuart Henderson

Re: Net-SNMP is moving to GitHub -- Your input appreciated

2018-05-11 Thread Stuart Henderson
On 2018/05/10 16:14, Wes Hardaker via Net-snmp-coders wrote: > 6. downloads > > Github uses a different mechanism for distributing tarballs of > downloads. But I don't see an issue with this in the future. One thing to note with this that's not immediately obvious with github downloa

Re: [PATCH 2/2] inpt_queue changed from CIRCLEQ to TAILQ in OpenBSD 5.6

2018-05-04 Thread Stuart Henderson
On 2018/05/04 10:37, Robert Story wrote: > On Fri, 4 May 2018 13:58:43 +0100 Stuart wrote: > SH> This is needed for OpenBSD 5.6+. It does break older versions > SH> but 5.6 was released in 2014 and support for this ended Oct > SH> 2015; I'd find it unlikely that anyone still running this would > SH

[PATCH 2/2] inpt_queue changed from CIRCLEQ to TAILQ in OpenBSD 5.6

2018-05-04 Thread Stuart Henderson
001 From: Stuart Henderson Date: Fri, 4 May 2018 13:41:11 +0100 Subject: [PATCH 2/2] inpt_queue changed from CIRCLEQ to TAILQ in OpenBSD 5.6 Signed-off-by: Stuart Henderson --- .../mibgroup/tcp-mib/data_access/tcpConn_openbsd.c | 32 -- .../udp-mib/data_access/udp_endpoint_o

[PATCH 1/2] ifm_media changed from u_int to uint64_t in OpenBSD 5.9

2018-05-04 Thread Stuart Henderson
00:00:00 2001 From: Stuart Henderson Date: Fri, 4 May 2018 13:32:27 +0100 Subject: [PATCH 1/2] ifm_media changed from u_int to uint64_t in OpenBSD 5.9 Signed-off-by: Stuart Henderson --- agent/mibgroup/if-mib/data_access/interface_openbsd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(

Re: Net-SNMP 5.8.pre3 available

2018-05-04 Thread Stuart Henderson
On 2018/05/04 05:16, Bart Van Assche wrote: > On 05/03/18 13:48, Stuart Henderson wrote: > > On 2018-04-27, Robert Story wrote: > > > We're closing in on a final release. The current plan is to have > > > release candidate 1 next week. > > > > Is it

Re: Net-SNMP 5.8.pre3 available

2018-05-03 Thread Stuart Henderson
On 2018-04-27, Robert Story wrote: > We're closing in on a final release. The current plan is to have > release candidate 1 next week. Is it planned to address https://sourceforge.net/p/net-snmp/bugs/2831/ before release or are distro packagers going to need to patch the other programs to cope?

Re: how to get a numerical OID response (instead of textual response)

2017-06-14 Thread Stuart Henderson
On 2017-06-06, ikuzar RABE wrote: > --===7306090861208874791== > Content-Type: multipart/alternative; boundary="001a113528fc58c560055145f67f" > > --001a113528fc58c560055145f67f > Content-Type: text/plain; charset="UTF-8" > > Hi all, > > I work on Linux Debian 8.7 with net-snmp 5.7.2 >

Re: NET-SNMP v5.7.2 Memory Leaks issues running snmptrapd.

2012-12-11 Thread Stuart Henderson
On 2012-12-10, William wrote: > Hi Gary, thanks for the suggestion. I tried commenting out that call to > log_notifications() in the > /net-snmp-5.7.2/agent/mibgroup/notification/snmpNotifyTable.c program file > and recompiled the package with it. Ran snmptrapd and still has memory > leak. This