Re: TCP/IP Loopback
Re: TCP/IP Loopback
- Subject: Re: TCP/IP Loopback
- From: Josh Graessley <email@hidden>
- Date: Wed, 20 Feb 2002 11:51:48 -0800
It has nothing to do with the port. This is a known bug in 10.1.2. 10.1.3
was willing to take a fix to stop the panic but unwilling to take a fix to
get this working again. If this is a problem for a product of yours, please
raise this with your DTS contact to help us get this in to any future
software updates.
This is all caused by some crufty code in SharedIP that had been laying
dormant just waiting for an opportunity. On systems prior to 10.1.2, loopack
packets were sent through the interface associated with the address (en0,
ppp0, etc..). They never actually got out, but for the sake of filtering,
the filter attached to the interface is the filter that received the packet.
That filter code. With 10.1.2 something changed in the kernel causing
loopback packets to go through lo0. SharedIP contained code to filter on lo0
but the code had never actually been execute or debugged. The result is that
SharedIP failed to intercept the packets being looped back. There was
another bug in the kernel that caused to kernel to panic if it received a
packet that SharedIP was supposed to intercept.
Two changes were made. One change fixed the panic in the kernel. Another
change fixed the obviously wrong code in the loopback filter of SharedIP. If
you're interested, you can check out the latest SharedIP from the darwin CVS
server. It has these fixes a few others. Building it may be a challenge due
to a header change.
-josh
On 2/20/02 8:20 AM, "Jean-Pierre" <email@hidden> wrote:
>
Le 19/02/02 20:11, + Vincent Lubet ; <email@hidden> a icrit :
>
>
> The Classic Open Transport stack does not send packets with destination
>
> address 127.0.0.1 to the Mac OS X stack.
>
>
>
> The only workaround is to wse the IP address of the primary interface.
>
>
This worked on MacOSX 10.1, but generates a kernel panic on 10.1.2,
>
and doesn't work on 10.1.3, at least on port 22.
>
>
- Jean-Pierre.
>
_______________________________________________
>
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.
_______________________________________________
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.