Re: Changing originator IP in trap/inform

2006-08-09 Thread Thomas Anders
Passera Pablo-APP015 wrote: > Hi, > I would like to bring this topic up again. Is there someone that > has worked with this?. If not I think this is a bug, so I would like to > submit it. Which is the mechanism for it? Patches can be submitted to http://www.net-snmp.org/patches . +Thomas

RE: Changing originator IP in trap/inform

2006-08-09 Thread Passera Pablo-APP015
AM To: Passera Pablo-APP015; Dave Shield; Magnus Fromreide Cc: net-snmp-coders@lists.sourceforge.net Subject: RE: Changing originator IP in trap/inform Hi, Someone has a comment on this? We changed that code line in our implementation for proxying traps, and if you consider that this is a

RE: Changing originator IP in trap/inform

2006-08-04 Thread Passera Pablo-APP015
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Passera Pablo-APP015 Sent: Tuesday, August 01, 2006 10:58 AM To: Dave Shield; Magnus Fromreide Cc: net-snmp-coders@lists.sourceforge.net Subject: RE: Changing originator IP in trap/inform Talking about RFC 3584 section 3.1 step 4, it states

RE: Changing originator IP in trap/inform

2006-08-01 Thread Passera Pablo-APP015
append snmpEnterprise varbind\n"); } Regards, Pablo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Tuesday, August 01, 2006 6:00 AM To: Magnus Fromreide Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Changing originator IP in trap/

Re: Changing originator IP in trap/inform

2006-08-01 Thread Magnus Fromreide
On Tue, Aug 01, 2006 at 10:00:00AM +0100, Dave Shield wrote: > On 01/08/06, Magnus Fromreide <[EMAIL PROTECTED]> wrote: > > In convert_v1pdu_to_v2: > > > > A community field is eventually inserted among the varbinds. > > That's correct. > See RFC 3584, section 3.1, step 4. > > >

Re: Changing originator IP in trap/inform

2006-08-01 Thread Dave Shield
On 01/08/06, Magnus Fromreide <[EMAIL PROTECTED]> wrote: > In convert_v1pdu_to_v2: > > A community field is eventually inserted among the varbinds. That's correct. See RFC 3584, section 3.1, step 4. > It is also odd that it only happens in > convert_v1pdu_to_v2. Not really -

Re: Changing originator IP in trap/inform

2006-07-31 Thread Magnus Fromreide
On Wed, Jul 19, 2006 at 04:08:02PM +0100, Dave Shield wrote: > On 19/07/06, Magnus Fromreide <[EMAIL PROTECTED]> wrote: > >there is sadly a misalignment in the code so if you have the > > functions that converts from v2-notification to v1-trap and back and calls > > them like: > > > > res =

Re: Changing originator IP in trap/inform

2006-07-19 Thread Dave Shield
On 19/07/06, Magnus Fromreide <[EMAIL PROTECTED]> wrote: >there is sadly a misalignment in the code so if you have the > functions that converts from v2-notification to v1-trap and back and calls > them like: > > res = v2tov1(v1tov2(v2tov1(v1tov2(inputV1; > > then res != inputV1. That

Re: Changing originator IP in trap/inform

2006-07-19 Thread Magnus Fromreide
On Wed, Jul 19, 2006 at 03:04:09PM +0100, Dave Shield wrote: > On 19/07/06, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > I have notification originator application, which uses Net-SNMP APIs > > and runs as a separate process (not part of snmpd). > > Presumably this runs as an AgentX

Re: Changing originator IP in trap/inform

2006-07-19 Thread Dave Shield
On 19/07/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have notification originator application, which uses Net-SNMP APIs > and runs as a separate process (not part of snmpd). Presumably this runs as an AgentX subagent - yes? > Net-SNMP APIs assigns the local IP address as