Manually opening TCP ports

Fred C fred at bsdhost.net
Fri Mar 7 20:12:19 UTC 2008


You can do that with bash. Ex:

$ cat </dev/tcp/nist1.symmetricom.com/13
54496 08-01-31 02:30:53 00 0 3 345.7 UTC(NIST) *
for more informaiton on how to do network programing with bash
http://blogmag.net/blog/read/49/Network_programing_with_bash

-fred-

On Mar 6, 2008, at 11:47 PM, 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?
>
> Thanks
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org 
> "
>

-- 
Fred C!
PGP-KeyID: E7EA02EC3B487EE9
PGP-FingerPrint: A906101E2CCDBB18D7BD09AEE7EA02EC3B487EE9





More information about the freebsd-questions mailing list