ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergei Boudnik <sergei@boudnik.kiev.ua>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: Re: [Comm] ftp пассивный режим и iptables
Date: Thu, 09 Nov 2006 20:15:19 +0200
Message-ID: <45537037.8010405@boudnik.kiev.ua> (raw)
In-Reply-To: <45535BF1.7050106@bungarus.info>

Maxim Tyurin пишет:
> Не нужно вредных советов.
> И нормально работает трассировка ftp
>
> Для работы ftp хватит:
> modprobe ip_conntrack_ftp
> iptables -A INPUT -p TCP -m state --state ESTABLISHED,RELATED -j ACCEPT
> iptables -A INPUT -p TCP -s ipaddr --dport 20  -j ACCEPT
> iptables -A INPUT -p TCP -s ipaddr --dport 21  -j ACCEPT
>   
Мой совет исключительно для тех, у кого не отрабатывает ip_conntrack_ftp
К тому же, если отбросить паранойю в сторону,  то на портах выше 32к 
ломать нечего.
Но если есть возможность заставить нужных юзверей использовать 
правильные ftp-клиенты, то лишние порты, конечно же, лучше не открывать.

-- 

WBR, Sergei Boudnik
http://www.boudnik.kiev.ua
--------------------------
Tel: +38050 3584082
ICQ UIN: 56809672
SSB-RIPE
SSB1-UANIC
==========================
Trap for spam & virii:
trap@wildlist.org.ua



  parent reply	other threads:[~2006-11-09 18:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-09 15:15 Igo
2006-11-09 16:04 ` Sergei Boudnik
2006-11-09 16:14   ` Dmitriy L. Kruglikov
2006-11-09 16:46     ` Sergei Boudnik
2006-11-09 16:52       ` Dmitriy L. Kruglikov
2006-11-09 18:04         ` Sergei Boudnik
2006-11-09 16:48   ` Maxim Tyurin
2006-11-09 17:03     ` Andrii Dobrovol`s`kii
2006-11-09 18:15     ` Sergei Boudnik [this message]
2006-11-14 17:20 ` Anton Gorlov

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=45537037.8010405@boudnik.kiev.ua \
    --to=sergei@boudnik.kiev.ua \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git