Change in source-IP

2009-07-13 Thread Gaikwad, Rupesh
Hi All,
Can anybody suggest me on the bellow quick query?
I have a utility which acts as a trap forwarder. It is changing source-IP for 
CISCO-LWAPP-DOT11-CLIENT-MIB for few OIDs.
Can somebody tell me what to look at for this issue? What can cause change in 
source-IP?
It changes source-IP to the server where utility is installed, but expected is 
to show source-IP from where the utility receives a trap.

Any input is welcome!
Best regards,
Rupesh

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Change in source-IP

2009-07-15 Thread Gaikwad, Rupesh
Thanks Mike.
I have a small query once more.
How do I send a trap over TCP?
Can you please provide syntax. Right now I am using
snmptrap -v 2c -c public IP_ADDRESS 22 
.1.2.3.4.5.6.7.8.9.10.11.12.13.14.15.16.17.18.19.20.21.22.23.24.25.26.27.28.29.30.31.32.33
What to change in this command?
Best regards,
Rupesh




From: Mike Ayers [mailto:mike_ay...@tvworks.com]
Sent: Thursday, July 16, 2009 1:58 AM
To: Gaikwad, Rupesh; net-snmp-users@lists.sourceforge.net
Subject: RE: Change in source-IP



> From: Gaikwad, Rupesh [mailto:rupesh_gaik...@bmc.com]
> Sent: Mon 7/13/2009 11:12 PM

> I have a utility which acts as a trap forwarder. It is changing
> source-IP for CISCO-LWAPP-DOT11-CLIENT-MIB for few OIDs.

Actually, no, it isn't.  It receives a trap from your router, then
notifies your NMS that it received that trap.  That's really what
trap forwarding is - specifically, it is not trap routing.  If you
wish to have the source IP of the trap be the router's IP address,
then you must configure the router to send its traps to the NMS
instead of forwarding them.

An alternate solution is to use communities to indicate the trap
generator.


HTH,

Mike
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Change in source-IP

2009-07-16 Thread Gaikwad, Rupesh
Thank you Dave! 
This helps me. 

I would take minute away and say "thank you" to this group. 
There are active members like Dave and Mike and many more who like to share the 
knowledge with the group members! 

Best regards,
Rupesh

-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf 
Of Dave Shield
Sent: Thursday, July 16, 2009 3:50 PM
To: Gaikwad, Rupesh
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: Change in source-IP

2009/7/16 Gaikwad, Rupesh :
> How do I send a trap over TCP?
>
> Can you please provide syntax. Right now I am using
>
> snmptrap -v 2c -c public IP_ADDRESS 22 

Prefix the IP address  (e.g. 1.2.3.4) with "tcp:"
(i.e.  snmptrap -v 2c -c public  tcp:1.2.3.422 ...)

Note that you will need to ensure that the trap receiver
is listening for incoming TCP notifications.  By default
it will probably only be set up for UDP notifications.

Dave

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


SNMP v3 support from perl scripts

2009-08-05 Thread Gaikwad, Rupesh
Hello All,
I want to do the SNMP v3 support by using perl scripts. Can anyone suggest me 
on how to start with?
Any getting started guide will be very handy. Has anyone done it before?

Your reply is appreciated!

Best regards,
Rupesh

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: SNMP v3 support from perl scripts

2009-08-06 Thread Gaikwad, Rupesh
Thank you this input Dave!
OK. I will try these steps and will let all know the results. 
Best regards,
Rupesh

-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf 
Of Dave Shield
Sent: Thursday, August 06, 2009 1:11 PM
To: Gaikwad, Rupesh
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: SNMP v3 support from perl scripts

2009/8/6 Gaikwad, Rupesh :
> I want to do the SNMP v3 support by using perl scripts. Can anyone suggest
> me on how to start with?

Simply call the "SNMP::Session" constructor with the SNMPv3 parameters
you need to use.   See the 'SNMP(3)' man page for details.

I would probably suggest that you start by working with the command-line
tools, to ensure that SNMPv3 support is working properly.

See README.snmpv3 for more details about setting up SNMPv3.
There are also tutorials on the project website.

Dave

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


Need help on snmpv3 AuthPrev trap

2009-09-10 Thread Gaikwad, Rupesh
Hello all,
Need a help on snmpv3. Following are the questions.

 1.  What are all settings required for SNMPv3 traps?
 2.  What need to set in snmptrapd.conf and how to set it. An example would be 
