[plug] Trouble with ftpd

David Buddrige David.Buddrige at optum.com.au
Wed Aug 5 15:47:48 WST 1998


>> Hi guys,
>> 
>> am running a slakware 3.1 system with squid and socks5 as a firewall /
proxy
>> server for my company... for some reason, ftp seems to have stopped
working.
>> I noticed that while there is a httpd process running, I cannot see
anything
>> like ftpd... 
>
>Usually run from inetd.

Here's a complete ps listing from root

  PID TTY STAT  TIME COMMAND
    1  ?  S     0:02 init [3] 
    2  ?  SW    0:00 (kflushd)
    3  ?  SW<   0:00 (kswapd)
    4  ?  SW    0:00 (nfsiod)
    5  ?  SW    0:00 (nfsiod)
    6  ?  SW    0:00 (nfsiod)
    7  ?  SW    0:00 (nfsiod)
   12  ?  S     0:00 /sbin/update 
   13  ?  S     0:00 /sbin/kerneld 
   52  ?  S     0:00 /usr/sbin/crond -l10 
   69  ?  S     0:00 /usr/sbin/syslogd 
   71  ?  S     0:01 /usr/sbin/klogd 
   75  ?  S     0:00 /usr/sbin/inetd 
   77  ?  S     0:00 /usr/sbin/named 
   80  ?  S     0:00 /usr/sbin/lpd 
   88  ?  S     0:00 sendmail: accepting connections on port 25

   92  ?  S     0:00 sh /home/squid/bin/RunCache 
  102  ?  S     0:00 /usr/sbin/httpd 
  112  a1 S     0:00 pppd cua1 38400 ipcp-accept-local ipcp-accept-remote
connec
  115  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  116   1 S     0:00 /sbin/agetty 38400 tty1 linux 
  117   2 S     0:00 /sbin/agetty 38400 tty2 linux 
  118   3 S     0:00 /sbin/agetty 38400 tty3 linux 
  119   4 S     0:00 /sbin/agetty 38400 tty4 linux 
  120   5 S     0:00 /sbin/agetty 38400 tty5 linux 
  121   6 S     0:00 /sbin/agetty 38400 tty6 linux 
  124  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  125  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  126  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  127  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  128  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  129  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  130  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  131  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  132  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  133  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  134  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  135  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  136  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  137  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  138  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  139  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  140  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  141  ?  S     0:00 /usr/local/bin/socks5 -p -n 18 
  164  ?  S     0:00 /sbin/agetty -mt60 38400 19200 9600 2400 1200 ttyS0
vt100 
  165  ?  S     0:00 in.telnetd 
  204  p0 S     0:00 bash 
  206  p0 R     0:00 ps 

as you can see inetd seems to be running... but I can't ftp download
anythning from any of the clients... could this be a setting in my squid
proxy software?

>
>See what happens when you do this:
>[summer at emu indexes]$ telnet localhost
>ftp
>Trying 127.0.0.1...
>Connected to localhost.
>Escape character is '^]'.
>220 emu FTP server (Version wu-2.4.2-academ[BETA-17](1) Tue Jun 9 10:43:14
>EDT 1998) ready.

It seemed to log in ok....

>> 
>> Also, I cannot find a program called "ftpd" on the entire hard-drive - I
>> assume since such a command exists it should be located somewhere...
after a
>> updatedb, locate still failed to find any program called ftpd... does
anyone
>> have any ideas on what might have happed here?
>
>Here's mine:
>
>
>[summer at emu indexes]$ locate ftpd | grep bin | grep -v live
>/usr/sbin/in.ftpd
>

I ran this command and got the result below:

/usr/sbin/in.tftpd
/usr/sbin/wu.ftpd

Is this what it's supposed to look like (sorry still a bit of a newbie)...
8-)

thanks for all the help...

regards

David Buddrige


More information about the plug mailing list