From: Jacques Gelinas (jack_at_solucorp.qc.ca)
Date: Tue 05 Feb 2002 - 18:44:39 GMT
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