Add xt_LOGMARK (nfmark, ctmark, secmark logger)

xt_LOGMARK dumps the nfmark (packet mark), ctmark (connection mark)
and/or secmark to syslog.

Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
This commit is contained in:
Jan Engelhardt
2008-01-30 13:54:57 +01:00
parent f53dc9fbaf
commit 6d2998588d
7 changed files with 308 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
The LOGMARK target will log packet and connection marks to syslog.
.TP
\fB--log-level\fR \fIlevel\fR
A logging level between 0 and 8 (inclusive).
.TP
\fB--log-prefix\fR \fIstring\fR
Prefix log messages with the specified prefix; up to 29 bytes long, and useful
for distinguishing messages in the logs.
.TP
\fB--log-nfmark\fR
Include the packet mark in the log.
.TP
\fB--log-ctmark\fR
Include the connection mark in the log.
.TP
\fB--log-secmark\fR
Include the packet secmark in the log.