![]() |
Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU |
Steve Conley wrote: > Bill Horne wrote: > >> 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 >> >> > I think that package will install them (if you've already installed it, > and the modules aren't there, I don't know what the problem is). > > http://superb-east.dl.sourceforge.net/sourceforge/leaf/Bering_1.2_modules_2.4.20.tar.gz Steve, Thanks for your help on this, and although this specific problem is still to be solved, I've learned a lot and have been introduced to LEAF. I appreciate your time. I ran depmod, and then modprobe for both the ip_nat_ftp and ip_conntrack_ftp modules. Both are already installed. When I start the ftp client, I still get the error "ftp: setsockopt: Bad file descriptor", but I no longer get the error "setsockopt(ignored): Permission denied", so we're making progress. If I attempt an "ls" in passive mode, the process stalls after the "entering passive mode" message, as it did before. However, after I mapped port 20 at the firewall, I *was* able to ftp files in active mode. Ergo, it's an issue with passive mode. I'd appreciate all suggestions on ways to isolate and cure the issue with _passive_ mode transfers. Bill
![]() |
|
BLU is a member of BostonUserGroups | |
We also thank MIT for the use of their facilities. |