summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd/telnetd.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-05-20Update company nameSebastian Huber1-1/+1
The embedded brains GmbH & Co. KG is the legal successor of embedded brains GmbH.
2022-04-05Update email address of Fernando Ruiz Casas to <fruizcasas@gmail.com>Joel Sherrill1-9/+8
This was requested to be executed prior to relicensing to BSD-2.
2022-03-10telnetd.c: Manual cleanup of embedded brains File HeadersJoel Sherrill1-6/+0
This file's text looked different from others. Fixed by hand. Updates #4625.
2021-05-20telnetd.c: Remove RTEMS_NETWORKING checkVijay Kumar Banerjee1-10/+1
Set the priority manually to make telnetd compatible with the
2021-04-13Revert "cpukit: Remove telnetd"Vijay Kumar Banerjee1-0/+459
This reverts commit 3299dda2454a8847c670a732f6c12ef1f2cc5dd0.
2021-04-07cpukit: Remove telnetdVijay Kumar Banerjee1-459/+0
Update #3850
2018-10-11telnetd: Add server port to configurationSebastian Huber1-3/+10
Close #3543.
2018-10-11telnetd: Create sessions at startSebastian Huber1-222/+254
Update #3543.
2018-10-10telnetd: Allocate the server contextSebastian Huber1-7/+8
Update #3543.
2018-10-10telnetd: Create server socket at startSebastian Huber1-76/+86
Update #3543.
2018-10-10telnetd: Rename shell_args to telnetd_sessionSebastian Huber1-33/+33
Update #3543.
2018-10-10telnetd: Simplify task spawn functionSebastian Huber1-92/+36
Use the minimum task size for the telnet server task since it has to deal only with simple socket operations. Update #3543.
2018-10-10telnetd: Remove keep stdio featureSebastian Huber1-72/+40
The Telnet service started via rtems_telnetd_start() had a keep stdio feature. This just created a task and executed the command function in a loop. For this kind of service we do not library support. This can be done by an application task on its own. Remove this feature and provide only the real Telnet server functionality. Use syslog() for error and status messages. Add test program for the Telnet server. Close #3542.
2018-10-09telnetd: Ignore setsockopt() return statusSebastian Huber1-1/+1
Update #3529.
2018-10-02Use rtems_task_exit()Sebastian Huber1-4/+4
Update #3530. Update #3533.
2018-10-01telnetd: Remove CEXP convenience routinesSebastian Huber1-25/+0
Close #3535.
2018-10-01telnetd: Remove CONFIGURE_MAXIMUM_PTYSSebastian Huber1-48/+63
Add a rtems_telnetd_config_table::client_maximum member to the Telnet configuration. Close #3526. Close #3528.
2018-10-01telnetd: Regroup includesSebastian Huber1-7/+5
2018-10-01telnetd: Remove dead codeSebastian Huber1-7/+0
2018-10-01telnetd: Remove superfluous global variableSebastian Huber1-9/+7
Update #3528.
2018-10-01telnetd: Convert pty driver to new Termios APISebastian Huber1-33/+25
Update #3526.
2018-05-02telnetd: Always build telnet daemonSebastian Huber1-27/+52
Add support for libbsd initialization. Update #3419.
2016-03-24telnetd.c: Fix no prototype warningJoel Sherrill1-4/+5
2014-09-18telnetd: Use socklen_tSebastian Huber1-10/+0
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns1-1/+1
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill1-2/+0
Script does what is expected and tries to do it as smartly as possible. + remove occurrences of two blank comment lines next to each other after Id string line removed. + remove entire comment blocks which only exited to contain CVS Ids + If the processing left a blank line at the top of a file, it was removed.
2010-07-042010-07-04 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+0
* libblock/include/rtems/ide_part_table.h, libblock/src/bdbuf.c, libcsupport/src/__times.c, libcsupport/src/libio_init.c, libcsupport/src/mallocfreespace.c, libcsupport/src/mount-mgr.c, libcsupport/src/mount.c, libcsupport/src/rewinddir.c, libcsupport/src/seekdir.c, libcsupport/src/telldir.c, libcsupport/src/unmount.c, libfs/src/dosfs/fat.c, libfs/src/dosfs/fat_fat_operations.c, libfs/src/dosfs/msdos_create.c, libfs/src/dosfs/msdos_dir.c, libfs/src/dosfs/msdos_eval.c, libfs/src/dosfs/msdos_file.c, libfs/src/dosfs/msdos_format.c, libfs/src/dosfs/msdos_fsunmount.c, libfs/src/dosfs/msdos_initsupp.c, libfs/src/dosfs/msdos_rename.c, libmisc/cpuuse/cpuusagereport.c, libmisc/shell/vis.c, libmisc/stackchk/check.c, sapi/src/posixapi.c, telnetd/telnetd.c: Remove include of assert.h when it is not needed.
2009-12-172009-12-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-1/+1
* telnetd/telnetd.c: Honor configuration setting for telnet daemon stack size.
2009-11-132009-11-13 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius1-9/+9
* telnetd/telnetd.c (telnetd_dflt_spawn): Adjust prototype.
2009-05-062009-05-06 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-2/+0
* libmisc/uuid/gen_uuid.c, libnetworking/lib/syslog.c, telnetd/telnetd.c: Fixed warnings.
2009-04-14adapt copyright statementsThomas Doerfler1-3/+2
2009-03-272009-03-27 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill1-106/+132
* Makefile.am, preinstall.am, libmisc/Makefile.am, libmisc/shell/shell.c, libmisc/shell/shell.h, telnetd/check_passwd.c, telnetd/telnetd.c, telnetd/telnetd.h: Generalized login check. * libmisc/shell/login.h, libmisc/shell/login_check.c, libmisc/shell/login_prompt.c: New files. * libmisc/stackchk/check.c: Changed format for blown stack message. * libcsupport/src/libio_sockets.c: Removed superfluous cast. * libnetworking/rtems/ftpfs.h: Documentation.
2008-10-152008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-27/+40
PR 1331/networking * libmisc/shell/shell.c, telnetd/check_passwd.c, telnetd/telnetd.c, telnetd/telnetd.h: Improve comments and explanation of options to rtems_telnetd_initialize. Add extra newline to login sequence from shell.
2008-08-02Add missing prototypes.Ralf Corsepius1-3/+2
Remove unused local declations.
2007-11-262007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-111/+121
* telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Style clean up. Now works on gen5200/icecube.
2007-11-062007-11-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill1-23/+6
* telnetd/icmds.c, telnetd/pty.c, telnetd/telnetd.c, telnetd/telnetd.h: Fix headers and formatting.
2007-09-252007-09-25 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-217/+225
* telnetd/README, telnetd/pty.c, telnetd/pty.h, telnetd/telnetd.c, telnetd/telnetd.h: telnetd rewrite. * telnetd/check_passwd.c, telnetd/des.c, telnetd/genpw.c: New files.
2007-09-242007-09-24 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill1-68/+406
PR 1262/filesystem * libcsupport/Makefile.am, libnetworking/libc/herror.c, libnetworking/libc/res_send.c, libnetworking/sys/uio.h, telnetd/Makefile.am, telnetd/README, telnetd/preinstall.am, telnetd/pty.c, telnetd/telnetd.c: Add support for readv() and writev() including documentation and test case. * libcsupport/src/readv.c, libcsupport/src/writev.c: New files.
2006-08-302006-08-30 Joel Sherrill <joel@OARcorp.com>Joel Sherrill1-2/+5
* libmisc/cpuuse/cpuuse.c, libmisc/monitor/mon-command.c, libmisc/monitor/mon-driver.c, libmisc/monitor/mon-symbols.c, libmisc/rtmonuse/rtmonuse.c, libmisc/stackchk/check.c, libnetworking/libc/res_debug.c, telnetd/telnetd.c: Remove printf format warnings.
2005-10-252005-10-25 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+6
* telnetd/icmds.c: Rename register_icmds to _rtems_telnet_register_icmds. Make main_* functions static. * telnetd/pty.c: Make many functions static. Rename rtems_telnetd_maximum_ptys to rtems_pty_maximum_ptys. * telnetd/pty.h: Reflect changes above. Rename get_pty to rtems_pty_get. New header guards. * telnetd/telnetd.c: Reflect changes above. * telnetd/telnetd.h: New header guards.
2005-10-252005-10-25 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius1-3/+3
* telnet/telnet.h, telnet/telnet.c: Rename rtems_initialize_telnetd to rtems_telnetd_initialize, main_telnetd to rtems_telnetd_main, register_telnetd to rtems_telnetd_register.
2005-05-10socklen_t.Ralf Corsepius1-1/+1
2004-10-192004-10-19 Ralf Corsepius <ralf_corsepius@rtems.org>Ralf Corsepius1-1/+1
* libnetworking/pppd/rtemspppd.c: rtems_task_priority priority. * libnetworking/rtems_telnetd/telnetd.c: Eliminate rtems_unsigned32.
2002-08-142002-08-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius1-0/+1
* 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-08-092001-08-09 Fernando-Ruiz Casas <correo@fernando-ruiz.com>Joel Sherrill1-7/+32
* 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-242000-05-24 Fernando Ruiz Casas <fernando.ruiz@ctv.es>Joel Sherrill1-0/+107
* 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.