netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
To: Matteo Croce <technoboy85@gmail.com>, netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] add stealth mode
Date: Thu, 02 Jul 2015 10:23:27 +0200	[thread overview]
Message-ID: <5594F4FF.1000904@6wind.com> (raw)
In-Reply-To: <CAFnufp3wM5rb=B4N8Ad+cLcTu8sx-f9OXpqp33uCKXe=q=je3Q@mail.gmail.com>

Le 02/07/2015 00:53, Matteo Croce a écrit :
> Add option to disable any reply not related to a listening socket,
> like RST/ACK for TCP and ICMP Dest-Unreach for UDP.
> Also disables ICMP replies to echo request and timestamp.
> The stealth mode can be enabled selectively for a single interface.
> ---
>   include/linux/inetdevice.h | 1 +
>   include/linux/ipv6.h       | 1 +
>   include/uapi/linux/ip.h    | 1 +
>   net/ipv4/devinet.c         | 1 +
>   net/ipv4/icmp.c            | 6 ++++++
>   net/ipv4/tcp_ipv4.c        | 3 ++-
>   net/ipv4/udp.c             | 4 +++-
>   net/ipv6/addrconf.c        | 7 +++++++
>   net/ipv6/icmp.c            | 3 ++-
>   net/ipv6/tcp_ipv6.c        | 2 +-
>   net/ipv6/udp.c             | 3 ++-
>   11 files changed, 27 insertions(+), 5 deletions(-)

It is recommended to add an explanation of new sysctl here:
Documentation/networking/ip-sysctl.txt

  reply	other threads:[~2015-07-02  8:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-01 22:53 [PATCH] add stealth mode Matteo Croce
2015-07-02  8:23 ` Nicolas Dichtel [this message]
2015-07-02  8:38   ` Matteo Croce
2015-07-02  8:49     ` Nicolas Dichtel

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=5594F4FF.1000904@6wind.com \
    --to=nicolas.dichtel@6wind.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=technoboy85@gmail.com \
    /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).