HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: ftp from my Win2k machine to linux fails, but ...
Operating System - Linux
1827243
Members
2319
Online
109716
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2002 09:59 PM
03-06-2002 09:59 PM
Hi all,
If I try run ftp on another Unix box in my site to my linux box, I can log in with no problems, however, when I try from my Win 2000 machine, I am not allowed to connect. I get this error:
c:\> ftp
Connected to.
Connection closed by remote host.
c:\>
So what is it that causes this to fail? I am assuming it is some sort of security feature or something.
I am running Mandrake 8.1, xinetd, wu-ftpd
Thanks in advance,
- Andy Gray
If I try run ftp on another Unix box in my site to my linux box, I can log in with no problems, however, when I try from my Win 2000 machine, I am not allowed to connect. I get this error:
c:\> ftp
Connected to
Connection closed by remote host.
c:\>
So what is it that causes this to fail? I am assuming it is some sort of security feature or something.
I am running Mandrake 8.1, xinetd, wu-ftpd
Thanks in advance,
- Andy Gray
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 06:57 AM
03-07-2002 06:57 AM
Solution
Any chance that it may have the wrong ip address for the box? Compare
nslookup
on your W2K and on a UNIX system. Same IP address. Also make sure that your Linux box gets the same result.
Are these all on the same subnet?
IF you are running tcpd (look in /etc/intd.conf) then the following applies:
The tcpd program is a wrapper program that can be set up to monitor incoming requests for telnet, finger, ftp and other Internet services. It works as follows: whenever a request for service arrives, the inetd daemon runs tcpd, which logs the request and does some checking. When all is well, tcpd runs the appropriate server program and goes away. For details, see the tcpd manual page. Access control for tcpd is configured using the /etc/hosts.allow and /etc/hosts.deny files. tcpd looks at hosts.allow then hosts.deny. It stops at the first match. Consequently, one can permit a few machines to have ftp or telnet access and then deny access to everybody else in hosts.deny. Here is a sample /etc/hosts.allow:
ALL: 10.100.10.0/255.255.255.0
The ALL refers to all wrapped inetd services. This does not include stand-alone services. The second field 10.100.10.0/255.255.255.0 means all machines on the 10.100.10.0 subnet have access to all the services. Now we want to disallow access for everybody else. Put the following line into /etc/hosts.deny:
ALL: ALL
Ron
nslookup
on your W2K and on a UNIX system. Same IP address. Also make sure that your Linux box gets the same result.
Are these all on the same subnet?
IF you are running tcpd (look in /etc/intd.conf) then the following applies:
The tcpd program is a wrapper program that can be set up to monitor incoming requests for telnet, finger, ftp and other Internet services. It works as follows: whenever a request for service arrives, the inetd daemon runs tcpd, which logs the request and does some checking. When all is well, tcpd runs the appropriate server program and goes away. For details, see the tcpd manual page. Access control for tcpd is configured using the /etc/hosts.allow and /etc/hosts.deny files. tcpd looks at hosts.allow then hosts.deny. It stops at the first match. Consequently, one can permit a few machines to have ftp or telnet access and then deny access to everybody else in hosts.deny. Here is a sample /etc/hosts.allow:
ALL: 10.100.10.0/255.255.255.0
The ALL refers to all wrapped inetd services. This does not include stand-alone services. The second field 10.100.10.0/255.255.255.0 means all machines on the 10.100.10.0 subnet have access to all the services. Now we want to disallow access for everybody else. Put the following line into /etc/hosts.deny:
ALL: ALL
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2002 03:58 PM
03-07-2002 03:58 PM
Re: ftp from my Win2k machine to linux fails, but not from other unix boxes
Yep, there are some entries in the /etc/hosts.deny that match the PC I am connecting from. Strange that they should be there... Anyway, I have removed the entries and lo & behold, I can now connect! I should have known!
Thanks!
- Andy Gray
Thanks!
- Andy Gray
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP