Net-SNMP 5.10.pre1 released for testing

2025-03-07 Thread Wes Hardaker via Net-snmp-coders
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 whirl -- it certainly won't be perfect yet. -- Wes Hardaker Please mail al

Re: Character set for snmpv3 user auth/priv password

2024-07-12 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah writes: > I would like to know invalid characters or characters that are not > allowed for snmpv3 authPhrase and privPhrase. Does the following > password valid. You should be able to put passwords with interesting characters in quotes if you need them. -- Wes Hardaker Please

Re: Two snmpv3 users with same name and different credentials

2024-07-12 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah writes: > Could you please confirm net-snmp allows same snmpv3 user with > different credentials? No that is not possible. It actually doesn't have to do with Net-SNMP, the SNMPv3 protocol alone requires a separate user name if you need different credentials. -- Wes Hardaker

Re: SNMPv3 does not provide any protection against brute force attacks.

2024-06-21 Thread Wes Hardaker via Net-snmp-coders
Prankur Chauhan writes: > Is it possible to identify a malicious IP who is trying multiple times > authentication requests with wrong credentials and increase the > response time for each subsequent auth request, consequently also lock > him/her out for some duration? > > Do you guys know if snm

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, but I don't think we ha

Re: Core dump generated in snmp_alarm.c

2024-01-03 Thread Wes Hardaker via Net-snmp-coders
Venkateswarlu K writes: > We are using net-snmp version 5.7.3 in our ARM based Access Point. Recently we > are observing snmp core in snmp_alarm.c file with below bt. Based on the image, we'd need to see in a debugger what the 'a' structure looks like. I'm not sure how the alarm stack got corru

Re: Encrypt snmpv3 username and snmpv2c username

2023-09-15 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah writes: > I am looking for method to save username and community in encrypted > format in / etc/snmp/snmpd.conf.   Could you please let me know it can > be done? Hi Pushpa, No it can't be done and there isn't really a way to properly do it in the first place, as the SNMPv3 prot

Re: default retries for snmpinform

2023-08-25 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah writes: > Is this known issue in version 5.7.1?   I did test the same on net-snmp-5.9 > and > could see 5 retries. I'd argue you should be using 5.9.4 then :-) 5.7 is long past supported. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net _

net-snmp 5.9.4 released

2023-08-15 Thread Wes Hardaker via Net-snmp-coders
I've published 5.9.4 today, thanks to the vast quantity of help from many people that have contributed patches to the 5.9 branch. Sorry for the delay between 5.9.4.rc1 and the final version, but there was a bug in the TLS support that turns out to be challenging due to multiple issues. In the e

Re: timeout and retry for snmptrap

2023-08-09 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah writes: > I am using tool 'snmptrap'  to send informs .   I would like to know default > timeout and retry here. >   snmpcmd manpage says default timeout=1sec  and retry=5. > Could you confirm whether it is applicable to command 'snmptrap -Ci' ? Without double checking the sourc

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-admins-2023-

Re: Inquiry about FIPS Certification for net-snmp's Crypto Module

2023-08-09 Thread Wes Hardaker via Net-snmp-coders
MOUHOUNE Samir writes: > I am writing to inquire whether your crypto module is FIPS > certified. Hi Samir, We do not have FIPS certification for the net-snmp source-code, nor are there any plans to do so. Having said that, one of the motivations behind the "internal" option that can be passed

Net-SNMP 5.9.4.rc1 available for final testing

2023-06-22 Thread Wes Hardaker via Net-snmp-coders
It seems like the V5-9-4 branch has finally quieted down a bit. Thank you to all the people that have submitted patches, fixes, bug reports, etc in the last month. It's time, however, to really get this out the door. As such, I've published 5.9.4.rc1 and is available for testing: https://sour

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 weeks if activi

Re: Timeout and Retry values for snmpinforms

2023-04-05 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah writes: > When snmpv2c/snmpv3 informs sent via 'snmptrap -Ci' command  and what should > be > ideal timeout and retry values to be considered That's very network dependent. I'd suggest a 1s timeout should be good for most networks, as you should never be sending SNMP outside y

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-snmp-code

Re: Diffie-Hellman Key

2022-09-08 Thread Wes Hardaker via Net-snmp-coders
Simon Chamlian writes: > So once it is compiled in, how do you add the Diffie-Hellman in createUser  > instruction in the snmpd.conf file? You still create users per normal, but can change passwords with the snmpusm command. See the snmpusm manual in the "CHANGING PASS PHRASES" section. -- We

