Commit Graph

263 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand c529394cb5 fix warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:03:07 +00:00
Love Hörnquist Åstrand b0d0df99da drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:14:05 +00:00
Love Hörnquist Åstrand c2cb98712c drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:13:17 +00:00
Love Hörnquist Åstrand c0513b4d95 drop krbv4 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:13:03 +00:00
Love Hörnquist Åstrand 3ad1d78d63 make roken not provide environ, its really something that doesnt work in a multinamespace enviroments (read mac os x)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-19 04:57:42 +00:00
Love Hörnquist Åstrand 6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand fe5323f0e5 use unsigned/size_t where approprite
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:20 +00:00
Love Hörnquist Åstrand 91352af590 Usage is static now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 01:55:45 +00:00
Love Hörnquist Åstrand 15ea035aef Catch --help, reported by David Love.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-30 20:01:26 +00:00
Love Hörnquist Åstrand cc4333b758 remove cvs ignore files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand 7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand 94d736b2ab Include roken.h before the local headerfiles.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:14:13 +00:00
Love Hörnquist Åstrand d8fb637ef8 more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 17:09:30 +00:00
Love Hörnquist Åstrand a15cdbad3b Include roken.h last to avoid rewriting the wrong symbol
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 16:12:47 +00:00
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