From: "Вадим Илларионов" <master@usib.irkps.ru> To: sysadmins@lists.altlinux.org Subject: [Sysadmins] Порты rsync Date: Tue, 15 May 2007 17:43:49 +0900 Message-ID: <f2brs9$pf3$1@sea.gmane.org> (raw) Пытаюсь подключиться к 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] tcpdump с этого клиента при попытке соединения показывает: # tcpdump -i any host usib.irkps.ru and port rsync tcpdump: WARNING: Promiscuous mode not supported on the "any" device tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on any, link-type LINUX_SLL (Linux cooked), capture size 96 bytes 17:36:46.562821 IP yy.yy.yy.yy.60546 > xx.xx.xx.xx.rsync: S 1642475883:1642475883(0) win 5808 <mss 1452,sackOK,timestamp 81491190 0,nop,wscale 6> 17:36:46.567922 IP xx.xx.xx.xx.rsync > yy.yy.yy.yy.60546: S 3794370669:3794370669(0) ack 1642475884 win 5808 <mss 1412,nop,nop,sackOK,nop,wscale 2> 17:36:46.568047 IP yy.yy.yy.yy.60546 > xx.xx.xx.xx.rsync: . ack 1 win 91 17:36:46.568251 IP yy.yy.yy.yy.60546 > xx.xx.xx.xx.rsync: P 1:13(12) ack 1 win 91 17:36:46.573249 IP xx.xx.xx.xx.rsync > yy.yy.yy.yy.60546: . ack 13 win 1452 17:36:46.586749 IP xx.xx.xx.xx.rsync > yy.yy.yy.yy.60546: R 1:1(0) ack 13 win 1452 От других же клиентов подключаюсь-синхронизируюсь без проблем. В чём может быть затык? Не нужны ли rsync ещё какие-то порты?
next reply other threads:[~2007-05-15 8:43 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-05-15 8:43 Вадим Илларионов [this message] 2007-05-15 10:03 ` Mikhail A. Pokidko 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='f2brs9$pf3$1@sea.gmane.org' \ --to=master@usib.irkps.ru \ --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