Re: Net-SNMP 5.10.pre1 released for testing

2025-03-19 Thread Craig Small via Net-snmp-coders
On Sat, 8 Mar 2025 at 10:50, Wes Hardaker via Net-snmp-coders < [email protected]> wrote: > only be used for bug fixes at this point. Please give 5.10.pre1 a > whirl -- it certainly won't be perfect yet. > I've built 5.10~pre1 using the Debian package

Re: Net-SNMP 5.10.pre1 released for testing

2025-03-18 Thread Bart Van Assche via Net-snmp-coders
. ___ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Re: Net-SNMP 5.10.pre1 released for testing

2025-03-17 Thread Bart Van Assche via Net-snmp-coders
On 3/10/25 4:27 AM, Stuart Henderson wrote: gnugk: snmp.cxx:87:11: error: expected '(' for function-style cast or type construction trapOID[ OID_LENGTH(trapOID) - 1 ] = trapNumber; ^~~ /usr/local/include/net-snmp/library/asn1.h:65:56: note

Re: Net-SNMP 5.10.pre1 released for testing

2025-03-15 Thread Bart Van Assche via Net-snmp-coders
*session_ptr; +  decltype(snmp_sess_open(NULL)) session_ptr;    SNMPSession();    ~SNMPSession(); diff --git a/src/SNMP.cpp b/src/SNMP.cpp index 1763bcac5175..f97e4969a432 100644 --- a/src/SNMP.cpp +++ b/src/SNMP.cpp @@ -453,13 +453,16 @@ bool SNMP::send_snmp_request(char *agent_host, u_int version

Re: Net-SNMP 5.10.pre1 released for testing

2025-03-11 Thread Bart Van Assche via Net-snmp-coders
On 3/10/25 4:27 AM, Stuart Henderson wrote: To see how things are going with API changes, I've tested building everything in OpenBSD ports which depends on this. (I'm not suggesting that Net-SNMP needs to change anything unless these are unexpected, but at least giving other package m

Re: Net-SNMP 5.10.pre1 released for testing

2025-03-10 Thread Bart Van Assche via Net-snmp-coders
; (aka 'const unsigned long[10]') snmpSession->session.securityAuthProto = usmHMACMD5AuthProtocol; After having taken a closer look at the ntopng source code, how about submitting the following (untested) patch to the ntopng project? This patch should be backwards compatible.

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.

Net-SNMP 5.10.pre1 released for testing

2025-03-07 Thread Wes Hardaker via Net-snmp-coders
lease mail all replies to [email protected] ___ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Net SNMP not processing data

2024-07-01 Thread MOHD RAFEEQ SIDDIQUIE
Hi, In TCPDUMP we are receiving packets but Net-SNMP Trap is processing some of them and dropping some of them. This scenario is happening for the same SNMP Agent. SNMP V3 Config:- /etc/snmp/snmptrapd.conf OS:- RHEL 8 Net-SNMP version:-5.8 Regards Mohd Rafeeq Siddiquie

Re: Unable to compile net-snmp due to netlink API change

2024-04-03 Thread Craig Small via Net-snmp-coders
cket_free) test, that's a symptom. I'm not sure if the older library needs the route library or not, so the next steps are hard to say. If it was just the new library then a fatal error on Linux for the absence of either libnl3 or libnl-route-3 would do it. ______

Re: Unable to compile net-snmp due to netlink API change

2024-04-02 Thread Bart Van Assche
P_HEADER([nl_socket_free], [netlink/socket.h],     [AC_DEFINE([HAVE_LIBNL3], [1],     [Define to 1 if provides the     libnl3 API])])     fi Thanks, Bart. ___ Net-snmp-

Re: Unable to compile net-snmp due to netlink API change

2024-04-02 Thread Craig Small via Net-snmp-coders
ript, because it evaluates libnl-3 + !libnl-route-3 = libnl1 instead of failing. - Craig ___ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Re: Unable to compile net-snmp due to netlink API change

