Re: [vserver] Help with net_raw / ping needed

From: Thomas Westlund <thomas_at_westlund.no>
Date: Sun 21 Oct 2007 - 12:06:00 BST
Message-id: <200710211306.00578.thomas@westlund.no>

Hi,

It turned out it was Iptables that was the culprit, I was just baffled by
the "sendmsg: Operation not permitted", It works great now.

I believe that Asterisk only needs the SYS_NICE capability

On Saturday 20 October 2007 02:38:25 Herbert Poetzl wrote:
> On Fri, Oct 19, 2007 at 04:14:30PM +0200, Thomas Westlund wrote:
> > Hi,
> >
> > Im running vserver on a debian etch (with backports enabled) server
> > and I'm trying to run asterisk in an vserver.
> >
> > My kernel version is: 2.6.22-2-vserver-686, and util-vserver is the
> > newest version available via apt-get: util-vserver 0.30.214
> >
> > Asterisk seemingly works fine, but has trouble sending udp packets,
> > I get the following error from asterisk:
> >
> > [Oct 19 16:11:55] ERROR[6922]: rtp.c:2393 ast_rtcp_write_sr: RTCP SR
> > transmission error to xxx.xxx.xxx.xxx:9112, rtcp halted Operation not
> > permitted
> >
> > I have tried adding the following to my guest config
> >
> > /etc/vserver/guest/ccapabilities:
> > RAW_ICMP
> > /etc/vserver/guest/bcapabilities:
> > NET_RAW
> > SYS_NICE
> >
> > But they do not seem to have any effect.
> >
> > I'm also not able to ping from the guest (I can ping local, but not
> > remote adressses):
>
> just for the fun of doing it ... could you try with
> a mainline kernel and appropriate Linux-VServer patch,
> e.g. 2.2.0.4 or 2.3.0.28?
>
> TIA,
> Herbert
>
> > guest:/# ping www.google.com
> > PING www.l.google.com (64.233.183.99) 56(84) bytes of data.
> > ping: sendmsg: Operation not permitted
> > ping: sendmsg: Operation not permitted
> >
> > I believe these to problems are related.
> >
> > Any help is apreciated
> >
> > --
> > Thomas Westlund

-- 
Thomas Westlund
Received on Sun Oct 21 12:06:13 2007
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 21 Oct 2007 - 12:06:18 BST by hypermail 2.1.8