From: Afanasov Dmitry <ender@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] I: 3proxy-0.6
Date: Wed, 10 Jun 2009 22:06:56 +0400
Message-ID: <20090610180655.GD8281@utvuk.ender.rk> (raw)
In-Reply-To: <20090610082921.GC3437@wo.int.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 956 bytes --]
On Wed, Jun 10, 2009 at 12:29:21PM +0400, Dmitry V. Levin wrote:
> On Tue, Jun 09, 2009 at 07:41:47PM +0400, Afanasov Dmitry wrote:
> > приветствую.
> >
> > на ftp://ftp.altlinux.org/people/ender/3proxy лежит (либо будет через час)
> > сборка 3proxy с drop root патчем.
>
> Общее соображение для выбранной схемы drop root: убедитесь, что
> непривилегированный процесс, читающий конфиг(и), не имеет доступ на запись
> в файлы конфигов и каталоги, в которых эти файлы размещены.
проверил следующее:
1. создание raw сокетов - не пускает
2. rw доступ на /etc/3proxy.conf - не пускает
3. chown root:root - нельзя
для аудита: http://git.altlinux.org/people/ender/packages/?p=3proxy.git;a=commitdiff;h=0f72c6af224bb7dba04c610da3a59482cd5aaba6
чтобы ещё проверить. логи обязаны быть доступны на запись, pid файл тоже.
все остальное, что не доступно для пользователя _3proxy выдает permission
denied.
--
С уважением
Афанасов Дмитрий
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2009-06-10 18:06 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-09 15:41 Afanasov Dmitry
2009-06-09 16:41 ` Max Ivanov
2009-06-09 16:57 ` Alexey I. Froloff
2009-06-09 17:04 ` Afanasov Dmitry
2009-06-10 4:59 ` Eugene Prokopiev
2009-06-10 5:11 ` Afanasov Dmitry
2009-06-10 8:29 ` Dmitry V. Levin
2009-06-10 18:06 ` Afanasov Dmitry [this message]
2009-06-15 10:38 ` Afanasov Dmitry
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090610180655.GD8281@utvuk.ender.rk \
--to=ender@altlinux.org \
--cc=sisyphus@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git