Love Hörnquist Åstrand
a7629e422f
Spelling in comments, from Dave Love <fx@gnu.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-03 18:38:57 +00:00
Love Hörnquist Åstrand
d448f74010
Check return value from asprintf instead of string != NULL since it
...
undefined behavior on Linux. From Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-22 17:17:44 +00:00
Love Hörnquist Åstrand
a934d46ac0
Make Solaris find tgetent
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-19 11:22:53 +00:00
Love Hörnquist Åstrand
1cbf9cd859
undef ISASCII before we define our own (problem on Irix)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 11:05:43 +00:00
Love Hörnquist Åstrand
b88827c01d
use NULL as last argument to execl
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-06 11:20:32 +00:00
Love Hörnquist Åstrand
02805ed17d
From FreeBSD:
...
Correct a pair of buffer overflows in the telnet(1) command:
(CAN-2005-0468) A heap buffer overflow in env_opt_add() and related
functions.
(CAN-2005-0469) A global uninitialized data section buffer overflow in
slc_add_reply() and related functions.
As a result of these vulnerabilities, it may be possible for a malicious
telnet server or active network attacker to cause telnet(1) to execute
arbitrary code with the privileges of the user running it.
Security: CAN-2005-0468, CAN-2005-0469
Security: FreeBSD-SA-05:01.telnet
Security: http://www.idefense.com/application/poi/display?id=220&type=vulnerabilities
Security: http://www.idefense.com/application/poi/display?id=221&type=vulnerabilities
These fixes are based in part on patches
Submitted by: Solar Designer <solar@openwall.com >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 22:43:34 +00:00
Love Hörnquist Åstrand
915454f2fd
cast argument to toupper to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:17:58 +00:00
Love Hörnquist Åstrand
ee872ac323
cast argument to is* to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:16:44 +00:00
Johan Danielsson
8637e345dd
move extern decl out of function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:53:34 +00:00
Johan Danielsson
0624b4457e
replace INCLUDES with AM_CPPFLAGS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
45025e58d9
make network rings larger
...
From: MAAAAA MOOOR <huaraz@btinternet.com >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-20 17:01:28 +00:00
Love Hörnquist Åstrand
f651b63831
make encrypt, forwardable, forward use appdefault (that also searches
...
libdefaults), prompted by Thomas Nystrom <thn@saeab.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-02 21:28:48 +00:00
Love Hörnquist Åstrand
f026b13d65
call setprogname to make libvers happy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-22 18:07:49 +00:00
Love Hörnquist Åstrand
1836e6e9f7
export Scheduler and scheduler_lockout_tty
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:47:24 +00:00
Love Hörnquist Åstrand
1efd89da9d
(my_telnet): if telnet_spin returns failure, complain that the server
...
disconnected and exit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:47:02 +00:00
Love Hörnquist Åstrand
b2b4d18c3e
(telnet_spin): if Scheduler() returns failure (-1) propagate to higher level
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:45:51 +00:00
Love Hörnquist Åstrand
39770a3afa
replace <,> with \*[Lt],\*[Gt]
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-22 13:22:44 +00:00
Johan Danielsson
b0afe6ba19
rename functions to what they're really called
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 21:05:22 +00:00
Johan Danielsson
ee45afa85d
kill some might be uninitialized warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 21:04:59 +00:00
Johan Danielsson
176d619a93
add forward and forwardable toggle options, and call
...
set_forward_options() after parsing .telnetrc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:59:43 +00:00
Johan Danielsson
9fb05b0a00
proto for set_forward_options
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:58:23 +00:00
Johan Danielsson
a0f0bbfa08
only register what forwarding options are asked for when parsing
...
command line, we have to set the actual flags later after we have read
.telnetrc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:57:40 +00:00
Johan Danielsson
c526f461d4
remove extra "Toggle"'s
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:13:20 +00:00
Johan Danielsson
71b0da6844
IRIX == 4 -> IRIX4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:09:11 +00:00
Assar Westerlund
68823821a9
add --version as a special case
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-23 19:29:38 +00:00
Johan Danielsson
879fc6b8bc
more, mostly whitespace, fixes from Thomas Klasusner
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:07:29 +00:00
Johan Danielsson
3e02d56d85
only try to negotiate encryption if we're talking to a real telnet
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-03 10:19:43 +00:00
Johan Danielsson
fd594bd1b2
be more informative in the error message if SO_OOBINLINE fails
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 16:18:43 +00:00
Johan Danielsson
2de570d502
fix an old cut-n-paste typo (via debian)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-31 12:42:36 +00:00
Johan Danielsson
cbcb242580
print a more informative message than "done" after negotiating
...
encryption
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-07 17:30:00 +00:00
Assar Westerlund
5c081c1559
default to waiting for encryption if we are using authentication
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-07 16:12:20 +00:00
Johan Danielsson
2edd648e6b
bail out if encryption has been requested but could not be enabled
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-12-20 20:39:52 +00:00
Assar Westerlund
89ee91db82
undef PUTSHORT to avoid conflict
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-17 02:05:12 +00:00
Assar Westerlund
897f0b1f93
unsigned char casts for is*, casts for socket functi, add headers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-03 05:54:18 +00:00
Assar Westerlund
67813438a7
kill some warnings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-29 00:45:23 +00:00
Johan Danielsson
002678bb48
use INCLUDE_des
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 11:21:17 +00:00
Assar Westerlund
721715003c
fix spelling in comment. from Peter Valchev <pval@openbsd.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-06 15:39:25 +00:00
Johan Danielsson
67881e6e40
silly casts
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 19:52:22 +00:00
Assar Westerlund
b8b84b1ac8
mdoc fixes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 08:25:00 +00:00
Assar Westerlund
5c4704bbe8
mdoc fixes from ru@freebsd.org
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-01 18:53:24 +00:00
Assar Westerlund
803c02a75b
fix up some gratuitous externs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-06 20:10:14 +00:00
Assar Westerlund
0e607f119f
(tn): copy the hostname so it doesn't get overwritten while reading
...
~/.telnetrc
(*): removed some unneeded externs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 03:12:09 +00:00
Assar Westerlund
102f79dd23
add LIB_kdfs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-07 06:12:02 +00:00
Assar Westerlund
130cb6b3fc
mdoc fixes from ru@freebsd.org
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-11 16:16:30 +00:00
Assar Westerlund
cf77a8ac4d
(krb5_init): check krb5_init_context for success
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 07:40:17 +00:00
Assar Westerlund
df9a247312
(sourceroute): make it not break if the rfc2292 api does not exist
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-11 01:44:01 +00:00
Assar Westerlund
4357c754d1
(telnet_getenv): make somewhat const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:03:38 +00:00
Assar Westerlund
baebf953a8
use LIB_des
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Johan Danielsson
aeb53bcc10
fake entry if no tgetent
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-08 17:32:43 +00:00
Johan Danielsson
388c5cda99
ignore Makefile.in
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-08 17:26:36 +00:00