Nevermind, I am being an idiot. I don't need to use libpcap since traps are
being broadcast.
On Wed, Feb 2, 2011 at 3:40 PM, th exterit wrote:
> After a little digging, it seems as though I need to look at snmp_read()
> which calls snmp_parse(). snmp_parse() is a static function so can't call
After a little digging, it seems as though I need to look at snmp_read()
which calls snmp_parse(). snmp_parse() is a static function so can't call
it directly, and it looks like it passes the parsed pdu to a call back
function. I have no need for snmp_read() since I already have the packets
hande
Hi.
I am currently writing a trap listener. Basically traps are being sent to
255.255.255.255 on port 162 and I am 'sniffing' the traps using libpcap
which was simple enough. But now I have raw snmp trap packets and I do not
fancy learning how to parse these myself. Are there a set of simple
fu