Re: ftpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Larry,

Secure systems are a pain, no?

Anyway, check a couple things:

1. Check /etc/hosts.allow and /etc/hosts.deny. 

You want to deny first. hosts.deny should have a line like:

ALL:ALL

...which means to deny all services to all clients

Now allow all services from your workstation:

ALL: ip-address

or allow all services from all local and all on subnet 192.168.0.0:

ALL: local 192.168

2. Check /etc/inetd.conf. You should have a line like this:

ftp stream  tcp nowait  root    /usr/sbin/tcpd  in.ftpd -l -a

...this tells inetd how to handle a ftp request.


On Sun, 3 Sep 2000, Larry Griffin wrote:

> To anyone besides me working the weekend.
> 
> I upgraded to RedHat 6.2 from 5.2 on Friday because MySQL required a
> newer version of glibc.  At first glance it went smooth but that does
> not seem to so.
> 
> There are a few things that need fixed but right now I need to get some
> coding done which means I need to FTP back into the box.  I edit my code
> on a WIN2000 box and ftp it over to the Linux box.
> 
> The problem is ftpd won't let me ftp into the box anymore.  I've tried
> from my WIN2000 box and NT40 box, both which could do this before the
> upgrade.  I've meen through what books I have and the how-to's on the
> net but havn't found any clues yet.  Maybe someone can give me a hint. 
> The two logs I'm aware of are below.
> 
> Messages:
> ftpd[9723] Lost connection to development [192.168.0.20]
> ftpd[9723] FTP session closed
> inetd[467] pid 9723: exit status 255
> 
> Secure:
> in.ftpd[9723]: connection from 192.168.0.20
> 
> This is / was a simple LAN network with no modem card or any other
> access except via the console or from another machine in within my
> office. Oh, and telnet works fine, I've double checked the host table
> for IP address, and there is nothing in host.deny and host.allow.
> 
> Any pointers would be appreciated.
> Larry Griffin

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux