public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor•org>
To: Vasiliy Kulikov <segoon@openwall•com>
Cc: David Miller <davem@davemloft•net>,
	solar@openwall•com, linux-kernel@vger•kernel.org,
	netdev@vger•kernel.org, peak@argo•troja.mff.cuni.cz,
	kees.cook@canonical•com, dan.j.rosenberg@gmail•com,
	eugene@redhat•com, nelhage@ksplice•com, kuznet@ms2•inr.ac.ru,
	pekkas@netcore•fi, jmorris@namei•org, yoshfuji@linux-ipv6•org,
	kaber@trash•net, linux-man@vger•kernel.org
Subject: Re: [PATCH v3] net: ipv4: add IPPROTO_ICMP socket kind
Date: Fri, 13 May 2011 14:30:43 -0700	[thread overview]
Message-ID: <m2wrhuxp8c.fsf@firstfloor.org> (raw)
In-Reply-To: <20110513200100.GA3875@albatros> (Vasiliy Kulikov's message of "Sat, 14 May 2011 00:01:00 +0400")

Vasiliy Kulikov <segoon@openwall•com> writes:

> This patch adds IPPROTO_ICMP socket kind.  It makes it possible to send
> ICMP_ECHO messages and receive the corresponding ICMP_ECHOREPLY messages
> without any special privileges.  In other words, the patch makes it
> possible to implement setuid-less and CAP_NET_RAW-less /bin/ping.  In
> order not to increase the kernel's attack surface, the new functionality
> is disabled by default, but is enabled at bootup by supporting Linux
> distributions, optionally with restriction to a group or a group range
> (see below).

You'll need to do a manpage patch too. Otherwise noone will know how to use
it.

-Andi

-- 
ak@linux•intel.com -- Speaking for myself only

  parent reply	other threads:[~2011-05-13 21:30 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-09 10:15 [PATCH] net: ipv4: add IPPROTO_ICMP socket kind Vasiliy Kulikov
2011-04-12  5:06 ` Solar Designer
2011-04-12 21:25   ` David Miller
2011-04-13 11:22     ` Vasiliy Kulikov
2011-05-05 11:32     ` Vasiliy Kulikov
2011-05-10 18:09     ` [PATCH v2] " Vasiliy Kulikov
2011-05-10 19:15       ` David Miller
2011-05-10 19:45         ` Vasiliy Kulikov
2011-05-13 20:01         ` [PATCH v3] " Vasiliy Kulikov
2011-05-13 20:08           ` David Miller
2011-05-13 21:30           ` Andi Kleen [this message]
     [not found]             ` <m2wrhuxp8c.fsf-Vw/NltI1exuRpAAqCnN02g@public.gmane.org>
2011-05-13 22:22               ` [PATCH net-next-2.6] net: ipv4: add ping_group_range documentation Eric Dumazet
2011-05-15  8:18           ` [PATCH net-next-2.6] net: ping: dont call udp_ioctl() Eric Dumazet
2011-05-15 21:30             ` Solar Designer
2011-05-15 21:44               ` David Miller
2011-05-16  7:26                 ` [PATCH net-next-2.6 v2] " Eric Dumazet
2011-05-16 12:48                   ` Vasiliy Kulikov
2011-05-16 15:50                   ` David Miller
2011-04-13 10:29 ` [PATCH] net: ipv4: add IPPROTO_ICMP socket kind Alexey Dobriyan
2011-04-13 11:32   ` Vasiliy Kulikov
2011-04-14  9:16     ` Alexey Dobriyan
2011-05-22 16:01       ` Pavel Kankovsky
2011-05-22 17:46         ` Vasiliy Kulikov
2011-04-14  1:53   ` Simon Horman

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=m2wrhuxp8c.fsf@firstfloor.org \
    --to=andi@firstfloor$(echo .)org \
    --cc=dan.j.rosenberg@gmail$(echo .)com \
    --cc=davem@davemloft$(echo .)net \
    --cc=eugene@redhat$(echo .)com \
    --cc=jmorris@namei$(echo .)org \
    --cc=kaber@trash$(echo .)net \
    --cc=kees.cook@canonical$(echo .)com \
    --cc=kuznet@ms2$(echo .)inr.ac.ru \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-man@vger$(echo .)kernel.org \
    --cc=nelhage@ksplice$(echo .)com \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=peak@argo$(echo .)troja.mff.cuni.cz \
    --cc=pekkas@netcore$(echo .)fi \
    --cc=segoon@openwall$(echo .)com \
    --cc=solar@openwall$(echo .)com \
    --cc=yoshfuji@linux-ipv6$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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