GetIpNetTable() equivalent API for VXworks platform

2017-05-10 Thread Madhusudhana R
Hi Coders, We have GetIpNetTable() API in WIN32 for retrieving below OID under IP MIB ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaIfIndex ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaPhysAddress ip.ipNetToMediaTable.ipNetToMediaEntry.ipNetToMediaNetAddress

RE: Username existence disclosure from Agent

2017-05-10 Thread Madhusudhana R
nesday, May 10, 2017 5:37 PM To: Ulrich Windl <ulrich.wi...@rz.uni-regensburg.de> Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Username existence disclosure from Agent On 5/8/17, Ulrich Windl <ulrich.wi...@rz.uni-regensburg.de> wrote: >>>> Madhusudhana R <madh

RE: net-snmp5.7.3 non-compliance to RFC2578 on integer overflows for few trap types

2017-06-21 Thread Madhusudhana R
Can anybody please help me on the queries I posted. Thanks. From: Madhusudhana R Sent: Monday, June 19, 2017 1:40 PM To: net-snmp-coders@lists.sourceforge.net Subject: net-snmp5.7.3 non-compliance to RFC2578 on integer overflows for few trap types Hi Coders, I have below queries regarding

Support for heterogeneous trap types

2017-06-05 Thread Madhusudhana R
Hi Coders, My query is, does net-snmp support heterogeneous trap types? More precisely, is it possible to send traps with different data types like integer signed/unsigned/32bit/64bit , strings etc. during same execution Use case: For our convenience, we are reading the traps from a file which

RE: Support for heterogeneous trap types

2017-06-05 Thread Madhusudhana R
...@gmail.com] Sent: Monday, June 05, 2017 9:54 PM To: Madhusudhana R <madhusudhan...@in.abb.com> Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Support for heterogeneous trap types On Mon, Jun 5, 2017 at 10:55 AM, Madhusudhana R <madhusudhan...@in.abb.com<mailto:madhusudhan..

RE: Support for heterogeneous trap types

2017-06-06 Thread Madhusudhana R
Hi Pranesh, Thanks for the reply. Can you please provide couple of examples for bitstring and octetstring for a better understanding. Thanks in advance. Regards Madhu From: Pranesh Kulkarni [mailto:pranes...@gmail.com] Sent: Tuesday, June 06, 2017 1:25 PM To: Madhusudhana R <madhusud

net-snmp5.7.3 non-compliance to RFC2578 on integer overflows for few trap types

2017-06-19 Thread Madhusudhana R
Hi Coders, I have below queries regarding trap types where I found little mismatch with RFC2578 definition and net-snmp5.7.3 behavior on boundary values. It will be of great help if someone can clarify on this. For convenience, below definitions are used. INT32_MAX 2147483647 NINT32_MAX

Preventing brute force on Account Password

2017-05-08 Thread Madhusudhana R
Hi Coders, An automated brute forcing the account passwords to access agent could lead to security breach. Will blocking username for some time which tried with incorrect password in few attempts, be a solution for this problem without violating the system architecture? Please let me know if

Username existence disclosure from Agent

2017-05-05 Thread Madhusudhana R
Hi Coders, Regarding a security related finding... When incorrect username is provided from manager (ManageEngine tool), the manager throws "Discovery failed for username" which could be used by an attacker to know whether user exists or not. I did a workaround and came up with fix. Please

RE: net-snmp5.7.3 non-compliance to RFC2578 on integer overflows for few trap types

2017-06-27 Thread Madhusudhana R
To: Madhusudhana R <madhusudhan...@in.abb.com> Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: net-snmp5.7.3 non-compliance to RFC2578 on integer overflows for few trap types Madhu, How are you supplying the values to net-snmp? Many of these can be explained by net-snmp's internal represen

Validating correct OID for SET request

2017-08-22 Thread Madhusudhana R
Hi Coders, I am implementing SET request and I have varbind of type OBJECT ID for which an object ID can be set as a value. My query is how can I validate a correct object id. Currently, I am able to give an invalid object ID (.1.2.3.8.2.1.1.3)and SET is working fine on that. But I want to

RE: Trap session query

2017-12-14 Thread Madhusudhana R
authNoPriv 192.168.0.100:162 trapsess -v 3 -u Operator1 -l authNoPriv 192.168.0.100:162 Appreciate the response. Thanks in advance. Regards, Madhu From: Madhusudhana R Sent: Thursday, November 09, 2017 5:05 PM To: net-snmp-coders@lists.sourceforge.net Subject: Trap session query Hi Coders, My query is

Trap session query

2017-11-09 Thread Madhusudhana R
Hi Coders, My query is regarding trap sessions. I have a below configuration where I have a trap user 'Operator1'created with 3 trap sessions with different IP: Port as shown below. createUser Operator1 MD5 "password@123" trapsess -v 3 -u Operator1 -l authNoPriv 192.168.0.100:162 trapsess -v

SET phases for multiple varbind on table objects

