summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2001-05-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-06-182-2/+5
| | | | * rtems_servers/Makefile.am: Deleted blank lines.
* 2001-06-14 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-06-142-1/+15
| | | | | | * 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.
* 2000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>Joel Sherrill2001-05-242-0/+127
| | | | | | | | | | | | | | | | | | | | | * monitor/mon-prmisc.c: Correct print line. * shell/Makefile.am: Added new file telnetd.c. * shell/telnetd.c, shell/telnetd.h, shell/pty.c: New files. * shell/shell.c, shell/cmds.c, shell/shell.h: Numerous improvments: - The shell_init has a new parameter 'forever' because in /dev/console you need that this process runs forever but in tcp/ip not. (respawn?) - A new task for every session opened trought tcp/ip telnet client. (the chargen,daytime and more are possible of implementation but I ask me if they are necesary) - Exit from the session delete the task and when the client fails too. - More cmds have been implemented. (very reduced version of these) umask, chmod, id, whoami, rm, cat, ... - A reduced line edit has been implemented. Ctrl-C abort the input, Ctrl-d in the first position gives EOF (logout). '\b' and DEL makes the rubout operation. I think that readline() for every session spents a lot of resources.
* 2001-05-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-05-102-3/+7
| | | | * libc/Makefile.am: Remove -D__STRICT_ANSI__.
* 2000-04-24 Eric Norum <eric.norum@usask.ca>Joel Sherrill2001-04-242-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-20 Radzislaw Galler <rgaller@et.put.poznan.pl>Joel Sherrill2001-04-208-38/+46
| | | | | | | * 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-20 Jake Janovetz <janovetz@uiuc.edu>Joel Sherrill2001-04-202-1/+5
| | | | * rtems_servers/ftpd.c: Correct argument so hooks work again.
* 2001-03-15 Ralf Corsepiu <corsepius@faw.uni-ulm.de>Joel Sherrill2001-03-152-2/+4
| | | | * include/.cvsignore: Remove danlgling file.
* 2001-01-31 Sergei Organov <osv@javad.ru>Joel Sherrill2001-03-052-265/+176
| | | | | | | | | | | | | | | * 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-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-02-0514-94/+74
| | | | | | | | | | | * 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-25 Eric Norum <eric.norum@usask.ca>Joel Sherrill2001-01-252-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-24 Sergei Organov <osv@javad.ru>Joel Sherrill2001-01-243-552/+1058
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-123-732/+1394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-02 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2001-01-023-54/+59
| | | | | * CHANGELOG: Removed. * README: Merged CHANGELOG contents as initial changes.
* 2000-12-14 Eric Norum <eric.norum@usask.ca>Joel Sherrill2000-12-142-498/+589
| | | | * lib/tftpDriver.c: Added write capability.
* 2000-12-08 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-12-086-32/+52
| | | | | | | | | | * 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-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-302-1/+6
| | | | | * modem/ppp_tty.c: Changed to include <rtems/termiostypes.h> since that is an RTEMS specific header file.
* 2000-11-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-303-143/+7
| | | | | * sys/ttycom.h: Moved to lib/include/sys. * Makefile.am: Modified to reflect above.
* 2000-11-27 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-11-272-1/+5
| | | | * libc/res_init.c: Fix typo - adding missing # on include.
* 2000-11-25 Antti P Miettinen <antti.p.miettinen@nokia.com>Joel Sherrill2000-11-259-0/+4833
| | | | | | | | | | | | * 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-25 Eric Norum <eric.norum@usask.ca>Joel Sherrill2000-11-252-1/+9
| | | | * libc/res_init.c: Move include to avoid compiler dumping core.
* 2000-11-25 Antti P Miettinen <antti.p.miettinen@nokia.com>Joel Sherrill2000-11-2510-12/+31
| | | | | | | | | | | | * 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-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-092-1/+5
| | | | * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
* 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-022-1/+5
| | | | * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
* 2000-10-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-10-313-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-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-252-1/+6
| | | | | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* 2000-10-19 Antti P Miettinen <anmietti@trshp.ntc.nokia.com>Joel Sherrill2000-10-193-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-18 Chris Johns <ccj@acm.org>Joel Sherrill2000-10-182-1/+5
| | | | * pppd/ipxcp.c: Fixed a typo.
* 2000-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-281-0/+789
| | | | | | * 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.
* 2000-09-28 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-283-4/+10
| | | | | | * 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.
* 2000-09-22 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-225-9/+24
| | | | | | | | | | * machine/types.h, pppd/pppd.h, rtems/rtems_bsdnet_internal.h, rtems_webserver/webmain.c: machine/types.h should not have included rtems.h. It is now including precisely the least amount of low level, yet portable .h files to get the basic RTEMS types defined. This rippled into other files since rtems_bsdnet_internal.h used machine/types.h to include rtems.h.
* 2000-09-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-09-061-5/+9
| | | | * ChangeLog: Cleanup.
* 2000-09-04 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-09-0514-38/+58
| | | | | | | * kern/Makefile.am, lib/Makefile.am, libc/Makefile.am, net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, pppd/Makefile.am, rtems/Makefile.am, rtems_servers/Makefile.am, rtems_webserver/Makefile.am, wrapup/Makefile.am: Include compile.am
* 2000-09-05 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-052-1/+7
| | | | | | * rtems/rtems_syscall.c: Changed from O_NONBLOCK to internal RTEMS_LIBIO_FLAGS_NO_DELAY to avoid O_NONBLOCK/O_NDELAY confusion and to work with the converted flags.
* 2000-09-01 Rosimildo daSilva <rdasilva@connecttel.com>Joel Sherrill2000-09-012-1/+6
| | | | | * emfdb.c: Removed stray semi-colon. Reported on GoAhead mailing lists by Jim Rudnicki <jdrudnicki@yahoo.com>
* 2000-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-09-0139-1847/+8718
| | | | | | | | | | | | * Merged version 2.1 of GoAhead webserver. This update was submitted by Antti P Miettinen <antti.p.miettinen@nokia.com>. * NOTES, base64.c, ejIntrn.h, emfdb.c, emfdb.h, md5.h, md5c.c, um.c, um.h: New files. * wbase64.c: Removed. * Makefile.am, asp.c, balloc.c, default.c, ej.h, ejlex.c, ejparse.c, form.c, h.c, handler.c, mime.c, misc.c, ringq.c, rom.c, security.c, socket.c, sym.c, uemf.c, uemf.h, url.c, value.c, webcomp.c, webmain.c, webpage.c, webrom.c, webs.c, webs.h, websuemf.c, wsIntrn.h: Modified.
* 2000-08-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-09-012-1/+5
| | | | * netinet/tcp_input.c: Spelling corrections.
* 2000-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill2000-08-302-0/+128
| | | | * rtems_webserver/license.txt: New file.
* Adding ChangeLogs.Joel Sherrill2000-08-101-0/+3
|
* Patch from Eric Norum <eric@cls.usask.ca> to add optional support forJoel Sherrill2000-08-021-3/+47
| | | | | fast mutexes that bypass the API level to directly interface with the SuperCore.
* Port of RTEMS to the Texas Instruments C3x/C4x DSP families includingJoel Sherrill2000-07-263-3/+3
| | | | | | | | | | | a BSP (c4xsim) supporting the simulator included with gdb. This port was done by Joel Sherrill and Jennifer Averett of OAR Corporation. Also included with this port is a space/time optimization to eliminate FP context switch management on CPUs without hardware or software FP. An issue with this port was that sizeof(unsigned32) = sizeof(unsigned8) on this CPU. This required addressing alignment checks and assumptions as well as fixing code that assumed sizeof(unsigned32) == 4.
* Changed name of static table versions to avoid conflict.Joel Sherrill2000-07-141-2/+2
|
* Patch from Chris Johns <cjohns@cybertec.com.au> so the web serverJoel Sherrill2000-06-302-3/+12
| | | | shuts down on error -- not exitting the system.
* Moved <sys/cdefs.h> to lib/include so non-networking applications couldJoel Sherrill2000-06-151-1/+1
| | | | include <sys/ioctl.h>.
* Moved <sys/cdefs.h> from libnetworking to lib/include so non-networkingJoel Sherrill2000-06-141-177/+0
| | | | | configurations could see it while including <sys/ioctl.h> and <sys/ioccom.h>.
* *** empty log message ***Joel Sherrill2000-06-143-76/+4
|
* Patch from Chris Johns <cjohns@cybertec.com.au> to enhance networkJoel Sherrill2000-06-142-43/+216
| | | | | | | | | | | | | initialization. This adds an interface which makes it easier to control the BSD stack from user code. The BSD stack initialise uses it. It is a sort of `function' interface for an ifconfig command. I also added support for attaching and removing interfaces. With hot swap PCI comming online support for hot swap PCI will be an important factor in "state of art" RTOS's. This is also part of a general move on my part to allow RTEMS to be configured at runtime by calls rather than table driven at initialisation.
* Merge lossage. Apparently the DOS/UNIX CRLF issue got lost.Joel Sherrill2000-06-121-1438/+1438
|
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-1233-500/+314
|
* New files added on 4.5 branch.Joel Sherrill2000-04-282-0/+0
|