---
name: "tcplog"
section: "8"
platform: "linux"
package: "jail"
version: "1:1.6-6"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/tcplog"
---

# tcplog(8)

TCP packet logger.

## NAME

tcplog - TCP packet logger.

## SYNOPSIS

**tcplog** \[-f, --file *filename* \] \[-n, --no-resolve\] \[-v, --version\]

## DESCRIPTION

**tcplog** , a TCP packet logger, is a part of the **jail** (just another ip logger) package.

tcplog is a small (daemon) process which logs all TCP connection requests to the local host. The syslog level at which a given packet is logged is configurable depending on the destination port. Packets from specific hosts can be ignored, and a default log level can be specified.

tcplog can be useful in detecting attempted denials of service, and monitoring network traffic, especially when used in conjunction with **[icmplog(8)](/icmplog/8.md).**

The configuration is explained in the **[tcplog.conf(5)](/tcplog.conf/5.md)** manual page.

## OPTIONS

- \-f, --file \[ filename \]

  Use *filename* as the configuration file instead of the default *(/etc/tcplog.conf).*

- \-n, --no-resolve

  Do not resolve IP addresses to hostnames.

- \-v, --version

  Display **[tcplog(8)](/tcplog/8.md)** version.

## SEE ALSO

**[tcplog.conf(5)](/tcplog.conf/5.md), [icmplog(8)](/icmplog/8.md), [icmplog.conf(5)](/icmplog.conf/5.md), [syslogd(8)](/syslogd/8.md)**

## DISTRIBUTION

jail is distributed under the Artistic License.

## AUTHOR

Abhijit Menon-Sen \<ams@wiw.org\>

$Id: tcplog.8,v 1.7 2001/02/19 10:06:17 ams Exp $
