From: Herve Eychenne <rv@wallfire.org>
To: Netfilter Development <netfilter-devel@lists.netfilter.org>
Subject: ERROR target in /proc/net/ip_tables_targets
Date: Thu, 27 Nov 2003 05:28:54 +0100 [thread overview]
Message-ID: <20031127042854.GE1084@eychenne.org> (raw)
Hi,
Yet another thing to be patched that would probably take more time
being added to TODO list than being done. ;-)
# cat /proc/net/ip_tables_targets
REJECT
TCPMSS
LOG
MASQUERADE
TOS
DNAT
SNAT
ERROR
#
Hmmm... well, "\nERROR\n" seems to be an intruder, don't you think?
I looked at the code, and this ERROR target seems to be a marker for
the beginning of user-chains... but you will agree with me that this
implementation detail has absolutely nothing to do in a target listing
publicly available to userspace.
I would have been happy to write a small patch to fix this, but as I
cannot really explain the presence of the preceding '\n' after a quick
look, I prefer to leave that "removal" to more experienced people.
Thanks in advance.
Herve
--
_
(°= Hervé Eychenne
//)
v_/_ WallFire project: http://www.wallfire.org/
next reply other threads:[~2003-11-27 4:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-27 4:28 Herve Eychenne [this message]
2003-11-27 4:53 ` ERROR target in /proc/net/ip_tables_targets Patrick McHardy
2003-11-27 5:07 ` Herve Eychenne
2003-11-27 5:20 ` Patrick McHardy
2004-03-25 20:17 ` Herve Eychenne
2004-03-25 22:55 ` Patrick McHardy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031127042854.GE1084@eychenne.org \
--to=rv@wallfire.org \
--cc=netfilter-devel@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.