Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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:

Download: http://www.vinsworld.com/software/ppc.zip

POD: http://www.vinsworld.com/software/ppc.html

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2015-07-06 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (71 votes), past polls