Re: Opening Ports in Leopard
Re: Opening Ports in Leopard
- Subject: Re: Opening Ports in Leopard
- From: "Michael Ash" <email@hidden>
- Date: Tue, 18 Nov 2008 11:15:14 -0500
On Tue, Nov 18, 2008 at 4:49 AM, Gerriet M. Denkmann
<email@hidden> wrote:
>
> On 18 Nov 2008, at 15:27, Stefan Werner wrote:
>
>> Aren't port numbers 0-1023 privileged under Unix and therefore only to
>> applications running as root? If you're running your application as a
>> regular user, it can't open a listening socket on port 123. It should still
>> be perfectly able to send requests to port 123 on other hosts and receive
>> answers to those requests.
>
> That is exactly what I am trying to do (and which worked perfectly on
> Tiger): send some message on port 123 (to some ntp server) and receive an
> answer.
> On Leopard I send, but never get an answer.
> It does not seem to be an endian issue (the running version was last tested
> on a Tiger iBook ppc) - both intel and ppc produce the same 48 byte
> packages.
>
> I really don't know what to try next.
Use Wireshark or another sniffer of your choice to find out what's
actually happening on the network.
You have too many variables right now. Did it get sent? Did a reply
get sent? Did your computer block the reply, or the sending, or did
the remote computer not like it, or...? Wireshark will tell you what
is actually happening so you don't have to guess, and then at that
point hopefully the solution will come more easily.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden