Re: trap pdu forwarding [was Re: File Descriptor Event Management]

This is a discussion on Re: trap pdu forwarding [was Re: File Descriptor Event Management] within the SNMP Coders forums, part of the Networking and Network Related category; On Fri, 25 Feb 2005 10:56:23 -0500 Olsson, wrote: OS> RS> Bad news. While trying to ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-02-2005
Robert Story
 
Posts: n/a
Default Re: trap pdu forwarding [was Re: File Descriptor Event Management]

On Fri, 25 Feb 2005 10:56:23 -0500 Olsson, wrote:
OS> RS> Bad news. While trying to figure out better names for the tokens, I
OS> RS> Realized that there is already a 'forward' token for forwarding traps.
OS> RS> This already allows specifying an IP address and a port. The big
OS> RS> difference between it and your scheme is that it actually forwards a
OS> RS> SNMP PDU, not a packed net-snmp pdu
OS> RS> structure.
OS>
OS> Actually might be good news for me. I assume you can specify the
OS> protocol to use too? TCP/UDP?

That is a good question. I know udp will work. You'd have to test TCP (and make
sure tcp was enabled in the agent at configure time). I'm also unclear on
whether or not using tcp would create/tear-down a connection for each trap, or
establish the connection once. You'd have to do some testing.

OS> I think what it was is the forward function was not available back when
OS> I was writing this code (couple years back).

Yeah, I think it's pretty recent.

OS> How does one receive the PDU on the other side? It seems like
OS> I may just be able to put this PDU reception code into my management app
OS> in place of what I currently have (pack/unpack). This would be good. Can
OS> you point me to the code that does this?

Since it's just forwarding a standard SNMP trap, the best example would be a
pared-down version of snmptrapd.

--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
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 06:58 AM.


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