mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shaya Potter <spotter@cs.columbia.edu>
To: linux-kernel@vger.kernel.org
Subject: compartmentalizing INADDR_ANY
Date: Tue, 30 Sep 2003 19:25:06 -0400	[thread overview]
Message-ID: <1064964305.14962.13.camel@zaphod> (raw)

I'm trying to work on a project to compartmentalize INADDR_ANY so that
an application doesn't have to be modified, but can run in an
environment where it has less access to machine resources.  It's mostly
proof of concept/researchy so solution can be ugly for now, but what
would I have to do to effectively bind a single socket to multiple
adapters, so that one can mimic INADDR_ANY behavior?

I'm not anywhere comfortable with the networking code yet, but in
looking through the code briefly, it seems like there are these "hash
buckets" that get searched through to see if/what socket is bound to a
particular port.  Is it as simple as mucking with those internals and
having multiple of those buckets point to the same socket?

has anyone done anything like this b4, or even thought about it?

oh, and I'd appreciate being CC'd as my l-k backlog is back to over 10k
message :(

thanks,

shaya


                 reply	other threads:[~2003-09-30 23:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1064964305.14962.13.camel@zaphod \
    --to=spotter@cs.columbia.edu \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®