ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Georgy Bystrenin <gkot@basealt.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] mode = host в alterator-net-iptables
Date: Thu, 21 May 2020 17:34:48 +0400
Message-ID: <CAHOrsKgMMK1ijeWjGq4inme0zW=Kt=K4xZoy9fzGR2Gr9_5P-A@mail.gmail.com> (raw)
In-Reply-To: <20200521101418.GA2241@imap.altlinux.org>

чт, 21 мая 2020 г. в 14:14, Michael Shigorin <mike@altlinux.org>:
>
> On Thu, May 21, 2020 at 02:40:30AM +0400, Georgy Bystrenin wrote:
> > Значит мы теперь можем просто:
> > $ sudo alterator-cmdline /net-iptables ipv 4 status '#t' commit on
> > action write mode host opened_tcp_ports 15001 opened_udp_ports 15002
> > opened_services ssh
>
> А это "opened_*" -- новый API или существовавший?

API существовавший

появляется в коммите:

commit 1c5b4d1d1a244534facc47fe875078f6615d93c0
Author: Vladislav Zavjalov <slazav@altlinux.org>
Date:   Fri Feb 6 16:04:59 2009 +0300

    add iptables_helper script

не уверен, что хорошая идея менять на столько старый API


> Если (относительно) новый -- надо исправить на open_*,
> т.к. глагол open не изменяется по формам.
>
> --
>  ---- WBR, Michael Shigorin / http://altlinux.org
>   ------ http://opennet.ru / http://anna-news.info
> _______________________________________________
> Devel mailing list
> Devel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel
----
С Уважением, Georgy gkot Bystrenin

      parent reply	other threads:[~2020-05-21 13:34 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20 22:40 Georgy Bystrenin
2020-05-21 10:14 ` Michael Shigorin
2020-05-21 13:21   ` Sergei Epiphanov
2020-05-21 13:32     ` Dmitry V. Levin
2020-05-21 13:34   ` Georgy Bystrenin [this message]

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='CAHOrsKgMMK1ijeWjGq4inme0zW=Kt=K4xZoy9fzGR2Gr9_5P-A@mail.gmail.com' \
    --to=gkot@basealt.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