Love Hörnquist Åstrand
f7a0ee5acf
print size_t by casting to unsigned long
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-03 19:53:32 +00:00
Love Hörnquist Åstrand
4e447ca6d4
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-28 22:48:26 +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
52589a0be9
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:25:06 +00:00
Love Hörnquist Åstrand
692e21b3e7
remove setting of DES_check_key, all code uses DES_set_key_checked
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:22:39 +00:00
Love Hörnquist Åstrand
07757ea5a2
use DES_set_key_checked
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-23 16:19:31 +00:00
Love Hörnquist Åstrand
de0e232d51
free memory, make error strings match
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 04:37:30 +00:00
Love Hörnquist Åstrand
9276f222b9
use print_gss_name, print server name too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 03:17:30 +00:00
Love Hörnquist Åstrand
8e12e63ee3
(print_gss_name): common code for printing gss name
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 03:13:14 +00:00
Love Hörnquist Åstrand
b925aac02c
Make constent with rest of the gssapi test programs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-19 02:52:26 +00:00
Love Hörnquist Åstrand
555571d923
allow specifing port to connect to
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 07:47:32 +00:00
Love Hörnquist Åstrand
fd05385450
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:34:05 +00:00
Love Hörnquist Åstrand
d592d092c7
man_MANS += pagsh.1
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:27:01 +00:00
Love Hörnquist Åstrand
17dc617a7f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:24:06 +00:00
Love Hörnquist Åstrand
aeedc46505
add --cache-type that allows the user to control the resulting
...
credential cache type, inherit the type from the invoking process
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:23:28 +00:00
Love Hörnquist Åstrand
fb681cc82f
manpag for pagsh
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:21:01 +00:00
Love Hörnquist Åstrand
5236181a15
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:39:02 +00:00
Love Hörnquist Åstrand
2830ca741b
get_v4_tgt only used when compileing with kerberos 4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:38:01 +00:00
Love Hörnquist Åstrand
0380823194
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:20:32 +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
Love Hörnquist Åstrand
bfbbff5ad9
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:14:33 +00:00
Love Hörnquist Åstrand
c84e1ed765
cast argument to tolower to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 23:11:12 +00:00
Love Hörnquist Åstrand
6e6b40f359
(kfd_match_version): cast argument to islower to unsigned char
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 22:27:28 +00:00
Johan Danielsson
8746bf1201
(tgets): return whatever fgets returns
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-25 14:02:00 +00:00
Johan Danielsson
6765dd6fbe
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-23 12:56:20 +00:00
Johan Danielsson
473c16c144
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:35:40 +00:00
Johan Danielsson
34510fca0d
rename loop to rshd_loop
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:35:07 +00:00
Johan Danielsson
e5b80c785f
pass errsock status to init_ivecs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:34:43 +00:00
Johan Danielsson
af952334df
rename loop() to rsh_loop()
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:34:15 +00:00
Johan Danielsson
af993645bc
(loop): pass errsock status to init_ivecs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:33:42 +00:00
Johan Danielsson
ab3a0c1b71
fix proto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:33:10 +00:00
Johan Danielsson
9179e1d2f7
(init_ivecs): if we don't have an errsock the ivecs should point to
...
the same data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:32:54 +00:00
Johan Danielsson
65d153a293
if we don't have an errsock, dup stdout to stderr (this would normally
...
be done by inetd, but not by mini_inetd).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:19:34 +00:00
Johan Danielsson
44cb295753
move keepalive setting to after setting up sockets
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-21 11:17:41 +00:00
Johan Danielsson
034ec2a71e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-08 09:06:02 +00:00
Johan Danielsson
03bae875ad
use krb5_appdefault_boolean instead of krb5_config_get_bool
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-08 09:02:59 +00:00
Love Hörnquist Åstrand
886e3ba278
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-03 12:12:03 +00:00
Love Hörnquist Åstrand
0a57899d04
use negative string help string for arg_negative_flag
...
Pointed out by Harald Barth
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-09-03 12:11:40 +00:00
Johan Danielsson
60369967af
remove const from argument list passed to execv
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 13:03:10 +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
21c92cce06
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:51:20 +00:00
Johan Danielsson
8047dfc92e
add message to NOOP result to appease gcc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-27 12:49:52 +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
92b2f1b002
I fixed the OOB send cleartext problem in 0.6.3 ftp client
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 08:55:41 +00:00
Love Hörnquist Åstrand
e317e88de0
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-20 14:05:51 +00:00
Love Hörnquist Åstrand
61c7512638
send ABOR protect with security layer if its there
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-20 14:05:31 +00:00
Love Hörnquist Åstrand
c3c2482488
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-20 13:41:39 +00:00
Love Hörnquist Åstrand
bf0ab85d2e
Remove all traces of setjmp/longjmp.
...
Handle those command that is needed in oobhandler,
those are ABOR, STAT, ENC, CONF, MIC.
add options to turn off insecure OOB handling and document the option
Changes inspired by openbsd and netbsd changes but quite diffrent is
most places since the code no longer look and is structured the same
way.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-20 13:31:20 +00:00
Johan Danielsson
7733bf3dd0
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-16 18:12:14 +00:00