better option
 3.  What extra things needs to be set for AuthPrev v3 traps.

Best regards,
Rupesh
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: SNMP v3 support from perl scripts

2009-09-15 Thread Gaikwad, Rupesh
Hello, 
I am trying to decrypt the encryptedPDU. 

my $var4 = $msgData->{encryptedPDU};
Trace("encryptedPDU:$var4");


encryptedPDU:k¬ºïm=u¹ÖŠ‰÷É,ö8»cºÊ°³fÇåÙ¼p¡+˜ã
ìÎËbÅOùvˆ†&`¸
7by4I8«òpPëè¼…ˆÊäºP)–vè9ËS‚


I want to know how can I use DES package to decrypt it? 
How to get a plaintext out of the encrypted values? 
Any kind of help is appreciated. 

Best regards,
Rupesh


-Original Message-----
From: Gaikwad, Rupesh [mailto:rupesh_gaik...@bmc.com] 
Sent: Thursday, August 06, 2009 1:47 PM
To: Dave Shield
Cc: net-snmp-users@lists.sourceforge.net
Subject: RE: SNMP v3 support from perl scripts

Thank you this input Dave!
OK. I will try these steps and will let all know the results. 
Best regards,
Rupesh

-Original Message-
From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf 
Of Dave Shield
Sent: Thursday, August 06, 2009 1:11 PM
To: Gaikwad, Rupesh
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: SNMP v3 support from perl scripts

2009/8/6 Gaikwad, Rupesh :
> I want to do the SNMP v3 support by using perl scripts. Can anyone suggest
> me on how to start with?

Simply call the "SNMP::Session" constructor with the SNMPv3 parameters
you need to use.   See the 'SNMP(3)' man page for details.

I would probably suggest that you start by working with the command-line
tools, to ensure that SNMPv3 support is working properly.

See README.snmpv3 for more details about setting up SNMPv3.
There are also tutorials on the project website.

Dave

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Need help on snmpv3 AuthPrev trap

2009-09-15 Thread Gaikwad, Rupesh
Hi Mike,

I am trying to decrypt the encryptedPDU. 

my $var4 = $msgData->{encryptedPDU};
Trace("encryptedPDU:$var4");


encryptedPDU:k¬ºïm=u¹ÖŠ‰÷É,ö8»cºÊ°³fÇåÙ¼p¡+˜ã
ìÎËbÅOùvˆ†&`¸
7by4I8«òpPëè¼…ˆÊäºP)–vè9ËS‚


I want to know how can I use DES package to decrypt it? 
How to get a plaintext out of the encrypted values? 
Any kind of help is appreciated. 

Best regards,
Rupesh

-Original Message-
From: Mike Ayers [mailto:mike_ay...@tvworks.com] 
Sent: Friday, September 11, 2009 3:12 AM
To: Gaikwad, Rupesh; net-snmp-users@lists.sourceforge.net
Subject: RE: Need help on snmpv3 AuthPrev trap

> From: Gaikwad, Rupesh [mailto:rupesh_gaik...@bmc.com]
> Sent: Thursday, September 10, 2009 12:04 AM


> 1.What are all settings required for SNMPv3 traps?

This is one of the most complex single subjects in computing.  OK, that 
may be an overstatement, but it is easily the most complex part of SNMP.  I 
suggest you stick to the trapsess directive, which manages the settings for you.

> 2.What need to set in snmptrapd.conf and how to set it. An example
> would be better option

I am baffled by the second sentence, but here's a sample entry:

trapsess -v3 -l authNoPriv -u fred-bob -A AuthPassword freds-linux

> 3.What extra things needs to be set for AuthPrev v3 traps.

Nothing!  Just change "-l authNoPriv" to "-l authPriv" and provide the 
privacy password.  See the snmpcmd manpage for details.


HTH,

Mike

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Need help on snmpv3 AuthPrev trap

2009-09-15 Thread Gaikwad, Rupesh
Hi Wes, 
Thanks for your reply. 
Actually, I am trying with a perl script directly to decrypt the incoming 
encrypted data by using 

"use Crypt::CBC;"
..
..
ScopedPduData ::= CHOICE {
   plaintextScopedPDU,
   encryptedPDU OCTET STRING  
   }
..
my $msgData = $msg->{msgData};
...

my $var4 = $msgData->{encryptedPDU};
..

