我已经安装了 Stash,带有SVN 镜像插件——它安装了 subgit。
我有类似的 iptables 设置:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:7990
ACCEPT tcp -- yyy.yyy.yyy.yyy anywhere tcp spt:mysql
ACCEPT udp -- anywhere anywhere udp spt:domain
ACCEPT all -- xxx.xxx.xxx.xxx anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:7999
ACCEPT tcp -- anywhere anywhere tcp spt:http state ESTABLISHED
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- anywhere yyy.yyy.yyy.yyy tcp dpt:mysql
ACCEPT tcp -- anywhere anywhere tcp spt:ssh state ESTABLISHED
ACCEPT tcp -- anywhere anywhere tcp spt:7990
ACCEPT tcp -- anywhere anywhere tcp dpt:38724
ACCEPT all -- anywhere xxx.xxx.xxx.xxx
ACCEPT tcp -- anywhere anywhere tcp spt:7999
ACCEPT tcp -- anywhere anywhere tcp dpt:http state NEW,ESTABLISHED
其中 xxx.xxx.xxx.xxx 是 SVN 服务器的 IP。初始同步适用于这些设置。但是当我提交给 SVN 时,这些更改将无法通过。如果我将 INPUT 和 OUTPUT 的策略更改为 ACCEPT,更改会立即同步。那么我还需要允许什么?