All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: "Niels Möller" <nisse@southpole.se>
Cc: netdev@vger.kernel.org, Jonas Bonn <jonas@southpole.se>
Subject: Re: What's the right way to use a *large* number of source addresses?
Date: Fri, 23 May 2014 12:11:44 +0200	[thread overview]
Message-ID: <20140523101144.GH24523@breakpoint.cc> (raw)
In-Reply-To: <6zlhtsvnqp.fsf@southpole.se>

Niels Möller <nisse@southpole.se> wrote:
> So now I'm trying to figure out what's the Right Way to enable traffic
> generations with a large number of source addresses, to possibly retire
> the proprietary kernel module. I see a couple of different approaches:

[..]

> 3. Just set the desired local address with the bind call. Currently,
>    this gives an EADDRNOTAVAIL error, so the first step would be some
>    option to allow arbitrary source addresses.

See 'Making non-local sockets work' in Documentation/networking/tproxy.txt

  reply	other threads:[~2014-05-23 10:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-23  9:38 What's the right way to use a *large* number of source addresses? Niels Möller
2014-05-23 10:11 ` Florian Westphal [this message]
2014-05-23 10:49   ` Lukas Tribus
2014-05-23 12:26   ` Niels Möller
2014-05-23 14:12   ` Niels Möller
2014-05-23 12:53 ` sowmini varadhan
2014-05-23 14:14   ` Eric Dumazet
2014-05-24 12:06     ` Jamal Hadi Salim
2014-05-23 22:39 ` Cong Wang
2014-05-26  6:39   ` Niels Möller
2014-05-24 11:58 ` Jamal Hadi Salim
2014-05-24 14:44   ` Richard Weinberger
2014-05-24 15:13     ` Jamal Hadi Salim
2014-05-24 16:02       ` Richard Weinberger
2014-05-24 17:54         ` David Miller
2014-05-24 18:30         ` Jamal Hadi Salim

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=20140523101144.GH24523@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=jonas@southpole.se \
    --cc=netdev@vger.kernel.org \
    --cc=nisse@southpole.se \
    /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.