Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: How to encode snmpv2 trap varbind

by VinsWorldcom (Parson)
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 voices are still...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2017-06-23 02:59 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (533 votes). Check out past polls.