Speaking of which, it might be a good time to point out that the bridge program works fine
on NetBSD, Linux and OpenBSD atleast (I think FreeBSD have also reported success).
And I'm now trying this on Snow Leopard. This is the first time I've tried on
wireless as well.
So in general, there is nothing wrong with the program, nor the filter. I'm just
having these problems explicitly on this platform. I can definitely see tcpdump printing
out packets while the bridge program sits quite not receiving anything.
Johnny
Johnny Billquist wrote:
Yeah, possible problems with the filter program have been considered. I
tried skipping the filter program totally, but that didn't seem to solve
my problems. Might be worth examining a bit more anyway.
(I have a software check for "valid" packets as well, so skipping the
filter don't really hurt, except for performance reasons.)
Any suggestion on what libpcap might be good to use?
I seem to remember having problems with the network in simh as well,
when using it over wireless. I think I should test the wired interface
to see if the bridge works fine over that.
(I would sure like to check the tcpdump sources if they do something
funny...)
Johnny
Jason Stevens wrote:
sounds like a broke filter...?
I do recall it is quite touchy, and that when I used to build osx libpcap stuff (simh) in
the past, I'd just download the latest pcap myself, and manually link that into the
exe so it didn't use the system libpcap.....
On Sun, Feb 14, 2010 at 8:17 PM, Johnny Billquist <bqt at softjar.se <mailto:bqt at
softjar.se>> 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
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic
trip
email: bqt at softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" -
B. Idol
Show replies by date