Re: Security fixes in net-snmp 5.9.3

2022-09-07 Thread Wes Hardaker via Net-snmp-coders
Craig Small writes: >   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? I think those two patches look right, but I'm not sure I'd promise those were the only critical

Re: Diffie-Hellman Key

2022-09-07 Thread Wes Hardaker via Net-snmp-coders
Craig Small via Net-snmp-coders writes: > My understanding is the only way of adding the key is with the snmpusm > command. Except it doesn't work for me. snmpusm is used to change a key, but isn't really doing DH for each transaction after that. It's still using a shared-secret. (D)TLS suppo

Re: SHA Version

2022-09-07 Thread Wes Hardaker via Net-snmp-coders
Feroz writes: > On net-snmp 5.8, with the following configuration in snmpd.conf file, which > version of SHA (i.e SHA1/SHA-192/SHA-256/SHA-284/SHA-512) is used? > > createUser feroz SHA feroz123 AES feroz123 > rwuser feroz priv If you specify SHA generically, that's an alias for SHA1. Instead,

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 that patch may work. > 2

Re: oldEngineID format in snmpd.conf

2022-07-19 Thread Wes Hardaker via Net-snmp-coders
Abhishek Singh writes: > I have a question on the format how oldEngineID is stored in snmpd.conf. > After configuring an engine ID, I observed the oldEngineID in snmpd.conf saved > as > engineBoots 1 > oldEngineID 0x80001f880438303030623835633033653030373162633735333532 > > The question is why t

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 net-snmp-coders@lists.sourceforge.net ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourcefor

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 net-snmp-coders@lists.sourceforge.net __

Re: snmpv3 poll

2022-07-13 Thread Wes Hardaker via Net-snmp-coders
Paban Agarwalla writes: > when we configure v3 users. Some of the algorithm combinations failed. What is the device you're using? Certainly it looks like a not-complete interchangeability table. Net-SNMP has demonstrated interchangeability with many other implementations, but I don't know abou

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 a

Re: publishing 5.9.3 immediately

2022-07-06 Thread Wes Hardaker via Net-snmp-coders
Craig Small writes: > The trapd linking to the agent library > (https://github.com/net-snmp/net-snmp/issues/434) > probably needs some thought about the best way to do it. I'm not even sure > why the basic > compile works and Debian one doesn't, but it's probably GCC rightly finding > an issue

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 branch. We should pro

publishing 5.9.3 immediately

2022-07-05 Thread Wes Hardaker via Net-snmp-coders
So this issues: https://github.com/net-snmp/net-snmp/issues/432 Likely warrants an immediate 5.9.3 with only the change to libcurrent in Makefile.top. I'll try to get 5.9.3.rc1 out the door today to address this. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.ne

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 replies to net-snmp

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-cod

Re: Securing snmpd.conf files

2022-06-21 Thread Wes Hardaker via Net-snmp-coders
Craig Small writes: > Is there a way to encrypt passwords in the snmpd.conf file? Currently, > when we open > snmpd.conf file we can look at passwords in plaintext format, is there a > way to > store those passwords in encrypted form. Does net-snmp support any > encryption/ > d

Re: The fix for usm_free_usmStateReference()

2022-05-11 Thread Wes Hardaker via Net-snmp-coders
Hanh Nguyen writes: > I'm new to the net-snmp community. I'm looking for the changes for bug  2923 > -Avoid that > snmpv3 bulkget errors result in a double free Hi Hanh, I'll look at this hopefully in the next 2 days. Thanks for submitting the patch. -- Wes Hardaker Please mail all replies t

Re: snmpwalk timeout

2022-05-11 Thread Wes Hardaker via Net-snmp-coders
Feroz writes: > For a given MIB, our container_load function takes 2 seconds, but > still the snmpwalk (v2) command times out with default values (5 > retries with 1 sec delay between each retry). The others have stated this already, but one additional point: it's not just the port and address t

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 anyone)

Re: multiple subagent with same set of oid.

2022-04-21 Thread Wes Hardaker via Net-snmp-coders
Paban Agarwalla writes: > We are using to Netsnmp to collect statistics from our device. > > We are registering multiple subagents with the same set of oids. > > can i get all sub agent statastics using the same oid with v2c/v1 snmp > host? The only way to deal with problems like that is to us

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 as I'll be cherry-pi

