Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751106AbbGBIt0 (ORCPT ); Thu, 2 Jul 2015 04:49:26 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:37746 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753778AbbGBItR (ORCPT ); Thu, 2 Jul 2015 04:49:17 -0400 Message-ID: <5594FB04.8070507@6wind.com> Date: Thu, 02 Jul 2015 10:49:08 +0200 From: Nicolas Dichtel Reply-To: nicolas.dichtel@6wind.com Organization: 6WIND User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Matteo Croce CC: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] add stealth mode References: <5594F4FF.1000904@6wind.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1602 Lines: 36 Le 02/07/2015 10:38, Matteo Croce a écrit : > Add option to disable any reply not related to a listening socket, > like RST/ACK for TCP and ICMP Port-Unreachable for UDP. > Also disables ICMP replies to echo request and timestamp. > The stealth mode can be enabled selectively for a single interface. > > Signed-off-by: Matteo Croce > --- > Documentation/networking/ip-sysctl.txt | 12 ++++++++++++ > 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 ++- > 12 files changed, 39 insertions(+), 5 deletions(-) Please, read http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/SubmittingPatches The subject of your email should contain v2 and you should describe the change from v1 after the '---'. Also, right now, net-next is closed, so new features are not accepted. Regards, Nicolas -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/