[HECnet] Apples MAC OS X pcap library...

Jean-Yves Bernier bernier at pescadoo.net
Mon Feb 15 09:29:32 PST 2010


At 2:17 AM +0100 2/15/10, Johnny Billquist wrote:

Do anyone have experience with Apples pcap library? It is supposed to be
a plain bsd pcap, but I have a problem that I haven't figured out yet,
and thought that maybe someone here already knows, so I don't have to go
figure it out myself.

I have your bridge working on Mac OS X.

I forced
#define __FreeBSD__

to get
ioctl(BIOCIMMEDIATE, BIOCSHDRCMPLT) compiled.

I get the same packets as tcpdump, that is:

- broadcasts from all nodes, if I run on a distinct machine (no simulator)
router-hello, lev-1-routing, lev-2-routing

- broadcasts and unicasts to me,   if I run on a machine hosting a simulator
link-service, data-ack, ils-ack, data


I am on a switched network with unmanaged switches, so i'm unable to sniff
all traffic for the moment.



-- 
Jean-Yves Bernier



More information about the Hecnet-list mailing list