Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > network packet capture

Thread Tools

network packet capture

Robin Wood
Posts: n/a
I wan to capture network traffic so I've been looking at pcaplet. It
seems to work but people are saying that its quite old so I was
wondering if there was anything newer available.

If there is nothing better, I've got two issues with it, the first is
I get this message three times when I start up a script:

/usr/lib/ruby/site_ruby/1.8/i686-linux/ warning: do not use
Fixnums as Symbols

I've read this is because of something in ruby becoming deprecated,
what can I do to stop these warnings?

The other problem is that once it has captured a packet it starts
flooding my network with DNS queries. It gets an answer to its first
request so it doesn't need to keep requesting. tcpdump just does a
single lookup so it doesn't seem to be the pcap libraries that are
causing this.

Can anyone help with either of these?



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
import packet.module without importing packet.__init__ ? Gelonida N Python 4 09-11-2011 02:17 PM
convert the ip packet to and from RS-232 packet Li Han Python 2 02-09-2009 02:43 PM
Security: rec'd packet not an ipsec packet ! mediumkuriboh Cisco 0 02-09-2009 12:14 AM
%PIX-4-402106: Rec'd packet not an IPSEC packet. lfnetworking Cisco 3 08-27-2006 05:30 AM
need wlan packet capture Anil Cisco 0 01-12-2005 03:26 PM