From owner-freebsd-ports@FreeBSD.ORG Wed Jan 4 10:23:17 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF5FB106566B for ; Wed, 4 Jan 2012 10:23:17 +0000 (UTC) (envelope-from dino_vliet@yahoo.com) Received: from nm39.bullet.mail.ne1.yahoo.com (nm39.bullet.mail.ne1.yahoo.com [98.138.229.32]) by mx1.freebsd.org (Postfix) with SMTP id 801778FC0C for ; Wed, 4 Jan 2012 10:23:17 +0000 (UTC) Received: from [98.138.90.54] by nm39.bullet.mail.ne1.yahoo.com with NNFMP; 04 Jan 2012 10:10:03 -0000 Received: from [98.138.89.165] by tm7.bullet.mail.ne1.yahoo.com with NNFMP; 04 Jan 2012 10:10:03 -0000 Received: from [127.0.0.1] by omp1021.mail.ne1.yahoo.com with NNFMP; 04 Jan 2012 10:10:03 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 60112.57557.bm@omp1021.mail.ne1.yahoo.com Received: (qmail 8129 invoked by uid 60001); 4 Jan 2012 10:10:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1325671801; bh=iTDRz+QkN7Tx9KYxy/NuwUMqaqePTdULMZYToxOalps=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type; b=X2Oa533Jx/MB20mT9xOwIrinnODAkgyZavRgXOvdufitcqNghrwS32741BJEhnj7nGBA+YgTfieCulxv3iIPeCxLiL6gzMl3aW+D+FncBgbwwFvC6yVQ1BiiOF4xn+A0Lh85E3xesXqeXqKrqH8YnWR7U3kVJCeoL5COB0Wd/6M= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type; b=4AmVPHfYndmgAZyQ2ouQ3MtML8rzRS/5yO3lCCRQ6VhA1GQQXYjpoW69FxpLNPdaZ+Ix4zpOo4WsvlE5drFISyAQALSf2PsIP8gpfCfM8RwTjJn5xIOrokavn/j+jaTQ7Er1W6VdMYoFigcEUwsF4FHaO8EY8/fznCZSPX3B8x4=; X-YMail-OSG: 4br1oEgVM1mAO3qeSMqmBpQZjLpzYcEDM4tP3RWTa9pUw2r FlyoKY1oyvc2fLJtIzWdP1J1ksxXv_tV8tp9_Bcd66LLvQJ_xN5zkVBMd9AN M0eEUnoQJIa6kgzF7z00R0H0rAo7XfZ4mhS8HAMgqjOY74qH1cFIw3d8QRAm yNcbW.REgSBIViAxhVQIXDiAgUpI94FgFc9kgvnSy63zwBbqLkDrlKRcuQAE ZYEUf0u2Vg5ijPWoCtyNQHaO60w_uRUB4kpvtLasqzcNvGBhSrbxJQGUhfmf AhgIW_acSEtc03JQVoKz8Y9GP0lCK0QnizFZJhiC58QOgHQQlurh5ZOU0LqO OAdU_OoMHVp1oocHslHW.9cjWN3Dnl2OEdLJM4Z1Lvq_8RvVoffhf7Hs34do Qcpsfrakbk0ctzFhPk49_7SgDa4M6mm9ohxTN3ETvTPdvVQQXdJ70lL2o1XD 3njMSVQ-- Received: from [164.140.155.143] by web113620.mail.gq1.yahoo.com via HTTP; Wed, 04 Jan 2012 02:10:01 PST X-Mailer: YahooMailWebService/0.8.115.331698 Message-ID: <1325671801.19145.YahooMailNeo@web113620.mail.gq1.yahoo.com> Date: Wed, 4 Jan 2012 02:10:01 -0800 (PST) From: Dino Vliet To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "ports@FreeBSD.org" Subject: best way to bind webserver to port 80 without running as root X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dino Vliet List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 10:23:17 -0000 Hi all,=0A=A0=0Asuddenly I'm facing this quest on freebsd 8. I need to bind= my little webserver running aolserver to port 80. In the past I was always= using port 8080 and had my router configured to forward requests on port 8= 0 to the server on port 8080. However, I am planning to host my little site= on a virtual server with a hosting company and figuredI can't use the work= around I always used. So my question is, how to bind aolserver to port 80 w= ithout running=A0as root as I understood ports below 1024 can only be used = by root.=0AI found a sysctl net.inet.ip.portrange.reservedhigh which enable= s me to set it to 0. However, I don't know what the security ramifications = are of using that. Are there any other options I could consider?=0A=A0=0ATh= anks=0ADino