2018-04-05 Thread Madhusudhana R
Hi Coders, I need to know all possible SET phases for multiple varbind on table objects. MODE_SET_RESERVE10 MODE_SET_RESERVE21 MODE_SET_ACTION2 MODE_SET_COMMIT 3 MODE_SET_FREE 4 MODE_SET_UNDO 5 On scalar objects, for example 3 varbind in single request

Query on SET phases for table objects

2018-04-04 Thread Madhusudhana R
Hi Coders, I have a query regarding the SET phases for table objects. The phases of SET are as follows: MODE_SET_RESERVE10 MODE_SET_RESERVE21 MODE_SET_ACTION2 MODE_SET_COMMIT 3 MODE_SET_FREE 4 MODE_SET_UNDO 5 SCALAR Objects: When I do SET with multiple

Query on SET phases for table objects

2018-04-04 Thread Madhusudhana R
Hi Coders, I have a query regarding the SET phases for table objects. The phases of SET are as follows: MODE_SET_RESERVE10 MODE_SET_RESERVE21 MODE_SET_ACTION2 MODE_SET_COMMIT 3 MODE_SET_FREE 4 MODE_SET_UNDO 5 SCALAR Objects: When I do SET with multiple

Query on Delete Permissions

2018-04-11 Thread Madhusudhana R
Hi All, I have a query on how to delete the permission for a SNMPv3 user dynamically. More precisely, I have added an SNMPv3 user and deleted the user using snmpusm create and delete commands. If I delete the user, the permission set to that user is still not deleted. Ex: *I created a user

Create/Delete trapuser using snmpusm command

2018-04-24 Thread Madhusudhana R
Hi Coders, I have a query. Can we create or delete trap users using snmpusm create and delete commands? Thanks in advance. Regards, Madhu -- Check out the vibrant tech community on one of the world's most engaging

Problem Deleting snmpv3 User

2018-03-29 Thread Madhusudhana R
Hi Coders, I am facing an issue when deleting a SNMP v3 user. I have modified snmp agent in such a way that both snmptrapd and snmpd are running as a single agent where snmptrapd will continuously send traps for testing purpose. I have created an snmpv3 user as below. rwuser User1 createUser

Problem Deleting snmpv3 User

2018-04-02 Thread Madhusudhana R
Hi All, Please help on this. I am facing an issue when deleting a SNMP v3 user. I have modified snmp agent in such a way that both snmptrapd and snmpd are running as a single agent where snmptrapd will continuously send traps for testing purpose. I have created an snmpv3 user as below.

netsnmp5.8 compilation errors on windows (asprintf and vasprintf)

2018-11-11 Thread Madhusudhana R
Hi Coders, I am trying to compile netsnmp 5.8 on windows 7 platform using VS2013 framework. I am getting compilation errors on asprintf and vasprintf usage as shown below As per my analysis I don't see VS2013 compiler provides support for asprintf and vasprintf. I observed they are replaced for

RE: Netsnmpv5.8 possible security flaw

2019-01-21 Thread Madhusudhana R
nword(cp, authlevel, sizeof(authlevel)); else strcpy(authlevel, "auth"); Regards, Madhu -Original Message- From: NetSNMP Mailbox On Behalf Of Robert Story Sent: Saturday, January 19, 2019 4:53 AM To: Madhusudhana R Cc: net-snmp-coders@lists.sourceforge.net Subjec

Is Netsnmp5.8 stable version

2018-11-25 Thread Madhusudhana R
Hi Coders, Please let me know if Netsnmpv5.8 is Stable version or not. I don't see Long term support (LTS) in source-forge portal (where the code base is shared) and I am bit unsure if this is stable version or not. Please clarify. Thanks in advance. Regards, Madhu

RE: Netsnmpv5.8 possible security flaw

2019-01-08 Thread Madhusudhana R
Thanks Wes. -Original Message- From: Wes Hardaker [mailto:harda...@users.sourceforge.net] Sent: Tuesday, January 08, 2019 10:08 PM To: Madhusudhana R Cc: Wes Hardaker ; net-snmp-coders@lists.sourceforge.net Subject: Re: Netsnmpv5.8 possible security flaw CAUTION: This email

Netsnmpv5.8 possible security flaw

2019-01-07 Thread Madhusudhana R
Hi Coders, With Netsnmp v5.8 upgraded to my project (which was already working with v5.7.3), I am finding one problem which is as described below. An user is created in agent (which is netsnmp v5.8) Username: 'user1' Hash algo: 'SHA224' Password: 'password123' Priv algo: 'AES192' Password:

RE: Netsnmpv5.8 possible security flaw

2019-01-08 Thread Madhusudhana R
in advance. Regards, Madhu -Original Message- From: Wes Hardaker [mailto:harda...@users.sourceforge.net] Sent: Tuesday, January 08, 2019 12:46 PM To: Madhusudhana R Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Netsnmpv5.8 possible security flaw CAUTION: This email originated

RE: Netsnmpv5.8 possible security flaw

2019-01-07 Thread Madhusudhana R
in advance. Regards, Madhu -Original Message- From: Wes Hardaker [mailto:harda...@users.sourceforge.net] Sent: Tuesday, January 08, 2019 12:46 PM To: Madhusudhana R Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Netsnmpv5.8 possible security flaw CAUTION: This email originated from