ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Grigory Fateyev <greg@anastasia.ru>
To: community@altlinux.ru <community@altlinux.ru>
Subject: [Comm] firehol и правила ftp
Date: Wed, 6 Jun 2007 16:53:34 +0400
Message-ID: <20070606165334.3802eb63@greg> (raw)

Здравствуйте!

На компьютере поднял 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"
...

# lsmod | grep ftp
ip_conntrack_ftp       12081  0
ip_conntrack           56993  5
ip_conntrack_irc,ip_conntrack_ftp,iptable_nat,ip_nat,xt_state

Jun  6 04:56:23 Ess000228 kernel: 'ftp-server:'IN= OUT=eth0
SRC=209.xxx.xxx.xxx DST=91.xxx.xxx.xxx LEN=91 TOS=0x00 PREC=0x00 TTL=64
ID=37610 DF PROTO=TCP SPT=21 DPT=57708 WINDOW=92 RES=0x00 ACK PSH
URGP=0 

Jun  6 04:56:23 Ess000228 kernel: 'ftp-server:'IN=eth0 OUT=
MAC=00:01:2e:02:56:cb:00:03:a0:11:bc:30:08:00 SRC=91.xxx.xxx.xxx
DST=209.xxx.xxx.xxx LEN=40 TOS=0x00 PREC=0x00 TTL=54 ID=56556 DF
PROTO=TCP SPT=57708 DPT=21 WINDOW=1460 RES=0x00 ACK URGP=0

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


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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06 12:53 Grigory Fateyev [this message]
2007-06-12 15:10 ` [Comm] [SOLVED] " Grigory Fateyev

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=20070606165334.3802eb63@greg \
    --to=greg@anastasia.ru \
    --cc=community@altlinux.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