Re: Packet Capture

From: Steve Alpert (sra_at_newsgroups.nospam)
Date: 05/17/04


Date: Mon, 17 May 2004 12:31:28 -0400

mike wrote:
> Hello, I am building an sniffer that captures all packets that go thorugh a NIC. I have used the functions:
>
> socket() con la opcion SOCK-RAW
> and WSA_IoCtl ( )
>
> Everything is OK, I am capturing packets that go to and from my PC. The problem is that I can not capture packets that go between other PCs that ARE ON MY SAME LAN. I think this is because the WSA-Ioctl() bins the sockets to an specific IP address.
>
> Could you please tell me how I can capture ALL APKETS IN A LAN?

Alternatively, are you on a switch that doesn't even push the packets
down your wire?

/steveA

-- 
Steve Alpert
my email Fgrir_Nycreg@vqk.pbz is encrypted with ROT13 (www.rot13.org)


Relevant Pages

  • RE: [inbox] RE: Bogus DNS traffic
    ... The handful of packets I captured all had ID "102" and ... Dave Gillett ... > Do you have any full packet captures? ... most highly-anticipated industry event of the year. ...
    (Incidents)
  • Re: tcpslice: cannot accept captures with zero or one packet
    ... tcpslice fails on packet captures with zero or one packet in them. ... Given an arbitrary set of captures, it is entirely possible that some ... of them don't have packets or have small numbers of packets. ... By the way, Gutsy is Ubuntu 7.10. ...
    (Ubuntu)
  • Packets
    ... I am building an sniffer that captures all packets that go thorugh a NIC. ... socket() with the option SOCK-RAW ...
    (microsoft.public.vc.language)
  • tcpslice: cannot accept captures with zero or one packet
    ... tcpslice fails on packet captures with zero or one packet in them. ... don't have packets or have small numbers of packets. ... Versions of packages tcpslice depends on: ...
    (Ubuntu)
  • Re: Problem with writing fast UDP server
    ... UDP packets per second. ... socket and threads. ... I wrote a simple case test: client and server. ... The maximum theoretical limit is 14,880 frames per ...
    (comp.lang.python)

Loading