Please help me solve an ftp client error

Bill Horne bill at horne.net
Wed May 31 08:42:50 EDT 2006


Steve Conley wrote:

>Bill Horne wrote:
>  
>
>>Steve Conley wrote:
>>
>>    
>>
>>>Bill Horne wrote:
>>> 
>>>
>>>      
>>>
>>>>Thanks for reading this.
>>>>
>>>>I've just installed a new Debian Sarge machine, and am puzzled by errors
>>>>I'm getting when I use the ftp client.
>>>>
>>>>I ran ftp -p -d -v myhost.org, and the client started with an error of
>>>>"setsockopt: Bad file descriptor". I was able to log into the host, but
>>>>when I entered an "ls" command, the client responded with "setsockopt
>>>>(ignored): Permission denied". It then prints "227 Entering Passive
>>>>Mode", and stalls, with no further output until timeout some minutes
>>>>later.
>>>>
>>>>I'm able to transfer files to and from myhost.org using a Windows client
>>>>and the MS Ftp program, so I think the problem lies in the ftp client
>>>>that Sarge has installed.
>>>>
>>>>All suggestions welcome.
>>>>
>>>>Bill
>>>>
>>>>  
>>>>        
>>>>
>>>Try loading the ipt_nat_ftp and ipt_conntrack_ftp modules.
>>>
>>> 
>>>
>>>      
>>>
>>I'm unable to insmod them and modprobe can't find them either. I've
>>already got the iptables package loaded: where may I download them?
>>
>>TIA.
>>
>>Bill
>>
>>    
>>
>Actually, I think they're called ip_nat_ftp and ip_conntrack_ftp, not
>"ipt". Modprobe should find them, if not, try this:
>http://superb-east.dl.sourceforge.net/sourceforge/leaf/Bering_1.2_modules_2.4.20.tar.gz
>  
>

I ran modprobe -d and it lists ip_conntrack (but not ip_conntrack_ftp) 
and ip_nat_ftp. It shows mode: NORMAL for both of these.

The listing also show modules "ip_tables" and "iptable_nat".

I don't know if it matters, but modprobe also reports that

    "/etc/modules.conf is more recent than 
/lib/modules/2.4.27-2-686/modules.dep"

HTH.

Bill

-- 
E. William Horne
William Warren Consulting
Computer and Network Installation & Service
http://www.billhorne.com/
Voice:	781 784-7287





More information about the Discuss mailing list