logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Re: SNMP v3 to v3 proxying: msg#00573

Subject: Re: SNMP v3 to v3 proxying
when I snoop the packet
the manager machine receive perfect SNMP response with
correct request ID (match with the id that comes with
initial request from the manager), no error, and
contains the expected value.

I am trying to mimic the behavior of front end proxy.
for v2c

and yes, if more than 1 manager send request to A1, A1
is responsible to do mapping to forward the response
to the correct manager since A1 is acting as the
proxy.

thanks
John



--- Thomas Vinod Johnson <thomas.johnson@xxxxxxx>
wrote:
> David T. Perkins wrote:
> 
> >HI,
> >
> >I believe that this discussion has entered a
> "nonreality zone".
> >I've sent some private email to dave shield to see
> if I can
> >nudge it back to the reality zone.
> >
> >Vinod - again, explaining what you want to do with
> diagrams
> >would really help. For example:
> >Note: 
> >  CstrV is community string value
> >  Rqst is a request (a GET/SET/GETNEXT)
> >  Rsp is a response (a RESPONSE)
> > 
>
>M1---->(SNMPv1;Rqst;CstrV="blue")-->A1--->(SNMPv1;Rqst;CstrV="blue")--->A2
>
>A2---->(SNMPv1;Rsp;CstrV="blue")-->A1--->(SNMPv1;Rsp;CstrV="blue")--->M1
> >  
> >
> Small modification:
> 
>
M1---->(SNMPv1;Rqst1;CstrV="blue")-->A1--->(SNMPv1;Rqst2;CstrV="blue")--->A2
>
A2---->(SNMPv1;Rsp2;CstrV="blue")-->A1--->(SNMPv1;Rsp1;CstrV="blue")--->M1
> 
> Rqst1 and Rsp1 have same request ids. Rqst2 and Rsp2
> have same request ids.
> 
> >In the above, how does A1 determine:
> >  1) which agent to "forward" the request to
> >      (maybe there are other agents, like A3)?
> >  
> >
> Today in net-snmp this would be based on the OID in
> the request and the 
> proxy HOST argument. But I guess you already know
> that, so I suspect I 
> misunderstood the question.
> 
> >  2) what is the IP address of A2?
> >
> HOST argument.
> 
> >  3) which manager to forward the response to
> >      (maybe there are other managers, like M2 that
> also made
> >       a request to A2)
> >  
> >
>  From the diagram above, the proxy receives a
> request with ID1. In turn 
> it generates a request with ID2. A2 responds with
> ID2. The proxy 
> receives this response and forwards this response
> back with response and 
> ID1.
> 
> >  4) what is the IP address of M1 so that the
> response can
> >       be forward
> >  
> >
> There should be a mapping between ID2 and ID1. A
> response with ID2 must 
> be returned to the originator with ID1. Now if 2
> management apps 
> generate requests with the same ID, I'm not sure how
> dispatchers handle 
> it, but I suppose a mapping is maintained with the
> manager's address.
> 
> >Regards,
> >/david t. perkins
> >
> >  
> >
> I believe most of this is automatically done today
> in the net-snmp 
> snmplibs.
> 
> Doesnt the proxy forwarder application specified in
> RFC 3413 imply 
> similar functionality? (except that seems to use
> engineID, context name 
> to determine where forwarding must take place). The
> community-mib also 
> provides a mapping between community string and
> engineID. Are there any 
> implementations out there of these RFCs that one can
> go by?
> 
> 
> 
>
-------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Net-snmp-coders mailing list
> Net-snmp-coders@xxxxxxxxxxxxxxxxxxxxx
>
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>