2003-05-29 Joel Sherrill * rtems/rtems_syscall.c: Removed warnings. 2003-05-15 cjohns@cybertec.com.au PR 406/networking * netinet/in.h: Added INET_ADDRSTRLEN per the SUSv3 standard. 2003-04-15 Joel Sherrill PR 388/networking * kern/kern_sysctl.c: Revert previous patch and use strlcpy() now that it is available. Also fixed some warnings. 2003-03-27 Joel Sherrill * kern/kern_sysctl.c: Converted from BSP strlcpy() to strncpy(). 2003-03-25 Joel Sherrill * rtems/rtems_bsdnet_malloc_starvation.c: Fixed name of include file. 2002-03-25 Eric Norum PR 374/networking * Makefile.am, rtems/rtems_bsdnet.h, rtems/rtems_glue.c: The patch sent as part of PR270 got applied to the wrong place. The effect was that (1) startup was no faster than before and (2) malloc starvation messages came way too quickly. The attached patch fixes both these problems and also provides a mechanism for applications to handle malloc starvation conditions as they see fit. * rtems/rtems_bsdnet_malloc_starvation.c: New file. 2003-03-18 Till Straumann PR 356/bsps * sys/linker_set.h: This patch makes RTEMS/PowerPC eabi compliant. Declare all linker-script defined addresses as variables of unknown size and not as short objects like 'int', 'void*' etc. Since only addresses are used and never those variable's values, the type used in a declaration is not important. 2003-03-06 Ralf Corsepius * configure.ac: Remove AC_CONFIG_AUX_DIR. 2003-03-06 Ralf Corsepius * netinet/in_chksum.c: Remove duplicate case to include in_chksum_arm.c. 2003-02-20 Till Straumann PR 351/networking * nfs/bootp_subr.c: Fix ridiculous leak in bootp and use strdup_bootp_realloc() everywhere for sake of consistency. 2003-02-11 Mike Siers * rtems/rtems_glue.c: A small patch to the network daemon task code. I just added code to check the return value of the rtems_bsdnet_event_receive function. Only when this function returns a SUCCESSFUL status, will the event flags be checked. This is more of a code cleanup issue than a bug. The patch will just ensure the ipintr() and arpintr() functions are only called when a event is signaled. 2003-02-11 Ralf Corsepius * configure.ac: AM_INIT_AUTOMAKE([1.7.2]). 2003-02-11 Ralf Corsepius * configure.ac: AC_PREREQ(2.57). 2003-02-06 Mike Siers PR 342/networking * kern/uipc_mbuf.c: The RTEMS version of the m_copyback is changing the m_len value of the mbuf. I looked into the source from another BSD system and the mbuf length is not changed inside this function. The m_copyback function is only being used in the net/rtsock.c file. So I think this problem is only visable under certain routing table conditions. 2003-02-05 Thomas Doerfler PR 341/networking * lib/ftpfs.c: Account for NULL at end of strings when malloc()'ing memory. 2003-01-28 Joel Sherrill * Makefile.am: Add kern/kern_sysctl.c to Makefile.am so networking tests build. This was subsequently reported as PR337 before I committed the fix. 2003-01-27 Till Straumann * libc/getproto.c, libc/getprotoname.c: modification to call getprotoent_static() if fopen() on /etc/protocols fails. 2003-01-15 Ralf Corsepius * netinet/tcp_subr.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK, INP_LOCK, INP_UNLOCK macros. * netinet/udp_usrreq.c: Add args to INP_INFO_RLOCK, INP_INFO_RUNLOCK, INP_LOCK, INP_UNLOCK macros. 2003-01-03 Jitendra Vegiraju * sys/queue.h: Fix alignment problem on ARM. 2003-01-03 Chris Johns * Makefile.am: Added sys/linker_set.h * kern/Makefile.am: Added kern_mib.c and kern_sysctl.c. * kern/uipc_socket.c: OID changed from KERN_SOMAXCONN to KIPC_SOMAXCONN. * kern/uipc_socket2.c: OID changed from KERN_MAXSOCKBUF to KIPC_MAXSOCKBUF. * net/if_ethersubr.c: FreeBSD 2.2.2 does not have a _net_link node while 5.0 does. * net/if_ppp.c: Removed the TEXT_SET define as these macros are now implemented. * net/rtsock.c: Enable sysctl support plus fix the bug with the lastest FreeBSD sysctl header file. * netinet/icmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_icmp node while 5.0 does. * netinet/if_ether.c: FreeBSD 2.2.2 does not have a _net_link_ether node while 5.0 does. * netinet/igmp_var.h: FreeBSD 2.2.2 does not have a _net_inet_igmp node while 5.0 does. * netinet/in_pcb.c: Fixed the arguments to the sysctl call. Add inp_gencnt and ipi_count. These are used when listing connections. * netinet/in_pcb.h: Added counters to aid the listing of connections. * netinet/in_var.h: Provide the _net_inet_ip and _net_inet_raw nodes. * netinet/ip_fw.c: Disable the firewall sysctl calls. * netinet/tcp_subr.c: Merge tcp_pcblist from the lastest FreeBSD source. * netinet/tcp_var.h: Add structures needed by net-snmp to list connections. * netinet/udp_usrreq.c: Merged udp_pcblist from the lastest FreeBSD source. * netinet/udp_var.h: Added the sysctl id UDPCTL_PCBLIST. Used by net-snmp. * rtems_glue.c: Call sysctl_register_all when initialising the network stack to register all the sysctl calls. These are in the special sections and required an updated linker script. * rtems/rtems_syscall.c: Add the sysctl call. * sys/kernel.h: Use the lastest FreeBSD method of handling sysctl structures. This now held in the sys/linker_set.h file. * sys/queue.h: This is from the lastest FreeBSD code with the circular code merged back in as it is not used in the lastest FreeBSD kernel. * sys/sysctl.h: The lastest sysctl. This was needed to use with the new linker set method. The FreeBSD 2.2.2 version has asm hacks. The lastest version of the FreeBSD does not have these hacks. It uses gcc attribute directives. 2002-12-18 Eric Norum * Makefile.am: Include netinet sources. 2002-12-12 Ralf Corsepius * Makefile.am: Merge-in kern/Makefile.am, net/Makefile.am, netinet/Makefile.am, netinet/Makefile.am, nfs/Makefile.am, rtems/Makefile.am. * kern/Makefile.am: Remove. * net/Makefile.am: Remove. * netinet/Makefile.am: Remove. * nfs/Makefile.am: Remove. * rtems/Makefile.am: Remove. * wrapup/Makefile.am: Reflect changes above. * configure.ac: Ditto. 2002-12-11 Ralf Corsepius * kern/Makefile.am: Remove C_O_FILES; Don't let all-local depend on $OBJS) * lib/Makefile.am: Ditto. * libc/Makefile.am: Ditto. * net/Makefile.am: Ditto. * netinet/Makefile.am: Ditto. * nfs/Makefile.am: Ditto. * rtems/Makefile.am: Ditto. 2002-11-19 Ralf Corsepius * configure.ac: Fix package name. 2002-11-18 Ralf Corsepius * Makefile.am: Merge-in HEADER-handling from net/Makefile.am, netinet/Makefile.am, nfs/Makefile.am. * net/Makefile.am: Remove *_HEADERS. * netinet/Makefile.am: Remove *_HEADERS. * nfs/Makefile.am: Remove *_HEADERS. 2002-11-15 Ralf Corsepius * Makefile.am: Merge-in arpa/Makefile.am, machine/Makefile.am, sys/Makefile.am, vm/Makefile.am. Add . to SUBDIRS. * arpa/Makefile.am: Remove. * machine/Makefile.am: Remove. * sys/Makefile.am: Remove. * vm/Makefile.am: Remove. * configure.ac: Reflect changes above. 2002-11-06 Chris Johns * sys/select.h: Add C++ to C external. 2002-11-02 Ralf Corsepius * kern/uipc_mbuf.c: Comment out m0 in m_copydata to suppress warning. 2002-11-01 Joel Sherrill * ChangeLog: Corrected. 2002-11-01 Eric Norum * nfs/bootp_subr.c, rtems/rtems_bsdnet.h, rtems/rtems_glue.c: Till Straumann's patch (PR295) to use bootp option 129 to get command line string. Till Straumann's patch to change inet_ntoa->inet_ntop. 2002-10-31 Joel Sherrill * libc/rcmd.c, netinet/in_cksum_arm.c: Removed warnings. 2002-10-28 Joel Sherrill * Pass to eliminate warnings. * kern/uipc_mbuf.c: Conditional SYSINIT() usage on __rtems__. Fix return statement without a value. * lib/ftpfs.c: read and write filesystem routines return ssize_t. * lib/syslog.c: Add include of to eliminate warning. * lib/tftpDriver.c: read and write filesystem routines return ssize_t. * libc/gethostbydns.c: Prototype abort(). * libc/inet_ntoa.c: Prototype strcpy(). * libc/rcmd.c: Add include of * net/if_loop.c: Turn token at end of endif to comment. * net/rtsock.c, nfs/bootp_subr.c: Conditional SYSINIT() usage on __rtems__. * rtems/rtems_bootp.c: Add include of . * rtems/rtems_bsdnet_internal.h: Added prototypes for memcpy() and memset() since the BSD code tries to avoid using libc .h files since it is used to being in the kernel. * rtems/rtems_syscall.c: read and write filesystem routines return ssize_t. 2002-10-25 Ralf Corsepius * configure.ac: Add nostdinc to AM_INIT_AUTOMAKE. 2002-10-25 Ralf Corsepius * Makefile.am: Remove bogus reference to CHANGELOG. 2002-10-21 Ralf Corsepius * .cvsignore: Reformat. Add autom4te*cache. Remove autom4te.cache. 2002-10-13 Ralf Corsepius * net/if_ethersubr.c: Add comments to #endif NETATALK to stop gcc from complaining. 2002-10-07 Eric Norum * netinet/tcp_var.h: Corrected typo in ARM alignment patch which broke all other ports. 2002-10-04 Jay Monkman * netinet/in_cksum.c, netinet/ip_icmp.h, netinet/ip_input.c, netinet/tcp_input.c, netinet/tcp_subr.c, netinet/tcp_var.h, sys/queue.h: Address alignment requirements for the ARM. 2002-10-04 Jay Monkman * rtems/rtems_glue.c: Add IP aliasing ioctls SIOCAIFADDR and SIOCDIFADDR. 2002-10-02 Joel Sherrill * kern/uipc_socket.c: Make sure that small non-zero delays work. Suggested cleanup from Eric Norum. 2002-10-02 Eric Norum * rtems/mkrootfs.c: As part of PR283, remove redundant code that creates /etc/passwd and /etc/group. 2002-09-16 Joel Sherrill * netinet/Makefile.am, netinet/udp_usrreq.c: Back off some of the IP_FORWARD patch as it appears to not compile in the current tree. 2002-09-14 Joel Sherrill * kern/uipc_socket.c: Fix case on SO_RCVTIMEO and SO_SNDTIMEO where conversion into ticks can result in a 0 ticks timeout which is the same as requesting no timeout. Reported by Sergei Organov . 2002-09-14 Vyacheslav V. Burdjanadze * kern/uipc_mbuf.c, sys/mbuf.h, netinet/udp_usrreq.c: Add optional UDP broadcast forwarding support. * netinet/Makefile.am: Defined FORWARD_PROTOCOL to enabled UDP broadcast forwarding. 2002-09-02 Ralf Corsepius * netinet/in_cksum.c: #include for puts in generic routines. 2002-08-20 Eric Norum * rtems/rtems_glue.c: Per PR270, the BSD network code expects that the value of the number of seconds since boot is non-zero. The RTEMS network initialization code assures this by waiting for a second. A more efficient technique is to simply wait until the number of seconds since boot is non-zero. 2002-08-09 Joel Sherrill * libc/getservent.c: Per PR265, add #include for ntohl() function. 2002-08-07 Joel Sherrill * netinet/in.h: Per PR263, added include of to so it includes prototypes of ntohl() family of routines. 2002-08-01 Joel Sherrill * machine/param.h, sys/syslimits.h: In the continued effort to eliminate .h conflicts between newlib and RTEMS, these were moved to newlib. * machine/Makefile.am, sys/Makefile.am: Reflect above. 2002-08-01 Ralf Corsepius * wrapup/Makefile.am: Don't install. 2002-07-30 Joel Sherrill * sys/param.h: Removed as a simpler version of this file is now part of the RTEMS newlib support. * sys/Makefile.am: Modified to reflect above. 2002-07-30 Joel Sherrill * machine/types.h: Removed as a simpler version of this file is now part of the RTEMS newlib support. * machine/Makefile.am, machine/endian.h, nfs/bootp_subr.c, rtems/rtems_bsdnet_internal.h, sys/Makefile.am, sys/systm.h: Minor modifications to use the simpler machine/types.h. Mostly more complete sets of #include's to account for machine/types.h no longer doing this. 2002-07-30 Jay Monkman * netinet/in_cksum.c, netinet/in_cksum_arm.c: Added ARM in_cksum support. 2002-07-24 Joel Sherrill * sys/select.h: Add a prototype of select() to avoid warnings. In particular a C++ application using select() required a prototype. 2002-07-24 Joel Sherrill * Makefile.am, libc/res_send.c: Do not install or use since RTEMS does not support it. 2002-07-22 Ralf Corsepius * kern/Makefile.am: Use .$(OBJEXT) instead of .o. * lib/Makefile.am: Ditto. * libc/Makefile.am: Ditto. * net/Makefile.am: Ditto. * netinet/Makefile.am: Ditto. * nfs/Makefile.am: Ditto. * rtems/Makefile.am: Ditto. * wrapup/Makefile.am: Ditto. 2002-07-22 Ralf Corsepius * kern/Makefile.am: Eliminate LIBNAME. * lib/Makefile.am: Ditto. * libc/Makefile.am: Ditto. * net/Makefile.am: Ditto. * netinet/Makefile.am: Ditto. * nfs/Makefile.am: Ditto. * rtems/Makefile.am: Ditto. * wrapup/Makefile.am: Use project_libdir instead of $(PROJECT_RELEASE)/lib. 2002-07-17 Jay Monkman * netinet/in.h, netinet/ip.h, netinet/ip_var.h, netinet/tcp.h: Modified to added packed attribute.o 2002-07-05 Ralf Corsepius * configure.ac: RTEMS_TOP(../..). 2002-07-01 Ralf Corsepius * configure.ac: Remove RTEMS_PROJECT_ROOT. 2002-06-27 Thomas Doerfler * Addition of a ftp client filesystem, comparable to the tftp one. * lib/ftpfs.c, rtems/ftpfs.h: New files. * lib/Makefile.am, rtems/Makefile.am: Modified to reflect above. 2002-06-27 Ralf Corsepius * configure.ac: Use AC_CONFIG_AUX_DIR(../..). Add AC_PROG_RANLIB. 2002-06-26 Ralf Corsepius * wrapup/Makefile.am: Don't preinstall libnetworking.a. 2002-06-18 Ralf Corsepius * Makefile.am: Remove commented out net-apps. 2002-06-17 Ralf Corsepius * arpa/Makefile.am: Include $(top_srcdir)/../automake/*.am. * kern/Makefile.am: Include $(top_srcdir)/../automake/*.am. * Makefile.am: Include $(top_srcdir)/../automake/*.am. Use ../aclocal. * lib/Makefile.am: Include $(top_srcdir)/../automake/*.am. * libc/Makefile.am: Include $(top_srcdir)/../automake/*.am. * machine/Makefile.am: Include $(top_srcdir)/../automake/*.am. * net/Makefile.am: Include $(top_srcdir)/../automake/*.am. * netinet/Makefile.am: Include $(top_srcdir)/../automake/*.am. * nfs/Makefile.am: Include $(top_srcdir)/../automake/*.am. * rtems/Makefile.am: Include $(top_srcdir)/../automake/*.am. * sys/Makefile.am: Include $(top_srcdir)/../automake/*.am. * vm/Makefile.am: Include $(top_srcdir)/../automake/*.am. * wrapup/Makefile.am: Include $(top_srcdir)/../automake/*.am. 2002-06-02 Ralf Corsepius * rtems/Makefile.am: include multilib.am instead of RTEMS_BSP.cfg. 2002-05-30 Ralf Corsepius * configure.ac: Remove RTEMS_CHECK_POSIX_API. Remove RTEMS_ENABLE_POSIX. Remove RTEMS_CHECK_CUSTOM_BSP. Remove RTEMS_ENABLE_POSIX. 2002-05-29 Ralf Corsepius Relocate c/src/libnetworking. * Makefile.am: Reflect moval. * machine/Makefile.am: Ditto. * net/Makefile.am: Ditto. * lib/Makefile.am: Ditto. * netinet/Makefile.am: Ditto. * vm/Makefile.am: Ditto. * libc/Makefile.am: Ditto. * sys/Makefile.am: Ditto. * arpa/Makefile.am: Ditto. * nfs/Makefile.am: Ditto. * kern/Makefile.am: Ditto. * rtems/Makefile.am: Ditto. * configure.ac: Dittp. * wrapup/Makefile.am: Ditto. Remove references to networking apps. 2002-05-18 Ralf Corsepius * rtems_telnetd/pty.c: Remove bsp.h. Include . 2002-05-16 Ralf Corsepius * rtems/mkrootfs.c: Add (relocated from libmisc/rootfs). * rtems/mkrootfs.h: Ditto. * rtems/Makefile.am: Reflect changes above. 2002-05-14 Ralf Corsepius * sys/ioctl.h: Remove. * sys/sockio.h: Remove. * sys/filio.h: Remove. * sys/Makefile.am: Reflect changes above. 2001-05-14 Joel Sherrill * ChangeLog: Corrected -- entry should have been in libchip. 2002-05-01 Eric Norum * machine/in_cksum.h: Per PR200 fix multi-line inline assembly to satisfy gcc 3.1 and newer. 2002-04-26 Eric Norum * netinet/in_cksum_i386.c: Add volatile so the more agressive optimization in gcc 3.1 does not reorder things. 2002-04-18 Ralf Corsepius * pppd/utils.c: Adapt to gcc-3.x. 2002-04-11 Chris Johns * c/src/libnetworking/rtems/rtems_bsdnet.h: To address PR59, added the drv_ctrl driver control block field to the ifconfig network driver structure. This field is needed by the i82586 driver which was ported from NetBSD as it had better hardware abstraction. 2002-04-06 Ralf Corsepius * ChangeLog: Fix dates. 2002-03-30 Ralf Corsepius * libc/rcmd.c: Replace __rtems w/ __rtems__. 2002-03-27 Ralf Corsepius * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * arpa/Makefile.am: Remove AUTOMAKE_OPTIONS. * kern/Makefile.am: Remove AUTOMAKE_OPTIONS. * Makefile.am: Remove AUTOMAKE_OPTIONS. * lib/Makefile.am: Remove AUTOMAKE_OPTIONS. * libc/Makefile.am: Remove AUTOMAKE_OPTIONS. * machine/Makefile.am: Remove AUTOMAKE_OPTIONS. * net/Makefile.am: Remove AUTOMAKE_OPTIONS. * netinet/Makefile.am: Remove AUTOMAKE_OPTIONS. * nfs/Makefile.am: Remove AUTOMAKE_OPTIONS. * pppd/Makefile.am: Remove AUTOMAKE_OPTIONS. * rtems/Makefile.am: Remove AUTOMAKE_OPTIONS. * rtems_servers/Makefile.am: Remove AUTOMAKE_OPTIONS. * rtems_telnetd/Makefile.am: Remove AUTOMAKE_OPTIONS. * rtems_webserver/Makefile.am: Remove AUTOMAKE_OPTIONS. * sys/Makefile.am: Remove AUTOMAKE_OPTIONS. * vm/Makefile.am: Remove AUTOMAKE_OPTIONS. * wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS. 2002-03-27 Thomas.Doerfler@imd-systems.de * PR144 * nfs/bootp_subr.c bootpc_init(): Performs a write to memory address 0 when called for the first time. This is done when trying to clear the variable "dhcp_hostname". 2002-03-27 Ilya Alexeev * PR162 * net/if_ppp.c ppp_txdaemon(), net/if_pppvar.h pppstart(): Local variables must not be used in a device write routines. Now ppp_softc structure have own character for writing to device (sc_outchar). I think that converting local variables to static is not a right solution, because problems will occur in the case of two or more ppp instances. * net/ppp_tty.c pppstart(): Type of the ioffset variable must be u_long, otherwise in the case of the big output packet endless loop may occur. 2002-03-21 Ilya Alexeev * net/if_ppp.c, net/ppp_tty.c: Initial preparations for multiple PPPD connections. 2001-03-20 Till Straumann * PR158 * libc/rcmd.c, libc/rcmd.c: Enable the rcmd() library call by commenting out the parts that deal with signals. This enables RTEMS to 'rsh' command to a server connecting fd to remote stdio. The 'server-side' parts of this file which deal with authentication are disabled since they are not needed. 2002-02-27 Ilya Alexeev * net/if_ppp.c, pppd/auth.c, pppd/chat.c, pppd/pppd.h, pppd/sys-rtems.c: Add server with pap-authorization capabilities as well as eliminate some warnings. 2002-02-27 Eric Norum * net/radix.c: Properly handle fetching the default route when there is no route. This was a bug in the original FreeBSD code and this fix is from an updated version of their code. 2002-02-01 Mike Siers * pppd/rtemspppd.c (rtems_pppd_disconnect): Modified to avoid bringing the link down too fast. NOTE: Mike reports successfully running at 56K baud on a direct link. 2002-01-31 Mike Siers * pppd/rtemsdialer.h: New file missed in previous commit. 2002-01-31 Mike Siers * Nice Update of PPPD support which eliminates the requiremetn that drivers be in the termios TASK_DRIVEN mode. Mike did significant testing and reports that it seems to be more stable and handle larger packets better. This patch replaces the termios tasks with more general pppd network driver tasks. The functions pppinput() and pppstart() get called from the interrupt service routine. * Makefile.am, configure.ac, net/Makefile.am, net/bpf.h, net/ethernet.h, net/if.c, net/if.h, net/if_arp.h, net/if_dl.h, net/if_ethersubr.c, net/if_llc.h, net/if_loop.c, net/if_ppp.h, net/if_pppvar.h, net/if_types.h, net/netisr.h, net/ppp-comp.h, net/ppp_defs.h, net/pppcompress.h, net/radix.c, net/radix.h, net/raw_cb.c, net/raw_cb.h, net/raw_usrreq.c, net/route.c, net/route.h, net/rtsock.c, pppd/Makefile.am, pppd/README, pppd/STATUS, pppd/auth.c, pppd/cbcp.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.8, pppd/pppd.h, pppd/rtemsmain.c, pppd/rtemspppd.c, pppd/rtemspppd.h, pppd/sys-rtems.c, pppd/upap.c, pppd/upap.h, pppd/utils.c, pppd/example/README, pppd/example/netconfig.h, wrapup/Makefile.am: Modified. * net/bsd-comp.c, net/if_ppp.c, net/ppp-deflate.c, net/ppp.h, net/ppp_tty.c, net/pppcompress.c, net/zlib.c, net/zlib.h: New file. * modem/, modem/.cvsignore, modem/Makefile.am, modem/ppp.c, modem/ppp.h, modem/ppp_tty.c, modem/pppcompress.c: Subdirectory removed. 2002-01-21 Ralf Corsepius * rtems_telnetd/pty.c: Move config.h to were it belongs. Remove printf (Reported by Till Straumann ). 2002-02-16 Eric Norum * lib/tftpDriver.clib/tftpDriver.c: Fix TFTP block number checking. 2002-02-05 Ralf Corsepius * pppd/sys-rtems.c: Remove unused variable status from dodefaultroute. 2002-02-04 Ralf Corsepius * lib/tftpDriver.c: Remove set_errno_and_return_minus_one, include . 2001-12-18 Eric Norum * 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-07 Eric Norum * lib/tftpDriver.c: Restore write capability. 2001-11-26 Ralf Corsepius * arpa/Makefile.am: Remove stray lines. 2001-10-18 Eric Norum * lib/tftpDriver.c: Properly handles ../ components in chdir() and open() operations within the TFTP file system. 2001-10-12 Mike Siers * 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-11 Ralf Corsepius * .cvsignore: Add autom4te.cache for autoconf > 2.52. * configure.in: Remove. * configure.ac: New file, generated from configure.in by autoupdate. 2001-09-27 Eric Norum * lib/tftpDriver.c: Add limited chdir() support to the TFTP filesystem. 2001-09-23 Ralf Corsepius * 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-22 Ralf Corsepius * Makefile.am: Use PREINSTALL_FILES = to make automake-1.5 happy. 2001-09-19 Eric Norum * lib/tftpDriver.c: Add some debugging capability. 2001-09-19 Chris Johns * 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-08-16 Mike Siers * 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-16 Joel Sherrill * pppd/example/Makefile: Removed. * pppd/example/Makefile-user: Added was Makefile. Renamed to avoid bootstrap -c clobbering it. 2001-08-16 Mike Siers * 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-16 Joel Sherrill * rtems_telnetd/.cvsignore: New file. 2001-08-09 Fernando-Ruiz Casas * 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-05-26 Ralf Corsepius * rtems_servers/Makefile.am: Deleted blank lines. 2001-06-14 Joel Sherrill * 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-09 Ralf Corsepius * libc/Makefile.am: Remove -D__STRICT_ANSI__. 2001-04-24 Eric Norum * 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 * 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 * rtems_servers/ftpd.c: Correct argument so hooks work again. 2001-03-15 Ralf Corsepius * include/.cvsignore: Remove dangling file. 2001-01-31 Sergei Organov * 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 * 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 * 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 * 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 * 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 * CHANGELOG: Removed. * README: Merged CHANGELOG contents as initial changes. 2000-12-14 Eric Norum * lib/tftpDriver.c: Added write capability. 2000-12-08 Joel Sherrill * 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 * modem/ppp_tty.c: Changed to include since that is an RTEMS specific header file. 2000-11-30 Joel Sherrill * sys/ttycom.h: Moved to lib/include/sys. * Makefile.am: Modified to reflect above. 2000-11-27 Joel Sherrill * libc/res_init.c: Fix typo - adding missing # on include. 2000-11-25 Eric Norum * libc/res_init.c: Move include to avoid compiler dumping core. 2000-11-25 Antti P Miettinen * 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 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 * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS. 2000-11-02 Ralf Corsepius * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal. 2000-10-30 Joel Sherrill * 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 . * rtems/rtems_bsdnet_internal.h: newlib now includes definition of struct itimerval in . 2000-10-25 Ralf Corsepius * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization. 2000-10-19 Antti P Miettinen * 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 * pppd/ipxcp.c: Fixed a typo. 2000-09-28 Joel Sherrill * 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 * 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 * ChangeLog: Cleanup. 2000-09-05 Joel Sherrill * 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-04 Ralf Corsepius * 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-01 Rosimildo daSilva * emfdb.c: Removed stray semi-colon. Reported on GoAhead mailing lists by Jim Rudnicki 2000-08-31 Joel Sherrill * Merged version 2.1 of GoAhead webserver. This update was submitted by Antti P Miettinen . * 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 * netinet/tcp_input.c: Spelling corrections. 2000-08-30 Joel Sherrill * rtems_webserver/license.txt: New file. 2000-08-10 Joel Sherrill * ChangeLog: New file.