Re: Raw Ehternet Sockets on 10.1?
Re: Raw Ehternet Sockets on 10.1?
- Subject: Re: Raw Ehternet Sockets on 10.1?
- From: Rich Kubota <email@hidden>
- Date: Tue, 30 Sep 2003 22:38:23 -0700
At 1:47 PM -0700 9/30/03, Duane Murphy wrote:
>
More Information.
>
>
I changed BSDLLCTest to send only 1000 byte packets. Compiled on 10.2.6
>
and tested. Everything appears to work OK.
>
>
If I switch the recieving machine to 10.1.5 (sender is still 10.2.6) and
>
do the test, a DSAP of 0xE0 (the default) works fine. If I switch the
>
DSAP to 0XAA, indicating SNAP, the 10.1.5 recieving machine wont recieve
>
anything. I can view the packets (using Etherpeek) and see them hit the
>
wire. Note that this same test works fine under 10.2.6.
>
>
I dont believe that this is a symptom of the PowerBook G3 I am using as
>
we reproduced this symptom with a G3 tower as well.
>
>
Can you confirm that this problem occurs for you also and let me know
>
what the possible solution is?
>
>
Thanks for your help on this important situation.
Duane,
I verified your finding. I too found that the BSDLLCTest sample was
such that SNAP packets would not be recieved.
I don't have an explanation for the problem, but I can propose a
possible solution if it's important that you have 10.1 compatibility
- use a BPF socket. You can see that BPF socket will work as this is
what tcpdump uses. the downside to this solution is that you will
need to define a BPF filter to filter the packets that you don't
want. Refer to the following web page
<
http://netbsd.gw.com/cgi-bin/man-cgi?bpf+4>
I've enclosed a sample which is also based on the MoreAuthSample code.
--
Sincerely,
Rich Kubota
email@hidden
(408) 974-6212
[demime 0.98b removed an attachment of type application/mac-binhex40 which had a name of BPFSample_1.1d1.sit]
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.