Re: [asterisk-users] What version to upgrade to...?

2011-12-12 Thread Barry L. Kline
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/11/2011 10:59 PM, Mike Diehl wrote:

 Should I go to 1.8.x?  Or all the way up to 10.x?  This is a
 production system and I can't afford to be testing code.


The 1.8 series is the current LTS release.

Barry


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFO5gQWCFu3bIiwtTARArU9AJ9/ZWb5uyjqjBFKqyjZa4X1+2fC+wCfVHP1
KY1D7w1siMJtCd1Ktxffwy4=
=PbAV
-END PGP SIGNATURE-

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What version to upgrade to...?

2011-12-12 Thread Olivier
2011/12/12, Mike Diehl mdi...@diehlnet.com:
 Hi all,

 I have 2 servers running 1.6.2.9 and I'm about to build a third server.
 This
 suggests the possibility of doing a rolling upgrade of all of my servers.

 This brings up the question of what version to install and upgrade to.  I
 don't have many upgrade opportunities, so I'd like to get as much bang for
 my
 buck.  Since I've applied some custom patches to my 1.6, I'd also like to
 get
 to a new enough version that my patches would be useful to the community.

 Should I go to 1.8.x?  Or all the way up to 10.x?  This is a production
 system
 and I can't afford to be testing code.

 --

 Take care and have fun,
 Mike Diehl.

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


I'm roughly wondering the same thing.

If I may add, I read few weeks ago, that Asterisk's SNMP features
required asterisk to run as root. If any of  asterisk 1.8 or 10
version could solve this limitation, that would convince to dive in
that one.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What version to upgrade to...?

2011-12-12 Thread Danny Nicholas
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Olivier
Sent: Monday, December 12, 2011 8:27 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] What version to upgrade to...?

2011/12/12, Mike Diehl mdi...@diehlnet.com:
 Hi all,

 I have 2 servers running 1.6.2.9 and I'm about to build a third server.
 This
 suggests the possibility of doing a rolling upgrade of all of my servers.

 This brings up the question of what version to install and upgrade to.  
 I don't have many upgrade opportunities, so I'd like to get as much 
 bang for my buck.  Since I've applied some custom patches to my 1.6, 
 I'd also like to get to a new enough version that my patches would be 
 useful to the community.

 Should I go to 1.8.x?  Or all the way up to 10.x?  This is a 
 production system and I can't afford to be testing code.

 --

 Take care and have fun,
 Mike Diehl.

 --
 _
 -- Bandwidth and Colocation Provided by http://www.api-digital.com -- 
 New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


I'm roughly wondering the same thing.

If I may add, I read few weeks ago, that Asterisk's SNMP features required
asterisk to run as root. If any of  asterisk 1.8 or 10 version could solve
this limitation, that would convince to dive in that one.

I'm wondering if the bind 161 as root statement is a mis-statement or if
not, maybe somebody like Tzafir can explain why since none of the other
Asterisk binds require root access (this message is still in 10.0-rc3).


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What version to upgrade to...?

2011-12-12 Thread Andrew Latham
On Mon, Dec 12, 2011 at 12:26 PM, Danny Nicholas da...@debsinc.com wrote:
 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Olivier
 Sent: Monday, December 12, 2011 8:27 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] What version to upgrade to...?

 2011/12/12, Mike Diehl mdi...@diehlnet.com:
 Hi all,

 I have 2 servers running 1.6.2.9 and I'm about to build a third server.
 This
 suggests the possibility of doing a rolling upgrade of all of my servers.

 This brings up the question of what version to install and upgrade to.
 I don't have many upgrade opportunities, so I'd like to get as much
 bang for my buck.  Since I've applied some custom patches to my 1.6,
 I'd also like to get to a new enough version that my patches would be
 useful to the community.

 Should I go to 1.8.x?  Or all the way up to 10.x?  This is a
 production system and I can't afford to be testing code.

 --

 Take care and have fun,
 Mike Diehl.



 I'm roughly wondering the same thing.

 If I may add, I read few weeks ago, that Asterisk's SNMP features required
 asterisk to run as root. If any of  asterisk 1.8 or 10 version could solve
 this limitation, that would convince to dive in that one.

 I'm wondering if the bind 161 as root statement is a mis-statement or if
 not, maybe somebody like Tzafir can explain why since none of the other
 Asterisk binds require root access (this message is still in 10.0-rc3).


Any port under 1024 is a reserved system port and normally can only be
opened by root.  161 is under 1024, thus root.  You can run snmp on
other ports if you really want to.

-- 
~ Andrew lathama Latham lath...@gmail.com http://lathama.net ~

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] What version to upgrade to...?

2011-12-12 Thread Eric Wieling
Asterisk uses libcap to do root-like things when running as non-root.  
Setting the DSCP/QoS value of packets requires root access, but Asterisk seems 
to manage just fine using libcap (not libpcap, that is different).

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Andrew Latham
Sent: Monday, December 12, 2011 10:39 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] What version to upgrade to...?

