我想在我的iptables中打开FTP端口。 以下是我的iptablesconfiguration: #!/bin/sh IPT="/sbin/iptables" # Flush old rules, old custom tables $IPT –flush $IPT –delete-chain # Set default policies for all three default chains $IPT -P INPUT DROP $IPT -P FORWARD DROP $IPT -P OUTPUT DROP # Enable free use of loopback interfaces $IPT -A INPUT -i lo -j ACCEPT $IPT -A OUTPUT -o lo […]
我有一个鱿鱼代理服务器,http和ftp连接,我试图用filezilla打开一个FTP,但它总是失败,错误说: Status: Connection with proxy established, performing handshake… Response: Proxy reply: HTTP/1.0 403 Forbidden Error: Proxy handshake failed: ECONNRESET – Connection reset by peer Error: Connection timed out Error: Failed to retrieve directory listing 我嗅探stream量,并且,filezilla正尝试连接到不同的端口,并且代理拒绝了它,这是sniff结果的一部分 CONNECT 201.150.36.227:61179 HTTP/1.1 Host: 201.150.36.227:61179 User-Agent: FileZilla 每次是不同的端口,所以,我不能让它在鱿鱼,我也设置filezilla使用主动连接,相同的结果,被动连接,同样的结果,所以,我是子弹,和我需要你的帮助,也许在filezilla或鱿鱼的设置可以做的工作,所以,在这里举手 这是filezilla的完整日志 Status: Connecting to uhma.mx through proxy Status: Connecting to 172.19.216.13:3128… Status: […]
我正在阅读以下问题,因为我有同样的问题: FTP和Apache权限问题 第一个解决scheme虽然不是公认的解决scheme,但似乎接近我所需要的。 我已经将两个用户都添加到同一个组中,并将所有文件分配给该组,但我还没有更改所有文件权限以允许组写入。 鉴于Apache应该执行任何上传的文件,这是否意味着文件的权限应该是775? 如果是这样,这是否意味着我应该把我的FTP umask设置为002? 将我的web目录中的所有文件从755更改为775有什么安全隐患(如果有的话)? 无论如何,只要组内的人是受控制的, 谢谢
我正在运行Ubuntu 12.04 LTS。 我使用apt做了一些小的更新。 重新启动后,vsftp停止接受连接系统用户login。 在validation日志中,我收到以下错误 Dec 22 22:03:13 helium vsftpd: PAM unable to dlopen(pam_cracklib.so): /lib/security/pam_cracklib.so: cannot open shared object file: No such file or directory Dec 22 22:03:13 helium vsftpd: PAM adding faulty module: pam_cracklib.so Dec 22 22:03:13 helium vsftpd: pam_unix(vsftpd:auth): check pass; user unknown Dec 22 22:03:13 helium vsftpd: pam_unix(vsftpd:auth): authentication failure; logname= […]
我想设置一个匿名的FTP服务器(能够上传文件)。 这是我的configuration文件: listen=YES anonymous_enable=YES anon_root=/var/www/ftp local_enable=YES write_enable=YESr. anon_upload_enable=YES anon_mkdir_write_enable=YES xferlog_enable=YES connect_from_port_20=YES chroot_local_user=YES dirmessage_enable=YES use_localtime=YES secure_chroot_dir=/var/run/vsftpd/empty rsa_cert_file=/etc/ssl/private/vsftpd.pem pam_service_name=vsftpd 但是,当我尝试连接它: kan@kan:~$ ftp yxxxng.bej Connected to yxxx. 220 (vsFTPd 2.3.5) Name (yxxxg.bej:kan): anonymous 331 Please specify the password. Password: 500 OOPS: vsftpd: refusing to run with writable root inside chroot() Login failed Can anyone help ?
这里有新手, 我有一个使用vsftpd的服务器。 我使用“passwd aa”从root帐户中更改了用户“aa”的密码,该密码更改了用户“aa”的SSH密码,但不是他的FTP帐户。 我似乎无法find有关更改vsftpd密码的其他信息。 有小费吗?
从debian挤压到wheezy升级后,我有一个被动的FTP连接的问题。 我可以缩小它与iptables相关,因为我可以通过FTP连接到iptables ACCEPT规则后添加我的IP后无w / o问题。 在升级之前,我能够做到 modprobe nf_conntract_ftp ports=21332 并添加 iptables -A THRU -p tcp –dport 21332 -m state –state NEW,ESTABLISHED,RELATED -j ACCEPT 现在..它不再帮助。 正如我在计数器中看到的,正在触发INPUT规则,但目录列表是最后一件事情。 设置被动端口范围是我想要做的最后一件事,我不喜欢开放的端口。 我也尝试过使用辅助mod的技巧, 在 21332的实际规则之前添加以下规则 iptables -A THRU -p tcp -i eth0 –dport 21332 -m state –state NEW -m helper –helper ftp-21332 -j ACCEPT 但没有帮助,甚至没有根据柜台触发。 下一行(w / o助手)的规则正在被触发 编辑1:这是尝试连接后的logentry: Jun 30 […]
上周在通过FTP上传网站文件到我们的服务器时,传输失败。 从那时起,我一直无法连接到服务器上工作。 只要我在手机networking上,我就可以在家里连接,或者在手机上使用FTP应用程序。 我无法从我的工作networking上的任何机器访问服务器。 这也不是证书问题。 我总是得到的错误消息说,无法build立连接,而且我从不提示input凭据。 我在我们的域控制器或防火墙/路由器上完全没有改变。 所有在工作时打开的端口现在仍然是打开的。 我已经联系了我们的ISP(谁托pipe网站/ FTP服务器),他们没有发现任何错误的结果。 他们坚持认为,在办公室里一定是阻止访问的东西。 由于ISP托pipe服务器,我不能重新启动它,也不知道服务器软件是什么。 我也testing了访问其他FTP服务器(ea.com,nvidia.com等),所以我知道端口21没有被阻止。 我完全难住。 任何帮助深表感谢。 我在这里上传了一个Wireshark文件: http ://www.cloudshark.org/captures/7dde165d4797?filter=ip.src%20%3D%3D%2066.118.64.208%20%7C%7C%20ip.dst%20%3D %3D%2066.118.64.208 ,并为FTP服务器过滤了源和目标IP地址。 我发现每个连接尝试有2个返回数据包。 这是否能更好地解决这个问题? 我的防火墙/路由器是一个Netgear ProSafe VPN防火墙FVS318v3。 有人提到NAT问题 – 我有几个这样的日志条目: Fri, 2013-11-08 14:10:27 – [Unable to free TCP NAT port for 452b000e:52490 from LAN] 。 此外,我可以从我的networkingping服务器,但我不能telnet到端口21。 Could not open connection to the host, on port [21]:Connect failed
我有一个VPS在CentOS 6.4上运行vsftpd v3.0.2。 当我尝试连接到我的FTP服务器,我得到的错误: The data connection could not be established: EHOSTUNREACH – No route to host 连接尝试的控制台: Status: Connecting to xxx.xxx.xxx.xxx:21… Status: Connection established, waiting for welcome message… Response: 220 snapd.server01 FTP Server Command: AUTH TLS Response: 234 Proceed with negotiation. Status: Initializing TLS… Status: Verifying certificate… Command: USER web01 Status: TLS/SSL connection established. […]
我有我的FTP服务器的问题。 连接,发送和接收有时会失败,并不一致。 我设法捕获和过滤IP数据包,我只需要指示我可以从那里做什么,因为我不完全了解捕获。 这是一个截图 这是从服务器失败时的日志 Error: Connection closed by server Error: Connection timed out Error: Could not connect to server Status: Delaying connection for 5 seconds due to previously failed connection attempt… Status: Connecting to xxx.xxx.xxx.xxx:21… Status: Connection established, waiting for welcome message… Error: Connection timed out Error: Could not connect to server Status: Delaying […]