my $encryptedPDU = $msgData->{encryptedPDU};
my $cipher = Crypt::CBC->new( -key=> 'my_password',
 -cipher => 'Blowfish'
);


my $data = $cipher->decrypt($encryptedPDU);
..

Is it the right way to decrypt the data? 
What approach shall you suggest if we want to decrypt?
Your help appreciated!

Best regards,
Rupesh


-Original Message-
From: Wes Hardaker [mailto:harda...@users.sourceforge.net] 
Sent: Tuesday, September 15, 2009 9:40 PM
To: Gaikwad, Rupesh
Cc: Mike Ayers; net-snmp-users@lists.sourceforge.net
Subject: Re: Need help on snmpv3 AuthPrev trap

>>>>> On Tue, 15 Sep 2009 15:05:10 +0530, "Gaikwad, Rupesh" 
>>>>>  said:

RG> I am trying to decrypt the encryptedPDU. 

RG> my $var4 = $msgData->{encryptedPDU};

Which perl module are you using to receive the notifications?  That
doesn't look like our supported modules.

All of our code handles the decryption in the C-bindings before handing
it off to perl.
-- 
Wes Hardaker
Cobham Analytic Solutions

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: Need help on snmpv3 AuthPrev trap

2009-09-22 Thread Gaikwad, Rupesh
Wes, thanks for noticing this thing.
I think all of us should use proper phrasing if anyone is not interested in 
giving a proper answer. 

Best regards,
Rupesh

-Original Message-
From: Wes Hardaker [mailto:harda...@users.sourceforge.net] 
Sent: Wednesday, September 23, 2009 5:50 AM
To: Mike Ayers
Cc: Gaikwad, Rupesh; net-snmp-users@lists.sourceforge.net
Subject: Re: Need help on snmpv3 AuthPrev trap

>>>>> On Wed, 16 Sep 2009 12:49:41 -0700, "Mike Ayers"  
>>>>> said:

>> Actually, I am trying with a perl script directly to decrypt the
>> incoming encrypted data by using

MA> If you are using net-snmp tools, they will decrypt the data for you.
MA> If you are not using net-snmp tools, go away.

I'm not sure Mike's response was the politest...  A better phrasing
would have been "you should go ask a mailing list that isn't specific to
Net-SNMP".  This list is for Net-SNMP related questions.
-- 
Wes Hardaker
Cobham Analytic Solutions

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


RE: SNMP v3 help

2010-01-27 Thread Gaikwad, Rupesh
What would you suggest me to do if I have following requirement.

1.   Receive V3 trap

2.   Decode v3 trap somehow. I don't know this step.

3.   Print the values like, oid , agentaddr etc from a perl script.

Best regards,
Rupesh

From: Gaikwad, Rupesh
Sent: Wednesday, January 27, 2010 4:33 PM
To: net-snmp-users
Subject: SNMP v3 help

Hello All,
I have configured snmptrapd and I can receive V3 AuthPriv traps very well on my 
test machine.
But, now I want to know how I can receive and print trap from perl.
I have searched many links and found Net-SNMPTrapd-0.02 > Net::SNMPTrapd.
But this modules/ examples does not support v3. Otherwise it's something exact 
what I am looking for.

Any help is appreciated.

Best regards,
Rupesh
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


SNMP v3 help

2010-01-27 Thread Gaikwad, Rupesh
Hello All,
I have configured snmptrapd and I can receive V3 AuthPriv traps very well on my 
test machine.
But, now I want to know how I can receive and print trap from perl.
I have searched many links and found Net-SNMPTrapd-0.02 > Net::SNMPTrapd.
But this modules/ examples does not support v3. Otherwise it's something exact 
what I am looking for.

Any help is appreciated.

Best regards,
Rupesh
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users


How to send Response PDU as an acknowledgement for received INFORM request

2008-09-23 Thread Gaikwad, Rupesh
Hi Group, 

 

Please let me know "How to send Response PDU as an acknowledgement for
received INFORM request? "

My application is able to receive an INFORM PDU but is not able to send
RESPONSE PDU. 

 

Please guide me how to create and send INFORM PDU. 

 

Thanks, 

Rupesh

 



Rupesh Gaikwad

BMC Software

phone: 020.3987.6937

fax: 020.3987.5001
ICC Tech Park,Tower-A. 
Senapati Bapat Road,

Pune,India-411016

   

 

<>-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/___
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users