re: Connection Ip address of a context

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

From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Tue Feb 05 2002 - 13:44:39 EST


On Tue, 5 Feb 2002 14:56:00 -0500, Dave wrote
> Hi,
>
> i wonder how difficult it is to modify the kernel so that it uses the
> context ip address ad a source address when connecting to external services.
>
> Right now, the host server ip address is used, and this prevents accurate
> traffic accounting.

???

This is what it is doing right now. Something must be missing.
Do you have an example (an application) I can use to replicate the problem.

For example, if you do this

        /usr/sbin/chbind --ip 1.2.3.4 /bin/sh
        telnet some_host

you will find it is not working since it is trying to bind to 1.2.3.4 (which is
for most people, not a valid interface).

---------------------------------------------------------
Jacques Gelinas <jack_at_solucorp.qc.ca>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc


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

This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:00 EDT