From owner-freebsd-questions@FreeBSD.ORG Fri Mar 7 08:33:00 2008 Return-Path: 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 192B8106566B for ; Fri, 7 Mar 2008 08:33:00 +0000 (UTC) (envelope-from nepbabucxspamfree@yahoo.ca) Received: from n29.bullet.mail.mud.yahoo.com (n29.bullet.mail.mud.yahoo.com [68.142.200.152]) by mx1.freebsd.org (Postfix) with SMTP id C34268FC29 for ; Fri, 7 Mar 2008 08:32:59 +0000 (UTC) (envelope-from nepbabucxspamfree@yahoo.ca) Received: from [209.191.108.96] by n29.bullet.mail.mud.yahoo.com with NNFMP; 07 Mar 2008 08:32:59 -0000 Received: from [68.142.201.250] by t3.bullet.mud.yahoo.com with NNFMP; 07 Mar 2008 08:32:59 -0000 Received: from [127.0.0.1] by omp411.mail.mud.yahoo.com with NNFMP; 07 Mar 2008 08:32:59 -0000 X-Yahoo-Newman-Id: 264143.6522.bm@omp411.mail.mud.yahoo.com Received: (qmail 77808 invoked from network); 7 Mar 2008 08:32:58 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Received:X-YMail-OSG:X-Yahoo-Newman-Property:Received:From:Date:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:X-pubkey-ID:X-pubkey-URL:User-Agent; b=qIlX4FQI/SiAEui2a3lS7ay+5hpYvULlaetOxBBjs1kTUCeSK+JBj2LqcSeHN8vAH6okcmoYDmU86+L6ZR4pjcNfWs1edgdG01tVwmuonTAdWZSXQrV4o/m4JDqnB+DOL+D77Q1LwuwGHMRKR3RpUXtWM6F0BbEdQAOWhS5jk0E= ; Received: from unknown (HELO everest.volcano.com) (nepbabucxspamfree@203.192.95.61 with login) by smtp110.mail.mud.yahoo.com with SMTP; 7 Mar 2008 08:32:56 -0000 X-YMail-OSG: eMAgkrMVM1kACtrjkoP_tuVQUYMRyLMRmGmoAQ7pd7rRz9gephPYySV8ixJfpzwQzff7pT4ZrmI8VRIuHzgWRFGUrA-- X-Yahoo-Newman-Property: ymail-3 Received: by everest.volcano.com (sSMTP sendmail emulation); Fri, 07 Mar 2008 19:02:43 +1030 From: "nepbabu" Date: Fri, 7 Mar 2008 19:02:43 +1030 To: Siraj Shaikh Message-ID: <20080307083243.GB9838@everest.volcano.com> References: <3b2ddd940803062347w3fefeb72w519ac28ca73f24d7@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="24zk1gE8NUlDmwG9" Content-Disposition: inline In-Reply-To: <3b2ddd940803062347w3fefeb72w519ac28ca73f24d7@mail.gmail.com> X-pubkey-ID: 1024D/5DAE3BE5 X-pubkey-URL: http://www.livejournal.com/pubkey.bml?user=nepbabu User-Agent: Mutt/1.5.16 (2007-06-09) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 08:33:00 -0000 --24zk1gE8NUlDmwG9 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Siraj, Thus spoke Siraj Shaikh on Friday, 7 March 2008 at 7:47:19 +0000: > Hello >=20 > 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. nc -l bash: for ((i=3D1025; i<1035;i++)); do nc -l $i; done > Also, is there any way of running a service on more than a single > port, or on all or many ports? If you load a service and bind them to a port according to different set of= configurations, it should be possible but I do not know why one might do t= hat especially if it has dependencies on lot of other things. But it is pos= sible definitely. --=20 Cheers, Bikal KC (Please use: nepbababucxspamfree_at_yahoo DOT ca) Journal: http://nepbabu.livejournal.com || pubkey: see header "Rule 6: There is no Rule 6." - Rob Pike "Those who can make you believe absurdities, can make you commit atrocities= =2E" - Fran=C3=A7ois-Marie Arouet --24zk1gE8NUlDmwG9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: http://www.fossnepal.org iD8DBQFH0P2rcd1dCF2uO+URAok1AJwJdgYhOQLFsC8l9v60+tbMYoH0DACbBbk4 8NZTVCyX1MxbTpRoQKS3r4o= =clKn -----END PGP SIGNATURE----- --24zk1gE8NUlDmwG9--