There is a embedded linux system which supports ftp and telnet connection by using
inetd:
#cat /etc/inetd.conf
telnet stream tcp nowait root /usr/sbin/telnetd
telnetd
fpt stream tcp nowait root /usr/sbin/ftpd
ftpd
Because the system has only 8 mb RAM and doesnot support virtual memory,we have
to limit the number of connection to 1 for telnet and ftp respectively. i have tried
replacing nowait with wait but doesnot work: no connection can be built src="http://www.linuxforum.net/forum/images/icons/frown.gif">
I know it is easy to implement it using xinetd, how about using inetd ?
regards!
|