ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Mikhail A. Pokidko" <mikhail.pokidko@gmail.com>
To: "ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Порты rsync
Date: Tue, 15 May 2007 14:03:50 +0400
Message-ID: <21bd5bb90705150303r54e39390t98099b2fb9636378@mail.gmail.com> (raw)
In-Reply-To: <f2brs9$pf3$1@sea.gmane.org>

2007/5/15, Вадим Илларионов :
> Пытаюсь подключиться к rsync-серверу с машинки, где в iptables Policy=DROP,
> но порт 873 с/на сервер открыт и по UDP, и по TCP:
>
> iptables -t filter -A INPUT  -p tcp -s xx.xx.xx.xx --sport rsync -j ACCEPT
> iptables -t filter -A INPUT  -p udp -s xx.xx.xx.xx --sport rsync -j ACCEPT
> iptables -t filter -A OUTPUT -p tcp -d xx.xx.xx.xx --dport rsync -j ACCEPT
> iptables -t filter -A OUTPUT -p udp -d xx.xx.xx.xx --dport rsync -j ACCEPT
>
> Телнетом получаю следующее:
> $ telnet xx.xx.xx.xx rsync
> Trying xx.xx.xx.xx...
> Connected to xx.xx.xx.xx (xx.xx.xx.xx).
> Escape character is '^]'.
> Connection closed by foreign host.
>
> Попатка синхронизации приводит к следующему:
> $ rsync -vat --delete xx.xx.xx.xx::resource /dest/dir
> rsync: read error: Connection reset by peer (104)
> rsync error: error in rsync protocol data stream (code 12) at io.c(614)
> [receiver=2.6.8]
>
<SKIP>

>
> От других же клиентов подключаюсь-синхронизируюсь без проблем.
>
> В чём может быть затык? Не нужны ли rsync ещё какие-то порты?

grep only_from /etc/xinetd.conf

-- 
Mikhail A. Pokidko
ALTLinux Team
e-mail: pma@altlinux.org
jid: solar@gmail.ru

  reply	other threads:[~2007-05-15 10:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-15  8:43 Вадим Илларионов
2007-05-15 10:03 ` Mikhail A. Pokidko [this message]
2007-05-16  3:07   ` Вадим Илларионов
2007-05-16  6:49     ` Mikhail A. Pokidko
2007-05-17  3:28       ` Вадим Илларионов
2007-05-17  3:43         ` Вадим Илларионов

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=21bd5bb90705150303r54e39390t98099b2fb9636378@mail.gmail.com \
    --to=mikhail.pokidko@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