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

Re: My funny ftp...



>>>>> Barrie == Barrie Bremner <TheEnglishman [at] ecosse.net> writes:

Barrie> I`ve got to check the file permissions again on my
Barrie> flatmates machine, however the strange thing is that
Barrie> everything worked perfectly before we upgraded wu-ftp on
Barrie> that machine (my box is also running the new version, yet
Barrie> functions fine). Hosts.allow and .deny are similar on
Barrie> both machines too.

Barrie> Is there anything else that controls access (for normal
Barrie> users, I know root can`t use remote services like telnet
Barrie> and ftp as standard)?

File permissions are irrelevant to getting logged in via FTP; you
should be able to establish a connection. File permissions will
simply hose you when you try to ls, get, and put. But that will be
obvious.

The reason FTP is different is that FTP uses two connections, one
client -> server and the other server -> client under normal setups.
What often happens in home nets is that for some reason the server
can't figure out where the client is for the second connection. It's
a routing table problem.

I forget what the solution was when this happened to me, but the
workaround was something like telnet from the machine whose FTP client
hangs to the server before starting FTP (or was it the other way
around?) which updated the internal routing tables of the kernel. The
permanent solution was to make sure that the routing tables for the
LAN were correct. In particular, I seem to recall that my ppp-server
had to have two names in /etc/hosts, one for the ppp-connection ppp0
and the other for the local intranet on eth0. FTP seems to be very
tricky for setting up multi-homed (ie, multi-network-interface) hosts.

--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? XEmacs rules.

Start your own FREE mailing list at

&copy; 2000 Microsoft Corporation. All Rights Reserved