From owner-freebsd-questions@FreeBSD.ORG Fri Mar 7 08:28:31 2008 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D43B11065674 for <freebsd-questions@freebsd.org>; Fri, 7 Mar 2008 08:28:31 +0000 (UTC) (envelope-from siraj.shaikh@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by mx1.freebsd.org (Postfix) with ESMTP id 666488FC21 for <freebsd-questions@freebsd.org>; Fri, 7 Mar 2008 08:28:31 +0000 (UTC) (envelope-from siraj.shaikh@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so228556rvb.43 for <freebsd-questions@freebsd.org>; Fri, 07 Mar 2008 00:28:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=rEQ3AuqnZ4SiGyprbL8myfko9+YK8F7gcDSIHZ7YMGs=; b=fQXFKOgf/bgYg7blnTD1uofn33FL6NMbLf2n42IL2NS6iigGB4kFpmoX75THXbMrst+C84bI85Iy+I5SqwI/oAl7zhCj9uPS2zc66pth0iZE09W3rJYqeRAEFqBekmLTeA9KVjc5HiIeVkFtPMladBCtKPI5I2DepOgJ2Ta7Sb4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ivuxsiQoTbxcTVFh0RTHGA+98c4oWLa+eguW07NZFCLsRfNvxr3ABQhgi9k/4NdNLP47KI17T6Za6RkQCxDPHGs53sBjuv8GTlDe5HcwkHcTMVdj5GhvtQL44NN748erCNM7kkStBR1cGgVivX6gwPDtXYS2puQS6tNveARsvzs= Received: by 10.140.226.14 with SMTP id y14mr308629rvg.164.1204878510709; Fri, 07 Mar 2008 00:28:30 -0800 (PST) Received: by 10.140.162.17 with HTTP; Fri, 7 Mar 2008 00:28:30 -0800 (PST) Message-ID: <3b2ddd940803070028s74a33fa6l15ba41a96ea15032@mail.gmail.com> Date: Fri, 7 Mar 2008 08:28:30 +0000 From: "Siraj Shaikh" <siraj.shaikh@gmail.com> To: "Wojciech Puchar" <wojtek@wojtek.tensor.gdynia.pl> In-Reply-To: <20080307091731.S5948@wojtek.tensor.gdynia.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3b2ddd940803062347w3fefeb72w519ac28ca73f24d7@mail.gmail.com> <20080307091731.S5948@wojtek.tensor.gdynia.pl> Cc: freebsd-questions@freebsd.org Subject: Re: Manually opening TCP ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 07 Mar 2008 08:28:32 -0000 On 07/03/2008, Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl> wrote: > > > > I am just wondering if there is a utility (or any feature in FreeBSD) > > that allows me to manually open a TCP port on a machine. I am looking > > for a way that could either allow me to open ALL or many TCP ports on > > a machine. > > man nc > > > > > Also, is there any way of running a service on more than a single > > port, or on all or many ports? > not all, but on more than a single - of course, just start more than once. So I can run a service on all ports, say from 1024 to 65535? Is there a single command that can be used to specify a range of ports we want it to run on, when starting a service? Thanks