Re: Net-SNMP 5.9.2.pre1 published for testing

2022-04-18 Thread Wes Hardaker via Net-snmp-coders
Craig Small writes: > Anyway, the change was to add $(AGENTLIB) to the linker line for > libnetsnmptrapd in apps/Makefile.in When I looked in the apps/Makefile.in it looked to me that it already had that in it -- can you provide an exact patch? Maybe I misread where you meant to apply it. -- W

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'

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 ne

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 net-snmp-coders@lists.sourceforge.net

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

2021-10-22 Thread Wes Hardaker via Net-snmp-coders
Neil Mckee writes: > You are very welcome. Let me know if you want to discuss any of the > particulars. Well, the biggest question in my mind is: are you willing to contribute the patches back? It's unclear if any of them break backwards compatability (which we always strive for), but certainly

Re: When exactly the response is received from node 2 ?

2021-10-22 Thread Wes Hardaker via Net-snmp-coders
Nishant Nayan writes: > Hi, you please explain what does the below line means in snmpd.conf ? In this case the client (snmpget) is sending the request to the agent on the localhost with a specific context in the message (ctx_remote). The agent, with this configuration that indicates anything co

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-snmp-coders@lists.s

Re: Interfacing Net-SNMP with Pi running Ubuntu 21.04

2021-10-18 Thread Wes Hardaker via Net-snmp-coders
Andrew Mwakibinga writes: >I have been having difficulty getting custom MIB OIDs to show > up, when I > perform SNMPGET/SET/WALK commands. If (and only if) I understand you problem, you need to put the MIB file into a place where snmpget/set/walk can find and read it. And then

Re: snmpwalk: security service 3 error parsing ScopedPDU

