Date: Fri, 7 Mar 2008 19:02:43 +1030 From: "nepbabu" <nepbabucxspamfree@yahoo.ca> To: Siraj Shaikh <siraj.shaikh@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Manually opening TCP ports Message-ID: <20080307083243.GB9838@everest.volcano.com> In-Reply-To: <3b2ddd940803062347w3fefeb72w519ac28ca73f24d7@mail.gmail.com> References: <3b2ddd940803062347w3fefeb72w519ac28ca73f24d7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <port> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080307083243.GB9838>