From: Patrick McHardy <kaber@trash.net>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: Jan Engelhardt <jengelh@medozas.de>,
Netfilter Developer Mailing List
<netfilter-devel@vger.kernel.org>, wintre <mikeacar@gmail.com>
Subject: Re: DROP still returns -EPERM to userspace in OUTPUT chain
Date: Mon, 25 May 2009 16:56:52 +0200 [thread overview]
Message-ID: <4A1AB1B4.6010700@trash.net> (raw)
In-Reply-To: <4A18100B.1080803@netfilter.org>
Pablo Neira Ayuso wrote:
> Jan Engelhardt wrote:
>> So just wanting to know - are people supposed to use xt_STEAL instead
>> if they really want it silently dropped?
>
> Well, I still would like to know any application that can benefit from
> this, apart from broken applications.
I'd suggest to encode an errno code in the verdict and return that
one. Currently we're not able to propagate f.i. -EHOSTUNREACH from
ip_route_me_harder() and always return -EPERM. This could then be
used to make the errno code configurable for DROP, similar to
unreachable routes.
next prev parent reply other threads:[~2009-05-25 14:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-22 9:44 DROP still returns -EPERM to userspace in OUTPUT chain Jan Engelhardt
2009-05-23 10:47 ` Pablo Neira Ayuso
2009-05-23 11:11 ` Jan Engelhardt
2009-05-23 11:43 ` Pablo Neira Ayuso
2009-05-23 13:20 ` Jan Engelhardt
2009-05-23 15:02 ` Pablo Neira Ayuso
2009-05-25 14:56 ` Patrick McHardy [this message]
2009-06-07 4:22 ` Mike Acar
2009-06-08 13:56 ` 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=4A1AB1B4.6010700@trash.net \
--to=kaber@trash.net \
--cc=jengelh@medozas.de \
--cc=mikeacar@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=pablo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).