Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re^3: How to encode snmpv2 trap varbind

by VinsWorldcom (Vicar)
on Feb 25, 2013 at 13:43 UTC ( #1020523=note: print w/replies, xml ) Need Help??

in reply to Re^2: How to encode snmpv2 trap varbind
in thread How to encode snmpv2 trap varbind

If you're looking to send modified IP / transport layer headers (FOR TESTING ONLY PURPOSES!!!), look at the Net::Frame suite of modules. You'll need to get Net::Pcap working - which on Windows has some caveats (see Re: Net::Pcap installation help (and not with the library)).

After that, check out the Perl Packet Crafter at:



If you're using *nix, it should be easily ported with Net::Libdnet (which I couldn't get working on Windows).

UPDATE: I just posted Net::Frame::Layer::SNMP which will help with SNMP packet construction.

  • Comment on Re^3: How to encode snmpv2 trap varbind

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1020523]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2016-10-23 13:08 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (301 votes). Check out past polls.