Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
Hi all!
DNS-323 installed on the local network for DI-824VUP router, which has an external IP address. Launched FTP server. It has only anonymous user. The server normally connect from the local and external network. There is need to restrict access to FTP-server from external network from certain IP addresses.
File ftphosts
#
allow anonymous 22.22.22 .*
#
This file has been saved in /etc/ftphosts. Now, the ftp server is not possible to connect with any one IP-adreses even the subnet 22.22.22 .*.
If connect from WinXP, it appears login dialog.
What's wrong? And whether such a restriction on access to anonymous users?
Thank you for your answers.
Andey
Offline
Looked through all the site and forum. I coudn't find where the solving of my problem is. Could you please show me exactly where it is?
Thanks beforehand!
Offline
AUP_SPB wrote:
Looked through all the site and forum. I coudn't find where the solving of my problem is. Could you please show me exactly where it is?
Thanks beforehand!
Sorry, my link was incorrect. This was the URL I wanted to post.
But; this might not be the issue. In ftphosts you need to specify not only IP but also mask. E.g.
allow anonymous 22.22.22.0/32
or
allow anonymous 22.22.22.0:255.255.255.0
Check the man pages of wu-ftp for more information:
http://www.wu-ftpd.org/man/ftpaccess.html
http://www.wu-ftpd.org/man/ftphosts.html
/Apan
Last edited by Apskaft (2007-03-27 11:34:25)
Offline
Apskaft wrote:
AUP_SPB wrote:
Looked through all the site and forum. I coudn't find where the solving of my problem is. Could you please show me exactly where it is?
Thanks beforehand!Sorry, my link was incorrect. This was the URL I wanted to post.
But; this might not be the issue. In ftphosts you need to specify not only IP but also mask. E.g.
allow anonymous 22.22.22.0/32
or
allow anonymous 22.22.22.0:255.255.255.0
Check the man pages of wu-ftp for more information:
http://www.wu-ftpd.org/man/ftpaccess.html
http://www.wu-ftpd.org/man/ftphosts.html
/Apan
After today's experiments with ftp access I came to conclusion, that ftp server processes file "ftphosts" incorrect. Any command like
allow anonymous 192.168.0.0/24
allow anonymous 192.168.0.0:255.255.255.0
allow anonymous 192.168.0.107
fully close access to ftp server for anonymous user.
During connecting anonymous to ftp server appears error:
Status: Connecting to 192.168.0.187 ...
Status: Connected with 192.168.0.187. Waiting for welcome message...
Response: 220 dlink-7F6BDF FTP server (Version wu-2.6.2(52) Fri Dec 29 16:48:52 CST 2006) ready.
Command: USER anonymous
Response: 331 Password required for anonymous .
Command: PASS ********
Response: 530 Login incorrect.
Error: Unable to connect!
Is there anybody who knows how to solve the problem?
Thanks beforehand.
Offline