BSD Ports

net/tcpcat 1.2.0 DragonFly

Simple utility for sending/receiving data over a TCP or a Unix-domain socket

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
net
Package size
10.1 KiB, 23.1 KiB installed

Description

From the tcpcat README:

Tcpcat is a simple program that is like `cat' but it works over TCP streams to allow you to cat from one host to another.

The host common way to use this program whould be something like this: on host a: $ tcpcat -l 93255 | gzip -dc | tar xvf - on host b: $ tcpcat -h hosta:93255 file.tar.gz

Another good use for this program is debugging network stuff. When debugging a newtork client or server you can pipe the output of tcpcat to a hex dump (I recomend xxd which comes with vim). Also it can act as a crude telnet server when invoded with --listen, --input, and --output, this mode is quite useful for network program debugging as well.

In the other systems

SystemPortVersion
DragonFlynet/tcpcat1.2.0
FreeBSDnet/tcpcat1.2.0
HardenedBSDnet/tcpcat1.2.0
GhostBSDnet/tcpcat1.2.0

Install

Binary package:

pkg install tcpcat

From DPorts:

cd /usr/dports/net/tcpcat && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The tcpcat port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing