ProFTPD Allows log in but freezes everywhere else.

Hi,

I got a fresh install of Virualmin running on Debian 5.0.2.

When i login with ftp I can authenticate but then when I type any command like ‘dir’ it freezes on ‘200 PORT command successful’, if I wait 5 minutes it says ‘425 Unable to build data connection: Connection timed out.’

I installed FTP after Virtualmin and after I created some virtual servers, could this be an issue?

I checked the FTP log and there is nothing there apart from a few failed login attempts from incorrectly entering the password.

I ran ‘Re-Check Config’ from ‘System Settings’ and it said that /bin/false was missing from /etc/shell so i added it and that error message went away. Now when i run Check Config there are no errors.

Any thoughts?

Regards,

Keyvan

Try installing the mod_conntrack_ftp module with this:

modprobe mod_conntrack_ftp

Does it work for you at that point?
-Eric

I used a proper ftp program, enabled passive ports on the firewall and the config file of proftp and that works. But regular windows ftp command still does not work. Port 21 is open on the firewall (pix box)

There is no module called ip_conntrack_ftp on my system is it nf_conntrack_ftp as listed below maybe?

This is a print out of lsmod:

nf_conntrack_ftp 12728 0

iptable_nat 9872 0

nf_nat 23192 1 iptable_nat

nf_conntrack_ipv4 19352 3 iptable_nat,nf_nat

nf_conntrack 71440 4 nf_conntrack_ftp,iptable_nat,nf_nat,nf_conntrack_ipv4

iptable_mangle 7424 0

iptable_filter 7424 0

ip_tables 21520 3 iptable_nat,iptable_mangle,iptable_filter

x_tables 25224 2 iptable_nat,ip_tables

ipv6 288328 44

loop 19468 0

psmouse 42268 0

snd_pcm 81672 0

snd_timer 25744 1 snd_pcm

snd 63688 2 snd_pcm,snd_timer

soundcore 12064 1 snd

snd_page_alloc 13072 1 snd_pcm

serio_raw 9860 0

iTCO_wdt 15696 0

rng_core 8968 0

pcspkr 7040 0

video 24084 0

output 7808 1 video

button 11680 0

e752x_edac 16656 0

shpchp 34208 0

edac_core 49560 1 e752x_edac

pci_hotplug 32056 1 shpchp

joydev 14848 0

dcdbas 11952 0

evdev 14208 0

ext3 124944 1

jbd 51240 1 ext3

mbcache 12804 1 ext3

sd_mod 29376 3

sg 36576 0

ide_cd_mod 36360 0

cdrom 37928 1 ide_cd_mod

ata_generic 10116 0

libata 165600 1 ata_generic

dock 14112 1 libata

ide_pci_generic 9220 0 [permanent]

usbhid 45920 0

hid 41664 1 usbhid

ff_memless 9224 1 usbhid

e1000 117184 0

floppy 61672 0

piix 12424 0 [permanent]

ehci_hcd 35980 0

ide_core 128284 3 ide_cd_mod,ide_pci_generic,piix

megaraid_mbox 32912 2

uhci_hcd 25760 0

scsi_mod 160760 4 sd_mod,sg,libata,megaraid_mbox

megaraid_mm 14008 1 megaraid_mbox

thermal 22816 0

processor 42304 1 thermal

fan 9352 0

thermal_sys 17728 4 video,thermal,processor,fan