Telnetd initialization changes

Joel Sherrill joel.sherrill at OARcorp.com
Fri Feb 27 14:36:13 UTC 2009


Sebastian Huber wrote:
> Hi,
>
> I would like to change the telnetd initialization routine to avoid dependencies
> with the DES code for password checks.  The password check and DES code use in
> total 70464 bytes of global data (a bit to much if you only have 128kB RAM).
>
> typedef bool (*rtems_telnetd_password_check)(const char *);
>
> rtems_status_code rtems_telnetd_initialize(
>   void                       (*cmd)(char *, void *),
>   void                        *arg,
>   bool                         remainOnCallerSTDIO,
>   size_t                       stack,
>   rtems_task_priority          priority,
>   rtems_telnetd_password_check check
> );
>
> check == NULL => no password check
>
>   
I'm OK with that.  It was on my long term wish list to
decompose things into separate pieces.  You might
want a custom password checker.
> I would also like to change the return value from 'int' to 'rtems_status_code'.
>
>   
That's reasonable.

Did you see Gene Smith's issue about telnet connections
dying during long commands?  It sounded like there was
a keep alive message protocol we didn't handle.
> Have a nice day!
>
>   


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985





More information about the users mailing list