ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Grigory Fateyev <greg@anastasia.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] [SOLVED] firehol и правила  ftp
Date: Tue, 12 Jun 2007 19:10:51 +0400
Message-ID: <20070612191051.0b623dba@greg> (raw)
In-Reply-To: <20070606165334.3802eb63@greg>

Hello Grigory Fateyev!
On Wed, 6 Jun 2007 16:53:34 +0400 you wrote:

> Здравствуйте!
> 
> На компьютере поднял ftp сервер, firehol в качестве брендмауэра,
> прописал server ftp accept. Теперь клиент входит нормально и в activ и
> pasiv режимах, но при последующих обращениях клиентом в activ режиме
> соединение подвисает и может ждать до нескольких минут (лог приложен).
> В качестве ftp vsftpd через xinetd. Что может быть не так и как этом
> побороть?
> 
> firehol.conf:
> interface eth0 main_net #dst ${server_ips}
>         protection strong 200/sec 400
>         server ident reject with tcp-reset
>         #server ftp      accept src "${trust_ips}"
>         server ftp      accept log "ftp-server"
[...]
в vsftpd.conf добавляем:
pasv_min_port=6000
pasv_max_port=6100

в firehol.conf добавляем:
server custom ftprange "tcp/6000:6100" default accept 

И всё работает! :)

-- 
Всего наилучшего! Григорий
greg [at] anastasia [dot] ru
Письмо отправлено: 2007/06/12 19:07


      reply	other threads:[~2007-06-12 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06 12:53 [Comm] " Grigory Fateyev
2007-06-12 15:10 ` Grigory Fateyev [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=20070612191051.0b623dba@greg \
    --to=greg@anastasia.ru \
    --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