summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking (unfollow)
Commit message (Collapse)AuthorFilesLines
2002-01-162001-01-16 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-4/+7
* lib/tftpDriver.clib/tftpDriver.c: Fix TFTP block number checking.
2002-01-062002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+5
* pppd/sys-rtems.c: Remove unused variable status from dodefaultroute.
2002-01-042002-02-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-16/+18
* lib/tftpDriver.c: Remove set_errno_and_return_minus_one, include <rtems/seterr.h>.
2001-12-192001-12-18 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-1/+7
* lib/tftpDriver.c: Allow chdir() to work on TFTP `directories' (path names with a / at the end) while disallowing open() operations on TFTP `directories'.
2001-12-072001-12-07 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-6/+17
* lib/tftpDriver.c: Restore write capability.
2001-11-262001-11-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-2/+4
* arpa/Makefile.am: Remove stray lines.
2001-10-182001-10-18 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-23/+85
* lib/tftpDriver.c: Properly handles ../ components in chdir() and open() operations within the TFTP file system.
2001-10-122001-10-12 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+0
* rootfs/mkrootfs.c, rootfs/mkrootfs.h: Fixed typo.
2001-10-122001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+56
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove.
2001-10-122001-10-12 Mike Siers <mikes@poliac.com>Joel Sherrill1-0/+11
* Update to stable working state. Congratulations Mike! :) * modem_example: Directory removed. * modem_example/16550.h, modem_example/README, modem_example/modem.c, modem_example/modem.h, modem_example/ppp.c, modem_example/ppp.h, modem_example/pppcompress.c: Files removed. * pppd/example/pppd.options: New file. * pppd/README, pppd/STATUS, pppd/cbcp.c, pppd/cbcp.h, pppd/chat.c, pppd/pppd.h, pppd/rtemsmain.c: Updated.
2001-10-112001-10-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-0/+7
* .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate.
2001-09-272001-09-27 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-24/+112
* lib/tftpDriver.c: Add limited chdir() support to the TFTP filesystem.
2001-09-272001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill9-8/+23
* machine/Makefile.am: Use 'PREINSTALL_FILES ='. * net/Makefile.am: Use 'PREINSTALL_FILES ='. * netinet/Makefile.am: Use 'PREINSTALL_FILES ='. * vm/Makefile.am: Use 'PREINSTALL_FILES ='. * pppd/Makefile.am: Use 'PREINSTALL_FILES ='. * sys/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems_servers/Makefile.am: Use 'PREINSTALL_FILES ='. * arpa/Makefile.am: Use 'PREINSTALL_FILES ='. * nfs/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems_webserver/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems/Makefile.am: Use 'PREINSTALL_FILES ='. * rtems_telnetd/Makefile.am: Use 'PREINSTALL_FILES ='.
2001-09-242001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* Makefile.am: Use PREINSTALL_FILES = to make automake-1.5 happy.
2001-09-192001-09-19 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-0/+39
* lib/tftpDriver.c: Add some debugging capability.
2001-09-192001-09-19 Chris Johns <ccj@acm.org>Joel Sherrill5-5/+104
* nfs/bootp_subr.c, rtems/rtems_bootp.c, rtems/rtems_bsdnet.h, rtems/rtems_bsdnet_internal.h Added support for populating the initial "root" filesystem with information obtained via the DHCP response.
2001-09-192001-09-19 Chris Johns <ccj@acm.org>Joel Sherrill2-0/+415
* Added support for populating the initial "root" filesystem with information obtained via the DHCP response. * rootfs: New directory. * rootfs/.cvsignore, rootfs/Makefile.am, rootfs/mkrootfs.c, rootfs/mkrootfs.h: New files. * configure.in, Makefile.am: Modified to reflect addition.
2001-08-172001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill1-0/+6
* pppd/STATUS: Updated by Joel based upon email from Mike. * pppd/cbcp.c, pppd/cbcp.h: Readded files. These support callback functionality that has not even been compiled under RTEMS yet.
2001-08-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+6
* pppd/example/Makefile: Removed. * pppd/example/Makefile-user: Added was Makefile. Renamed to avoid bootstrap -c clobbering it.
2001-08-162001-08-16 Mike Siers <mikes@poliac.com>Joel Sherrill2-0/+27
* Update of PPPD to 2.3.11 from 2.3.5 and addition of an example application. Mike's notes on the modifications: - renamed error() function because of namespace problems - removed calls to the exit() funciton - removed extra files from the pppd source directory - defined pppd task constant values in rtemspppd.h - modifyied example code to get actual tick per second value - placed the pppd 2.3.11 man page file (pppd.8) into the pppd directory * pppd/cbcp.c, pppd/cbcp.h, pppd/main.c, pppd/ppp_tty.c, pppd/pppmain.c, pppd/rtems-ppp.c, pppd/rtems-ppp.c: Deleted. * pppd/pppd.8, pppd/rtemsmain.c, pppd/rtemspppd.c, pppd/rtemspppd.h, pppd/sys-rtems.c, pppd/utils.c, pppd/example/Makefile, pppd/example/README, pppd/example/init.c, pppd/example/netconfig.h, pppd/example/ppp.conf, pppd/example/pppdapp.c, pppd/example/system.h: New files. * modem/ppp_tty.c, net/if_ppp.h, pppd/Makefile.am, pppd/README, pppd/STATUS, pppd/auth.c, pppd/ccp.c, pppd/ccp.h, pppd/chap.c, pppd/chap.h, pppd/chap_ms.c, pppd/chap_ms.h, pppd/chat.c, pppd/demand.c, pppd/fsm.c, pppd/fsm.h, pppd/ipcp.c, pppd/ipcp.h, pppd/ipxcp.c, pppd/ipxcp.h, pppd/lcp.c, pppd/lcp.h, pppd/magic.c, pppd/magic.h, pppd/options.c, pppd/patchlevel.h, pppd/pathnames.h, pppd/pppd.h, pppd/upap.c, pppd/upap.h: Modified.
2001-08-162001-08-16 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+4
* rtems_telnetd/.cvsignore: New file.
2001-08-092001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>Joel Sherrill3-2/+19
* Makefile.am, configure.in, rtems_servers/Makefile.am, rtems_servers/telnetd.c, rtems_servers/telnetd.h, rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h, wrapup/Makefile.am: - pty and telnetd have a new subdir rtems_telnetd to avoid the side effect when ftpd change. - the tcp/ip stats have been implemented into icmds.c and started when telnetd daemon is started. * rtems_servers/telnetd.c, rtems_servers/telnetd.h: Removed. * rtems_telnetd: New directory. * rtems_telnetd/Makefile.am, rtems_telnetd/README, rtems_telnetd/icmds.c, rtems_telnetd/pty.c, rtems_telnetd/pty.h, rtems_telnetd/telnetd.c, rtems_telnetd/telnetd.h: New files.
2001-06-182001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill1-0/+4
* rtems_servers/Makefile.am: Deleted blank lines.
2001-06-142001-06-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+6
* rtems_servers/telnetd.c, shell/telnetd.h: Moved from libmisc/shell so the network stack to address network depenendency. * rtems_servers/Makefile.am: Modified to reflect above.
2001-05-102001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-3/+7
* libc/Makefile.am: Remove -D__STRICT_ANSI__.
2001-04-242000-04-24 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-36/+71
* lib/rtems_bsdnet_ntp.c: Modifications to make the RTEMS NTP synchronization a little more robust -- no NTP daemon yet, but at least it trys a little harder when the primary NTP server is down.
2001-04-202001-04-20 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill1-1/+8
* modem/ppp.c, pppd/main.c, pppd/pppmain.c, pppd/rtems-ppp.c, pppd/modem_example/modem.c, pppd/modem_example/ppp.c: Translated Polish comments and other strings into English * pppd/STATUS: Updated to reflect the changes
2001-04-202001-04-20 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill1-0/+4
* rtems_servers/ftpd.c: Correct argument so hooks work again.
2001-03-152001-03-15 Ralf Corsepiu <corsepius@faw.uni-ulm.de>Joel Sherrill1-0/+4
* include/.cvsignore: Remove danlgling file.
2001-03-052001-01-31 Sergei Organov <osv@javad.ru>Joel Sherrill1-0/+15
* 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-02-052001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill10-32/+64
* Makefile.am, arpa/Makefile.am, machine/Makefile.am, net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am, rtems_webserver/Makefile.am, sys/Makefile.am, vm/Makefile.am: Apply include_*HEADERS instead of H_FILES. * include/Makefile.am: Remove. * Makefile.am: Add handling of *.h files. * configure.in: Remove include/Makefile.
2001-01-252001-01-25 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-9/+25
* lib/tftpDriver.c: Reduce first timeout interval. This improves throughput on systems which are dropping packets. Only the first timeout is reduced. This keeps the number of extra packets down on networks that are very busy and dropping lots of packets.
2001-01-242001-01-24 Sergei Organov <osv@javad.ru>Joel Sherrill1-0/+30
* 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-122001-01-12 Sergei Organov <osv@javad.ru>Joel Sherrill1-0/+34
* 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
2001-01-022001-01-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-0/+59
* CHANGELOG: Removed. * README: Merged CHANGELOG contents as initial changes.
2000-12-142000-12-14 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-498/+589
* lib/tftpDriver.c: Added write capability.
2000-12-082000-12-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+12
* libc/linkaddr.c: Initialized variable to remove warning. * modem/ppp.c, modem/ppp_tty.c: Made numerous variable declarations conditional on PPP_COMPRESS and PPP_FILTER. Commented out variables that were not used because the code using them was commented out. Removed totally unused variables. * modem/pppcompress.c: Added parentheses to avoid warnings. * pppd/pppmain.c: Removed numerous warnings.
2000-11-302000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+5
* modem/ppp_tty.c: Changed to include <rtems/termiostypes.h> since that is an RTEMS specific header file.
2000-11-302000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-2/+7
* sys/ttycom.h: Moved to lib/include/sys. * Makefile.am: Modified to reflect above.
2000-11-272000-11-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2-1/+5
* libc/res_init.c: Fix typo - adding missing # on include.
2000-11-252000-11-25 Antti P Miettinen <antti.p.miettinen@nokia.com>Joel Sherrill2-0/+275
* wrapup/Makefile.am: Added modem subdir. * configure.in, Makefile.am: Added modem subdir. * net/Makefile.am: Added if_pppvar.h, pppcompress.h. * pppd/Makefile.am: Added pppmain.c (which needs work). * pppd/chat.c, pppd/fsm.c, pppd/fsm.h, pppd/ipxcp.c, pppd/main.c, pppd/ppp_tty.c, pppd/upap.c: Changes from Thomas Doerfler <Thomas.Doerfler@imd-systems.de> and cosmetic changes by me. Actually main.c and ppp_tty.c should be scratched. The modem subdir has the real ppp_tty.c and the real pppd main is in pppmain.c.
2000-11-252000-11-25 Eric Norum <eric.norum@usask.ca>Joel Sherrill2-1/+9
* libc/res_init.c: Move include to avoid compiler dumping core.
2000-11-252000-11-25 Antti P Miettinen <antti.p.miettinen@nokia.com>Joel Sherrill4-3/+16
* wrapup/Makefile.am: Added modem subdir. * configure.in, Makefile.am: Added modem subdir. * net/Makefile.am: Added if_pppvar.h, pppcompress.h. * pppd/Makefile.am: Added pppmain.c (which needs work). * pppd/chat.c, pppd/fsm.c, pppd/fsm.h, pppd/ipxcp.c, pppd/main.c, pppd/ppp_tty.c, pppd/upap.c: Changes from Thomas Doerfler <Thomas.Doerfler@imd-systems.de> and cosmetic changes by me. Actually main.c and ppp_tty.c should be scratched. The modem subdir has the real ppp_tty.c and the real pppd main is in pppmain.c.
2000-11-092000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
2000-11-022000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+5
* Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
2000-10-312000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill3-0/+14
* POSIX include files merged into newlib. This resulted in some definitions moving to other files and thus some secondary effects in RTEMS source code. * machine/types.h: Added _CLOCKID_T_ and _TIMER_T_ to be in sync with newlib's <machine/types.h>. * rtems/rtems_bsdnet_internal.h: newlib now includes definition of struct itimerval in <sys/time.h>.
2000-10-252000-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2-1/+6
* Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
2000-10-192000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>Joel Sherrill3-13/+21
* lib/tftpDriver.c: add comments to handlers struct function pointers. * rtems/rtems_glue.c: move pointer arithmetic to be _after_ pointer has been checked against NULL.
2000-10-182000-10-18 Chris Johns <ccj@acm.org>Joel Sherrill1-0/+4
* pppd/ipxcp.c: Fixed a typo.
2000-09-282000-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-0/+6
* rtems_webserver/Makefile.am, rtems_webserver/base64.c, rtems_webserver/base64.c: Renamed base64.c to wbase64.c. * rtems_webserver/sock.c: Added file missed in merger.