ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: aek <aek@taxpol.krasnoyarsk.su>
To: Dmitry Lebkov <community@altlinux.ru>
Subject: [Comm] Re[2]: [Comm] ftp сквозь iptables
Date: Thu, 20 Feb 2003 10:07:56 +0700
Message-ID: <11422.030220@taxpol.krasnoyarsk.su> (raw)
In-Reply-To: <20030219223930.3f2de1d7.dima@sakhalin.ru>

Hello Dmitry,

Wednesday, February 19, 2003, 7:39:30 PM, you wrote:

DL> Если я ничего не перепутал, твой набор правил не учитывает ситуацию:

DL> server:(20|21) syn -> client:(1024:65535) -- это ответ сервера в случае
DL> passive mode. 

Спасли ситуацию изменения:
/sbin/iptables -A OUTPUT -o eth0 -p tcp --dport 20:21 -j ACCEPT
/sbin/iptables -A INPUT  -i eth0 -p tcp ! --syn --sport 20:21 -j ACCEPT
/sbin/iptables -A INPUT  -i eth0 -p tcp --dport 20 -j ACCEPT
/sbin/iptables -A OUTPUT -o eth0 -p tcp ! --syn --sport 20 -j ACCEPT
/sbin/iptables -A INPUT  -i eth0 -p tcp --sport 0:65535 --dport 1024:65535 -j ACCEPT
/sbin/iptables -A OUTPUT -o eth0 -p tcp --sport 1024:65535 --dport 0:65535 -j ACCEPT

Надо сделать зеркало ftp сайта, вход туда под паролем
посмотрел man wget (им я пользуюсь для зеркалирования http)
там вроде как --ftp-user & --ftp-passwd опций нету
какой пакет присоветуете юзать на эту тему?


--
Всех благ!
Анатолий

  reply	other threads:[~2003-02-20  3:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-19  7:55 aek
2003-02-19  9:50 ` Maxim.Savrilov
2003-02-19 11:40   ` [Comm] Re[2]: " aek
2003-02-19 10:08 ` Sergey Indlin
2003-02-19 11:44   ` [Comm] Re[2]: " aek
2003-02-19 12:02     ` Mike Lykov
2003-02-19 15:12     ` Sergey Indlin
2003-02-19 12:39 ` Dmitry Lebkov
2003-02-20  3:07   ` aek [this message]
2003-02-20  6:06     ` [Comm] Re[2]: " vic ismakaev
2003-02-20  6:39       ` [Comm] Re[2]: " aek
2003-02-20  7:52 ` Alexander Vasiliev

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=11422.030220@taxpol.krasnoyarsk.su \
    --to=aek@taxpol.krasnoyarsk.su \
    --cc=community@altlinux.ru \
    /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