This is a discussion on vsftpd on fedora - firewall problems (?) within the Linux Operating System forums, part of the Unix Operating Systems category; --> i've got three boxes on a kvm. two are fedora linux, and one is windows xp. i thought i'd ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| i've got three boxes on a kvm. two are fedora linux, and one is windows xp. i thought i'd set up vsftpd as an easy way to transfer files behind my linksys router. i thought i set up my hosts.allow and hosts.deny to allow ftp (and telnet) back in the 192.168.1.xx range, but no where else. i'm the most stuck i've been with linux in a long time. the problem i've got, is that i can telnet win->linux and linux->linux, but i can only ftp win->linux. something goes wrong when i try to ftp from one linux box to another. the log below shows the plight of two boxes "jerry" and "fred". basically i get "no route to host" until i put in "passive" and then it hangs: [fred@fred fred]$ ftp jerry Connected to jerry (192.168.1.151). 220 (vsFTPd 1.2.0) Name (jerry:fred): jerry 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 227 Entering Passive Mode (192,168,1,151,172,93) ftp: connect: No route to host ftp> passive Passive mode off. ftp> ls 200 PORT command successful. Consider using PASV. 150 Here comes the directory listing. [hangs until control-c] receive aborted waiting for remote to finish abort 426 Failure writing network stream. 500 Unknown command. ftp> quit 221 Goodbye. [fred@fred fred]$ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 192.168.1.151 jerry.invalid jerry 192.168.1.152 fred.invalid fred [fred@fred fred]$ cat /etc/hosts.allow # # hosts.allow This file describes the names of the hosts which are # allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # vsftpd: 192.168.1. in.telnetd: 192.168.1. [fred@fred fred]$ cat /etc/hosts.deny # # hosts.deny This file describes the names of the hosts which are # *not* allowed to use the local INET services, as decided # by the '/usr/sbin/tcpd' server. # # The portmap line is redundant, but it is left to remind you that # the new secure portmap uses hosts.deny and hosts.allow. In particular # you should know that NFS uses portmap! ALL: ALL |
| ||||
| On Sun, 22 Feb 2004 13:53:25 -0800, Socks wrote: > the problem i've got, is that i can telnet win->linux and linux->linux, > but i can only ftp win->linux. something goes wrong when i try to ftp > from one linux box to another. the log below shows the plight of two > boxes "jerry" and "fred". i've done a few google searches, but come no closer. usually i find someone else who has had the same problem as me, but not this time. is there another group i should post to? fwiw, the only errors i see in my /var/log/ are the sgi_fam problems (in "/var/log/secure") that i've seen other people call harmless: Feb 24 08:10:50 fred xinetd[1175]: START: sgi_fam pid=1479 from=<no address> Feb 24 08:10:50 fred xinetd[1479]: FAIL: sgi_fam libwrap from=<no address> are they not harmless, and is this something i should persue? |
| Thread Tools | |
| Display Modes | |
|
|