This article explains how to configure MassTransit to listen on ports less than 1024 on Mac OS X without running as root using the xinetd utility. Most commonly, this configuration is necessary to allow MassTransit to listen on the standard FTP ports (20 and 21) or the standard TCP/IP Secure port (443) without running as root. These configuration options also allow MassTransit to listen with TCP/IP on port 80.
Note that the Xinetd utility is not available on Mac OS 10.5 Leopard. For information on how to listen on ports below 1024 on 10.5 or later, please consult the following KB article: http://www.grouplogic.com/knowledge/index.cfm/fuseaction/view/docID/343.
Consult the sections below to:
- Configure FTP port redirection using xinetd
- Configure TCP/IP and TCP/IP Secure port redirection using xinetd
Note that to use this configuration to listen on the default FTP ports without running as root, you will need to use MassTransit 4.5.1x22 or later.
- xinetd can only re-direct from well known ports (TCP/IP - 80, TCP/IP Secure - 443, FTP - 21).
- When configuring multihomed setups for FTP, the users must use "localhost" as the IP for port redirection.
Configuration steps are described in the 'Using Xinetd' PDF linked at the bottom of the page. You will also need to download and unzip the provided script (also linked below) to assist you with configuration.
- PDF/PPT Description: UsingXinetd