ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Alexey I. Froloff" <raorn@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] Q: wireshark и "--enable-setuid-install"
Date: Sun, 9 Mar 2008 10:51:57 +0300
Message-ID: <20080309075157.GH29885@hell.fortress> (raw)

[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

Я собираюсь повесить "suid'ность" wireshark на control(8).  Пара
слов о том, в чём она заключается.

В прошлой версии аффтары реализовали механизм privilege
separation.  Теперь сеть слушает только один процесс dumpcap,
отдавая сырой поток основной программе через пайп.  Эта и только
эта программа теперь имеет право запускаться с правами
привелигерованного пользователя.

Таким образом ошибки в диссекторах теперь позволяют выполнять
произвольный код только в окружении запустившего это решето
пользователя (сам wireshark матерно ругается когда его запускают
от root).

Состояния об'екта wireshark_capture (не слишком длинно?) думаю
будут такие:

restricted - root:root 700
netadmin - root:netadmin 4710
public - root:root 711

Собсно, вопрос:

Я не уверен, надо ли позволять ващще всем капчурить сеть
(suid'ный public) и будут ли хоть что-то работать в режиме public
(как тут с tun/tap?).  Ну и интересует состояние по умолчанию.

-- 
Regards,
Sir Raorn.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2008-03-09  7:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-09  7:51 Alexey I. Froloff [this message]
2008-03-09 13:35 ` Dmitry V. Levin
2008-03-09 14:22   ` Alexey I. Froloff
2008-03-10 16:22     ` Dmitry V. Levin
2008-03-10 16:57       ` Alexey I. Froloff

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=20080309075157.GH29885@hell.fortress \
    --to=raorn@altlinux.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git