• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Authorizing a user acct to run apps using ports below 1024?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Authorizing a user acct to run apps using ports below 1024?


  • Subject: Authorizing a user acct to run apps using ports below 1024?
  • From: Thomas Tempelmann <email@hidden>
  • Date: Wed, 1 Apr 2009 20:26:17 +0200

By default, processes can't listen on ports < 1024 unless they're
running as root, if I got it right.

Is there some way to authorize an app to open a specific port for a
user account?

The particular app I'm writing is talking to a device in the LAN via
UDP only, and that device is unfortunately using a hard-coded port
number below 1024 for its reply. Since the app I'm writing shall be
written quickly and only serves to configure the device once in a
while, writing a two-tiered app with a deamon is kind of overkill,
and debugging gets more difficult that way, too.
That's why I'm looking for such an alternative solution.

--
Thomas Tempelmann, http://www.tempel.org/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Authorizing a user acct to run apps using ports below 1024?
      • From: Josh Graessley <email@hidden>
  • Next by Date: Re: Authorizing a user acct to run apps using ports below 1024?
  • Next by thread: Re: Authorizing a user acct to run apps using ports below 1024?
  • Index(es):
    • Date
    • Thread