Skip to contentSkip to conversation

add helper text to manpage, change helptext in libipt_helper.c

PATCH In review Martin Josefsson 2 participants 2 messages Mar 3, 2003 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add helper text to manpage, change helptext in libipt_helper.c

Hi Harald,

Here's two small patches to fix the help for the helper match.

Signature · 3 lines
/Martin

Never argue with an idiot. They drag you down to their level, then beat you with experience.
iptables.8 renamed from old/iptables.8 +11 -0
@@ -445,6 +445,17 @@
 This module matches the SPIs in ESP header of IPSec packets.
 .TP
 .BR "--espspi " "[!] \fIspi\fP[:\fIspi\fP]"
+.SS helper
+This module matches packets related to a specific conntrack-helper.
+.TP
+.BI "--helper " "string"
+Matches packets related to the specified conntrack-helper.
+.TP
+string can be "ftp" for packets related to a ftp-session on default port.
+For other ports append -portnr to the value, ie. "ftp-2121".
+.br
+Same rules apply for other conntrack-helpers.
+.br
 .SS icmp
 This extension is loaded if `--protocol icmp' is specified.  It
 provides the following option:
extensions/libipt_helper.c renamed from old/libipt_helper.c +1 -1
@@ -14,7 +14,7 @@
 {
 	printf(
 "helper match v%s options:\n"
-"[!] --helper value         Match helper value\n"
+"[!] --helper string        Match helper identified by string\n"
 "\n",
 IPTABLES_VERSION);
 }
#1 lore raw
Quoted 3 lines · Martin Josefsson

Hi Harald,

Here's two small patches to fix the help for the helper match.

thanks a lot!

Quoted 1 line

/Martin

Signature · 3 lines
- Harald Welte <[email protected]>               http://www.gnumonks.org/
============================================================================
Programming is like sex: One mistake and you have to support it your lifetime