Re: SNMP TLS snmpget error

2014-08-11 Thread sandhya reddy
I have one basic doubt. Why do we mention the their_identity in snmpget TLS request as the peers certificate info will be unknown?? our_identity will be sufficient right ? I'm trying to setup agent also locally. Using the DTLS turtorial i have done the following 1) *In Server(Agent)* i have gene

Re: SNMPv2 snmpget error

2014-08-07 Thread sandhya reddy
Ok, then how do we set up TLS/TSM agent? >From the tutorial, test.net-snmp.org agent supports TLS. But right now not able to reach it. What is the next alternative that i can try. Can i install simulator locally and setup TLS on it? If yes, is there any specific guide to install configure and use

Re: SNMPv2 snmpget error

2014-08-07 Thread Ilya Etingof
No, TLS/TSM is not supported by that Agent. On 08/07/2014 01:29 PM, sandhya reddy wrote: Ilya, I want to try SNMPv3 with *TLS *which is*TSM *model *not USM.* For USM, the command which you quoted will work not for TLS. Thanks Sandhya On Thu, Aug 7, 2014 at 2:46 PM, Ilya Etingof

Re: SNMPv2 snmpget error

2014-08-07 Thread sandhya reddy
Ilya, I want to try SNMPv3 with *TLS *which is* TSM *model *not USM.* For USM, the command which you quoted will work not for TLS. Thanks Sandhya On Thu, Aug 7, 2014 at 2:46 PM, Ilya Etingof wrote: > > Yes, try, for example: > > snmpget -v3 -l authPriv -u usr-sha-aes -a SHA -A authkey1 -x AES

Re: SNMPv2 snmpget error

2014-08-07 Thread Ilya Etingof
Yes, try, for example: snmpget -v3 -l authPriv -u usr-sha-aes -a SHA -A authkey1 -x AES -X privkey1 demo.snmplabs.com 1.3.6.1.2.1.1.1.0 More working SNMPv3 usernames and keys are on the web page: http://snmpsim.sourceforge.net/public-snmp-simulator.html On 08/07/2014 12:43 PM, sandhya reddy

Re: SNMPv2 snmpget error

2014-08-07 Thread sandhya reddy
Thanks a lot Ilya. I'm able to get response for snmpget from my local manager to agent demo.snmplabs.com Does this agent simulator at demo.snmplabs.com support SNMPv3 with TLS. If so what is the command to be given for SNMPv3 TLS snpget request from Windows machine. Thanks, Sandhya On Thu, Aug 7

Re: SNMPv2 snmpget error

2014-08-06 Thread Ilya Etingof
There is another public snmp agent out there in case test.net-snmp.org is down: http://snmpsim.sourceforge.net/public-snmp-simulator.html > On Aug 7, 2014, at 9:36, sandhya reddy wrote: > > I'm trying to work with a simple SNMPv2 snmpget request from windows machine > to test.net-snmp.org ag

SNMPv2 snmpget error

2014-08-06 Thread sandhya reddy
I'm trying to work with a simple SNMPv2 snmpget request from* windows* machine to *test.net-snmp.org * agent. I can see the request going out but no response is received. What could be the reason for it? Following is the command that i have given. snmpget -v 2c -c demop

Re: SNMP TLS snmpget error

2014-08-05 Thread sandhya reddy
Hi all, By default, on Windows OS *net start "net-snmp agent"* command will start the agent on udp port 161. What is the procedure to run agent with tlstcp:10161 on Windows machine. Also is there any specific link to follow the commands in Windows for TLSTCP? Please help me. Thanks, sandhya O

Re: SNMP TLS snmpget error

2014-08-01 Thread sandhya reddy
I've included the debug options when i run snmpd daemon from which also i can see errors. root@rootuser-Veriton-Series:/home/rootuser/projects/net-snmp-5.6.2.1# s*nmpd -f -Le -Dtsm,dtls,tls,openssl,cert tlstcp:10161* registered debug token tsm, 1 registered debug token dtls, 1 registered debug to

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
Hi Bill Followig is the detailed error statement: trace: netsnmp_tdomain_transport_full(): snmp_transport.c, 478: tdomain: tdomain_transport_full("snmp", "tlstcp:10.253.6.83", 0, "udp", "[NIL]") trace: find_tdomain(): snmp_transport.c, 430: tdomain: Found domain "tlstcp" from specifier "tlstcp" t

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
Is there any way that we set the source port also when sending request?? Thanks, Sandhya On Thu, Jul 31, 2014 at 6:30 PM, sandhya reddy wrote: > Hi Bill, > > I guess that SYN not getting any response is due to *firewall issue* at > our side > > 1) Now i've tried to setup one PC as Net-SNMP Age

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
Hi Bill, I guess that SYN not getting any response is due to *firewall issue* at our side 1) Now i've tried to setup one PC as Net-SNMP Agent and other as manager. 2) On the PC which is an Agent i have started snmpd service on port 10161 using snmpd tlstcp:10161 command. This port is in LISTEN st

