From: Mihai RUSU (dizzy_at_roedu.net)
Date: Tue 26 Feb 2002 - 14:57:36 GMT
Hi
Im curently testing 2.4.17ctx-7 with vserver 0.10. While playing this this
I have noticed 2 issues:
- netstat -an reports all connections no matter the curently selected
context
- /sbin/ifconfig shows eth0 for the physical eth device (without any ip)
and my chipv4 ip as a ip alias (eth0:1)
For the first issue I think there can be done a quick hack based on the
sources of openwall patch (www.openwall.org) as follows:
- openwall kernels show on netstat only the connections which belong to
the current userid
- I guess they have a check like current->owner == netstat->conn->owner
and that could be done for vserver as current->s_context ==
netstat->conn->s_context :) (well pseudo code that is)
The second issue doesnt matter.
----------------------------
Mihai RUSU
Disclaimer: Any views or opinions presented within this e-mail are solely
those of the author and do not necessarily represent those of any company,
unless otherwise specifically stated.