[asterisk-bugs] [Asterisk 0011742]: Please merge the ToS/libcap patch to 1.4 branch
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Jan 11 08:57:15 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11742
======================================================================
Reported By: paravoid
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11742
Category: Core-General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.4.17
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 01-11-2008 08:50 CST
Last Modified: 01-11-2008 08:57 CST
======================================================================
Summary: Please merge the ToS/libcap patch to 1.4 branch
Description:
trunk contains a patch that uses libcap to retain the CAP_NET_ADMIN
capability so that Asterisk can set the ToS IP field even when its
privileges are dropped.
I've backported this patch to 1.4 with success.
The patch is quite small:
configure.ac | 5 +++++
doc/security.txt | 7 +++++++
include/asterisk/autoconfig.h.in | 6 ++++++
main/Makefile | 3 +++
main/asterisk.c | 31 ++++++++++++++++++++++++++-----
makeopts.in | 3 +++
6 files changed, 50 insertions(+), 5 deletions(-)
The patch is in trunk for quite some time and is well-tested.
This will allow people that need ToS to be able to drop Asterisk's
privileges, lowering a potential security vulnerability impact.
All the code changes are #ifdef HAS_CAP, so it doesn't affect people who
don't have libcap.
======================================================================
----------------------------------------------------------------------
oej - 01-11-08 08:57
----------------------------------------------------------------------
We never port new functionality to a released version of asterisk.
And besides, this is a bug tracker, not a feature request tracker ;-)
Issue History
Date Modified Username Field Change
======================================================================
01-11-08 08:57 oej Note Added: 0076708
======================================================================
More information about the asterisk-bugs
mailing list