network packet capture

Discussion in 'Ruby' started by Robin Wood, Dec 21, 2007.

  1. Robin Wood

    Robin Wood Guest

    Hi
    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/pcap.so: 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?

    Thanks

    Robin
    Robin Wood, Dec 21, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Captain Blammo

    Packet Capture

    Captain Blammo, Nov 4, 2004, in forum: Java
    Replies:
    2
    Views:
    631
    Captain Blammo
    Nov 8, 2004
  2. Vladimir Shishkovsky

    Packet Capture and Account Class

    Vladimir Shishkovsky, Jun 22, 2004, in forum: C++
    Replies:
    0
    Views:
    302
    Vladimir Shishkovsky
    Jun 22, 2004
  3. Pieter Claassen

    pointer arithmetic and packet capture

    Pieter Claassen, Aug 5, 2004, in forum: C Programming
    Replies:
    1
    Views:
    254
    Eric Sosman
    Aug 5, 2004
  4. Li Han
    Replies:
    2
    Views:
    500
    bobicanprogram
    Feb 9, 2009
  5. Gelonida N
    Replies:
    4
    Views:
    867
    Gelonida N
    Sep 11, 2011
Loading...

Share This Page