2024-04-02 Thread Bart Van Assche
On 4/2/24 01:49, Craig Small via Net-snmp-coders wrote: Hello All,   I was attempting to compile the git head of net-snmp. One big change is that uses netlink sockets instead of reading /proc/net/* The issue is the API is different to the library I can see. mibgroup/mibII/tcpTable.c:631:12

Unable to compile net-snmp due to netlink API change

2024-04-02 Thread Craig Small via Net-snmp-coders
Hello All, I was attempting to compile the git head of net-snmp. One big change is that uses netlink sockets instead of reading /proc/net/* The issue is the API is different to the library I can see. mibgroup/mibII/tcpTable.c:631:12: error: too few arguments to function ‘nl_geterror’ 631

snmp code fix for Vulnerability

2024-03-26 Thread sukeerthi bj
Hi Team, I am currently working on NET-SNMP code integration for a project. I want to understand the code changes for this CVE-2008-6123. Can someone please point to the change list for same? -Sukeerthi ___ Net-snmp-coders mailing list Net-snmp-coders

Memory leak with net-snmp agent v3 ?

2024-02-16 Thread Vincent Gilson via Net-snmp-coders
Hi, I managed to do a secure DTLS comm between my laptop (snmpget) and my embedded device net-snmp agent. But I noticed there's somewhere a memory leak on the Agent (embedded device) side : I see some 12KB amount of memory taken by the agent each time it successfully handles such request

Re: SIGHUP for changing SNMP agent Port

2024-01-09 Thread Feroz
it does not work. It's a pretty small code > change. Please take a look at the commit message for the logic and to > understand the exact use-case where it isn't working. Any help or > suggestion is appreciated. > > review link - https://github.com/net-snmp/net-snmp/pull/

Re: SIGHUP for changing SNMP agent Port

2024-01-09 Thread Vivek Aditya
. Any help or suggestion is appreciated. review link - https://github.com/net-snmp/net-snmp/pull/769 On Mon, 8 Jan 2024 at 22:52, Wes Hardaker wrote: > Vivek Aditya writes: > > > I want the SNMP to start listening on a new agent port without restart. > > Just sending S

Re: SIGHUP for changing SNMP agent Port

2024-01-08 Thread Wes Hardaker via Net-snmp-coders
Vivek Aditya writes: > I want the SNMP to start listening on a new agent port without restart. > Just sending SIGHUP to snmpd does not work.  > > Is there a way to do it or has this issue already been fixed? Any help > would be appreciated. That's a good feature request,

SIGHUP for changing SNMP agent Port

2024-01-08 Thread Vivek Aditya
Hi Team, I want the SNMP to start listening on a new agent port without restart. Just sending SIGHUP to snmpd does not work. Is there a way to do it or has this issue already been fixed? Any help would be appreciated. -- Warm Regards, Vivek Aditya

Re: Missing root disk in MIB - Bisected to commit e3fc76e0ae ("CHANGES: snmpd: Make UCD-SNMP::dskTable dynamic if includeAllDisks is set.")

2023-12-28 Thread Christophe Leroy via Net-snmp-coders
;> While upgrading from NETsnmp 5.7.3 to 5.9.3 I encounter a problem which >> is that root(/) filesystem is missing from UCD-SNMP-MIB disk table: > > Is https://github.com/net-snmp/net-snmp/pull/764 perhaps intended as a > fix for this issue? > Yes the issue disappears with t

Re: Missing root disk in MIB - Bisected to commit e3fc76e0ae ("CHANGES: snmpd: Make UCD-SNMP::dskTable dynamic if includeAllDisks is set.")

2023-12-25 Thread Bart Van Assche
On 12/17/23 09:51, Christophe Leroy wrote: While upgrading from NETsnmp 5.7.3 to 5.9.3 I encounter a problem which is that root(/) filesystem is missing from UCD-SNMP-MIB disk table: Is https://github.com/net-snmp/net-snmp/pull/764 perhaps intended as a fix for this issue? Thanks, Bart

Missing root disk in MIB - Bisected to commit e3fc76e0ae ("CHANGES: snmpd: Make UCD-SNMP::dskTable dynamic if includeAllDisks is set.")

2023-12-17 Thread Christophe Leroy via Net-snmp-coders
Hello All, While upgrading from NETsnmp 5.7.3 to 5.9.3 I encounter a problem which is that root(/) filesystem is missing from UCD-SNMP-MIB disk table: # snmpwalk -v1 -c public localhost 1.3.6.1.4.1.2021.9 UCD-SNMP-MIB::dskIndex.2 = INTEGER: 2 UCD-SNMP-MIB::dskIndex.3 = INTEGER: 3 UCD-SNMP-MIB

Not using context in the SNMP queries

2023-09-22 Thread Jenny Yao
Hi net-snmp-coders,We are net-snmp 5.9.1 with proxy. We use context to associate user/view/community and the context is based on the view (one view will have one corresponding context)But we would like to hide the context from SNMP client.The snmpd.conf is like this:proxy -Cn context_vt1 -v 2c -t

net-snmp 5.9.4 released

2023-08-15 Thread Wes Hardaker via Net-snmp-coders
n the end, we've decided to table the fix until after 5.9.4 to get this out the door as is for now. NEWS for 5.9.4: *5.9.4*: IMPORTANT: SNMP over TLS and/or DTLS are not functioning properly in this release with various versions of OpenSSL and will be fixed in a future release.

Re: Net-SNMP 5.9.4.rc1 available for final testing

2023-08-09 Thread Wes Hardaker via Net-snmp-coders
Alexander Bergmann writes: > Hi Craig, > > Thanks for the reply. Any update on your search for the GPG signing > key? Sorry fro the delay. I just put a new file in: https://sourceforge.net/projects/net-snmp/files/net-snmp-admin%20PGP%20key/current-key/ Specifically, the net-snmp

Re: Net-SNMP 5.9.4.rc1 available for final testing

2023-08-02 Thread Alexander Bergmann via Net-snmp-coders
ame thing a few weeks ago. Wes said he put the key on the mit > servers. I haven't checked that (or rc1 either). > > Both are on my to-do list. > > - Craig > > > On Wed, 12 July 2023, 19:12 Alexander Bergmann via Net-snmp-coders, < > net-snmp-coders@lists

Re: Net-SNMP 5.9.4.rc1 available for final testing

2023-07-12 Thread Craig Small via Net-snmp-coders
I asked the same thing a few weeks ago. Wes said he put the key on the mit servers. I haven't checked that (or rc1 either). Both are on my to-do list. - Craig On Wed, 12 July 2023, 19:12 Alexander Bergmann via Net-snmp-coders, < [email protected]> wrote

Re: Net-SNMP 5.9.4.rc1 available for final testing

2023-07-12 Thread Alexander Bergmann via Net-snmp-coders
Hi Wes / everyone, Where can I find the current GPG signing key that was used to sign the latest updates? gpg: assuming signed data in 'net-snmp-5.9.4.rc1.tar.gz' gpg: Signature made Thu 22 Jun 2023 05:15:02 PM CEST gpg:using EDDSA key 6E6718AEF1EB5C65C32D1B2A356BC0B552

Net-SNMP 5.9.4.rc1 available for final testing

2023-06-22 Thread Wes Hardaker via Net-snmp-coders
ng: https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4-pre-releases/ As a reminder, all patches from here out to the V5-9 branch must have discussion on -coders first, with at least 3 people in favor of applying them. Additionally, any code changes will likely cause another rc candidate

Re: snmp inform

2023-06-19 Thread Pushpa Thimmaiah
Hi Kuldeep, Thank you. Unfortunately, I didnot capture packets, but there was engineID missing on SNMP manager during the test. I fixed that and noticed no snmpinforms then. So checked at snmp-agent side and noticed that snmptrap is stuck. Does 'snmptrap' not timeout if there is n

Re: snmp inform

2023-06-19 Thread Pushpa Thimmaiah
e_cb()` function in the > `snmp_client.c` file. The `state->waiting` flag is set to 1, indicating > that it is waiting for a response. > > To troubleshoot this issue, you can follow these steps: > > 1. Check the SNMP configuration: Ensure that the SNMP configuration on the > devic

snmp inform

2023-06-19 Thread Pushpa Thimmaiah
locals. (gdb) -- Thanks, Pushpa.T ___ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

net-snmp-5.9.4.pre3 published for testing

2023-04-29 Thread Wes Hardaker via Net-snmp-coders
Version 5.9.4.pre3 has been released and published to: https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4-pre-releases/ Please test away and report any critical issues. Ideally, this should be the last pre-release and we'll publish a release candidate in a couple of wee

net-snmp 5.9.4.pre1 available for testing

2023-04-03 Thread Wes Hardaker via Net-snmp-coders
We've started the process of creating a 5.9.4 release. Please test and file pull requests when you run into problems you can fix. tar/zips are available here: https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.4-pre-releases/ -- Wes Hardaker Please mail all replies to net

Re: Need solution to suppress Warning for 32 bit net-SNMP installing on 64 bit

2022-11-01 Thread Magnus Fromreide
On Tue, Nov 01, 2022 at 11:17:07AM +, Jendal, Bhanu wrote: > Hello Team, > > Can you please help on the below scenario: > Need solution to suppress Warning for 32 bit net-SNMP installing on 64 bit > while installing through the command line. The net-snmp project primarily

Need solution to suppress Warning for 32 bit net-SNMP installing on 64 bit

2022-11-01 Thread Jendal, Bhanu
Hello Team, Can you please help on the below scenario: Need solution to suppress Warning for 32 bit net-SNMP installing on 64 bit while installing through the command line. Regards, Bhanu Jendal ___ Net-snmp-coders mailing list Net-snmp-coders

Re: Security fixes in net-snmp 5.9.3

2022-09-07 Thread Wes Hardaker via Net-snmp-coders
backward compatibily. -- Wes Hardaker Please mail all replies to [email protected] ___ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Re: SNMP context details are not removing from cache

2022-09-07 Thread Wes Hardaker via Net-snmp-coders
Abhishek Singh writes: > 1. The issue was existing snmpv3 details were not updated in the net-snmp > cache. > Used clear_user_list() to clear users details. The patch is in attachments. Is > this the correct way to go forward? If you're always trying to re-create users th

Re: wolfSSL support in net-snmp

2022-08-05 Thread Hayden Roche
Hi Bart, The changes look great. Go ahead with the merge to master. Hayden On Thu, Aug 4, 2022 at 2:39 PM Bart Van Assche wrote: > On 7/28/22 20:48, Bart Van Assche wrote: > > On 7/27/22 09:27, Hayden Roche wrote: > >> A while back, we (wolfSSL) added support for wolfSSL

SNMP context details are not removing from cache

2022-08-05 Thread Abhishek Singh
Hello, I have a requirement not to restart snmpd for SNMP config changes. Am using the SIGHUP signal to reread for any snmp configuration changes. I was facing two issues while using SIGHUP. 1. The issue was existing snmpv3 details were not updated in the net-snmp cache. Used clear_user_list() to

Re: wolfSSL support in net-snmp

2022-08-04 Thread Bart Van Assche
On 7/28/22 20:48, Bart Van Assche wrote: On 7/27/22 09:27, Hayden Roche wrote: A while back, we (wolfSSL) added support for wolfSSL to net-snmp 5.9.1 for a customer. You can find the patch here: https://github.com/wolfSSL/osp/tree/master/net-snmp Is this something you'd be interest

Re: wolfSSL support in net-snmp

2022-07-28 Thread Bart Van Assche
On 7/27/22 09:27, Hayden Roche wrote: A while back, we (wolfSSL) added support for wolfSSL to net-snmp 5.9.1 for a customer. You can find the patch here: https://github.com/wolfSSL/osp/tree/master/net-snmp Is this something you'd be interested in having upstream? Support for wolfSSL se

Security fixes in net-snmp 5.9.3

2022-07-28 Thread Craig Small
Hi, The 5.9.3 release fixes several security issues. Could someone confirm if it was only the following two patches that fixed it, or give me a list of the patches if not? snmpd: fix bounds checking in NET-SNMP-AGENT-MIB, NET-SNMP-VACM-MIB, SNMP-VIEW-BASED-ACM-MIB, SNMP-USER-BASED-SM-MIB https

wolfSSL support in net-snmp

2022-07-27 Thread Hayden Roche
Hi, A while back, we (wolfSSL) added support for wolfSSL to net-snmp 5.9.1 for a customer. You can find the patch here: https://github.com/wolfSSL/osp/tree/master/net-snmp Is this something you'd be interested in having upstream? Best, Hayden

Re: Net-SNMP 5.9.3 published

2022-07-19 Thread Wes Hardaker via Net-snmp-coders
Craig Small writes: > Debian net-snmp packages 5.9.3-1 have also been built and uploaded. Nice, thanks. -- Wes Hardaker Please mail all replies to [email protected] ___ Net-snmp-coders mailing list Net-snmp-cod

Re: Net-SNMP 5.9.3 published

2022-07-19 Thread Craig Small
On Thu, 14 Jul 2022 at 07:42, Wes Hardaker via Net-snmp-coders < [email protected]> wrote: > > So a 5.9.3 release has now been pushed to: > Debian net-snmp packages 5.9.3-1 have also been built and uploaded. No major issues, I'm hoping to reduce som

Net-SNMP 5.9.3 published

2022-07-13 Thread Wes Hardaker via Net-snmp-coders
So a 5.9.3 release has now been pushed to: https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.3/ This fixes the last minute bug with .so library naming in 5.9.2. -- Wes Hardaker Please mail all replies to [email protected]

Net-SNMP 5.9.3.rc1 published

2022-07-06 Thread Wes Hardaker via Net-snmp-coders
To fix the discovered shared library versioning issue in 5.9.2, 5.9.3.rc1 has been published and is here: https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.3-pre-releases/ Please give it a whirl, with the goal of proper 5.9.3 being published next week. -- Wes Hardaker Please mail

Re: Net-SNMP 5.9.2 published

2022-07-05 Thread Bart Van Assche
version numbers. Am I perhaps missing something? Thanks, Bart. ___ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Re: Net-SNMP 5.9.2 published

2022-07-05 Thread Wes Hardaker via Net-snmp-coders
Bart Van Assche writes: > +1 for releasing the next version from the master branch. That would > make Net-SNMP easier to maintain since it would reduce the number of > branches to maintain from two to one. Agreed, though typically we'd fork after that point with a patches bran

Re: Net-SNMP 5.9.2 published

2022-07-05 Thread Bart Van Assche
On 6/30/22 19:23, Wes Hardaker via Net-snmp-coders wrote: I'm thinking we should look toward a main-branch release next (5.10). Opinions welcome. +1 for releasing the next version from the master branch. That would make Net-SNMP easier to maintain since it would reduce the number of bra

Net-SNMP 5.9.2 published

2022-06-30 Thread Wes Hardaker via Net-snmp-coders
I'll send a full announcement early next week, but Net-SNMP 5.9.2 is published and is at: https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.2/ I'm thinking we should look toward a main-branch release next (5.10). Opinions welcome. -- Wes Hardaker Please mail all repl

net-snmp-5.9.2.rc2 published for testing

2022-06-22 Thread Wes Hardaker via Net-snmp-coders
There have only been a few changes since rc1, but enough that it warrants another rc2. Please propose no changes at this point unless there is a critical issue. https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.2-pre-releases/ -- Wes Hardaker Please mail all replies to net-snmp

Net-SNMP 5.9.2.rc1 available for testing

2022-04-22 Thread Wes Hardaker via Net-snmp-coders
Greetings all, An RC1 candidate is available for download and testing: https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.2-pre-releases/ If there are no proposed changes to this, it'll be 5.9.2 next. As a reminder, in the RC phase of development, any proposed changes (from a

Re: net-snmp and openssl v3

2022-04-18 Thread Wes Hardaker via Net-snmp-coders
Craig Small writes: > However, net-snmp v 5.9.1 doesn't have all of these yet. I can either > try to pick the relevant ones out and patch the Debian package, or > wait until 5.9.2 comes out. My question is, is there an idea when that > would be?  My preference is to not patch

Re: Net-SNMP 5.9.2.pre1 published for testing

2022-04-18 Thread Wes Hardaker via Net-snmp-coders
ply it. -- Wes Hardaker Please mail all replies to [email protected] ___ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Re: Net-SNMP 5.9.2.pre1 published for testing

2022-04-12 Thread Craig Small
d64.deb Depends: libc6 (>= 2.33), libpci3 (>= 1:3.5.1), libperl5.34 (>= 5.34.0), libsensors5 (>= 1:3.5.0), *libssl3* (>= 3.0.1-1), libwrap0 (>= 7.6-4~), libsnmp-base - Craig _______ Net-snmp-coders mailing list [email protected]

Re: Net-SNMP 5.9.2.pre1 published for testing

2022-04-11 Thread Craig Small
Craig libtool: compile: gcc -I../include -I. -I../agent -I../agent/helpers -I../agent/mibgroup -I../snmplib -I/usr/include/mariadb/ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 "-ffile-prefix-map=/build/net-snmp-5.9.2~pre1+dfsg=." -fstack-protector-strong -Wformat -Werror=fo

Re: Net-SNMP 5.9.2.pre1 published for testing

2022-04-06 Thread Wes Hardaker via Net-snmp-coders
Craig Small writes: > On Wed, 6 Apr 2022, 10:09 Wes Hardaker via Net-snmp-coders, > > wrote: > > Net-SNMP 5.9.2.pre1 has been published for testing as available at: > > I can confirm that the compile issues with OpenSSL v3 are fixed with this. > > I'

Re: Net-SNMP 5.9.2.pre1 published for testing

2022-04-06 Thread Craig Small
On Wed, 6 Apr 2022, 10:09 Wes Hardaker via Net-snmp-coders, < [email protected]> wrote: > > Net-SNMP 5.9.2.pre1 has been published for testing as available at: > I can confirm that the compile issues with OpenSSL v3 are fixed with this. I'll run the s

Net-SNMP 5.9.2.pre1 published for testing

2022-04-05 Thread Wes Hardaker via Net-snmp-coders
Greetings all, Net-SNMP 5.9.2.pre1 has been published for testing as available at: https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.2-pre-releases/ Please file any issues or pull requests required to improve the state of this release. -- Wes Hardaker Please mail all replies to

Re: net-snmp and openssl v3

2022-03-23 Thread Bart Van Assche
(+Wes) On 3/21/22 23:08, Craig Small wrote: I received a bug report about issues linking net-snmp with openssl v3. Generally its because there are functions referenced that were deprecated in 3.0 or even sometimes 1.1.0 ! I started looking around and found that net-snmp already has some, if

Re: net-snmp and openssl v3

2022-03-22 Thread Tomasz Kłoczko
On Tue, 22 Mar 2022 at 07:41, Craig Small wrote: > Hi, > I received a bug report about issues linking net-snmp with openssl v3. > Generally its because there are functions referenced that were deprecated > in 3.0 or even sometimes 1.1.0 ! > > I started looking around and f

net-snmp and openssl v3

2022-03-22 Thread Craig Small
Hi, I received a bug report about issues linking net-snmp with openssl v3. Generally its because there are functions referenced that were deprecated in 3.0 or even sometimes 1.1.0 ! I started looking around and found that net-snmp already has some, if not all, the patches required. such as

Re: How to enable logging with verbose and log rations in net-snmp daemon in snmpd.conf for

2022-03-21 Thread Suresh
Hi Mike Thanks to reply. Can u explain little bit more on this, I need to log rotation verbose for windows OS on net-snmp. Thanks Suresh From: Mike Eggleston Sent: Monday, March 21, 2022 7:19 PM To: Suresh Cc: [email protected] ; net-snmp

Re: How to enable logging with verbose and log rations in net-snmp daemon in snmpd.conf for

2022-03-21 Thread Suresh
Hi Anyone able enable logging with verbose and log rotations in net-snmp daemon. from snmpd.conf From: Suresh Sent: Tuesday, March 15, 2022 7:48 PM To: [email protected] ; [email protected] Subject: How to enable logging

How to enable logging with verbose and log rations in net-snmp daemon in snmpd.conf for

2022-03-15 Thread Suresh
Hello I'm using net-snmp version: 5.9.1 service with extended my enterprise specific mibs for snmpwalk/get/set I want enable logs with rotation policy and verbose level. Example Log file name rataiotn with date_time and verbose leve debug, error level or info level. What parameter i ne

Re: using net-snmp at scale with one process and one socket

2021-11-11 Thread Neil Mckee
"). (c) reworking snmpusm.c to use a hash-table of lists, instead of just one (struct usmUser *) list. This was a bigger change, but it was also a _breaking_ change because there is an SNMP v3 agent table that expects a certain ordering here. I think the right compromise might be to use a

Re: [FIX][PATCH] snmp-bridge-mib

2021-11-09 Thread Wes Hardaker via Net-snmp-coders
Charles Polisher writes: > I found a bug in snmp-bridge-mib that causes incorrect results > when the number of bridge ports exceeds one digit, because a > string compare is used on numeric data. Thanks, applied! -- Wes Hardaker Please mail all replies to [email protected]

[FIX][PATCH] snmp-bridge-mib

2021-11-02 Thread Charles Polisher
Hello, I found a bug in snmp-bridge-mib that causes incorrect results when the number of bridge ports exceeds one digit, because a string compare is used on numeric data. The fix, tested, is below. I hope this helps! Best regards, and thanks to all the maintainers, -- Charles Polisher $ diff

Re: Varbind orfer in SNMP TRAP's

2021-10-30 Thread Bill Fenner
On Thu, Oct 28, 2021 at 6:01 PM Fulko Hew wrote: > > > On Thu, Oct 28, 2021 at 5:23 PM Craig Small wrote: > >> On Fri, 29 Oct 2021 at 05:14, Feroz wrote: >> >>> hi, >>> Is it necessary to maintain any specific order in SNMP TRAP for varbinds? >

Re: Varbind orfer in SNMP TRAP's

2021-10-28 Thread Fulko Hew
On Thu, Oct 28, 2021 at 5:23 PM Craig Small wrote: > On Fri, 29 Oct 2021 at 05:14, Feroz wrote: > >> hi, >> Is it necessary to maintain any specific order in SNMP TRAP for varbinds? >> > For the first two, yes. > I always followed the principles of: 1/ least surp

Re: Varbind orfer in SNMP TRAP's

2021-10-28 Thread Craig Small
On Fri, 29 Oct 2021 at 05:14, Feroz wrote: > hi, > Is it necessary to maintain any specific order in SNMP TRAP for varbinds? > For the first two, yes. > e.g: "sysUpTime.0" should be the first one followed by "snmpTrapOID.0" > then the actual data varbinds

Varbind orfer in SNMP TRAP's

2021-10-28 Thread Feroz
hi, Is it necessary to maintain any specific order in SNMP TRAP for varbinds? e.g: "sysUpTime.0" should be the first one followed by "snmpTrapOID.0" then the actual data varbinds. *Detailed Varbinds:* User Datagram Protocol, Src Port: 44724, Dst Port: 162 Simple Network

Need help regarding writing AgentX for support SNMP V3 Which running with Apache 2.4 Service.

2021-10-25 Thread Suresh
Hi All My C++ application running(on windows-64 bit application with Apache 2.4 (Daemon )and this application support only SNMP V1 V2 using net-snmp API our C++ application get snmp call (for SNMPGET,SNMP walk using Windows OS provided SNMP Service using ExtensionAgents C:\Windows\system32

Re: using net-snmp at scale with one process and one socket

2021-10-22 Thread Wes Hardaker via Net-snmp-coders
g definition of "small" has certainly increased in size over time with the continued increase of storage/memory availability in even the smallest devices. -- Wes Hardaker Please mail all replies to [email protected] ___

Re: using net-snmp at scale with one process and one socket

2021-10-18 Thread Neil Mckee
lti-threaded then it seems like your hands are tied? I certainly won't object if nothing changes. On Mon, Oct 18, 2021 at 10:30 AM Wes Hardaker wrote: > > Neil Mckee writes: > > > This may have been covered many times before, but just in case it > > helps someone, here is

Re: using net-snmp at scale with one process and one socket

2021-10-18 Thread Wes Hardaker via Net-snmp-coders
Neil Mckee writes: > This may have been covered many times before, but just in case it > helps someone, here is a summary of my experience with using net-snmp > in a large network. Thank you for the very useful list of changes. -- Wes Hardaker Please mail all replies to net-sn

Re: Interfacing Net-SNMP with Pi running Ubuntu 21.04

2021-10-18 Thread Wes Hardaker via Net-snmp-coders
And then set your MIBS environment variable to be correct to. So putting it in /usr/local/share/snmp/mibs was the right first start, but you also need to set the MIBS environment variable to be "+PERSONAL-MIB" or whatever you called it (note you need the leading +) -- Wes Hardaker Plea

Interfacing Net-SNMP with Pi running Ubuntu 21.04

2021-10-14 Thread Andrew Mwakibinga
IB located in /usr/local/share/snmp/mibs and my .c/.h files in /agent/mibgroup/personal-mib/. The configure line I used was ./configure -with-mib-modules="personal-mib/personal" -disable-embedded-perl -without-perl-modules. I have been able to compile and run the same .c/.h files on

using net-snmp at scale with one process and one socket

2021-09-16 Thread Neil Mckee
This may have been covered many times before, but just in case it helps someone, here is a summary of my experience with using net-snmp in a large network. Specifically, I use it to talk to thousands of SNMPv2 and SNMPv3 agents using just one UDP socket in a process that runs continuously. The

Re: NET-SNMP 5.7.3: Got signal 6 in netsnmp_tdomain_transport_full operation

2021-09-15 Thread Josef Řídký
Hi Olivier, As RHEL maintainer of net-snmp, I can only advise you to check whether you're using the up to date version of net-snmp in RHEL-7 (net-snmp-5.7.2-49.1). I was able to find some modifications in netsnmp_tdomain_transport_full method, that was backported from the upstream commit

NET-SNMP 5.7.3: Got signal 6 in netsnmp_tdomain_transport_full operation

2021-09-15 Thread Olivier Germain via Net-snmp-coders
Hi SNMP Team, We integrated SNMP 5.7.3 library as part of our software (libsnmpsl and libpasnmpmgr). We are running on REHL 7 x86 64 bits. One of our partner reported us that they caught a signal 6 during the initialization of SNMP V3 session. Here is the stack trace fwe got in our product that

net-snmp not returning number of descriptors when running OMAPI to DHCP server all on same linux platform

2021-08-23 Thread Resham Hayre
We have a SNMP running with Sub-agents and are using the "snmp_select_info" call to find the number of file descriptors and then perform a select call to get the data. However, when we run a OMAPI thread that communicates with a DHCP server over TCP connection to get lease inform

Re: Disabling execution cache in SNMP daemon

2021-07-21 Thread Roberto A. Foglietta
ue, please? > > https://sourceforge.net/p/net-snmp/mailman/message/16888540/ > It works, thank you, -R ___ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Disabling execution cache in SNMP daemon

2021-07-21 Thread Roberto A. Foglietta
Dear all, I found this suggestion about the issue in the object and I applied it in a newer version but it did not work. Could you help me to address this issue, please? https://sourceforge.net/p/net-snmp/mailman/message/16888540/ AP> Is it possible for net-snmp to exec the script on each

Re: Net-snmp encryptions

2021-07-20 Thread Wes Hardaker via Net-snmp-coders
"Srilatha Devineni (sdevinen) via Net-snmp-coders" writes: > I installed 5.9.1 net-snmp and I see there is no support for AES AES requires OpenSSL to be installed when Net-SNMP is compiled. Use the --with-openssl flag to point to the path where it is installed if it couldn&#

Re: Could be SNMP daemon ported in multi-threads mode?

2021-07-19 Thread Craig Small
On Mon, 19 Jul 2021, 20:28 Roberto A. Foglietta, < [email protected]> wrote: > I have been reported that the bottleneck is due to the single-thread > nature of SNMP. > The bottleneck is about 1 SNMP call served per second. > That sounds like asynchronous SNMP calls

Could be SNMP daemon ported in multi-threads mode?

2021-07-19 Thread Roberto A. Foglietta
Hi All, I am experiencing a bottleneck in managing the SNMP calls when they have a flow peak. I have been reported that the bottleneck is due to the single-thread nature of SNMP. The bottleneck is about 1 SNMP call served per second. Do you anyone considered to have a multi-thread SNMP

Net-snmp encryptions

2021-07-12 Thread Srilatha Devineni (sdevinen) via Net-snmp-coders
Hi Developers, I installed 5.9.1 net-snmp and I see there is no support for AES I wonder , why the latest version doesn’tt have support for AES I don’t think that I missed any config. SDEVINEN-M-V0LX:net-snmp-5.9.1 sdevinen$ snmpwalk -v3 -l authPriv -u authPriv-sha-aes -a SHA -A PASSWORD1

Re: Problems attempting to compile net-snmp 5.8 libs without libcrypto

2021-06-18 Thread Wes Hardaker via Net-snmp-coders
al hack that would > get > around the issue. This was not an issue in older versions of snmp libraries > (namely > we’ve used snmp 5.5). We do not use libnetsnmpmibs or libnetsnmptrapd. If > there is a > way to exclude them from being built that would also solve the issue. Is ther

Re: Problems attempting to compile net-snmp 5.8 libs without libcrypto

2021-06-14 Thread Larry Hayes
and, Nicholas wrote: > Hello, > > > > We would like to compile the net snmp 5.8 libs ( > https://sourceforge.net/projects/net-snmp/files/net-snmp/5.8/net-snmp-5.8.tar.gz/download) > without any crypto/ssl support whatsoever. Currently I have tried the > following configure o

Problems attempting to compile net-snmp 5.8 libs without libcrypto

2021-06-13 Thread Weiland, Nicholas
Hello, We would like to compile the net snmp 5.8 libs (https://sourceforge.net/projects/net-snmp/files/net-snmp/5.8/net-snmp-5.8.tar.gz/download) without any crypto/ssl support whatsoever. Currently I have tried the following configure options: '--disable-embedded

Re: Net-SNMP AgentX - Problem with new MIB and snmpset

2021-05-20 Thread Simone Moni
. I need to extend snmpd with a new custom MIB > module. > I have NET-SNMP version 5.5 on Redhat, I would implement perl API, using > NetSNMP::agent. > Hereby, the steps I've done: > > - /etc/snmp/snmpd.conf > #sec.name sourcecommunity > com

Net-SNMP AgentX - Problem with new MIB and snmpset

2021-05-20 Thread Simone Moni
Hi all, I'm a newbie with AgentX. I need to extend snmpd with a new custom MIB module. I have NET-SNMP version 5.5 on Redhat, I would implement perl API, using NetSNMP::agent. Hereby, the steps I've done: - /etc/snmp/snmpd.conf #sec.name sourcecommunity com2sec not

Re: HELP - Net-SNMP AgentX - Problem with new MIB and snmpset

2021-05-14 Thread Wes Hardaker via Net-snmp-coders
nfo->getMode() == MODE_SET_ACTION) { >             # ... (or use the value) >             $value = $request->getValue(); >         } You're setting the $value variable but never using it again -- you would need to update the $defa

HELP - Net-SNMP AgentX - Problem with new MIB and snmpset

2021-05-07 Thread Simone Moni
Hi, Can anyone help me? I'm a newbie with AgentX. I need to extend snmpd with a new custom MIB module. I have NET-SNMP version 5.5 on Redhat, I would implement perl API, using NetSNMP::agent. Hereby, the steps I've done: - /etc/snmp/snmpd.conf #sec.name source

Net-SNMP 5.9.1.rc1 available for testing

2021-04-28 Thread Wes Hardaker via Net-snmp-coders
I've pushed Net-SNMP 5.9.1.rc1. This means we're now in the release-candidate cycle which requires request-for-vote posts to this list in order to approve any additional changes before the final release (with a delta of at least people voting positively for any change). https://sourc

Net-SNMP V5.9.1.pre1 released for testing

2021-04-05 Thread Wes Hardaker via Net-snmp-coders
It was produced from the V5-9-patches branch and is available here: https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9.1-pre-releases/ Please take it for a test drive and see how it fairs. -- Wes Hardaker Please mail all replies to [email protected]

  1   2   3   4   5   6   7   8   9   10   >