Re: trouble setting up vsftpd on FC3 (tcp_wrappers?)

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

 



Chuckles wrote:
*snip*
> 	I added the ftp firewall entry, I have tried every variation I can
> think of of /etc/hosts.allow entries for ftp (though it should work for
> localhost at least with "ALL: LOCAL" shouldn't it?), started vsftpd, and
> nada.  Since it works with tcp_wrappers disabled I know I'm doing
> something wrong/stupid re them.  I wish I still had FC1 around so I
> could refer to its setup for vsftpd because it worked like a charm.  The
> one thing I think I remember that seems to be different is that there is
> no /etc/xinetd.d/vsftpd file present on FC3 (there is a sample in the
> docs for vsftpd).  I wonder if that is required even when vsftpd is run
> standalone?  Note: I copied the sample xinetd config for vsftpd in the
> vsftpd docs dir to /etc/xinetd.d/vsftpd leaving 'disabled=' set to 'yes'
> and still no go.
> 
> 	I'm feeling very frustrated and stupid here...

	Answering my own cry for help...  Feeling very stupid indeed...    Just
so no one else will suffer my silly mistake:

	With a hint from some helpfull guys in #fedora on irc.freenode.net I
figured out I was screwing up my /etc/hosts.allow entries that allow
local and remote access via tcp_wrappers to vsftpd.  I just had that
feeling it was something bloody obvious I was overlooking and it was.
;)  I had the meaning of the hosts.allow 'LOCAL' entry wrong in my head.
 To quote the man page, "LOCAL Matches any host whose name does not
contain a dot character."  I had to add 127.0.0.1 to allow local
connection to vsftpd with an entry like this, "ALL: LOCAL 127.0.0.1"
then add "vsftpd: <remote ip>".

	Now it works.  On to the next thing I can screw up.  ;)

-- 
Chuckles <phlebas@xxxxxxxxxxxxx>
Life Sucks!  Then You DIE!!!


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux