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

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Fri 19 Dec 2003 - 14:47:55 GMT


On Fri, Dec 19, 2003 at 01:25:07PM +0100, Bert De Vuyst wrote:
> On Thursday 18 December 2003 16:53, Herbert Poetzl wrote:
> > On Thu, Dec 18, 2003 at 04:41:15PM +0100, Bert De Vuyst wrote:
> > > I did have a similar problem here. Running 2.4.22-vs1.00,
> > > I could run the daemons on the host system without using chbind.
> > > (the standard debian startup scripts)
> > >
> > > After upgrading to 2.4.23-v.1.22, I did have to bind the daemons
> > > to the host IP-number.
> > >
> > > Otherwise, I couldn't access the daemons in the vservers.
> >
> > you are talking about using 'host' services
> > from one of the vservers via the 'host ip', right?
>
> my test setup:
> server machine1 with a virtual server machine2 running on op of it.
> Both running debian 3.0

okay, lets use a simpler terminology

you have a 'host' which runs debian 3.0 and contains
several 'vservers' or 'vps', again with debian 3.0

the host has running an sshd, smtpd (daemons, servers)?

the vserver has activated an sshd, smtpd?

> Running vserver 1.0, it could access ssh, smtp and ftp on
> machine2 (the virtual server) without changing the configuration
> of the startup scripts on machine1 (the host server).

you are _not_ using the sysvwrappers for the host?

you where able to start sshd on both, the host and
the vservers, without any issues on vs1.00?

you where able to connect to the host sshd from
inside a vserver, without problems on vs1.00?

you where able to connect to the vserver sshd
from the host, without troubles on vs1.00

you where able to ssh to the host with vs1.00?

you where able to ssh to the vserver with vs1.00?

what of the above isn't working with vs1.22?

> I did test this on 3 server machine (some of them
> running 7 virtual servers)
>
> > hmm, could you try if this works again if you
> > use vs1.20 instead of vs1.22?
> Yes. And is it's working again.

this is the _only_ change which IMHO could affect
you, and it was a bugfix ... so I guess I have to
look into it a little more ...

diff -NurpP --minimal linux-2.4.23-vs1.20/net/ipv4/tcp_ipv4.c linux-2.4.23-vs1.21/net/ipv4/tcp_ipv4.c
--- linux-2.4.23-vs1.20/net/ipv4/tcp_ipv4.c Thu Dec 4 20:16:31 2003
+++ linux-2.4.23-vs1.21/net/ipv4/tcp_ipv4.c Thu Dec 11 00:54:59 2003
@@ -206,11 +206,9 @@ static inline int tcp_in_list (struct so
 */
 int tcp_ipv4_addr_conflict (struct sock *sk1, struct sock *sk2)
 {
- int ret = 0;
-
         if (sk1->rcv_saddr) {
                 /* Bind to one address only */
- ret = tcp_in_list (sk2,sk1->rcv_saddr);
+ return tcp_in_list (sk2,sk1->rcv_saddr);
         } else if (sk1->ip_info) {
                 /* A restricted bind(any) */
                 struct iproot_info *ip_info = sk1->ip_info;

> (kernel 2.4.23-vs1.20, vserver tools 0.29 backported from Ola's debian
> package)

TIA,
Herbert

> Best regards,
>
> Bert.
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


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 Fri 19 Dec 2003 - 14:49:06 GMT by hypermail 2.1.3