| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* 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".
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* net/if_ppp.c, net/ppp_tty.c: Initial preparations for multiple
PPPD connections.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* pppd/rtemsdialer.h: New file missed in previous commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* rtems_telnetd/pty.c: Move config.h to were it belongs.
Remove printf (Reported by Till Straumann
<strauman@SLAC.Stanford.EDU>).
|
|
|
|
| |
* lib/tftpDriver.clib/tftpDriver.c: Fix TFTP block number checking.
|
|
|
|
|
| |
* pppd/sys-rtems.c: Remove unused variable status from
dodefaultroute.
|
|
|
|
|
| |
* lib/tftpDriver.c: Remove set_errno_and_return_minus_one, include
<rtems/seterr.h>.
|
|
|
|
|
|
| |
* lib/tftpDriver.c: Allow chdir() to work on TFTP `directories'
(path names with a / at the end) while disallowing open() operations
on TFTP `directories'.
|
|
|
|
| |
* lib/tftpDriver.c: Restore write capability.
|
|
|
|
| |
* arpa/Makefile.am: Remove stray lines.
|
|
|
|
|
| |
* lib/tftpDriver.c: Properly handles ../ components in chdir() and
open() operations within the TFTP file system.
|
|
|
|
| |
* rootfs/mkrootfs.c, rootfs/mkrootfs.h: Fixed typo.
|
|
|
|
|
| |
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
|
|
|
|
|
|
| |
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
* configure.ac: New file, generated from configure.in by autoupdate.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* .cvsignore: Add autom4te.cache for autoconf > 2.52.
* configure.in: Remove.
* configure.ac: New file, generated from configure.in by autoupdate.
|
|
|
|
|
| |
* lib/tftpDriver.c: Add limited chdir() support to the TFTP
filesystem.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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 ='.
|
|
|
|
| |
* Makefile.am: Use PREINSTALL_FILES = to make automake-1.5 happy.
|
|
|
|
| |
* lib/tftpDriver.c: Add some debugging capability.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* pppd/example/Makefile: Removed.
* pppd/example/Makefile-user: Added was Makefile. Renamed to
avoid bootstrap -c clobbering it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* rtems_telnetd/.cvsignore: New file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* rtems_servers/Makefile.am: Deleted blank lines.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* libc/Makefile.am: Remove -D__STRICT_ANSI__.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
| |
* rtems_servers/ftpd.c: Correct argument so hooks work again.
|
|
|
|
| |
* include/.cvsignore: Remove danlgling file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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()'
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* CHANGELOG: Removed.
* README: Merged CHANGELOG contents as initial changes.
|
|
|
|
| |
* lib/tftpDriver.c: Added write capability.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* modem/ppp_tty.c: Changed to include <rtems/termiostypes.h> since
that is an RTEMS specific header file.
|