* [Sysadmins] knockd на нескольких интерфейсах
@ 2008-01-17 11:02 Olvin
2008-01-18 9:48 ` Michael Shigorin
0 siblings, 1 reply; 4+ messages in thread
From: Olvin @ 2008-01-17 11:02 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
На машинке два интерфейса (вообще говоря, может ещё один-два появится).
Один из них - ppp. Хотелось бы, чтобы knockd слушал все интерфейсы, а не
какой-то один. Как это сделать? Запускать несколько экземпляров knockd?
Или можно как-то по другому? Планируются ли такие изменения скриптов
запуска knockd в ALT?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] knockd на нескольких интерфейсах
2008-01-17 11:02 [Sysadmins] knockd на нескольких интерфейсах Olvin
@ 2008-01-18 9:48 ` Michael Shigorin
2008-01-18 13:36 ` Olvin
0 siblings, 1 reply; 4+ messages in thread
From: Michael Shigorin @ 2008-01-18 9:48 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
On Thu, Jan 17, 2008 at 01:02:36PM +0200, Olvin wrote:
> На машинке два интерфейса (вообще говоря, может ещё один-два
> появится). Один из них - ppp.
Можно запускать на нём knockd из /etc/ppp/ip-up.d/
(гасить/закрывать, соответственно, в ip-down.d/).
> Хотелось бы, чтобы knockd слушал все интерфейсы, а не какой-то
> один. Как это сделать? Запускать несколько экземпляров knockd?
> Или можно как-то по другому? Планируются ли такие изменения
> скриптов запуска knockd в ALT?
Мной -- нет, поскольку существующее поведение устраивает;
принимаю патчи, также могу и передать пакет в хорошие руки.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] knockd на нескольких интерфейсах
2008-01-18 9:48 ` Michael Shigorin
@ 2008-01-18 13:36 ` Olvin
2008-01-18 15:31 ` Michael Shigorin
0 siblings, 1 reply; 4+ messages in thread
From: Olvin @ 2008-01-18 13:36 UTC (permalink / raw)
To: shigorin, ALT Linux sysadmin discuss
Michael Shigorin пишет:
>> На машинке два интерфейса (вообще говоря, может ещё один-два
>> появится). Один из них - ppp.
> Можно запускать на нём knockd из /etc/ppp/ip-up.d/
> (гасить/закрывать, соответственно, в ip-down.d/).
А... В смысле, не пользоваться сервисом knockd, а пускать прямо так
демона с соответствующими параметрами командной строки и нужным
конфигом? А что - надо попробовать...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Sysadmins] knockd на нескольких интерфейсах
2008-01-18 13:36 ` Olvin
@ 2008-01-18 15:31 ` Michael Shigorin
0 siblings, 0 replies; 4+ messages in thread
From: Michael Shigorin @ 2008-01-18 15:31 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
On Fri, Jan 18, 2008 at 03:36:02PM +0200, Olvin wrote:
> >>На машинке два интерфейса (вообще говоря, может ещё один-два
> >>появится). Один из них - ppp.
> >Можно запускать на нём knockd из /etc/ppp/ip-up.d/
> >(гасить/закрывать, соответственно, в ip-down.d/).
> А... В смысле, не пользоваться сервисом knockd, а пускать прямо
> так демона с соответствующими параметрами командной строки и
> нужным конфигом? А что - надо попробовать...
Ну как удобно :) Я ж не настаиваю, что пакетный инитскрипт --
единственно правильный способ.
Но интересные и не сильно частные варианты предлагаю присылать,
можно сделать contrib :)
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-01-18 15:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-17 11:02 [Sysadmins] knockd на нескольких интерфейсах Olvin
2008-01-18 9:48 ` Michael Shigorin
2008-01-18 13:36 ` Olvin
2008-01-18 15:31 ` Michael Shigorin
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git