2021-08-16 Thread Wes Hardaker via Net-snmp-coders
chandrasekharreddy chinnapareddygari writes: > variable-bindings: 1 item > RFC1213-MIB::mib-2.15.3.1.1.4.0.0.41.218 > (1.3.6.1.2.1.15.3.1.1.4.0.0.41.218): > Object Name: 1.3.6.1.2.1.15.3.1.1.4.0.0.41.218 > (RFC1

Re: Code location of errorindex (response->errindex)

2021-08-16 Thread Wes Hardaker via Net-snmp-coders
Nishant Nayan writes: > I debugged in snmpget.c till the section where the request is performed. > The errindex is getting set after the below function call (as one of > the properties of &response) :- So the error index is not set by snmpget, but by the agent that snmpget is querying. snmpget

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't find it in a defaul

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

2021-06-18 Thread Wes Hardaker via Net-snmp-coders
"Weiland, Nicholas" writes: > libnetsnmpmibs.so.35 and libnetsnmptrapd.so.35 still have links to > libcrypto.so.1.1 > (but not libssl.so.1.1). I would like to know if there are any configuration > flags I > missed that would fix this for us, or if there is any manual hack that would > get > ar

Re: Freenode?

2021-06-02 Thread Wes Hardaker via Net-snmp-coders
Josef Řídký writes: > But the more important question is, do we need the IRC channel at all? > I don't think there is much traffic (last usage was about migrating > project to GitHub, if I recall well) and most of the discussion is > held here or at the GitHub issues/PRs. It's certainly been a (

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

2021-05-14 Thread Wes Hardaker via Net-snmp-coders
Simone Moni writes: >         if ($request_info->getMode() == MODE_GET) { >             # ... generally, you would calculate value from oid >             if ($oid == new > NetSNMP::OID(".1.3.6.1.4.1.193.37.10.11.64.10.1.2.0")) { >             $request->setValue(ASN_OCTET_STR, $default_SP); >    

Re: snmptrapd queue+retry

2021-05-06 Thread Wes Hardaker via Net-snmp-coders
Feroz writes: > I tried as follows,  serverRecvBuf and  serverSendBuf worked, but > timeout/retries didn't work. > > [snmp] timeout 10 > [snmp] retries 60 So if you're forwarding via traps, timeouts and retries make no sense since they're not acknowledged by the remote server. There is no way

Re: snmptrapd queue+retry

2021-04-29 Thread Wes Hardaker via Net-snmp-coders
Feroz writes: > I see "serverRecvBuf", "serverSendBuf","retries"  but they don't seem > to work, when used in snmptrapd.conf file.   -- Regards, Feroz Ahmed If those are what you need, put them inside the snmptrapd.conf file with a [snmp] tag before them: [snmp] serverRecvBuf ... serverSendBuf

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://sourceforge.net/

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 net-snmp-coders@lists.sourceforge.net ___

Re: snmp5.9 v3 issues with initial user.

2021-02-17 Thread Wes Hardaker via Net-snmp-coders
Justin Cook writes: It looks like this was resolved (passwords must be 8 characters long). My memory says -X was optional because it would reused the -A password, but my memory must be wrong. Also, do make sure that your snmpd daemon isn't running when you create new users with the net-snmp-conf

Re: Traditional API & snmpv3

2021-02-17 Thread Wes Hardaker via Net-snmp-coders
Harald Krammer writes: > If an SNMPv3 node is missing, the function is blocked. What function is getting blocked? Anything in our library should return with a timeout error just like v1/v2. Yes, the engineID won't be retrievable but it shouldn't cause anything to hang indefinitely. -- Wes Har

Re: Snmpv3 users details are not deleting from /var/net-snmp/snmpd.conf file

2020-12-15 Thread Wes Hardaker via Net-snmp-coders
chandrasekharreddy chinnapareddygari writes: > I'm using net-snmp 5.8 version .My requirement is conf files should updtae > without restarting snmpd . > > I'm sending SIGHUP signal to update SNMP data with out restarting snmpd . > snmpv3 details are not updating . > Please help me how to proceed

Re: Receiving multiple request

2020-12-02 Thread Wes Hardaker via Net-snmp-coders
Deepak Sachan writes: > But when i run one snmpset for all oids e.g > snmpset oid1 value1  oid2 value2  oid3 value3 oid4 value4 >  i received repeated (4 to 5 times)set request for each oid. The snmp implementation and agentx protocols work by sending multiple SET "phases" to ensure that the ent

Re: net-snmp-5.5.0-2.x64.exe Questions

2020-12-02 Thread Wes Hardaker via Net-snmp-coders
Hi Josh, I'm the original founder of the Net-SNMP project, but I'm not a lawyer. Craig pretty much nailed the analysis perfectly in my opinion: > net-snmp is licensed with multiple different types of licenses, as seen in the > COPYING file[1].  The licenses can be broken down into several types:

Re: How to use external library in net-snmp 5.8

2020-11-17 Thread Wes Hardaker via Net-snmp-coders
chandrasekharreddy chinnapareddygari writes: > I want to include/ use external library is n net-snmp 5.8. > Please help me to use external library. Use the --with-libs configure script option. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net ___

Re: Connect 1 agent/application to several snmpd/master

2020-11-12 Thread Wes Hardaker via Net-snmp-coders
Philippe Guibert writes: > Thanks for letting me know if that approach should be considered or > not, Personally, I'll have to think a lot about it. But in general, agentx was designed (and if you haven't read the RFC for it, you probably should to get a better understanding of the protocol's d

Re: Does Netsnmp-5.8 used internal openssl files or external Openssl library under yoctoproject

2020-11-03 Thread Wes Hardaker via Net-snmp-coders
Sanjay Kumar writes: > Can I assume without this configuration netsnmp is using the OpenSSL > library? It only uses the internal implementation (for just sha1/md5/etc support really) with that flag. You should be able to run ./net-snmp-config --external-libs If it returns -lcrypto in the r

Re: Suggestions for testing changes regarding names of anonymous nodes

2020-11-02 Thread Wes Hardaker via Net-snmp-coders
Bill Fenner writes: > I imagined writing a test that exercises all of the output options (-Of, -On, > -Os, -OS, -Ou) for > both netSnmpExampleAnonymousIntermediateNode and netSnmpExamples.42.1.  Does > anyone have any other > suggestions of what to test? I'd think it'd be easy to extract a lis

Re: Connect 1 agent/application to several snmpd/master

2020-10-13 Thread Wes Hardaker via Net-snmp-coders
Philippe Guibert writes: > Instead of using agentX, I wonder if it could be possible to link the > application with a master agent library Somehow, the agent would be > configured as a proxy, and session would convey information over an > unixSocket to the real snmpAgent. Could it be possible ?

Re: snmpget: Remove quotes in output string

2020-10-01 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah writes: > Why output of few mib-object of data-type string are enclosed in quote and few > are not > Eg: > IF-MIB::ifName.5 = STRING: eth2    <- No quotes > RFC1213-MIB::sysName.0 = STRING: "pushpat-ThinkPad-L480"  <- Quotes > > Wireshark shows that quot

Re: Connect 1 agent/application to several snmpd/master

2020-09-18 Thread Wes Hardaker via Net-snmp-coders
Philippe Guibert writes: > I think you can confirm me it is not possible to 1 agent: N masters > relationships ? That is correct, the current code does not support more than one parent agent. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net

Re: Problem with proxy the entire tree

2020-09-18 Thread Wes Hardaker via Net-snmp-coders
Jenny Yao writes: > It works fine. However, we would like to have this proxy transparent to the > user, and wonder if there is a way to achieve this without using > context. There is no way to do exactly what you want without removing the registrations that the agent itself is implementing. You

Re: snmpget: Remove quotes in output string

2020-09-18 Thread Wes Hardaker via Net-snmp-coders
Pushpa Thimmaiah writes: > Hi All, > > I can understand response to snmpget/snmpwalk display string datatype  in > double-quotes as in following example.  Kindly let me know If there any way to > remove or hide quotes from display. I know you anwsered yourself, but you might also read the OUTPU

Re: Need help to "drop the response" for a request

2020-09-18 Thread Wes Hardaker via Net-snmp-coders
Magnus Fromreide writes: > If the former then there is no support. Additionally, it would be in violation of the RFC which says a response must be sent when authentication has succeeded. Thus, if someone uses the correct community name or SNMPv3 credentials, they always deserve a response at le

Re: Net-SNMP 5.8 compatibility issue

2020-08-31 Thread Wes Hardaker via Net-snmp-coders
Simon Chamlian writes: > There seems to be a compatibility issue between net-snmp and the crypto > library. Was that a self-built Net-SNMP 5.8? And it was built recently after the system upgraded to the newer libcrypto? And did you try a 'make install' to see if the installation works or is th

Re: Table Iterator Crashes in free_data_context

2020-08-26 Thread Wes Hardaker via Net-snmp-coders
Ian C via Net-snmp-coders writes: > I'm still having a crash issue with my table agent, I can't figure out a > solution, hoping the list members could help. In a nutshell I want to read a > QNX pps object (file) each time (no caching) it is queried (snmpwalk). The > data > gets read and returned

Re: Two Table Subagents, 1 Crashes; Other's Fine

2020-08-21 Thread Wes Hardaker via Net-snmp-coders
Ian C via Net-snmp-coders writes: > I'm having an issue with a table subagent that crashes with (SIGABRT) when > querried. This subagent was working under a previous OS (qnx 6.5) and Net-Snmp > 5.6, but now under qnx 7.1 & Net-Snmp 5.9 it crashes. So does this only happen with your MIB? It can

Re: Net-SNMP 5.9 release announcement

2020-08-21 Thread Wes Hardaker via Net-snmp-coders
Craig Small writes: > Even though the signature checks out, the archive seems to be > corrupted. Odd. Turns out that "star", which is the verison of tar we decided decades ago was the only one that produced tar archives that worked on every platform we could find, messes up when overwriting

Net-SNMP 5.9 release announcement

2020-08-20 Thread Wes Hardaker via Net-snmp-coders
We're happy to announce the release of version 5.9 of Net-SNMP! The NET-SNMP Development Team Contents of this announcement - - What has Changed recently? - Where can I get it? - Are there binaries available? - What operating systems does it run on? - Whi

Re: net-snmp 5.9 released (early announcement)

2020-08-20 Thread Wes Hardaker via Net-snmp-coders
Andy Fiddaman writes: > Just FYI, the archive contains some .o files. > This causes problems when building on a different architecture or 32-bit. Archives fixed; thanks for pointing out the issue. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net ___

Re: net-snmp 5.9 released (early announcement)

2020-08-20 Thread Wes Hardaker via Net-snmp-coders
Andy Fiddaman writes: > Just FYI, the archive contains some .o files. > This causes problems when building on a different architecture or 32-bit. Argg Thanks. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net ___

Re: [REQUEST FOR VOTES] snmpd: Drop support for pass_persist on uClinux

2020-08-16 Thread Wes Hardaker via Net-snmp-coders
Magnus Fromreide writes: > That is a more lenient option than just dropping it so I think 'happy with > dropping it' covers this variant. On the other hand I usually am far from > the most conservative one in discussions like this one. I think off by default makes a lot more sense than an out-r

net-snmp 5.9 released (early announcement)

2020-08-14 Thread Wes Hardaker via Net-snmp-coders
Folks, After far too long, I've just published Net-SNMP 5.9. I've created a new V5-9-patches branch as well. A full announcement will come early next week once I'm sure nothing is wrong with the published files. Along with a Net-SNMP sticker design contest, with free stickers for anyone that

Re: Test failures on V5-8-patches and master

2020-08-13 Thread Wes Hardaker via Net-snmp-coders
Magnus Fromreide writes: > I just noticed that T0222snmpv3bulkget_simple depends on SHA authentication > and AES privacy but fails to check for this so if one builds the agent > without that support the test fails. Is it really just that test? I actually thought that most of the tests were usin

Re: [REQUEST FOR VOTES] snmpd: Call fclose() after fdopen() but not close()

2020-08-12 Thread Wes Hardaker via Net-snmp-coders
Bart Van Assche writes: > My understanding is that the crashes triggered by the double close() calls > only occur on Windows systems and also that these crashes were fixed a long > time ago. For Unix systems this patch fixes the race condition described in > https://github.com/net-snmp/net-snmp/i

Re: [REQUEST FOR VOTES] snmpd: Call fclose() after fdopen() but not close()

2020-08-10 Thread Wes Hardaker via Net-snmp-coders
Bart Van Assche writes: > That's a great question. This fix only affects pass-persist on Unix > platforms and Cygwin but neither affects the MSVC build nor any of the > MinGW builds since the affected code was already disabled for the > latter two platforms. Thanks. Follow-on: do we have any cl

Re: [REQUEST FOR VOTES] snmpd: Call fclose() after fdopen() but not close()

2020-08-10 Thread Wes Hardaker via Net-snmp-coders
Bart Van Assche writes: > However, I don't think rewriting that file so close to the v5.9 release > is appropriate. Hence this patch that makes the smallest possible > change. To be clear, this affects *only* pass-persist *only* on windows correct? IE, it's a fix for a specific combination. But

Net-SNMP v5.9.rc2 available for testing

2020-08-06 Thread Wes Hardaker via Net-snmp-coders
The next release candidate of Net-SNMP (5.9.rc2) is available at https://sourceforge.net/projects/net-snmp/files/net-snmp/5.9-pre-releases/ This is barely different from 5.8.1.rc1, but contains a 5.9 version number instead. There were too many API changes (though small) under the V5-8-branches

Re: Newly built 5.8 on QNX 7

2020-08-05 Thread Wes Hardaker via Net-snmp-coders
Ian C via Net-snmp-coders writes: > Hi, > > We previously had net-snmp 5.6 running on QNX 6.5 (from pkgsrc), and had > various > sub-agents retrieving data and working well. However we've recently migrated > our OS > to QNX 7.0 and since there are no pkgsrc packages available for that OS we've

Re: SNMP proxy timeout lockup other requests

2020-07-24 Thread Wes Hardaker via Net-snmp-coders
François Isabelle writes: > I just want to being your attention to the issue reported on GitHub  > https://github.com/net-snmp/net-snmp/issues/147 and the corresponding > pull-request I submitted. Coincidentally I merged this patch yesterday, and just now found this message. -- Wes Hardaker Ple

Re: Regarding .packlist in net-snmp code

2020-07-24 Thread Wes Hardaker via Net-snmp-coders
Narendra Kumar S S writes: > When I build net-snmp code, I am getting a file by name .packlist, > which contains the list of file that will get delivered when the > package is installed. I want to understand the significance of this > file and whether this file is used in the installed system?

Net-SNMP 5.8.1.rc1 available for testing

2020-07-23 Thread Wes Hardaker via Net-snmp-coders
The first release candidate of Net-SNMP 5.8.1 is available at https://sourceforge.net/projects/net-snmp/files/net-snmp/5.8.1-pre-releases/ About release candidates: as a reminder, Net-SNMP development policy [1] is that any changes that are to go into the V5-8-patches branch to be included in t

Re: Release timeline

2020-07-08 Thread Wes Hardaker via Net-snmp-coders
Wes Hardaker writes: > That one should be easy to fix and I think should go in. Wanted to bug > Robert first though. Looks like it'll slip to next week due to a scheduled vacation. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net _

Re: Is Net-snmp Supported AS400 Servers???

2020-07-08 Thread Wes Hardaker via Net-snmp-coders
"Satpute, Niranjan" writes: > We are trying to inventory of AS400 devices using Net-SNMP with SNMPv3. We are > not able to pull the data from AS400 device as everything is configured > correctly. There is no reason it shouldn't work. Make sure you understand how net-snmp with version 3 works:

Re: Release timeline

2020-07-06 Thread Wes Hardaker via Net-snmp-coders
Magnus Fromreide writes: > On Mon, Jun 29, 2020 at 07:11:16AM -0700, Wes Hardaker via Net-snmp-coders > wrote: > > Hugh McMaster writes: > > > > > net-snmp v5.8.1.pre2 was released a little over four months ago. > > > > > > Following a lot of

Re: Disable snmpv2 and v1, and enable snmpv3.

2020-06-29 Thread Wes Hardaker via Net-snmp-coders
Craig Small writes: > Observed NETSNMP_DISABLE_SNMPV2C, NETSNMP_DISABLE_SNMPV1 defines. How > can we set and unset it? > > That's done at compile time with things like configure > --disable-snmpv1 Specifically, the only real benifit in doing so is that it removes the actual code that im

Re: Release timeline

2020-06-29 Thread Wes Hardaker via Net-snmp-coders
Hugh McMaster writes: > net-snmp v5.8.1.pre2 was released a little over four months ago. > > Following a lot of excellent work by Bart and others since then, what > is the proposed timeline for the next pre-release or final v5.8.1? We don't have a good proposed timeline. So let's come up with

Re: source ip for snmp-responses

2020-06-29 Thread Wes Hardaker via Net-snmp-coders
SURYA T S writes: > Please suggest me better way to change srcip in snmpresponses, Have you set the "agentaddress" token in snmpd.conf? This should have an effect. -- Wes Hardaker Please mail all replies to net-snmp-coders@lists.sourceforge.net __

Re: Trap engine ID eth0

2020-06-29 Thread Wes Hardaker via Net-snmp-coders
Philippe Denis writes: > Hello all, > > I have a question linked to snmp traps in V3 version. > Sorry for responding so late, but you should read this page which discusses how v3 traps and informs work with respect to engineIDs: http://www.net-snmp.org/wiki/index.php/TUT:snmptrap_SNMPv3 -- W

Re: Appreciation for the Net-SNMP Project

2020-02-26 Thread Wes Hardaker via Net-snmp-coders
Shea Newton writes: > We directed the donation today to the email address you provided, you > should see it soon. Please do let me know if there are any issues.   Thanks Shea, I got the donation. I think it's time to start a sticker design contest :-) -- Wes Hardaker Please mail all replies t

Re: net-snmp-5.8.1.pre2 released

2020-02-26 Thread Wes Hardaker via Net-snmp-coders
Bart Van Assche writes: > One change seems to be missing from this list, namely commit > 9a2753282c6a ("new autoconf"). That commit regenerated the configure > script with autoconf v2.69. Has it been considered to also switch to > newer versions of automake (v1.11 -> v1.16) and libtool (v2.4 -> >

Re: Issue linked to .0 at the end of OID

2020-02-26 Thread Wes Hardaker via Net-snmp-coders
Philippe Denis writes: > I’ve a strange behavior when using snmpget command. When I used the > OID of one of my objects correctly registered, the sub agent replied > correctly but when I put .0 at the end of the OID, It doesn’t > reply. For sake of clarity, it’s a scalar object. > > Have you alr

net-snmp-5.8.1.pre2 released

2020-02-20 Thread Wes Hardaker via Net-snmp-coders
After far far too long of a delay, I've just pushed net-snmp-5.8.1.pre2 to the download site: https://www.net-snmp.org/download.html Please give it a whirl, and report issues and fixes to our github site at: https://github.com/net-snmp/net-snmp Current changes to 5.8.1.pre2 total: *5

Re: Appreciation for the Net-SNMP Project

2020-02-20 Thread Wes Hardaker via Net-snmp-coders
Shea Newton writes: > I'd be totally happy to arrange some credit / a gift certificate somewhere  > for printing stickers > (or anything else) if that's the direction you'd like to take it :) Is there > a service / site for > that you'd prefer over the rest? Hmmm... credit somewhere might be h

  1   2   >