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

Johnny Billquist bqt at softjar.se
Mon Feb 15 08:03:20 PST 2010


In my local case, the bridge only have one UDP socket, and one local NIC.
I can even reduce it to only run with the NIC, and I still see the problem.

	Johnny

Jason Stevens wrote:
Does you bridge have many connections to it?   I recall last time I glanced thru the source code it wasn't using blocking sockets... perhaps its getting 'stuck' on a socket and effectively missing packets...?
On Mon, Feb 15, 2010 at 11:00 AM, Johnny Billquist <bqt at softjar.se <mailto:bqt at softjar.se>> wrote:
      Very possibly. The annoying thing is the fact that tcpdump sees more
      packets than I (my bridge) do.
                    Johnny
      Sampsa Laine wrote:
              Johnny,
              Not sure this is related but I tried to run SIMH on OS X over
              the wireless and DECNET didn't work - it might be more than just
              a pcap issue, the problem could be OS X's wireless NIC drivers
              or something.
              Sampsa
              On 15 Feb 2010, at 01:17, 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.
                      Running my bridge program on MAC OS X, I don't get all
                      packets, but I do get some of them. I can't see a pattern to it.
                      This is done over wireless ethernet.
                      The interesting thing is that tcpdump manages to see all of
                      them. I'm very curious on why tcpdump manages to see packets
                      that I don't see... Anyone have any ideas?
                      Feel free to ask questions. I'll happily explain what I have
                      tested, and done, and whatnot.
                            Johnny
                      --                         Johnny Billquist                                   || "I'm on a bus
                                                                                      ||   on a psychedelic trip
                      email: bqt at softjar.se <mailto:bqt at softjar.se>                         ||
                        Reading murder books
                      pdp is alive!                                         ||   tryin' to stay hip" -
                      B. Idol



More information about the Hecnet-list mailing list