Re: SNMP TLS snmpget error

2014-07-31 Thread sandhya reddy
Hi Bill, I've understood bit better from your explanation. I'll follow that link. Conceptually, i understand the following. Please let me know whether I’m correct. 1) a) Net-SNMP tool can act as both SNMP manager and SNMP Agent. Or b) Net-SNMP tool acts as Manager only and test.net-snmp.org acts a

Re: SNMP TLS snmpget error

2014-07-25 Thread Bill Fenner
I followed the step by step directions from http://www.net-snmp.org/wiki/index.php/TUT:Using_TLS and got: $ snmpget -T our_identity=tutorial-joecool \ > -T their_identity=tutorial-agent \ > -t 10 tls:test.net-snmp.org sysUpTime.0 DISMAN-EVENT-MIB::sysUpTimeInstance = Timetick

Re: SNMP TLS snmpget error

2014-07-25 Thread sandhya reddy
Hi Bill, Glad to see your response. I have retrieved the entire certificate tar-ball http://www.net-snmp.org/tutorial/tutorial-5/certificates/tutorial-.snmp.tar.gz and uncompressed it. Initially, i tried to send the snmpget request to test.net-snmp.org using the certificates from the tutorial but

Re: SNMP TLS snmpget error

2014-07-24 Thread Bill Fenner
Did you configure the certificates properly? In particular, did you configure the server with the private key? Since you're using the fingerprints from the tutorial, but using your local server instead of test.net-snmp.org, where did you get the private key? It's not part of the published set of

Re: SNMP TLS snmpget error

2014-07-24 Thread sandhya reddy
Hi , Is there any one who is using SNMPv3 with TLS. Please respond. I don't find anyone showing interest. Thanks Sandhya On Wed, Jul 23, 2014 at 4:38 PM, sandhya reddy wrote: > > > Hi Coders and Users, > > I've setup NET-SNMP 5.6.2.1 and configured tsm model. > I've done this setup on two Ubu

Fwd: SNMP TLS snmpget error

2014-07-23 Thread sandhya reddy
Hi Coders and Users, I've setup NET-SNMP 5.6.2.1 and configured tsm model. I've done this setup on two Ubuntu 14.04 PCs I'm trying to send out snmpget request over tlstcp:10161 The folowing are the steps i follow 1) Start snmpd using the command : snmpd tlstcp:10161 2) snmpget -T our_identity=CD:7

RE: SNMPGET error

2009-02-06 Thread Kumar, Santhosh IN BLR SISL
[email protected] Subject: Re: SNMPGET error 2009/1/20 Kumar, Santhosh IN BLR SISL : > As per the Procedure given in Tutorial section I have generated the .c and > .h file for the object "nstAgentModuleObject" existing in the > NET-SNMP-TUTORIAL-MIB for WINDOWS.

Re: SNMPGET error

2009-02-06 Thread Dave Shield
2009/1/20 Kumar, Santhosh IN BLR SISL : > As per the Procedure given in Tutorial section I have generated the .c and > .h file for the object "nstAgentModuleObject" existing in the > NET-SNMP-TUTORIAL-MIB for WINDOWS. Did you update the "netsnmpmibs" VC++ project and 'mib_module_inits.h' file, as

Re: SNMPGET error

2009-02-05 Thread Robert Story
On Tue, 20 Jan 2009 15:53:16 +0530 Santhosh IN BLR SISL wrote: KSIBS> After successful build I started the AGENT and issued the command KSIBS> snmpget.Instead of getting the value, am getting the following error KSIBS> KSIBS> Error in packet KSIBS> KSIBS> Reason: (noSuchName) There is no such var

SNMPGET error

2009-01-20 Thread Kumar, Santhosh IN BLR SISL
Dear all, As per the Procedure given in Tutorial section I have generated the .c and .h file for the object "nstAgentModuleObject" existing in the NET-SNMP-TUTORIAL-MIB for WINDOWS. I have copied the NET-SNMP-TUTORIAL-MIB into the directory C:\usr\share\snmp\mibs. After successful build

Fwd: followup 2: snmpget: Error building ASN.1 representation

2007-01-16 Thread Alef Veld
nmpv1 code and ipAdEntNetMask). Many thanks for anyone who wants to put their time into it. Kind regards, Alef Begin forwarded message: From: Alef Veld <[EMAIL PROTECTED]> Date: December 11, 2006 3:01:05 PM GMT+01:00 To: Net-Snmp- Subagent Subject: followup 2: snmpget: Error bui

followup 2: snmpget: Error building ASN.1 representation

2006-12-11 Thread Alef Veld
It seems that it only occurs when checking a mib instance of type "Ip Address". Is it because i'm using SNMPv1 maybe ? Begin forwarded message: From: Alef Veld <[EMAIL PROTECTED]> Date: December 10, 2006 10:53:25 PM GMT+01:00 To: Net-Snmp- Subagent Subject: followup: sn