mailing list archives
Re: pcap-tcp Proof of Concept hack
From: Jay Fink <jay.fink () gmail com>
Date: Mon, 29 Jun 2009 14:13:07 -0400
On Mon, Jun 29, 2009 at 12:01 PM, Jay Fink<jay.fink () gmail com> wrote:
On Mon, Jun 29, 2009 at 10:32 AM, David Fifield<david () bamsoftware com> wrote:
Nsock can do pcap captures. See the functions nsock_pcap_open,
nsock_pcap_read_packet, and others.
I put together the beginnings of an example in
~/nmap/nsock/examples/nsock_pcap.c and a small diff to the Makefile.
Right now it invokes an open and single read. Doesn't do much else.
I'll keep fleshing this out until it actually does something useful
and then decide to dovetail it somewhere else or drop it.
Here is the Makefile diff and the source file is attached.
--- examples/Makefile (revision 13965)
+++ examples/Makefile (working copy)
@@ -12,7 +12,7 @@
RM = rm -f
-TARGETS = nsock_test_timers nsock_telnet
+TARGETS = nsock_test_timers nsock_telnet nsock_pcap
Sent through the nmap-dev mailing list
Archived at http://SecLists.Org