itojun
72af75e4ce
OpenSSH 2.9 as of 2001/5/15
2001-05-15 15:02:20 +00:00
itojun
d9f67f8672
reduce amount of diff with openbsd usr.bin/ssh (for -Wall -Werror clean)
...
so that we can get rid of local changes.
openssh side do not like static functions so put prototypes into each files
rather than making function static.
2001-05-15 14:50:49 +00:00
onoe
c85f9c433b
Do not discard input data from client for channels waiting for connection
...
establishment.
2001-05-08 03:02:35 +00:00
joda
ba3d920481
fix argument number test
2001-05-04 13:09:43 +00:00
joda
cbf5d74c87
fix argument count check after getarg change; spotted by Mark Davies
...
in bin/12696
2001-04-19 07:30:04 +00:00
itojun
b7ab24621c
do not attempt to pass null pointer to krb5 library. PR 12683
2001-04-17 12:27:37 +00:00
tron
517c969698
Fix possible core dump in "ssh-add". Patch supplied by Wolfgang Rupprecht
...
in PR pkg/12669.
2001-04-16 03:10:14 +00:00
itojun
aae394a457
make it compile on macppc (or, platforms where char = unsigned char)
...
From: Dave Huang <khym@azeotrope.org>
2001-04-14 08:36:12 +00:00
itojun
08f45e7850
fix unterminated L<>.
2001-04-12 09:42:45 +00:00
itojun
974c617dfe
sync better with 0.9.6a.
2001-04-12 07:57:56 +00:00
itojun
35a07da1df
use openssl 0.9.6a. shlib major # is bumped for libcrypto, libssl and
...
all kerberos libraries.
2001-04-12 07:48:03 +00:00
itojun
75902e8d9b
OpenSSL 0.9.6a
2001-04-12 03:10:36 +00:00
itojun
3095531005
OpenSSL 0.9.6a
2001-04-12 03:08:43 +00:00
itojun
b9e8ac0f0f
OpenSSL 0.9.6a
2001-04-12 03:06:03 +00:00
itojun
374141fb16
duplicated calls to login_getclass.
...
From: Jim Bernard <jbernard@mines.edu>
2001-04-11 23:39:46 +00:00
wiz
00daa6e0e2
Fix date.
2001-04-11 19:37:45 +00:00
wiz
51e75c4dd0
add section to xref
2001-04-11 19:28:27 +00:00
wiz
f3e777112c
Fix date.
2001-04-11 18:23:42 +00:00
itojun
9e3025d914
des_cblock_print_file() does not really exist.
2001-04-11 10:13:28 +00:00
itojun
8acc6b96b1
refer ~/.ssh/id_rsa{.pub,}. sync with openbsd usr.bin/ssh.
2001-04-10 09:15:49 +00:00
itojun
235b9f0c2f
upgrade to openssh 2.5.4 (2001/4/10).
...
major behavior changes: (made in openssh master tree - openbsd usr.bin/ssh)
- ssh(1) now defaults to ssh protocol version 2.
if you want version 1 to take precedence, use /etc/ssh.conf to override.
- config change: ~/.ssh/id_rsa[12] is now ~/.ssh/id_rsa (changed 4/3)
- forced client rekey for protocol version 2 (~R)
- swap gid when uid swaps.
- ListenAddress syntax can take [foo]:port for IPv6 numerics.
- "ssh -D 1080" allows us to use ssh tunnel as SOCKS4 proxy.
2001-04-10 08:07:54 +00:00
itojun
d5fbc62ac3
OpenSSH 2.5.4 as of 2001/04/10
2001-04-10 07:13:48 +00:00
wiz
8626516b97
Prefer logical mark-up in one place.
2001-04-09 13:01:11 +00:00
wiz
18a4938209
Fix date.
2001-04-09 12:49:14 +00:00
wiz
f1e8ff0ae6
Fix date.
2001-04-09 12:42:35 +00:00
thorpej
dfaae5d853
Fix markup bug accidentally un-done in 0.3e merge fixup.
2001-04-07 22:20:33 +00:00
thorpej
f4872dded4
Reduce diffs with 0.3e (mostly, complete the merge).
2001-04-07 21:29:20 +00:00
thorpej
9ad709dc65
More mishaps from the 0.3e merge.
2001-04-07 21:03:51 +00:00
wiz
14dbdf5518
Negative exit code cleanup: Replace exit(-x) with exit(x).
...
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
itojun
01692d62bf
0.3e import leftover. heimdal experts, please check.
2001-04-06 10:10:21 +00:00
itojun
500c4f040b
sync HEAD with v0-3e tag. it seems that it was left behind when heimdal
...
0.3e is imported. without this change, lib/libhdb does not compile.
PR12560
2001-04-06 08:32:35 +00:00
thorpej
6158847f3d
Prevent a NULL-pointer deref when making a TGS_REP for a ticket
...
renewal.
Patch from Assar via private mail.
2001-04-06 04:39:31 +00:00
thorpej
d545f30495
Merge April 4, 2001 racoon/libipsec.
2001-04-04 19:36:39 +00:00
thorpej
089a40db4b
Import racoon/libipsec as of April 4, 2001.
2001-04-04 19:33:00 +00:00
wiz
6b5ab77765
fo -> for
2001-04-02 18:25:34 +00:00
wiz
7d378dde0d
It's vs. Its.
2001-04-02 17:28:29 +00:00
lukem
315c0a92f9
if debugging (i.e, -v), use options.level instead of SYSLOG_LEVEL_INFO
...
to the first call to log_init(), otherwise debug messages from config
file parsing won't appear. (this seems to have been broken in recent
versions of openssh)
2001-04-02 03:53:36 +00:00
thorpej
6fe37483a3
Set the KRB5CCNAME envrironment variable in the child if we received
...
forwarded Kerberos 5 credentials, so that the process that needs them
can actually find them.
2001-03-28 03:31:52 +00:00
thorpej
8ab184566c
When we receive forwarded Kerberos credentials, stuff them into
...
a file credential cache (rather than a memory credential cache)
so that they're useful.
2001-03-28 03:17:23 +00:00
thorpej
2651b336ba
Somewhat crude hack to make Kerberos 5 credential forwarding work.
2001-03-28 03:02:51 +00:00
thorpej
2f7b0c6c27
Print useful Kerberos error messages.
2001-03-27 03:58:02 +00:00
itojun
0265b9e0c2
redo 1.1 -> 1.2. on RAND_file_name(), return /dev/urandom by default.
...
RAND_{load,write}_file() takes care of device file case. from openbsd.
2001-03-26 18:08:25 +00:00
itojun
522ac04d08
backout 1.1 -> 1.2 (use /dev/urandom if no value can be found),
...
/dev/urandom is not a normal file - there'll be no EOF.
noticed by Manuel Bouyer.
2001-03-21 19:49:50 +00:00
simonb
08e4590096
Cast to (long long) when using "%lld" in a printf format.
2001-03-21 00:11:06 +00:00
itojun
37da3c3c3c
sync with openssh 2.5.2 (from openbsd usr.bin/ssh, not from portable).
2001-03-19 20:03:24 +00:00
itojun
7617bcad07
OpenSSH 2.5.2 as of 3/19/2001, from openbsd usr.bin/ssh
2001-03-19 19:42:00 +00:00
thorpej
9ab0878e2a
If we get a KRB5KRB_AP_ERR_BAD_INTEGRITY on a TGS req with
...
a key usage of KRB5_KU_TGS_REQ_AUTH, then try again with a
key usage of KRB5_KU_AP_REQ_AUTH. This addresses an interop
issue between new kinit(1) (0.3e) and older KDCs (such as 0.3a).
Patch from assar@netbsd.org ; see discussion on current-users.
2001-03-12 19:25:51 +00:00
joda
bee147163e
simplify the krb5 code somewhat
2001-03-12 17:56:36 +00:00
thorpej
3fba4682aa
Fix LP64 problem in Kerberos 5 TGT passing.
2001-03-09 06:28:30 +00:00
thorpej
ca0ffe95fb
Merge 2002/03/08 racoon import.
2001-03-08 22:27:52 +00:00
thorpej
29f3673b42
KAME racoon as of 2001/03/08.
2001-03-08 22:18:05 +00:00
thorpej
ac356314da
Document:
...
- forwardable ([libdefaults] and [realms])
- proxiable ([libdefaults] and [realms])
- date_format ([libdefaults])
- srv_lookup ([libdefaults])
- srv_try_txt ([libdefaults])
- scan_interfaces ([libdefaults])
- fcache_version ([libdefaults])
2001-03-08 17:53:46 +00:00
thorpej
bda8951f6b
Plug some memory leaks.
2001-03-08 04:12:08 +00:00
assar
e625c71295
add krb5 support to ssh/sshd. based on code initially from Daniel Kouril <kouril@informatics.muni.cz> and Björn Grönvall <bg@sics.se>
2001-03-04 00:41:27 +00:00
jmc
bacb2758e0
Change keymatlen to size_t to match prototype for str2val.
2001-02-25 03:50:05 +00:00
itojun
96863758b7
remove WARNS=0. from enami
2001-02-22 03:11:24 +00:00
itojun
82ff942844
document complex_bundle. sync with kame
2001-02-22 02:42:43 +00:00
itojun
a5316a5fa5
sync with 2/22 code. -B and -Z,
...
bundle proposal interpretation, and some other fixes.
XXX WARNS?=0 in racoon/Makefile is necessary to compile yacc-generated files
(static function, generated by yacc, is never used).
2001-02-22 02:33:06 +00:00
itojun
98857d7198
KAME racoon as of 2001/2/22
2001-02-22 02:21:12 +00:00
itojun
1317273fae
sync up with 2.5.1.
...
this fixes backward compatibility breakage against 1.2.18 - 1.2.22.
2001-02-19 12:13:04 +00:00
itojun
10400c1d11
OpenSSH 2.5.1 as of 2001/2/19
2001-02-19 12:09:12 +00:00
itojun
c83dc32a4c
sync up with 2.5.0. simulate echobacks, X11 display name check, sftp upgrdes.
2001-02-16 15:48:34 +00:00
itojun
f02c06e047
OpenSSH 2.5.0 as of 2001/2/17
2001-02-16 15:41:22 +00:00
joda
ce75fa5829
removed in 0.3e
2001-02-16 15:34:39 +00:00
itojun
72b00a4178
take the safest side, mandate rnd(4).
2001-02-14 04:46:58 +00:00
itojun
788df94479
update import date.
2001-02-14 01:22:02 +00:00
itojun
531a3ed838
sync with 2/14.
...
openssh changes:
- SIGWINCH propagated correctly
- mitigate SSH1 traffic analysis
- sprintf -> snprintf and lots of other cleanups
netbsd local changes:
- include OpenBSD RCSID into binary again, which helps us diagnose later.
2001-02-14 01:06:48 +00:00
itojun
da62f78331
OpenSSH 2.3.2 as of 2001/2/14
2001-02-14 00:53:01 +00:00
assar
43c24b8340
undef ECHO to avoid a warning from the lex-generated code
2001-02-11 17:59:15 +00:00
assar
7a01412798
fix merg-up
2001-02-11 17:58:27 +00:00
assar
657da009a2
fix texinfo mark-up bug
2001-02-11 17:56:09 +00:00
assar
465ad8fda9
fix merge-ups
2001-02-11 16:08:41 +00:00
assar
be890e9bcf
fix merge conflicts
2001-02-11 14:13:07 +00:00
assar
7a16662ba0
import of heimdal 0.3e
2001-02-11 13:51:06 +00:00
itojun
a7b1b8e49c
make sure to zero-fill malloced region. sync with openbsd/usr.bin/ssh
2001-02-09 14:39:47 +00:00
itojun
19fb6ccf8d
comment: function are named "arc4"foo just for easy porting.
2001-02-09 00:44:35 +00:00
itojun
e3045c89d8
sync with 2.3.2.
2001-02-08 19:02:14 +00:00
itojun
e5eae0162b
OpenSSH 2.3.2 as of 2001/2/9
2001-02-08 18:55:32 +00:00
itojun
7f8fa38080
authentication mistake in SSHv2 + pubkey, from markus.
...
REBUILD AND RESTART SSHD NOW.
(vulnerability window for netbsd-current - < 48hours)
2001-02-08 18:17:24 +00:00
itojun
fbfaba7e44
%30s is too short for IPv6 addrssses.
2001-02-08 10:08:53 +00:00
itojun
54bdd08634
fix size_t -> int cast. need checking with alpha...
2001-02-07 18:05:23 +00:00
itojun
3614dcc87c
unsigned long long -> %llu, not %qd
2001-02-07 18:01:30 +00:00
itojun
31c0f02be2
update date string
2001-02-07 17:07:07 +00:00
itojun
1f5cfca3e6
sync crypto/dist/ssh with re-importorted tree. try to minimize diffs
...
with openssh tree to ease future upgrade. re-do local changes, including:
- prototype pedants
- IgnoreRootRhosts
- login.conf user validation
some of the local changes that weren't used are omitted for now. we may
need to revisit those afterwards.
it adds "sftp".
2001-02-07 17:05:31 +00:00
itojun
9d3aa44a65
OpenSSH 2.3.1 as of 2001/2/8
2001-02-07 16:46:40 +00:00
christos
a132b86864
remove redundant declarations
2001-02-04 22:55:26 +00:00
thorpej
78463fc818
Remove the pid file upon exit.
2001-02-04 20:15:52 +00:00
christos
c9b3202d16
remove/avoid redundand declarations.
2001-02-04 18:04:03 +00:00
christos
ef5d120e44
remove redundant decls.
2001-02-04 18:03:03 +00:00
christos
e745af3d91
remove redundant declarations.
2001-02-04 18:02:30 +00:00
christos
9b24735fd3
ifdef out redundant declaration of crypt(3); we don't need it.
2001-02-04 18:01:48 +00:00
christos
28473bf6be
remove redundant prototypes.
2001-02-04 18:00:31 +00:00
thorpej
848d04a86c
Merge the notsnap20010129 import.
2001-01-30 02:08:54 +00:00
thorpej
05d9e5e0e0
Update racoon from today's KAME sources. Includes memory leak
...
fixes in the GSSAPI support code.
2001-01-30 02:04:39 +00:00
itojun
2d889f0dc5
have safeputchar() for tcpdump/packet-isakmp.c. reported by bernd,
...
sync with kame.
2001-01-28 17:17:56 +00:00
itojun
21ecf40da9
BIND 8.2.3
2001-01-27 08:07:35 +00:00
thorpej
b6abea6f2b
Merge notsnap20010126 import.
2001-01-26 23:56:18 +00:00
thorpej
034d969067
Bring in latest racoon/libipsec from KAME (not part of a snap
...
kit). Includes a few bugfixes from, including a re-key problem
and memory leak when doing GSSAPI authentication for Phase 1.
Also some better config file documentation.
2001-01-26 23:53:26 +00:00
jdolecek
f17efc018b
complete the paragraph about HostKey directive, reword slighly
2001-01-24 22:59:11 +00:00
thorpej
16915b1818
Merge conflicts from notsnap20010124 import.
2001-01-24 18:18:32 +00:00
thorpej
1e7bdbcad4
Bring in latest racoon/libipsec from KAME (not part of a snap
...
kit). Includes several racoon bugfixes, including ones that
fix coredumps when using GSSAPI authentication for Phase 1.
2001-01-24 18:10:22 +00:00
itojun
6530b069f5
fix to PR 11320 (ssh-askpass gets invoked forever if we don't have
...
control terminal). from markus@openbsd
2001-01-21 02:44:05 +00:00
hubertf
cbd751b376
Sync with localsrc: The default is "ForwardX11 no".
2001-01-20 03:38:19 +00:00
itojun
096913193b
disable s/key authentication request (from client) by default, to prevent
...
confusing fake s/key challenge to show up.
per recent discussion on tech-userlevel.
2001-01-18 13:37:17 +00:00
itojun
f08806ada3
fix printf format for u_int64_t
2001-01-17 11:35:38 +00:00
simonb
3cc4829557
Fix printf format with sizeof().
2001-01-16 02:20:19 +00:00
toshii
a230982a45
Catch up with sshd config file entry changes.
...
Now we need to explicitly set DSA key location to use protocol version 2.
2001-01-15 06:13:08 +00:00
itojun
a98ee796df
$NetBSD$
2001-01-14 05:28:01 +00:00
itojun
a0f7a7d829
crypto/dist/ssh: resolve conflicts with 2.3.0/20010105.
...
usr.bin/ssh: add ssh-keyscan and sftp-server into SUBDIR.
2001-01-14 05:22:31 +00:00
itojun
bfbf0e0d31
NetBSD Secure Shell, based on OpenSSH 2.3.0 around 1/5/2001
2001-01-14 04:49:51 +00:00
lukem
286bcc01a3
don't use LOG_CONS
2001-01-11 02:58:05 +00:00
christos
339f061e38
remove redundant decls
2001-01-07 23:21:44 +00:00
mycroft
feb89c799a
Add a COMPATIBILITY section, mentioning the lossage with IDEA-encrypted keys.
2001-01-07 20:48:06 +00:00
christos
6b02df2bb5
remove redundant decl.
2001-01-07 05:44:03 +00:00
christos
1473c569f5
eliminated redundant decl.
2001-01-07 00:01:16 +00:00
christos
2c1245f292
eliminate redundant declarations.
2001-01-06 23:30:57 +00:00
itojun
cbf1717a72
do not allow outsider from injecting syslog entry anonymously.
...
log peer's ip address instead.
openbsd PR 1600.
2001-01-05 06:33:36 +00:00
itojun
b1375d5035
do not look at environment variables if issetugid() == 0.
...
use random number device file as the default value.
from openbsd.
2001-01-05 06:22:32 +00:00
lukem
f819878ce7
use more standard %ll_ in favour of %q_
2001-01-04 15:39:50 +00:00
itojun
650239ad74
fix error return (0 -> -1). sync with kame.
2001-01-04 06:16:38 +00:00
itojun
f2b75fc51d
sync with kame: NULL != 0
2001-01-02 05:08:43 +00:00
itojun
5a3fc2bdaa
PR 11715
...
- kerberos is in chapter 8, not 7
- ftp(1) is not kerberized.
2000-12-31 07:45:50 +00:00
toshii
3a0975845b
Enable TCP_NODELAY socket option also for interactive IPv6 connections.
...
TCP_NODELAY isn't IPv4 only.
2000-12-30 14:54:38 +00:00
itojun
1a9f8a405b
change pathname to netbsd-oriented
2000-12-29 03:12:59 +00:00
assar
492d9092b5
merge fix-ups
2000-12-29 02:52:35 +00:00
itojun
69fd2e0f90
location of manpage
2000-12-29 02:32:42 +00:00
itojun
57ebd1b3c8
KAME racoon, 2000/12/29
2000-12-29 02:25:05 +00:00
itojun
349ac51600
KAME libipsec/libpfkey, 2000/12/29
2000-12-29 02:24:40 +00:00
assar
8905d28796
was removed in krb4-1.0.5
2000-12-29 02:07:25 +00:00
assar
a842a70c3c
merge
2000-12-29 01:52:14 +00:00
assar
2d80b20be2
import krb4-1.0.5
2000-12-29 01:42:08 +00:00
fvdl
be812c01d9
Remove redundant forward declaration of krb5_cache_data struct.
2000-12-24 12:17:21 +00:00
itojun
5389a2b390
cope with embedded KAME scopeid. getifaddrs() expose kernel internal format
...
to the userland.
2000-12-21 03:58:52 +00:00
nathanw
1cc86f8ba4
Check the return value of krb5_init_context(), and bail out if it failed.
...
Also, when failing, don't try to use the non-initialized context value
to determine the error text.
This avoids dumping core in the following programs when /etc/krb5.conf is
missing or broken: klist, kdestroy, kpasswd, kadmin, kadmind, ktutil, kdc.
XXX Better error reporting in this failure case would be nice.
2000-12-19 21:31:11 +00:00
assar
2eabd5aae0
(tf_create): remove the overwriting of the old ticket file
2000-12-09 00:53:52 +00:00
assar
71d1fbbd25
(kdc_reply_cipher): fix buffer over-run
2000-12-09 00:53:21 +00:00
assar
a32b774256
remove (obsolete) support for environment variables.
2000-12-09 00:51:46 +00:00
thorpej
ecf24d1394
Use getifaddrs() if HAVE_GETIFADDRS is defined.
2000-12-03 20:21:03 +00:00
thorpej
074a0c939d
In krb5_sendto(), try the send/recv *inside* the loop through the
...
addinfos, so that e.g. if we fail to connect with an IPv6 address,
we can fall back onto an IPv4 address.
2000-12-02 01:53:08 +00:00
fvdl
c9366a8efe
Fix reversed test.
2000-11-20 14:08:12 +00:00
mason
18a6237381
s/usefull/useful/
2000-11-20 06:42:05 +00:00
itojun
40ad5fc4c1
correct validation on X11 forwarding. from markus@openbsd
2000-11-13 02:30:38 +00:00
joda
25f03b52f9
remove extra .Xc
2000-11-12 15:40:19 +00:00
is
d2b5345f10
When forwarding a connection, use the right descriptor to get IP options.
...
Fixes PR 11261 my Michael Eriksson, using his patch.
2000-11-07 16:06:24 +00:00
fvdl
e22c13589c
Make gss_acquire_cred actually work. Add a ccache member to the id_t struct
...
to store alternate creds, retrieved from a keytab. Make gss_init_sec_context
work with creds != GSS_C_NO_CREDENTIAL. Free ccache in id_t in release_cred.
2000-11-06 15:06:51 +00:00
christos
392621627b
always attempt to canonicalize hostnames, not only when the hostname
...
does not contain a dot.
2000-11-05 20:09:08 +00:00
mason
43bcdca61e
Apply the following:
...
- static u_int16_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
+ static u_int32_t n = HASH_MINSIZE / HASH_ENTRYSIZE;
...so that large packets do not wrap "n".
2000-10-30 18:58:37 +00:00
veego
923459b8ef
Print a newline after 'You entered the wrong passphrase.'
2000-10-29 08:55:59 +00:00
itojun
f3f11aec78
make version identification string conform to SSH version string format.
...
version format must be like:
SSH-[0-9]*.[0-9]*-[^-]*( .*)?
and previous string did not conform to the requirement (too many hyphens).
based on comment from markus@openbsd (openssh maintainer)
2000-10-28 13:41:55 +00:00
joda
4b39e2fe3f
fix v4 fallback lifetime calculation
2000-10-27 14:44:08 +00:00
simonb
dc0fe34aa7
Reduce swap_bytes() to a non-alignment dependent implementation - some
...
calls to swap_bytes() do indeed have non-aligned sources and destinations.
Fixes unaligned access problems on alpha and probably some of our other
architectures.
2000-10-23 11:40:55 +00:00
mycroft
968a585ab4
Fix formatting error.
2000-10-20 18:01:26 +00:00
martin
6a12425bca
We have renamed the configuration file, adapt the documentation.
2000-10-20 12:40:34 +00:00
bouyer
e33acbd7b7
Correct printf format (used with integers, not longs).
2000-10-19 15:10:33 +00:00
taca
c011ac8db6
- Correct missing closedir(3) in SSL_add_dir_cert_subjects_to_stack().
...
This should be fix the bug that apache enabled SSL may exhaust its
file descriptors. Noted by TAKANO Yuji <takachan@running-dog.net>
on apache@ecc.u-tokyo.ac.jp, apache mailing list in Japanese.
He had already sent a bug report to openssl-dev@openssl.org , but it
wasn't fixed in openssl-0.9.6. :-(
2000-10-13 01:47:27 +00:00
itojun
b5c4933a2d
printf format pedant. (size_t -> u_long).
2000-10-10 13:14:55 +00:00
is
612e4c298a
define DES_LONG in time to be used by later header files.
2000-10-08 18:42:03 +00:00
is
7db764779b
Format string cleanup by sommerfeld.
2000-10-08 18:40:08 +00:00
itojun
a001cd4e77
exit 0 on success, 1 on error
2000-10-06 06:21:16 +00:00
sommerfeld
dc3402136b
Constify variables containing format strings
2000-10-05 14:32:50 +00:00
sommerfeld
37146bcc18
format checking for internal functions
2000-10-05 14:17:12 +00:00
sommerfeld
29dec280ee
format checking for internal function
2000-10-05 14:16:10 +00:00
sommerfeld
8b2d1fefd2
Miscellaneous format string safety improvements
2000-10-05 14:09:07 +00:00
simonb
6fe5a2b27e
Return failure in krb_get_lrealm() if no config files are found, rather
...
than then searching for a default realm.
Fixes PR lib/11010 from David Brownlee. Patch from Jason Thorpe.
2000-10-04 04:08:30 +00:00
itojun
37a8d23037
improve error message on rnd(4) failure. the old text made reference
...
to ssl(4), which is openssl specific (talks about plugin RSA library).
2000-10-04 03:43:57 +00:00
itojun
18e8d6decc
do not loop forever
2000-10-03 15:07:14 +00:00
itojun
42e4adfd95
make it useful as test (exit 0 if successful)
2000-10-03 14:45:36 +00:00
lukem
8e1c87ce80
- implement IgnoreRootRhosts. if set, ignores ~root/.[rs]hosts. defaults to
...
the value of IgnoreRhosts. with `IgnoreRhosts yes' and `IgnoreRootRhosts no'
you get similar behaviour to the `-l' flag on rshd(8). this is based on
similar modification i made which appeared in ssh 1.2.27 (?)
- document that IgnoreRhosts now doesn't apply to root.
- clarify that /etc/s?hosts.equiv doesn't apply to root (it didn't before
my modification either).
- crank the version to 20001003
2000-10-03 09:56:38 +00:00
itojun
0b86bc5a1c
nuke #define for changing variable size (affects ABI).
2000-10-03 04:00:19 +00:00
itojun
169eefc02f
move rc5/idea dummy functions from crypto/dist/openssl/crypto to lib/libcrypto.
...
they are not part of the openssl distribution.
suggested by thorpej.
2000-10-01 22:17:59 +00:00
itojun
9c7b3bf3d5
nuke all NO_<algorithm name> in header file. they change ABI due to
...
#ifdef in struct/union definitions, and are bad for us shipping library binary.
2000-10-01 22:13:14 +00:00
itojun
563bf184ad
improve abort message, when RC5/IDEA in libcrypto (dummy) is called.
2000-09-30 14:29:16 +00:00
itojun
e5e807d114
always compile RSA into libcrypto.
...
MKCRYPTO disables the whole crypto tree, and in that case,
we will not have RSA (nor libcrypto) with us.
2000-09-30 12:21:51 +00:00
itojun
bc22f284e4
we always build idea/rc5 (dummy, though).
2000-09-30 00:30:25 +00:00
itojun
8d26d03189
repair openssl (libcrypto) for non-32bit architecture.
...
don't use unsigned long where 32bit unsigned variable is asked for.
use u_int32_t. (not sure if uint32_t is better or not, but anyway,
u_int32_t <-> uint32_t should not raise binary compatibility issue)
PR10921.
TODO: have arch-dependent Makefiles where we supply -DFOO for optimization.
(do not change size of variable though)
XXX: we should actually nuke all other #ifdef in /usr/include/openssl/*.h,
however, that needs a lot of work and will make future openssl upgrade harder.
remove RC5 and IDEA by default. build them separately as
libcrypto_{rc5,idea}.a. put dummy function, which is "warning to stderr
and exit(1)". NOCRYPTO_{RC5,IDEA} are obsoleted.
PR10883.
2000-09-30 00:23:28 +00:00
thorpej
49a55a1d58
Import NetBSD Secure Shell. This is based on OpenSSH, but modified
...
somewhat.
2000-09-28 22:09:28 +00:00
fvdl
fb9657047a
Add support for running kpasswdd from inetd. Active if INETD_SUPPORT
...
is defined. In either case, kpasswdd will continue to work from
the commandline as usual.
2000-09-13 11:29:26 +00:00
joda
7bc28b6591
add manpage for kadmin
2000-09-10 19:45:04 +00:00
joda
5ab344e414
add a, somewhat terse, kerberos overview manpage
2000-09-10 19:34:49 +00:00
joda
0acd5e96a9
move config and log files out of /var/heimdal
2000-09-10 19:29:44 +00:00
assar
38f9bead65
fix bad mdoc markup. closed PR/10854
2000-08-20 10:36:40 +00:00
fvdl
d2cc354307
Fix example: lib_defaults -> libdefaults, default_domain -> default_realm
2000-08-15 17:22:45 +00:00
thorpej
dafbb1e2ea
- Reference count MCC IDs, and garbage-collect them in destroy if
...
the ref count is 0, and in close if the ref count is 0 and the
ID is dead (i.e. has been previously destroyed).
- Don't use temp files to generate unique MCC names; use ASCII
representations of pointers to the malloc'd IDs, which is
unique enough for our purposes.
- Dead IDs cause an ENOENT error, as would a dead FCC ID.
Per discussion w/ Johan Danielsson <joda@pdc.kth.se>.
2000-08-10 18:58:59 +00:00
thorpej
7dd4170cf5
Fix typos in some #if 0'd code.
2000-08-10 16:18:00 +00:00
thorpej
4ffaedfcde
Fix the semantics of krb5_cc_close() and krb5_cc_destroy() for
...
the MCC. They now match the semantics of the MIT krb5
implementation.
2000-08-10 15:51:20 +00:00
thorpej
bae9616e91
Add support for multiple Memory Credendial Caches, like MIT has.
...
This fleshes out mcc_get_name(), mcc_resolve(), mcc_destroy().
2000-08-10 02:23:07 +00:00
thorpej
24ceace29d
Add krb5_princ_type() and krb5_princ_size() that appear in the MIT
...
API but not in Heimdal, and add commented out empty versions of
krb5_princ_set_realm_length(), krb5_princ_set_realm_data(),
krb5_princ_name(), and krb5_princ_component(), which also appear
in the MIT API, but which cannot be implemented in Heimdal until
a change is made to how some data is represented internally (as
these API functions expose that, as foolish as that is, but
that's how MIT did it, and some applications use it).
2000-08-09 23:27:19 +00:00
thorpej
1435d15e40
Cause the kdc to write a pidfile in /var/run/kdc.pid and to
...
detach from the tty by default. Add a [-D | --no-detach]
option to restore the old behavior (which is useful for
debugging).
2000-08-06 18:42:19 +00:00
thorpej
e80d60fa71
Catch krb5_init_context() failure.
2000-08-06 17:59:15 +00:00
thorpej
a240003d0c
Plug a small memory leak.
2000-08-06 17:58:53 +00:00
thorpej
e59093f4f7
Use socklen_t as appropriate, so that this compiles on LP64
...
systems.
2000-08-06 06:48:50 +00:00
assar
de3878349f
this was removed from the source
2000-08-03 03:39:02 +00:00
assar
9949e16264
merge back some hacks
2000-08-03 03:38:25 +00:00
assar
f8815e6596
merge in 0.3a
2000-08-02 20:08:33 +00:00
assar
7f5f475a8b
import of heimdal 0.3a
2000-08-02 19:57:59 +00:00
thorpej
5c4fddaabe
In krb_get_default_realm(), before assuming our guessed default
...
realm is correct, check to see if we can find a KDC for it. If
not, it can't possibly be the default realm, and we should return
the NO.DEFAULT.REALM error condition.
Per a discussion w/ Thor Simon <tls@netbsd.org>.
2000-08-02 05:24:37 +00:00
garbled
e90fd304b7
Removed #ifndef's so this file can be included by compile_et and
...
asn1_compile when building host-tools on machines that don't have those
functions.
2000-08-02 02:44:06 +00:00
thorpej
de40c8191d
Return failure if there is no Kerberos 5 configuration file.
2000-07-16 18:27:53 +00:00
mrg
206c5781b6
des_random_key() returns void.
2000-07-16 09:57:53 +00:00
mrg
11e7166667
back out part of previous; des_random_key() returns void again.
2000-07-16 09:50:33 +00:00
mrg
542954c318
delete removed files.
2000-07-16 05:57:01 +00:00
mrg
8c7937883e
merge cornflakes.
2000-07-16 05:55:10 +00:00
mrg
2429f6a29f
OpenSSL 0.9.5a import.
2000-07-16 05:03:53 +00:00
thorpej
c752ee0a92
Fix a thinko in previous that prevented libroken from getting
...
both version strings.
2000-07-15 17:02:17 +00:00
thorpej
39c394bb18
Define __KRB4_VERSION to get krb4 version strings.
2000-07-15 00:40:37 +00:00
veego
1a7d02624b
Change the USELESS_CRYPTO check to MKCRYPTO_{IDEA,RC5,RSA}.
2000-07-05 13:57:15 +00:00
assar
231c9cbcf7
add man-pages for kf and kfd
2000-07-02 07:39:39 +00:00
fvdl
14d0802975
Dt -> Dd for date, otherwise this manpage looked unlike a manpage.
2000-06-26 23:28:46 +00:00
thorpej
f3b213ec53
Do previous slightly differently, i.e. commit the change that I
...
had made to add the prototypes, but forgot to commit. This version
more closely matches the crypto-us version it was derived from.
2000-06-22 13:59:13 +00:00
veego
61cad8ca49
Add missing prototypes for:
...
des_set_random_generator_seed, des_new_random_key and des_init_random_number_generator
This fix the compile problems in lib/libtelnet.
2000-06-22 09:01:42 +00:00
thorpej
63748d6387
Add two telnet-related items.
2000-06-22 07:15:02 +00:00
thorpej
8dd0fdd69b
Fix printf formats on LP64.
2000-06-21 06:05:01 +00:00
thorpej
4696f48761
Remove pre-genereated info files.
2000-06-20 22:02:22 +00:00
thorpej
b914f28687
Remove formatted manpages.
2000-06-20 22:00:14 +00:00
thorpej
4e81b0f0e5
One off the list.
2000-06-20 21:57:46 +00:00
thorpej
0fa81d1574
...and a couple more.
2000-06-20 06:02:37 +00:00
thorpej
efbc580022
One more.
2000-06-20 05:12:07 +00:00
thorpej
8b8fb98e91
Add an initial TODO list. This is based solely on things I encountered
...
while doing the Heimdal+KTH merge.
2000-06-20 05:03:04 +00:00
thorpej
fddd47312e
Version string is const.
2000-06-19 22:40:17 +00:00
thorpej
c4dc11daa0
Const poison the version strings.
2000-06-19 20:51:53 +00:00
thorpej
f6880b854b
Import KTH Kerberos 4 from cryptosrc-intl.
2000-06-16 18:45:32 +00:00
thorpej
1af8b95994
Import Heimdal Kerberos 5 from cryptosrc-intl.
2000-06-16 18:31:35 +00:00
thorpej
b50999826e
Fixup the OpenSSL library builds.
2000-06-16 06:16:37 +00:00
thorpej
21b1800004
The pieces of OpenSSL missing from netbsd-cryptosrc-intl.
2000-06-16 05:28:49 +00:00
thorpej
c3b6f3938c
Common OpenSSL Makefile goo, from cryptosrc-intl.
2000-06-16 04:16:02 +00:00
thorpej
1dc0dc5fb1
Import OpenSSL 0.9.4 from netbsd-cryptosrc-intl.
2000-06-14 22:44:19 +00:00