ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] а knockd рабочий?
Date: Sun, 27 May 2007 21:53:25 +0300
Message-ID: <20070527185325.GN7488@osdn.org.ua> (raw)
In-Reply-To: <f3bmt3$qfi$1@sea.gmane.org>

On Sun, May 27, 2007 at 01:38:01PM +0300, Artem Zolochevskiy wrote:
> Вот наслушавшись Максима Тюрина решил knock опробовать.
> Господа, оно у нас вообще рабочее?

Года два тому работало.

> запускаю сервер, затем клиента и - ноль эмоций.

А какие должны быть эмоции -- команды-то прописаны какие?

> Сажусь за  Debian и всё заводится сходу.  Но почему у меня не
> заводится на alt - не пойму. Конфиг дефолтный
>         sequence      = 2222:udp,3333:tcp,4444:udp

BTW если уж озадачиваться knockd, то всяко лучше отодвинуть хотя
бы последовательность -- если заинтересуются хостом с knockd, то 
выяснить дистрибутив и его дефолты вполне логично.

>         start_command = /sbin/iptables -A INPUT -s %IP% -p tcp --dport
> ssh -j ACCEPT
>         stop_command  = /sbin/iptables -D INPUT -s %IP% -p tcp --dport
> ssh -j ACCEPT
> 
> service knockd стартует. вот только ожидаемого результата нет.
> Кто что подскажет?

Скажем так, пакет на отдаче.  Последнее известное состояние --
works for me, но вот уточнить, был это именно текущий или
предпоследний -- не возьмусь.

Ноту выписывать?

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/


  parent reply	other threads:[~2007-05-27 18:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-27 10:38 Artem Zolochevskiy
2007-05-27 12:32 ` Dmitriy L. Kruglikov
2007-05-27 12:42   ` Artem Zolochevskiy
2007-05-27 12:49     ` Dmitriy L. Kruglikov
2007-05-27 17:11       ` Artem Zolochevskiy
2007-05-27 18:53     ` Michael Shigorin
2007-05-27 18:53 ` Michael Shigorin [this message]
2007-05-28  4:22 ` Artem Zolochevskiy
2007-05-28 10:39   ` Maxim Tyurin
2007-05-28  9:08 ` ABATAPA

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=20070527185325.GN7488@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@gmail.com \
    --cc=sysadmins@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 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