tcpserver waits for incoming connections and, for each connection, runs a program of your choice. Your program receives environment variables showing the local and remote host names, IP addresses, and port numbers.
tcpserver offers a concurrency limit to protect you from running out of processes and memory. When you are handling 40 (by default) simultaneous connections, tcpserver smoothly defers acceptance of new connections.
tcpserver also provides TCP access control features, similar to tcp-wrappers/tcpd's hosts.allow but much faster. Its access control rules are compiled into a hashed format with cdb, so it can easily deal with thousands of different hosts.
This package includes a recordio tool that monitors all the input and output of a server.
tcpclient makes a TCP connection and runs a program of your choice. It sets up the same environment variables as tcpserver.
This package includes several sample clients built on top of tcpclient: who@, date@, finger@, http@, tcpcat, and mconnect.
tcpserver and tcpclient conform to UCSPI, the UNIX Client-Server Program Interface, using the TCP protocol. UCSPI tools are
available for several different networks.
tcpserver offers a concurrency limit to protect you from running out of processes and memory. When you are handling 40 (by default) simultaneous connections, tcpserver smoothly defers acceptance of new connections.
tcpserver also provides TCP access control features, similar to tcp-wrappers/tcpd's hosts.allow but much faster. Its access control rules are compiled into a hashed format with cdb, so it can easily deal with thousands of different hosts.
This package includes a recordio tool that monitors all the input and output of a server.
tcpclient makes a TCP connection and runs a program of your choice. It sets up the same environment variables as tcpserver.
This package includes several sample clients built on top of tcpclient: who@, date@, finger@, http@, tcpcat, and mconnect.
tcpserver and tcpclient conform to UCSPI, the UNIX Client-Server Program Interface, using the TCP protocol. UCSPI tools are
available for several different networks.
Original maintainer | Dmitry Bogatov |
---|---|
Homepage | http://cr.yp.to/ucspi-tcp |
0.88









Distribution | Version | Since | Package | Installed | Packager | |
---|---|---|---|---|---|---|
![]() | deb | 1:0.88-6 | 2019-01-22 | 68.6 kiB | 365 kiB | Dmitry Bogatov |
![]() | deb | 1:0.88-3.1 | 2017-11-10 | 68.7 kiB | 316 kiB | Gerrit Pape |
![]() | deb | 1:0.88-3.1 | 2017-11-10 | 66.1 kiB | 323 kiB | Ubuntu Developers |
![]() | deb | 1:0.88-3.1 | 2017-11-10 | 66.1 kiB | 323 kiB | Ubuntu Developers |
![]() | deb | 1:0.88-3.1 | 2019-01-14 | 66.1 kiB | 323 kiB | Ubuntu Developers |
![]() | deb | 1:0.88-6 | 2019-01-19 | 69.6 kiB | 382 kiB | Ubuntu Developers |
![]() | deb | 1:0.88-6 | 2019-06-17 | 69.6 kiB | 382 kiB | Ubuntu Developers |
![]() | deb | 1:0.88-6 | 2020-01-07 | 69.6 kiB | 382 kiB | Ubuntu Developers |
![]() | deb | 1:0.88-3 | 2017-11-10 | 110 kiB | 436 kiB | Ubuntu Developers |
Manual pages
addcr(1)
addcr - converts 0x0a to 0x0d 0x0a
argv0(1)
argv0 - run a program with a specified 0th argument
date@(1)
date@ - print the date on a host
delcr(1)
delcr - remove a CR before each LF
finger@(1)
finger@ - get user information from a host
fixcrio(1)
fixcrio - inserts missing CRs at the ends of lines.
http@(1)
http@ - get a web page from a host through HTTP
mconnect(1)
mconnect - connect to the SMTP server on a host
rblsmtpd(1)
rblsmtpd - blocks mail from RBL-listed sites. It works with any SMTP server that can run under tcpserver(1)
recordio(1)
recordio - record the input and output of a program
tcpcat(1)
tcpcat - print data from a TCP port
tcpclient(1)
tcpclient - create an outgoing TCP connection
tcprules(1)
tcprules [OPTIONS] <rules.cdb> <rules.tmp>
tcprulescheck(1)
tcprulescheck - checks tcprules
tcpserver(1)
tcpserver - accept incoming TCP connections
who@(1)
who@ - print list of active users on a host
Latest updates

Ubuntu 20.04 focal/universe: Version 1:0.88-6 introduced
2020-01-07
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 reintroduced
2019-10-10
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 removed
2019-10-10

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 reintroduced
2019-10-10
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 removed
2019-10-10

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 reintroduced
2019-09-25
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 removed
2019-09-25

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 reintroduced
2019-09-25
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 removed
2019-09-25

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 reintroduced
2019-09-06
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 removed
2019-09-06

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 reintroduced
2019-09-06
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 removed
2019-09-06

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 reintroduced
2019-09-06
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 removed
2019-09-06

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 reintroduced
2019-09-06
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 removed
2019-09-06

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 reintroduced
2019-09-06
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 removed
2019-09-06

Ubuntu 19.10 eoan/universe: Version 1:0.88-6 reintroduced
2019-09-05
- Remove references to patched-out `rbl.maps.vix.com' host from manpage (Closes: #681739)
- Install example http server, serving log file with chunked transfer encoding (Closes: #772209)
Related packages
ucspi-tcp-ipv6 - command-line tools for building TCP client-server applications (IPv6)