[Vserver] Re: IPV6 and VSERVER ?

From: HongDan <hongdanstar_at_gmail.com>
Date: Tue 30 May 2006 - 08:42:24 BST
Message-ID: <000201c683bc$a5a56c90$1418423b@deepinb6b12523>

I want to test Bruno's ipv6 patch, but where can I get the latest vserver-2.
1.1 patch for kernel-2.6.16.18?

I've get kernel-2.6.16.18 from www.kernel.org, and
patch-2.6.16.18-vs2.1.1rc21-ipv6a.diff from
http://homepage.internet.lu/brunop/vserver/. But I can't get vs2.1.1 patch
for kernel-2.6.16.18. I searched in
http://vserver.13thfloor.at/Experimental/, but only get patch-2.6.16.17-vs2.
1.1-rc21.diff.

Thanks!

-----邮件原件-----
发件人: vserver-bounces@list.linux-vserver.org [mailto:vserver-bounces@list.
linux-vserver.org] 代表 vserver-request@list.linux-vserver.org
发送时间: 2006年5月27日 18:00
收件人: vserver@list.linux-vserver.org
主题: Vserver Digest, Vol 26, Issue 46

Send Vserver mailing list submissions to
        vserver@list.linux-vserver.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://list.linux-vserver.org/mailman/listinfo/vserver
or, via email, send a message with subject or body 'help' to
        vserver-request@list.linux-vserver.org

You can reach the person managing the list at
        vserver-owner@list.linux-vserver.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Vserver digest..."

