From owner-freebsd-questions@FreeBSD.ORG Fri Mar 7 09:02:59 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 AB061106566C for ; Fri, 7 Mar 2008 09:02:59 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 33FD78FC15 for ; Fri, 7 Mar 2008 09:02:58 +0000 (UTC) (envelope-from girishvenkatachalam@gmail.com) Received: by ug-out-1314.google.com with SMTP id y2so4402138uge.37 for ; Fri, 07 Mar 2008 01:02:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=ANYxtJPAAceqrSS/CIdUrrQ3h+Xh52LbVkaRrjvaI/8=; b=m0w3yHFkDayTiHJwoGTHdjHLlmAXGfrIwcjebny+4XUFktbyNLrJPNeHMGmzGGb1+yhZ3SnW2XgHCaKXUHMZyjW7HkSVeSyRmppRUH0jIqLpFSQPRsIQYp7Qcl+7hcXpw7wC9nzKFiFw9hnzSmfhpb5jSFSQDN51jfSdDbKJ2d4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:reply-to:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=D+bFFhB6dLAITRrjuBPmKSMyguUfriirpBryp5ESYJxQz6Bul7D2xfWThseTxKcFFgICsb6BvsHVaQ743IOwMuXAIuRoh6+xteCOtmSgzk5I7arJzdPyEeqPcYc18eOc5SAjwxriVFiFROTPLgNWP2mOlCZwGI8Kne4uAIcWJMI= Received: by 10.78.141.12 with SMTP id o12mr2789962hud.22.1204880577339; Fri, 07 Mar 2008 01:02:57 -0800 (PST) Received: from saraswathy.madambakam.org ( [59.92.68.138]) by mx.google.com with ESMTPS id j10sm4796578mue.14.2008.03.07.01.02.53 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 07 Mar 2008 01:02:56 -0800 (PST) Received: by saraswathy.madambakam.org (Postfix, from userid 1002) id 9411439FDD3; Fri, 7 Mar 2008 14:32:40 +0530 (IST) Date: Fri, 7 Mar 2008 14:32:40 +0530 From: Girish Venkatachalam To: freebsd-questions@freebsd.org Message-ID: <20080307090240.GB31264@saraswathy.madambakam.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <3b2ddd940803062347w3fefeb72w519ac28ca73f24d7@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3b2ddd940803062347w3fefeb72w519ac28ca73f24d7@mail.gmail.com> User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: Manually opening TCP ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: girishvenkatachalam@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Mar 2008 09:02:59 -0000 On 07:47:19 Mar 07, Siraj Shaikh wrote: > Hello > > 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. > > Also, is there any way of running a service on more than a single > port, or on all or many ports? > This is a very interesting question but unfortunately I dunno the answer. I know that netcat and socat can be used in a loop. I prefer a more elegant way. Wonder if there are tools that do it in a straight forward manner. -Girish