From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 28 Oct 2009 01:36:14 +0000 From: Ethan Grammatikidis To: 9fans@9fans.net Message-Id: <20091028013614.0cff4bcd.eekee57@fastmail.fm> In-Reply-To: <13426df10910262127l4f7f10dck41f7e65434d5dec2@mail.gmail.com> References: <13426df10910262127l4f7f10dck41f7e65434d5dec2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] 9vx and tcp564 Topicbox-Message-UUID: 929a0fc2-ead5-11e9-9d60-3106f5b1d025 On Mon, 26 Oct 2009 21:27:56 -0700 ron minnich wrote: > note to make this work you need to run as root, not an ordinary user ... > > ron > Or patch your kernel so it doesn't block ports below 1024. It's a 1-line fix in Linux. --- include/net/sock.h~ 2009-05-31 21:04:58.000000000 +0100 +++ include/net/sock.h 2009-06-05 03:37:27.000000000 +0100 @@ -750,3 +750,4 @@ /* Sockets 0-1023 can't be bound to unless you are superuser */ -#define PROT_SOCK 1024 +// #define PROT_SOCK 1024 +#define PROT_SOCK 0 -- Ethan Grammatikidis Those who are slower at parsing information must necessarily be faster at problem-solving.