[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

how to analysis a packet?

slaughter

9/4/2008 6:23:00 AM

Hello all, I need to send SNMP packets and check whether SNMP-Response
packets
are received. I was looking at rubyforger, which seems to allow me to
do this quite easily. However, rubyforger is dependent on ruby pcap
and
ruby pcap doesnt seem to install on windows(ruby-pcap-0.6.tar). Has
anybody successfully
done so or has a suggestion ?
Thanks-
3 Answers

Lex Williams

9/4/2008 6:24:00 AM

0

slaughter wrote:
> Hello all, I need to send SNMP packets and check whether SNMP-Response
> packets
> are received. I was looking at rubyforger, which seems to allow me to
> do this quite easily. However, rubyforger is dependent on ruby pcap
> and
> ruby pcap doesnt seem to install on windows(ruby-pcap-0.6.tar). Has
> anybody successfully
> done so or has a suggestion ?
> Thanks-

As far as I know , you can find pcap for windows at www.winpcap.org .
You should try to install that , and then try to install ruby-pcap .
--
Posted via http://www.ruby-....

Jeremy Hinegardner

9/9/2008 4:45:00 AM

0

On Thu, Sep 04, 2008 at 03:19:24PM +0900, slaughter wrote:
> Hello all, I need to send SNMP packets and check whether SNMP-Response
> packets
> are received. I was looking at rubyforger, which seems to allow me to
> do this quite easily. However, rubyforger is dependent on ruby pcap
> and
> ruby pcap doesnt seem to install on windows(ruby-pcap-0.6.tar). Has
> anybody successfully
> done so or has a suggestion ?
> Thanks-

You may also want to take a look at packet_fu

http://code.google.com/p...

enjoy,

-jeremy

--
========================================================================
Jeremy Hinegardner jeremy@hinegardner.org


Tod B

9/14/2008 2:16:00 PM

0

On Sep 8, 11:44 pm, Jeremy Hinegardner <jer...@hinegardner.org> wrote:

> http://code.google.com/p...

PacketFu just got up-revved yesterday for Windows goodness, and it
should easily be able to look for a SNMP response for you. Something
like...

irb -r packetfu-shell.rb
cap = Capture.new(:iface => 'whatever your interface name is')
cap.show_live(:filter => 'port 161')

....ought to get you started.

-tod