On Mon, Dec 12, 2011 at 12:26 PM, Danny Nicholas da...@debsinc.com wrote:
 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Olivier
 Sent: Monday, December 12, 2011 8:27 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] What version to upgrade to...?

 2011/12/12, Mike Diehl mdi...@diehlnet.com:
 Hi all,

 I have 2 servers running 1.6.2.9 and I'm about to build a third server.
 This
 suggests the possibility of doing a rolling upgrade of all of my servers.

 This brings up the question of what version to install and upgrade to.
 I don't have many upgrade opportunities, so I'd like to get as much 
 bang for my buck.  Since I've applied some custom patches to my 1.6, 
 I'd also like to get to a new enough version that my patches would be 
 useful to the community.

 Should I go to 1.8.x?  Or all the way up to 10.x?  This is a 
 production system and I can't afford to be testing code.

 --

 Take care and have fun,
 Mike Diehl.



 I'm roughly wondering the same thing.

 If I may add, I read few weeks ago, that Asterisk's SNMP features 
 required asterisk to run as root. If any of  asterisk 1.8 or 10 
 version could solve this limitation, that would convince to dive in that one.

 I'm wondering if the bind 161 as root statement is a mis-statement or 
 if not, maybe somebody like Tzafir can explain why since none of the 
 other Asterisk binds require root access (this message is still in 10.0-rc3).


Any port under 1024 is a reserved system port and normally can only be opened 
by root.  161 is under 1024, thus root.  You can run snmp on other ports if you 
really want to.

--
~ Andrew lathama Latham lath...@gmail.com http://lathama.net ~

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to 
Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] What version to upgrade to...?

2011-12-12 Thread Danny Nicholas
Leads to the next question - has anybody tested SNMP using non-root Asterisk?

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Eric Wieling
Sent: Monday, December 12, 2011 9:41 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] What version to upgrade to...?

Asterisk uses libcap to do root-like things when running as non-root.  
Setting the DSCP/QoS value of packets requires root access, but Asterisk seems 
to manage just fine using libcap (not libpcap, that is different).

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Andrew Latham
Sent: Monday, December 12, 2011 10:39 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] What version to upgrade to...?

On Mon, Dec 12, 2011 at 12:26 PM, Danny Nicholas da...@debsinc.com wrote:
 -Original Message-
 From: asterisk-users-boun...@lists.digium.com
 [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Olivier
 Sent: Monday, December 12, 2011 8:27 AM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [asterisk-users] What version to upgrade to...?

 2011/12/12, Mike Diehl mdi...@diehlnet.com:
 Hi all,

 I have 2 servers running 1.6.2.9 and I'm about to build a third server.
 This
 suggests the possibility of doing a rolling upgrade of all of my servers.

 This brings up the question of what version to install and upgrade to.
 I don't have many upgrade opportunities, so I'd like to get as much 
 bang for my buck.  Since I've applied some custom patches to my 1.6, 
 I'd also like to get to a new enough version that my patches would be 
 useful to the community.

 Should I go to 1.8.x?  Or all the way up to 10.x?  This is a 
 production system and I can't afford to be testing code.

 --

 Take care and have fun,
 Mike Diehl.



 I'm roughly wondering the same thing.

 If I may add, I read few weeks ago, that Asterisk's SNMP features 
 required asterisk to run as root. If any of  asterisk 1.8 or 10 
 version could solve this limitation, that would convince to dive in that one.

 I'm wondering if the bind 161 as root statement is a mis-statement or 
 if not, maybe somebody like Tzafir can explain why since none of the 
 other Asterisk binds require root access (this message is still in 10.0-rc3).


Any port under 1024 is a reserved system port and normally can only be opened 
by root.  161 is under 1024, thus root.  You can run snmp on other ports if you 
really want to.

--
~ Andrew lathama Latham lath...@gmail.com http://lathama.net ~

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to 
Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to 
Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What version to upgrade to...?

2011-12-12 Thread Jason Parker

On 12/12/2011 09:26 AM, Danny Nicholas wrote:
I'm wondering if the bind 161 as root statement is a mis-statement or 
if not, maybe somebody like Tzafir can explain why since none of the 
other Asterisk binds require root access (this message is still in 
10.0-rc3).


This is accurate.  Non-root users cannot bind ports =1024.  There are 
ways around it, however.


See setcap/CAP_NET_BIND_SERVICE at 
http://www.kernel.org/doc/man-pages/online/pages/man7/capabilities.7.html


I haven't looked at the Asterisk code, but there may be changes 
necessary to disable that check, if this is enabled.


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] What version to upgrade to...?

2011-12-12 Thread Mike Diehl
On Monday 12 December 2011 6:39:34 am Barry L. Kline wrote:
 On 12/11/2011 10:59 PM, Mike Diehl wrote:
  Should I go to 1.8.x?  Or all the way up to 10.x?  This is a
  production system and I can't afford to be testing code.
 
 The 1.8 series is the current LTS release.
 
 Barry

Well, that clinches it for me.  I'll get the latest 1.8 and get going.  Thank 
you for your time.

-- 

Take care and have fun,
Mike Diehl.

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users