03-15-2005
Accessing a FTP Server hosted on Linux
We have set-up a FTP server on a Linux machine, which sits behind a firewall. Most users outside our firewall can access it, but one user in particular cannot. I assume it has something to do with their firewall rules. It appears that they can connect with no problem but the server does not grant full access for long, as there is appears to be a failure in staying connected to the port, e.g. an extract from the log
WINSOCK.DLL: WinSock 2.0
WS_FTP Pro, Version 7.0, 2001.06.07
Connecting to XX.XX.XXX.XXX:XX
Connected to XX.XX.XXX.XXX:XX in 0.430, Waiting for Server Response 220 localhost.localdomain FTP server (Version wu-2.6.2-12) ready.
Host type (1): Automatic detect
USER username
331 Password required for username.
PASS (hidden)
230 User username logged in. Access restrictions apply.
SYST
215 UNIX Type: L8
Host type (2): UNIX (standard)
PWD
257 "/" is current directory.
TYPE A
200 Type set to A.
PORT 192,168,0,41,7,220
connection reset; the server has reset the connection for some unkown reason.
Port failed
PASV
connection reset; the server has reset the connection for some unkown reason.
It appears that the connection is dead. Attempting reconnect...
==========================================================
and tries to connect again with the end result:
connection reset; the server has reset the connection for some unkown reason.
==========================================================
They are using a NAT (Network Address Translation) security method with their firewall, maybe this is overriding the firewall rules? Has anyone seen this before?
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have taken an old Pentium-75 Compaq with 32Mb memory, formatted the hard drive, and loaded Redhat 5.2 on it. All I really want is an ftp server to allow vendors to download files from it as they need them. I was told that these old pentiums with little memory would work well with Linux. The ftp... (2 Replies)
Discussion started by: kwalter
2 Replies
2. Linux
Hi,
I've setup an FTP server on my linux box (RH 9.0). I've configured so the vsftpd daemon is running in runlevel 5, etc.
However, I have difficulty logging-on, as it will not authenticate any valid user (inlcuding anoymous). Everything seems ok in the /etc/vsftpd/vsftp.d.conf and... (4 Replies)
Discussion started by: Breen
4 Replies
3. Red Hat
Dear all
i hav dual operating system ie windows 2003 and Red Hat Advance Server3
trying to mount windows partition on linux operating system using the following method
1)mkdir /mnt/windows
2)mount -t ntfs /dev/hda1 /mnt/windows
mount: fs type ntf not supported by kernel
and my kernel... (2 Replies)
Discussion started by: maooah
2 Replies
4. HP-UX
Hi,
we have some websites in ux servers and need to stop those websites i.e when users try to acess those websites they should not able to see those websites.
we have to ideas one is .htaccess. from this we can redirect to existing 404page. and not sure if we rediredt to non- exixting page in... (1 Reply)
Discussion started by: kishan
1 Replies
5. UNIX and Linux Applications
Hi
Anyone out there know how to change the linux ftp server message.
ftp> bye
221-You have transferred 0 bytes in 0 files.
221-Total traffic for this session was 197 bytes in 0 transfers.
221-Thank you for using the FTP service on kgsainss103.
221 Goodbye.
the end message Goodbye. to... (2 Replies)
Discussion started by: netxus
2 Replies
6. Emergency UNIX and Linux Support
Hi,
we have a big problem,
history:
we migrated our companies ftp and sftp-server, which were vsftp and openssh, to one server, software is called JSCAPE ftp server professional edition
for the first time everything was great, but after one or two months, our uploads hang, 0 byte files are... (11 Replies)
Discussion started by: funksen
11 Replies
7. UNIX for Dummies Questions & Answers
Hi everyone-
I'm relatively new to UNIX (Primarily Oracle background), wondering if anyone can help me.
I did not configure Oracle Database Control (Web-Based admin interface) on the Database Server (HP-UX), however it is running and the URL is configured with an internal IP, which users have... (4 Replies)
Discussion started by: campbellg
4 Replies
8. AIX
HI ,
I'm facing the FTP connection refused from text editor while accessing AIX server .It showing the messege "can't create ftp connection connectin refused".Though it is accessible from putty .
i'm using aix version 6 .
Can any one let me know the seetings needs to be made so that i... (2 Replies)
Discussion started by: rmkganesh
2 Replies
9. Linux
I am facing a strange issue in connecting to Oracle database from Linux Machine
- The connectivity is not failing all the time , the failure to success ratio is 1:70.
- Error "ORA-12545: Connect failed because target host or object does not exist"
- Majority of the time the connection... (6 Replies)
Discussion started by: balaji kumar
6 Replies
10. UNIX for Beginners Questions & Answers
Hi Comrades,
I am interested if there is the global internet network I can find free access to the Linux or unix server to create the own account to have some practice.
Thanks a lot for your advice and comments.
BR,
Dembi (2 Replies)
Discussion started by: Dembi
2 Replies
LEARN ABOUT CENTOS
ftpusers
FTPUSERS(5) Linux Programmer's Manual FTPUSERS(5)
NAME
ftpusers - list of users that may not log in via the FTP daemon
DESCRIPTION
The text file ftpusers contains a list of users that may not log in using the File Transfer Protocol (FTP) server daemon. This file is
used not merely for system administration purposes but for improving security within a TCP/IP networked environment. It will typically
contain a list of the users that either have no business using ftp or have too many privileges to be allowed to log in through the FTP
server daemon. Such users usually include root, daemon, bin, uucp, and news. If your FTP server daemon doesn't use ftpusers then it is
suggested that you read its documentation to find out how to block access for certain users. Washington University FTP server Daemon
(wuftpd) and Professional FTP Daemon (proftpd) are known to make use of ftpusers.
Format
The format of ftpusers is very simple. There is one account name (or username) per line. Lines starting with a # are ignored.
FILES
/etc/ftpusers
SEE ALSO
passwd(5), proftpd(8), wuftpd(8)
COLOPHON
This page is part of release 3.53 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2000-08-27 FTPUSERS(5)