Re: Setting the sender address in outgoing SNMP trap packets

This is a discussion on Re: Setting the sender address in outgoing SNMP trap packets within the SNMP Coders forums, part of the Networking and Network Related category; On Thu, 2005-04-21 at 18:14, Shobana Sampath wrote: > The documentation says this agent_addr is for v1 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-22-2005
Dave Shield
 
Posts: n/a
Default Re: Setting the sender address in outgoing SNMP trap packets

On Thu, 2005-04-21 at 18:14, Shobana Sampath wrote:
> The documentation says this agent_addr is for v1 traps
> and since I send out v2c traps


Well, SNMPv2 traps don't have the same structure as v1
traps, so there isn't an 'agent_addr' header field at all.
Inserting one would immediately break every SNMP trap
handler on the planet!

Instead, SNMPv2 traps indicate the address of the trap
generator by means of an additional 'snmpTrapAddress.0'
varbind, appended to the main varbind list.

See RFC 3584 for details.


Dave



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:23 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0