ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Andrew Kornilov <akornilov@gmail.com>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Etcnet & iptables
Date: Tue, 08 Aug 2006 14:43:34 +0300
Message-ID: <44D878E6.9030502@gmail.com> (raw)
In-Reply-To: <200608071911.54455.mav@elserv.msk.su>

Alex Moskalenko wrote:

>Здравствуйте!
>
>Пытаюсь разобраться с etcnet, и возникло несколько вопросов.
>
>
>319). В связи с этим вопрос - раз у всех работает, что я изначально сделал не 
>так, что у меня работать отказывается?
>  
>
Да, это старый баг, давно уже исправлен, просто в сизифе старая версия. 
в 0.8.4 код переписан и переделан. Просто все никак свежую версию Денис 
не выпустит, хотя изменений вроде как уже и достаточно:
        new feature: bluetooth (bnep) support
        new feature: it is now possible to redefine interface groups
        bugfix: DHCP and VLAN interfaces did not work
        change: DHCPCD_GRACE_TIME becomes DHCP_GRACE_TIME
        change: firewall code refactoring and optimization
        new: scripts 'eqos' and 'efw' for QoS and firewall manual control
        new: complex example in documentation
Только что поговорил с ним, скоро будет.

>2. Используя human syntax, написал правило на пропуск RST пакетов. Выглядит 
>оно как accept if tcp ....... and tcp-flags RST RST. При этом формируется 
>команда iptables -j ACCEPT --protocol tcp ...... -mtcp --tcp-flags RST RST
>которую iptables-1.3.5-alt4 кушать отказывается, ругаясь на неизвестный 
>аргумент RST. Вылечилось заменой условия на --tcp-flags RST RST - тогда 
>etcnet не меняет его при запуске iptables (не добавляет -mtcp) и при этом все 
>работает. Вопрос собственно тот же - что я делаю не так?
>
>Заранее спасибо за ответ.
>  
>
Странно, может в старой версии ошибка была какая-то. Без проблем только 
что сделал:
 efw eth0 filter INPUT rule reject if tcp from 1.2.3.4 and tcp-flags RST RST

p.s. Сразу отвечаю на следующие письма в треде: да, сделано непривычно, 
есть свои минусы и плюсы, плюс иногда баги проскакивают. Некоторым 
подходит, некоторым нет. Оно никак не мешает, в принципе.



      parent reply	other threads:[~2006-08-08 11:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-07 15:11 Alex Moskalenko
2006-08-07 17:48 ` Mikhail Pokidko
2006-08-08  6:18   ` Genix
2006-08-08  6:37     ` Шенцев Алексей Владимирович
2006-08-08  6:42     ` Mikhail Pokidko
2006-08-08 11:43 ` Andrew Kornilov [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=44D878E6.9030502@gmail.com \
    --to=akornilov@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