Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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 monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2017-04-28 17:32 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (526 votes). Check out past polls.