Today's Topics:

   1. Re: About the tcp/ip stack ... (Andrew Schulman)
   2. Re: Re: About the tcp/ip stack ... (Avery Pennarun)
   3. Re: IPV6 and VSERVER ? (Bruno)
   4. "Faketime Preload library" was the tip - thank you Re:
      [Vserver] My ISP unable to use ntp ; ( - How can I change
      /etc/localtime with ntp? (Robert Michel)
   5. Multiple NICs, multiple networks: Revisited (Roderick A. Anderson)
   6. Re: About the tcp/ip stack ... (Andrew Schulman)
   7. guest o/s on vserver (markandeya)
   8. Re: Re: About the tcp/ip stack ... (Alex Lyashkov)

----------------------------------------------------------------------

Message: 1
Date: Fri, 26 May 2006 06:18:39 -0400
From: Andrew Schulman <andrex@alumni.utexas.net>
Subject: [Vserver] Re: About the tcp/ip stack ...
To: vserver@list.linux-vserver.org
Message-ID: <kfld72do5icu2v76n6ofiah75cqcjm899b@4ax.com>
Content-Type: text/plain; charset=us-ascii

> Few days ago I've tested freevps o a debian with 2.6 kernel ...
>
> in each vserver appear a "lo" loopback interface and a "ethX"
> virtual interface.
> so it's possible to install quasi all packages ... except DHCPD for
> example
>
> FreeVPS can't handle dhcpd VSERVER but seems to isolate more each server ?
>
> This the answer from FreeVPS team to my question "Does it possible to
> run ISC DHCPD server under Freevps"
>
> "original vserver don`t use virtualization for tcp stack.
>
> all vps`s and host use same stack, but freevps virtualize tcp stack for
> decrease load.
> I`m sorry, but it`s only second requests for this feature after 3 years
> FreeVPS project..."
>
>
> "I don`t try this but it`s can be don`t work with FreeVPS.
> dhcpd use bpf for get requests, but bpf level very poor virtualizated at
> FreeVPS.
> I have plan to rewrite vnetdev module for use L2 address for separate
> packets between contexts and ability use any vps as default gateway for
> all other, but it`s not for 1.5 branch.
> At current time separate packets between contexts work with L3 addresses
> (IPv4/v6)."

Sorry if this is OT for this list, but let me see if I understand: are you
saying that FreeVPS' virtual network interfaces isolate TCP traffic, but not
UDP? And therefore dhcpd won't run in a FreeVPS VPS? Can this really be
true? I can't find any other mention of it, and
http://www.freevps.com/tracker.html says that FreeVPS has "private udp
socket lists".

If this is true it's very bad for FreeVPS.

Thanks,
Andrew.

------------------------------

Message: 2
Date: Fri, 26 May 2006 10:08:26 -0400
From: Avery Pennarun <apenwarr@nit.ca>
Subject: Re: [Vserver] Re: About the tcp/ip stack ...
To: vserver@list.linux-vserver.org
Message-ID: <20060526140826.GC2177@worldvisions.ca>
Content-Type: text/plain; charset=us-ascii

On Fri, May 26, 2006 at 06:18:39AM -0400, Andrew Schulman wrote:

> > "I don`t try this but it`s can be don`t work with FreeVPS.
> > dhcpd use bpf for get requests, but bpf level very poor virtualizated at
> > FreeVPS.
> > I have plan to rewrite vnetdev module for use L2 address for separate
> > packets between contexts and ability use any vps as default gateway for
> > all other, but it`s not for 1.5 branch.
> > At current time separate packets between contexts work with L3 addresses
> > (IPv4/v6)."
>
> Sorry if this is OT for this list, but let me see if I understand: are
you
> saying that FreeVPS' virtual network interfaces isolate TCP traffic, but
not
> UDP? And therefore dhcpd won't run in a FreeVPS VPS? Can this really be
> true? I can't find any other mention of it, and
> http://www.freevps.com/tracker.html says that FreeVPS has "private udp
> socket lists".
>
> If this is true it's very bad for FreeVPS.

Although dhcp packets use UDP, they're very weird UDP packets because the
client doesn't necessarily have an IP address at the time it needs to
receive them. Thus, dhcpd uses a different socket layer than normal
UDP/TCP, which I gather from the above is not divided between contexts in
freevps.

Almost nothing uses that socket layer except things like tcpdump, dhcpd,
some intrusion detection systems, and so on.

Have fun,

Avery

------------------------------

Message: 3
Date: Fri, 26 May 2006 17:25:47 +0200
From: Bruno <bonbons67@internet.lu>
Subject: Re: [Vserver] IPV6 and VSERVER ?
To: "Linux-VServer ML" <vserver@list.linux-vserver.org>
Cc: Yann Dupont <Yann.Dupont@univ-nantes.fr>
Message-ID: <200605261725.47741.bonbons67@internet.lu>
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

My IPv6 patch has progressed a lot during the last days.
You can fetch the latest version from:
    http://homepage.internet.lu/brunop/vserver/

Status of the patch at time of this writing:
- add/remove IPv6 address to/from context
- limit source of outgoing TCP/UDP packets
- limit possible addresses for binding sockets
- while filtering guest's devices, show those with available IPv6 addresses
- display IPv6 addresses in /proc/virtnet/<nid>/...
Limitations:
- Multicast no tested (behavior is side-effect of UDP)
- Possible race condition when removing ipv6 module (with simultaneous
listing
of devices inside guest)
- RAW sockets are not filtered (at most as sideeffect)

For userspace not sure if util-vserver can already manipulate IPv6 addresses

associated to guest...
Possible alternative: vserver-utils (1.0.4 branch, svn HEAD) with libvserver

(trunk, svn HEAD) has support for it. (vncontext -A -6 -a ::1 -n 123)

Please report you success or failure, and good luck while testing!
Bruno

IRC at #vserver: bonbons

On Monday 17 April 2006 04:58, Herbert Poetzl wrote:
> On Sun, Apr 16, 2006 at 09:59:18PM +0200, Sibastien CRAMATTE wrote:
> > I hope that coming soon 've got a dedicaded server with
> > IPV6 address block that waiting for :)
>
> well, once we are starting ipv6 stuff, we definitely
> need folks testing that, so it won't hurt to check
> the ML now and then and/or volunteer for some testing
> (that might speed up the process significantly)
>
> TIA,
> Herbert
>
> > Bruno a icrit :
> > >On Sunday 16 April 2006 20:40, Sibastien CRAMATTE wrote:
> > >>Hello
> > >>
> > >>Could you confirm me if IPV6 not works with VSERVER ?
> > >>I believe that I've readen that not yet ...
> > >>
> > >>Bye
> > >
> > >Currently Linux-VServer does not support IPv6, but a patch for IPv6
> > >is being written. Support will be equivalent to current IPv4 support.
> > >
> > >Bruno
> > >
> > >#vserver: bonbons

------------------------------

Message: 4
Date: Fri, 26 May 2006 17:26:34 +0200
From: Robert Michel <news@robertmichel.de>
Subject: "Faketime Preload library" was the tip - thank you Re:
        [Vserver] My ISP unable to use ntp ; ( - How can I change
        /etc/localtime with ntp?
To: vserver@list.linux-vserver.org
Message-ID: <20060526152634.GA3311@it1.de>
Content-Type: text/plain; charset=us-ascii

Salve Herbert!

Thank you for your tip ;)

Herbert Poetzl schrieb am Mittwoch, den 24. Mai 2006 um 16:03h:
> with a preload library (or a modified libc)

I found faketime preload library:
http://www.code-wizards.com/projects/libfaketime/index.html
and with this hack i will solve my problem,
I already compiled it and started to use it/play with it. :)

I will write a small report/howto about it
in the next to weeks for this list, my webpage....

Thanks again for the tip.

Have a nice weekend,
rob

------------------------------

Message: 5
Date: Fri, 26 May 2006 09:55:57 -0700
From: "Roderick A. Anderson" <raanders@acm.org>
Subject: [Vserver] Multiple NICs, multiple networks: Revisited
To: vserver <vserver@list.linux-vserver.org>
Message-ID: <4477331D.5040009@acm.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I have looked at "http://linux-vserver.org/Recipes" -- "configuring
routing for a server with two network interfaces" and it makes sense but
since I use sysv ( Redhat/Fedora/CentOS ) systems I'm not sure how to
accomplish the same thing. That is at boot or network restart time
without user intervention.

Any R/F/C users that are doing multiple networks and routing on the list
that can share their knowledge?

TIA,
Rod

-- 
------------------------------
Message: 6
Date: Fri, 26 May 2006 12:49:53 -0400
From: Andrew Schulman <andrex@alumni.utexas.net>
Subject: [Vserver] Re: About the tcp/ip stack ...
To: vserver@list.linux-vserver.org
Message-ID: <n9ce72daok6nh9br77f3poernjb1oipi8h@4ax.com>
Content-Type: text/plain; charset=us-ascii
> > > "I don`t try this but it`s can be don`t work with FreeVPS.
> > > dhcpd use bpf for get requests, but bpf level very poor virtualizated
at
> > > FreeVPS.
> > > I have plan to rewrite vnetdev module for use L2 address for separate
> > > packets between contexts and ability use any vps as default gateway
for
> > > all other, but it`s not for 1.5 branch.
> > > At current time separate packets between contexts work with L3
addresses
> > > (IPv4/v6)."
> > 
> > Sorry if this is OT for this list, but let me see if I understand:  are
you
> > saying that FreeVPS' virtual network interfaces isolate TCP traffic, but
not
> > UDP?  And therefore dhcpd won't run in a FreeVPS VPS?  Can this really
be
> > true?  I can't find any other mention of it, and
> > http://www.freevps.com/tracker.html says that FreeVPS has "private udp
> > socket lists".
> > 
> > If this is true it's very bad for FreeVPS.
> 
> Although dhcp packets use UDP, they're very weird UDP packets because the
> client doesn't necessarily have an IP address at the time it needs to
> receive them.  Thus, dhcpd uses a different socket layer than normal
> UDP/TCP, which I gather from the above is not divided between contexts in
> freevps.
Aren't they just broadcast packets, sent to 255.255.255.255 on port 67/udp?
Anyway, this is OT here so I'll pursue it on the FreeVPS lists.  Thanks,
Andrew.
------------------------------
Message: 7
Date: Fri, 26 May 2006 19:09:27 +0530
From: markandeya <markandeya@sriaurobindoashram.com>
Subject: [Vserver] guest o/s on vserver
To: vserver@list.linux-vserver.org
Message-ID: <1148650767.6164.6.camel@A6Mandrake>
Content-Type: text/plain
Dear Friends,
I would like to install numerous flavours of Linux on one machine using
vserver. Thus i can have one o/s as host like centos or Mandriva and
then run Suse, Ubuntu, Fedora, gentoo, etc. as guest virtual servers.
How does one install these guests? ARe there images so less disk space
is used for installation and shared files(kernal) need not be
duplicated? 
Sorry, this is mentioned in other documentation but i could not find an
indepth or step by step method/explanation. Please any help or
explanation or reference to a documentation source. Thank you so much.
Markandeya 
------------------------------
Message: 8
Date: Sat, 27 May 2006 09:13:38 +0300
From: Alex Lyashkov <shadow@psoft.net>
Subject: Re: [Vserver] Re: About the tcp/ip stack ...
To: "vserver@list.linux-vserver.org" <vserver@list.linux-vserver.org>
Message-ID: <1148710418.3253.7.camel@berloga.shadowland>
Content-Type: text/plain
> > 
> > Although dhcp packets use UDP, they're very weird UDP packets because
the
> > client doesn't necessarily have an IP address at the time it needs to
> > receive them.  Thus, dhcpd uses a different socket layer than normal
> > UDP/TCP, which I gather from the above is not divided between contexts
in
> > freevps.
> 
> Aren't they just broadcast packets, sent to 255.255.255.255 on port
67/udp?
> Anyway, this is OT here so I'll pursue it on the FreeVPS lists.  Thanks,
> Andrew.
> 
dhcpd don`t use udp sockets. dhcpd use raw socket and receive packets
via bpfX device. It`s one one reason who dhcpd don`t work with later
versions FreeVPS, but now i release patch to fix it and use L2 address
to inter context routing. 
 
-- 
FreeVPS Developers Team  http://www.freevps.com
Positive Software        http://www.psoft.net
------------------------------
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
End of Vserver Digest, Vol 26, Issue 46
***************************************
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue May 30 08:43:49 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 30 May 2006 - 08:43:57 BST by hypermail 2.1.8