Commit Graph

15 Commits (7824ab661a7b33a7807b12fcf5566f2ff155fa85)

Author SHA1 Message Date
HD Moore ea54f3e013 Minor tweaks for formatting
git-svn-id: file:///home/svn/framework3/trunk@7343 4d416f70-5f16-0410-b530-b9f4589650da
2009-11-04 01:18:37 +00:00
HD Moore 3b99a513ec Fixes #352 and fixes #350. Can no longer reproduce memory corruption or packet loss with this code
git-svn-id: file:///home/svn/framework3/trunk@7287 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-26 22:49:43 +00:00
kris 93dd1f2901 Fix pcaprub compilation errors (not warnings) for Ruby 1.9
git-svn-id: file:///home/svn/framework3/trunk@7119 4d416f70-5f16-0410-b530-b9f4589650da
2009-10-03 02:45:15 +00:00
HD Moore a97abcf837 Cleaning up pcaprub, interface closing will still be handled by the GC
git-svn-id: file:///home/svn/framework3/trunk@6859 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-21 19:36:37 +00:00
HD Moore 9db072b2e4 cleans up the pcaprub code a little bit during packet receives
git-svn-id: file:///home/svn/framework3/trunk@6820 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-17 16:14:07 +00:00
HD Moore 697d89c8cf Wait on the pcap file handle to reduce cpu consumption during sniffing
git-svn-id: file:///home/svn/framework3/trunk@6814 4d416f70-5f16-0410-b530-b9f4589650da
2009-07-17 02:24:21 +00:00
HD Moore 8c0b0fdf69 Import a new patch from Darren Kemp, adds open_dead and pcap_dump
git-svn-id: file:///home/svn/framework3/trunk@6335 4d416f70-5f16-0410-b530-b9f4589650da
2009-03-12 01:07:38 +00:00
James Lee 567f4844fb Make Pcap.next really non-blocking
git-svn-id: file:///home/svn/framework3/trunk@6212 4d416f70-5f16-0410-b530-b9f4589650da
2009-02-12 16:21:13 +00:00
HD Moore 9bb89b8387 Remove debugging line
git-svn-id: file:///home/svn/framework3/trunk@6211 4d416f70-5f16-0410-b530-b9f4589650da
2009-02-11 05:20:12 +00:00
root 345a816394 Fix up offline mode for pcaprun
git-svn-id: file:///home/svn/framework3/trunk@6210 4d416f70-5f16-0410-b530-b9f4589650da
2009-02-10 15:54:52 +00:00
HD Moore 3c30d7aefd Correct a typo in offline mode detection
git-svn-id: file:///home/svn/framework3/trunk@5701 4d416f70-5f16-0410-b530-b9f4589650da
2008-09-30 21:46:01 +00:00
HD Moore f41234b110 Offline support for pcaprub
git-svn-id: file:///home/svn/framework3/trunk@5555 4d416f70-5f16-0410-b530-b9f4589650da
2008-07-14 05:37:38 +00:00
HD Moore 8c244f4422 This patch makes pcap.next non-blocking from a Ruby thread perspective. It does eat more CPU if there are no select() loops in the calling Ruby parent, but this isnt too common and never an issue for MSF
git-svn-id: file:///home/svn/framework3/trunk@5534 4d416f70-5f16-0410-b530-b9f4589650da
2008-06-22 17:14:11 +00:00
HD Moore b2f9397be2 Commit a patch from warl0ck
git-svn-id: file:///home/svn/framework3/trunk@5418 4d416f70-5f16-0410-b530-b9f4589650da
2008-02-14 19:50:56 +00:00
HD Moore dea7fdfe39 Shiny new packet capture library
git-svn-id: file:///home/svn/framework3/trunk@5139 4d416f70-5f16-0410-b530-b9f4589650da
2007-10-08 23:16:31 +00:00