Re: [vserver] need to listen to many multicast addresses

From: petar hitij <Petar.Hitij_at_gov.si>
Date: Wed 01 Aug 2012 - 12:46:12 BST
Message-id: <20120801114612.GL2795@luba.arso.sigov.si>

Thank you Herbert, I am almost sure I have the hardwired limit.

Will look into the options you have suggested.

Regards
Petar

On Wed, Aug 01, 2012 at 01:21:46PM +0200, Herbert Poetzl wrote:
> On Wed, Aug 01, 2012 at 11:34:23AM +0200, Petar Hitij wrote:
> > Hello,
>
> > I need to listen to many multicast addresses in a vserver.
> > I can use max 16 ip numbers in /etc/vservers/vservername/interfaces/.
>
> > The host is running an older Debian kernel 2.6.18.
>
> first you have to figure out _what_ Linux-VServer patch was
> used in that kernel, because if it actually is a 2.6.18 with
> unmodified patches it must be vs2.0, vs2.1 or vs2.2, which
> all have a hardwired kernel limit of 16 IPs for the network
> isolation context.
>
> you can grep for NB_IPV4ROOT in the kernel source, this will
> give you the limit if present.
>
> > If possible without upgrade :).
>
> you can always backport changes from vs2.3 or simply raise
> the hardcoded limit to your requirements, but in any case
> you need to rebuild the kernel.
>
> HTH,
> Herbert
>
> > Regards
> > Petar Hitij
>
> > # vserver-info
> > Versions:
> > Kernel: 2.6.18-6-vserver-amd64
> > VS-API: 0x00020002
> > util-vserver: 0.30.215; Jun 18 2010, 13:35:17
> >
> > Features:
> > CC: gcc, gcc (Debian 4.4.4-5) 4.4.4
> > CXX: g++, g++ (Debian 4.4.4-5) 4.4.4
> > CPPFLAGS: ''
> > CFLAGS: '-Wall -g -O2 -std=c99 -Wall -pedantic -W
> > -funit-at-a-time'
> > CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W
> > -fmessage-length=0 -funit-at-a-time'
> > build/host: x86_64-pc-linux-gnu/x86_64-pc-linux-gnu
> > Use dietlibc: yes
> > Build C++ programs: yes
> > Build C99 programs: yes
> > Available APIs: v13,net,v21,v22,v23,netv2
> > ext2fs Source: e2fsprogs
> > syscall(2) invocation: alternative
> > vserver(2) syscall#: 236/glibc
> > crypto api: nss
> > python bindings: no
> > use library versioning: yes
> >
> > Paths:
> > prefix: /usr
> > sysconf-Directory: /etc
> > cfg-Directory: /etc/vservers
> > initrd-Directory: $(sysconfdir)/init.d
> > pkgstate-Directory: /var/run/vservers
> > vserver-Rootdir: /var/lib/vservers
Received on Wed Aug 1 12:46:25 2012

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 01 Aug 2012 - 12:46:25 BST by hypermail 2.1.8