Re: SIGHUP for changing SNMP agent Port

2024-01-09 Thread Feroz
IMO we need to revert this patch, as it would cause issues in production. This is a partial fix. -Feroz On Tue, Jan 9, 2024 at 2:35 PM Vivek Aditya wrote: > Thanks for quick response > > I am working on this feature and able to achieve partial success. There is > one use case where

Re: Encrypt snmpv3 username and snmpv2c username

2023-09-12 Thread Feroz
snmp-coders@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > -- Regards, Feroz Ahmed ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

SHA Version

2022-08-12 Thread Feroz
Hi, 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 -- Regards, Feroz Ahmed ___ Net-snmp

Re: Setting IPV6 Source IP for Traps not working

2022-08-09 Thread Feroz
> Net-snmp-coders mailing list > Net-snmp-coders@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > -- Regards, Feroz Ahmed ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Re: oldEngineID format in snmpd.conf

2022-07-19 Thread Feroz
lies to net-snmp-coders@lists.sourceforge.net > > > ___ > Net-snmp-coders mailing list > Net-snmp-coders@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > -- Regards, Feroz Ahmed ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Re: snmpwalk timeout

2022-05-06 Thread Feroz
the agent side) is to speed > up the loading. Either just plain faster, or caching the loaded information > somehow, so that the reply can be triggered directly, without loading for t > time-units. Then refresh the information periodically, so that the returned > information is as 'stal

snmpwalk timeout

2022-05-05 Thread Feroz
container_load function returns the data in 2sec, we still have another 4 seconds. We should have got the response in the 3rd to 5th retry. If I increase the timeout value in snmpwalk command with "-t 3", it works fine. -- Regards, Feroz Ahmed ___ Net-s

Do NetSNMP support CreateAndWait

2021-12-09 Thread Feroz
rted\n")); return MFD_NOT_VALID_EVER; } If I remove the above block from the generated Code, will I be able to perform CreateAndWait? -- Regards, Feroz Ahmed ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.

Varbind orfer in SNMP TRAP's

2021-10-28 Thread Feroz
.1.2.1.1.3.0): 16516* *SNMPv2-MIB::snmpTrapOID.0 (1.3.6.1.6.3.1.1.4.1.0): 1.3.6.1.4.1.x.4.1.1.3.11.5.0.1* ABCD-MIB::arubaWiredFanName (1.3.6.1.4.1.x.4.1.1.3.11.5.1.1.4): DATA_1 ABCD-MIB::arubaWiredFanState (1.3.6.1.4.1.x.4.1.1.3.11.5.1.1.5): DATA_2 --

Re: Agent+Sub-Agent

2021-09-17 Thread Feroz
t.c* if (op != NETSNMP_CALLBACK_OP_RECEIVED_MESSAGE) { return 1; } + if (!IS_AGENTX_VERSION(pdu->version) && subagent_connected == FALSE) { + return 1; + } On Mon, Sep 13, 2021 at 11:37 AM Feroz wrote: > For my testing I added "proxy -v2c -c public ud

Re: Agent+Sub-Agent

2021-09-12 Thread Feroz
ri, Sep 3, 2021 at 3:43 AM Feroz wrote: > >> My question is, is there a way to block an agent from responding to >> queries ( by timeout), till time the sub-agent connects to the agent. >> > > No, the master agent always lives under the impression that it knows > everyt

Re: Agent+Sub-Agent

2021-09-10 Thread Feroz
Hi Bill, I have only one sub-agent running on the same box. Let me test by adding the proxy configuration in snmpd.conf that you shared. i.e: "proxy udp:127.0.0.1:9 .1.3" Thanks a lot for your response. -Feroz On Wed, 8 Sep, 2021, 11:47 pm Bill Fenner, wrote: > On Fri, Sep 3, 20

Agent+Sub-Agent

2021-09-03 Thread Feroz
:sysObjectID.0 = OID: SNMPv2-SMI::enterprises..4.1.1.1.100 My question is, is there a way to block an agent from responding to queries ( by timeout), till time the sub-agent connects to the agent. -- Regards, Feroz Ahmed ___ Net-snmp-coders mailing

Re: snmptrapd queue+retry

2021-05-05 Thread Feroz
I tried as follows, serverRecvBuf and serverSendBuf worked, but timeout/retries didn't work. [snmp] timeout 10 [snmp] retries 60 [snmp] serverRecvBuf 425984 [snmp] serverSendBuf 425984 Moreover, I see the value of Recv/Send Buf is getting doubled in "ss -lumpna" output. -Fer

snmptrapd queue+retry

2021-04-28 Thread Feroz
hi, Is it possible for snmptrapd to buffer/queue the TRAP's and INFORM's and perform retry in case of failure to forward them to the destination? I see "serverRecvBuf", "serverSendBuf","retries" but they don't seem to work, when used in

Re: Getting double free or corruption

2021-03-05 Thread Feroz
Do the patch mentioned for CVE-2019-20892 in the link below, will fix this double free crash? Is it safe to appy this patch? http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20892 -Feroz On Fri, 5 Mar, 2021, 2:01 am chandrasekharreddy c, < chandrasekharre...@hotmail.com> wrote:

snmptrapd core-dump while forwarding V3 INFORM's

2020-12-07 Thread Feroz
tu3323:~# cat /tmp/snmptrapd.conf authCommunity log,net public snmpTrapdAddr udp:162,udp6:162 forward default 2.2.2.2:162 createUser feroz SHA feroz123 DES feroz123 authUser log,net feroz priv root@Ubuntu3323:~# root@Ubuntu3323:~# root@Ubuntu3323:~# ifconfig eth1 eth1 Link encap:Ethernet HWaddr