All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Maciej Żenczykowski" <zenczykowski@gmail.com>
To: Vincent Bernat <bernat@luffy.cx>
Cc: netdev@vger.kernel.org, davem@davemloft.net, yoshfuji@linux-ipv6.org
Subject: Re: nonlocal_bind and IPv6
Date: Thu, 15 Dec 2011 19:58:01 -0800	[thread overview]
Message-ID: <CAHo-OoxrYpFMBVfriB7HhL-BpMXJgCe1-mL4L8UpsDQJifMZvQ@mail.gmail.com> (raw)
In-Reply-To: <1323879648-419-1-git-send-email-bernat@luffy.cx>

why not simply use the IP_TRANSPARENT or IP_FREEBIND socket options?

On Wed, Dec 14, 2011 at 08:20, Vincent Bernat <bernat@luffy.cx> wrote:
> This is a second tentative to port ip_nonlocal_bind to IPv6. The two
> patches are independant. The first patch enables
> net.ipv6.ip_nonlocal_bind and is "namespace aware". The second patch
> modifies net.ipv4.ip_nonlocal_bind to also be "namespace aware". I
> don't know if this is something important.
>
> I did not test the SCTP part of the second patch (but it compiles).
>
>  Documentation/networking/ip-sysctl.txt |    5 +++++
>  include/net/netns/ipv4.h               |    1 +
>  include/net/netns/ipv6.h               |    1 +
>  net/ipv4/af_inet.c                     |    6 +-----
>  net/ipv4/ping.c                        |    2 +-
>  net/ipv4/sysctl_net_ipv4.c             |   16 +++++++++-------
>  net/ipv6/af_inet6.c                    |    6 ++++--
>  net/ipv6/sysctl_net_ipv6.c             |    8 ++++++++
>  net/sctp/protocol.c                    |    2 +-
>  9 files changed, 31 insertions(+), 16 deletions(-)
>
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-12-16  3:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-14 16:20 nonlocal_bind and IPv6 Vincent Bernat
2011-12-14 16:20 ` [PATCH 1/2] net/ipv6: add ip_nonlocal_bind sysctl for IPv6 Vincent Bernat
2011-12-14 16:20 ` [PATCH 2/2] net/ipv4: bind ip_nonlocal_bind to current netns Vincent Bernat
2011-12-16  3:58 ` Maciej Żenczykowski [this message]
2011-12-16  6:24   ` nonlocal_bind and IPv6 Vincent Bernat
2011-12-16  7:06     ` David Miller
2011-12-16  9:53       ` Vincent Bernat
2011-12-16 11:10         ` Francois Romieu
2011-12-16 18:20           ` David Miller
2011-12-16 18:18         ` David Miller
2011-12-17 10:52           ` Vincent Bernat
2011-12-16  6:46 ` YOSHIFUJI Hideaki
2011-12-16  9:46   ` Vincent Bernat
  -- strict thread matches above, loose matches on Subject: below --
2011-12-12 13:18 Vincent Bernat

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=CAHo-OoxrYpFMBVfriB7HhL-BpMXJgCe1-mL4L8UpsDQJifMZvQ@mail.gmail.com \
    --to=zenczykowski@gmail.com \
    --cc=bernat@luffy.cx \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=yoshfuji@linux-ipv6.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.