ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] Re: pdnsd, вопросы по конфигурированию
Date: Tue, 3 Jun 2003 07:15:06 +0400
Message-ID: <20030603031506.GC5280@solemn.turbinal.org> (raw)
In-Reply-To: <3EDB4663.5030702@mail333.com>

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

On Mon, Jun 02, 2003 at 04:43:15PM +0400, Aleksey Avdeev wrote:
>   Но каталог /var/empty пуст, но ИМХО: при chroot там как 
> минимум должны быть либы... Так и задумано? Или туда надо что-то 

Я тоже когда-то думал, что в чруте должны быть либы.  На самом деле там
должны быть только такие либы, которые открываются во время выполнения
через dlopen.  Такое встречается нечасто, хотя и встречается.

А обычные либы в чруте не нужны, потому что они подгружаются линкером
гораздо раньше, чем происходит вход в main().  Lazy relocation не влияет
на подгрузку библиотек.

> 2. В той же секции присутствуют строки:
> 
> # local usage only
>         server_ip="127.0.0.1";

Это локальное использование.  Чтобы открыть со всех сторон, нужно
заменить на 0.0.0.0.  И настроить firewall.

>   Согласно документации, данная настройка задаёт слушаемый 
> интерфейс. Но как правильно задать чтобы сервер слушал два 
> интерфейса (локальный и сетку) но не был доступен с третьего 

Мне кажется, что нельзя, т.к. это особенность системного вызова bind().
Можно прицепиться либо на конкретный адрес, либо на INADDR_ANY.

Может как-нибудь на уровне ядра можно обдурить, кто-нибудь знает?  Нынче
ядра-то какие... о...

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

  parent reply	other threads:[~2003-06-03  3:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-02 12:43 [sisyphus] " Aleksey Avdeev
2003-06-02 13:36 ` Dmitry V. Levin
2003-06-02 13:56   ` [JT] " Nick N. Vinogradov
2003-06-02 15:33   ` Aleksey Avdeev
2003-06-03  3:15 ` Alexey Tourbin [this message]
2003-06-04  8:03   ` [sisyphus] " Aleksey Avdeev
2003-06-04  9:11     ` Alexey Tourbin
2003-06-04  9:50       ` Aleksey Avdeev
2003-06-04 17:09         ` Alexey Tourbin
2003-06-07 15:45           ` Aleksey Avdeev

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=20030603031506.GC5280@solemn.turbinal.org \
    --to=at@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /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