summaryrefslogtreecommitdiff
path: root/libexec/telnetd/telnetd.c
AgeCommit message (Collapse)Author
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-14Get rid of libtelnet, it is compiled into the tree programsHans Insulander
(telnetd, telnet and tn3270) that use them instead. This gets rid of a really hairy dependency between telnet and libtelnet. ok millert@
2003-05-08squish a strcopy, ok krw@Bob Beck
2003-04-14Change terminalname from a pointer to an array. Why people hideTodd C. Miller
the actual storage array as a static inside a function is beyond me. By exposing the real array we can use sizeof on it for strlcpy. deraadt@ OK
2003-01-28fix fd_set overflowVincent Labrecque
ok hin@
2002-12-07Backout unrelated changes in last commitTodd C. Miller
2002-12-07Kill '-a otp' flag. Our login(5) doesn't support this option and on OpenBSDTodd C. Miller
you should use login.conf(5) for this kind of thing. Closes PR 2967.
2002-06-28When gettytab doesn't exist, IM contains a #defined string so don'tTodd C. Miller
try to free() it in that case.
2002-04-29wierd -> weirdPeter Valchev
2001-07-02Allows building w/o kerb supportTodd C. Miller
2001-06-29Add back gettytab reading but use cget* instead of the obsolescent gtget*Todd C. Miller
2001-06-26-Wall -Werror cleanupHans Insulander
2001-06-23Replace our telnetd with the one from heimdal-0.3f, with the following changes:Hans Insulander
- obvious buildsystem tweakes - our way to filter out bad environment variables
2001-06-11strncpy vs strlcpy, some strlen missuse.Michael Shalayeff
some other related minor cleanups, and spaces. millert@ ok
2001-05-25KerberosV support from Heimdal.Hans Insulander
2000-11-16Don't use sizeof() a pointer as a length parameter. This change makesTodd C. Miller
'line' from sys_term.c from a char * into a char array. There's no need to explicitly initialize the contents to 0 since that happens for globals anyway.
2000-10-24When calling setupterm() pass in an int* for the error code soTodd C. Miller
it doesn't spew to stderr if the terminal type can't be found. Fix a logic thinko wrt terminaltypeok() -- it should return 0 on failure, not success.
2000-10-10Link with curses, not ocurses and use setupterm(). For now, telnet(1)Todd C. Miller
still needs ocurses but that will change.
2000-10-06Remove the unimplemented -edebug flag from usage and manpage.Hans Insulander
2000-09-15check return value for setenv(3) for failure, and deal appropriatelyTheo de Raadt
2000-08-18add support to telnetd -debug -6 (listens to AF_INET6).Jun-ichiro itojun Hagino
1999-12-20perform setsockopt(IP_TOS) only when IPv4 connection comes.Jun-ichiro itojun Hagino
1999-12-11set "host" properly when getnameinfo() is successful.Jun-ichiro itojun Hagino
1999-12-10v6 friendly; KAMETheo de Raadt
1999-08-17More <sys/file.h> vs. <fcntl.h> and open() flags fixes.Todd C. Miller
1999-07-20bad arguments? usage() should syslog()Theo de Raadt
1998-12-19less cryptic message on pty allocation failureTheo de Raadt
1998-07-28change getent/getstr to gtgettent/gtgetstr, the names now usedMarco S Hyman
in libtelnet; add prototypes for both functions to ext.h
1998-07-27use old curses to avoid duplicate symbol in libtelnetTodd C. Miller
1998-07-23delete SecurID hacksTheo de Raadt
1998-05-08oopsTheo de Raadt
1998-05-08tighter buf handlingTheo de Raadt
1998-04-25Fix casts in args to mem*. Boy am I anal.Todd C. Miller
1998-03-25cleanup and please -WallArtur Grabowski
1998-03-12Encryption from kth-krb 0.9.8 (only for those with kerberos)Artur Grabowski
1997-07-14-WallTodd C. Miller
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-12-23Eliminate assignment/truth-value compiler warning.robin
1996-08-27strncpy correctlyTheo de Raadt
1996-04-23sync with netbsd 960418Theo de Raadt
1996-03-28From NetBSD: merge of 960317Niklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt