summaryrefslogtreecommitdiffstats
path: root/cpukit/ftpd/ftpd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Change SIX_MONTHS to time_t.Ralf Corsepius2009-02-051-1/+1
|
* Add __attribute__((unused)) to unused function args.Ralf Corsepius2009-01-021-1/+1
|
* Fix prototype.Ralf Corsepius2008-08-291-1/+1
|
* 2008-08-21 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2008-08-211-4/+4
| | | | * ftpd/ftpd.c: Don't use annonymous unions.
* Fix broken prototype.Ralf Corsepius2008-08-011-1/+1
|
* Add prototypes.Ralf Corsepius2008-07-291-2/+2
|
* 2007-08-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2007-08-281-6/+11
| | | | | PR 1256/networking * ftpd/ftpd.c: Fix unaligned access.
* 2007-05-08 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2007-05-081-0/+4
| | | | * ftpd/ftpd.c: Add HAVE_CONFIG_H magic.
* 2006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2006-08-311-1/+1
| | | | | | | | | | | | | | | * ftpd/ftpd.c, libcsupport/include/sys/ioccom.h, libcsupport/src/ioctl.c, libnetworking/kern/uipc_mbuf.c, libnetworking/libc/inet_addr.c, libnetworking/net/ethernet.h, libnetworking/net/if.c, libnetworking/net/if_ethersubr.c, libnetworking/net/if_ppp.c, libnetworking/net/if_pppvar.h, libnetworking/net/if_var.h, libnetworking/net/ppp_tty.c, libnetworking/netinet/in_cksum.c, libnetworking/nfs/bootp_subr.c, libnetworking/rtems/rtems_bsdnet_internal.h, libnetworking/sys/mbuf.h, pppd/md4.c, pppd/pppd.h: Remove warnings due to improper use of int which shows up on 16 bit targets. Added ioctl_command_t since IOCTL command argument does not reliably fit into 16 bits.
* socklen_t.Ralf Corsepius2005-05-101-2/+2
|
* 2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius2004-10-211-4/+4
| | | | * libnetworking/rtems_servers/ftpd.c: Use POSIX fixed size types.
* 2002-09-07 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2002-09-071-0/+1
| | | | | * pppd/ipcp.c, rtems_servers/ftpd.c: Add include files to resolve warnings.
* 2002-08-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-141-1/+0
| | | | | | | * rtems_servers/ftpd.c: Remove unused variable buf. * pppd/md5.c: #include <string.h> to make gcc31 happy. * rtems_telnetd/telnetd.c: #include <string.h> to make gcc31 happy. * rtems_webserver/webmain.c: Remove unused variable dir, cp.
* 2001-04-20 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill2001-04-201-1/+1
| | | | * rtems_servers/ftpd.c: Correct argument so hooks work again.
* 2001-01-31 Sergei Organov <osv@javad.ru>Joel Sherrill2001-03-051-265/+161
| | | | | | | | | | | | | | | * rtems_servers/ftp.d: Following changes: - Hacks with current dir and root dir removed in favor of new libio support for task-local current and root directories. - Bug in `close_data_socket()' introduced by previous change fixed. - `command_pasv()' changed to set timeout on socket we are listening on and code fixed to don't close socket twice on error. - `serr()' changed to clear `errno'. - `data_socket()' changed to clear `errno' before `bind()'. - `session()' changed to clear `errno' before processing session. - `close_data_socket()' fixed to close both active and passive sockets - Initialize info->data_socket to -1 in `daemon()' - Initialize `fname' to empty string in `exec_command()'
* 2001-01-24 Sergei Organov <osv@javad.ru>Joel Sherrill2001-01-241-552/+1015
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rtems_servers/ftpd.c, rtems_servers/ftpd.h: Major enhancements as listed below: - Timeouts on sockets implemented. 'idle' field added to configuration. No timeout by default to keep backward compatibility. Note: SITE IDLE command not implemented yet. - Basic global access control implemented. 'access' field added to configuration. No access limitations by default to keep backward compatibility. - Anchor data socket for active mode (using self IP and port 20.) - Fixed default data port support (still not tested). - Don't allow IP address different from originating host in PORT command to improve security. - Fixed bug in MDTM command. - Check for correctness of parsing of argument in command_port(). - Fixed squeeze_path() to don't allow names like 'NAME/smth' where 'NAME' is not a directory. - Command parsing a little bit improved: command names are now converted to upper-case to be more compatible with RFC (command names are not case-sensitive.) - Reformat comments so that they have RTEMS look-and-feel. - Fixed DELE, SITE CHMOD, RMD, MKD broken by previous changes - True ASCII mode implemented (doesn't work for hooks and /dev/null) - Passive mode implemented, PASV command added. - Default port for data connection could be used (untested, can't find ftp client that doesn't send PORT command) - SYST reply changed to UNIX, as former RTEMS isn't registered name. - Reply codes reviewed and fixed.
* 2001-01-12 Sergei Organov <osv@javad.ru>Joel Sherrill2001-01-121-732/+1358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rtems_servers/ftpd.c, rtems_servers/ftpd.h: Major enhancements as listed below: - use pool of pre-created threads to handle sessions instead of creating/deleting threads on the fly - LIST output is now similar to what "/bin/ls -al" would output, thus FTP clients such Netscape are happy with it. - LIST NAME now works (both for files and directories) - added support for NLST, CDUP, and MDTM FTP commands to make more FTP clients happy - keep track of CWD for every session separately - ability to specify root directory name for FTPD in configuration table. FTPD will then create illusion for FTP clients that this is actually root directory. - ignore options sent in commands, thus LIST -al FILE works and doesn't try to list "-al" directory. - buffers are allocated on stack instead of heap where possible to eliminate malloc/free calls (avoid possible heap fragmentation troubles). - drop using of task notepad to pass parameters - use function arguments instead - use snprintf() instead of sprintf() as the latter is unsafe - use of PF_INET in socket() instead of AF_INET Here are ftp clients I've tried new FTPD with (all of them running on Debian GNU/Linux 2.2): Lftp 2.1.10 NcFTP 2.4.3 Netscape 4.75 ftp mc 4.5.49
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-121-0/+5
|
* Patch from Emmanuel Rauget (raguet@crf.canon.fr) to add a htons on theJoel Sherrill1999-04-021-210/+215
| | | | sin_port.
* Added ftpd server from Jake Janovetz <janovetz@tempest.ece.uiuc.edu>.Joel Sherrill1999-03-161-0/+1067