About this list Date view Thread view Subject view Author view Attachment view

From: djp_at_comm.it
Date: Mon 11 Nov 2002 - 15:30:31 GMT

On Mon, 2002-11-04 at 06:48, Paul Sladen wrote:

> > (or, alternative, to have a per-context localhost address which will
> > allow a seamless operation of such software).
> Jacques is currently writing code so that binding to the default address
> within a vserver binds to all the IP addresses assigned to the vserver
> rather than the first one (this hasn't been done before because it is a
> technical pain).
> This will open up the possibility of having a local-loopback in the form of
> `127.1.0.ctx' with modifications to the mangling done above so that we still
> appear to be talking to `'.

I come accross some programs that do not use the "localhost" name and
the ip address in /etc/hosts, but rather blindly bind and communicate
with its numeric value (

When binding to this address, the real address is correctly changed to
whatever the context root is, however, there are a few issues which may
need thinking, for example:

Daemons which check the incoming IP address. This will not be
but rather the IP-root (as in named and its controls).

To be usefull, the local loopback should be completely transparent for
the vserver. Bindings should work and report address and
connections to should have client ip address (not
the IP root and *not* the 127.1.0.ctx or 127.1.ctxhi.ctxlo address).

This way daemons which accept connections trough the loopback only will
be happy, while unfriendly (and broken) software which uses
directly will have much more chances of working.

I would be very willing to contribute programming and testing time and
resources to this, as I'm currently trying to get a piece of commercial
binary-only cr*p to run within a context.


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 11 Nov 2002 - 10:47:20 GMT by hypermail 2.1.3