itojun
1eb2191d4f
fix auth_krb5() error case behavior. found by jhawk, sync with openbsd tree
2001-11-12 05:45:29 +00:00
wiz
0b47c7a3f0
Improve markup in two places, and fix a typo.
2001-11-10 08:16:45 +00:00
gmcgarry
54c913f1cb
Add compile_et(1).
2001-11-10 07:50:16 +00:00
wiz
73322f1e45
Drop an unnecessary empty line.
2001-11-08 20:40:44 +00:00
wiz
7be1bf7993
Drop 'HEIMDAL' from Os, fix punctuation in one place, and sort SEE ALSO.
2001-11-08 20:21:07 +00:00
wiz
440da35ad1
Sort SEE ALSO.
2001-11-08 20:20:29 +00:00
wiz
c214b605c7
Fix Dd, and two punctuation nits.
2001-11-08 20:20:01 +00:00
wiz
e704cca5ec
Drop unnecessary empty lines.
2001-11-08 20:18:57 +00:00
wiz
43ac9b6569
Fix Xrefs.
2001-11-08 20:18:10 +00:00
wiz
f7b5c3a4df
Uppercase Dt argument.
2001-11-08 20:17:09 +00:00
gmcgarry
f243ad4c28
Customise documentation for NetBSD:
...
- introduce krb5.3 as an entry-point to libkrb5 documentation
- add LIBRARY sections
- reference the real headers in <krb5/krb5.h>
2001-11-08 19:47:37 +00:00
itojun
29574d25c5
sync with 3.0 as of 2001/11/7.
2001-11-07 06:26:47 +00:00
itojun
29c34cbb94
OpenSSH 3.0 as of 2001/11/7
2001-11-07 06:20:12 +00:00
sommerfeld
9de5bfcf8f
Turn on TCP_NODELAY over loopback
2001-10-18 19:46:12 +00:00
itojun
880aff49c4
buffix from openbsd tree: users config should overwrite system config.
2001-10-02 00:39:14 +00:00
itojun
ba613513e8
sync with openssh 2.9.9 around 9/27.
2001-09-27 03:24:01 +00:00
itojun
bcdc367f57
OpenSSH 2.9.9 as of 2001/9/27
2001-09-27 02:00:33 +00:00
itojun
00489c2412
apply the following advisory. 2.9.9 will be imported soon.
...
Subject: OpenSSH Security Advisory (adv.option)
From: Markus Friedl <markus@openbsd.org>
Message-ID: <20010926231823.A15229@folly>
2001-09-27 00:12:42 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
wiz
f6f3964e5e
Remove formatted man pages. Ok'd by joda.
2001-09-24 12:37:41 +00:00
assar
7b980ee03e
remove files that were not part of last import
2001-09-23 05:03:52 +00:00
assar
ea130a2327
removed not-used files
...
noticed by Bernd Ernesti <netbsd@veego.de>
2001-09-21 14:40:30 +00:00
thorpej
123c0ecfea
Printf formats on LP64.
2001-09-18 03:11:22 +00:00
assar
c6cbe4853a
fix merge-o's
2001-09-17 15:06:48 +00:00
assar
5b9616a3e3
merge heimdal 0.4e
2001-09-17 12:32:33 +00:00
assar
e4d8a8f3dd
import of heimdal 0.4e
2001-09-17 12:24:30 +00:00
assar
d318b56bd0
merge krb4-1.1
2001-09-17 12:21:41 +00:00
assar
1877630d24
import krb4-1.1
2001-09-17 12:09:38 +00:00
cjs
d814de63b5
For consistency, make permit_root_login default to PERMIT_NO if not specified
...
in the config file. Thanks to itojun for pointing this out.
2001-09-03 04:23:10 +00:00
simonb
8d327e93bf
Include <string.h> for memcpy() prototype.
2001-09-02 08:45:22 +00:00
itojun
ee42f09d5b
upgrade to KAME 2001/8/31.
2001-08-31 10:36:08 +00:00
itojun
9e9f5f3086
KAME as of 2001/8/31
2001-08-31 09:59:03 +00:00
cjs
da09d12c1e
Document that PermitRootLogin's default is now "no".
2001-08-31 09:00:29 +00:00
cjs
894936aa50
Do not permit direct root logins. This makes ssh consistent with
...
NetBSD's default security policy in this area: if you are not on
a secure terminal, you must be able to authenticate as a user in
the "wheel" group before you may attempt to authenticate as root
using the root password.
2001-08-31 08:16:24 +00:00
itojun
e99543f805
validate certs correctly. sync with kame
2001-08-06 08:17:40 +00:00
itojun
0f6cbd66d3
need string.h for alpha. from chuck
2001-08-06 05:48:50 +00:00
itojun
d4d587fb31
(should) fix build on alpha. From: Chuck Silvers <chuq@chuq.com>
2001-08-05 18:52:13 +00:00
garbled
7c0934f7f5
While writing sushi's support for sshd.conf, I found out that the manpage
...
lies wrt to MaxStartups. Make the manpage match the code.
2001-08-03 02:29:07 +00:00
itojun
5abda287b4
Get rid of "Os KAME".
2001-08-02 12:19:45 +00:00
itojun
366bd307b0
sync with 2001/8/2 KAME racoon/libipsec.
2001-08-02 12:15:00 +00:00
itojun
7295c743a4
bring in latest racoon/libipsec from KAME. lots of lots of stability fixes.
2001-08-02 12:06:08 +00:00
manu
3f1d5c2789
sshd is now able to log in an user if the filesystem is readonly and the tty
...
owned by root. Note that the tty still must be mode 620, and sshd does not
check which group owns the tty (more problems here?).
This closes NetBSD PR bin/13499
The fix has been commited to OpenSSH CVS. See OpenBSD's PR user/1946.
2001-07-27 23:34:27 +00:00
assar
76371341d1
remove a (potentially) double free
2001-07-18 21:54:56 +00:00
itojun
7fc834dc03
upgrade to 0.9.6b. no shlib major/minor bump is necessary.
2001-07-11 06:50:53 +00:00
itojun
0eb42056bd
OpenSSL 0.9.6b
2001-07-11 03:54:20 +00:00
itojun
a549080f85
OpenSSL 0.9.6b
2001-07-11 03:53:32 +00:00
itojun
7d076b538c
fix PRNG weakness. the workaround presented on bugtraq posting.
2001-07-10 14:01:26 +00:00
wiz
7615e78c24
Remove formatted man pages.
2001-07-08 19:20:55 +00:00
hubertf
f5bb393643
add missing .El
2001-07-05 20:47:31 +00:00
hubertf
d8ec602681
Note: just because our macros/groff/whatever terminates .Bl internall for a
...
new .Sh doesn't mean the ending .El should be omitted
2001-06-26 00:52:59 +00:00
hubertf
d91e447e6b
PRevent one of these:
...
List open at EOF -- A .Bl directive has no matching .El
2001-06-25 23:37:27 +00:00
wiz
419e44fdc2
Mostly formatting fixes.
2001-06-24 17:44:11 +00:00
veego
7b726945ac
There is no photurisd(8).
2001-06-24 17:29:43 +00:00
assar
f9feddfb52
add string.h, noted by Staffan Thomen <duck@multi.fi>
2001-06-23 22:42:43 +00:00
itojun
69d60502fe
upgrade to openssh 2.9, around 2001/6/24 (from openbsd usr.bin/ssh).
...
- authorized_keys2 and known_hosts2 are obsoleted, and integrated
into those without "2".
- file name change, /etc/primes -> /etc/moduli
- cleanups
2001-06-23 19:37:38 +00:00
itojun
0d521994cf
OpenBSD 2001/6/24
2001-06-23 19:09:44 +00:00
itojun
6cc43ed622
OpenSSH 2.9 as of 2001/6/24
2001-06-23 16:36:22 +00:00
itojun
5324608adc
reject expired password/account. warn if interactive && about to expire.
...
ala login(1). From: Brian Poole <raj@cerias.purdue.edu>
XXX code duplicate with login(1) - should be solved by BSD AUTH code integration
2001-06-23 08:08:04 +00:00
itojun
fed4515da9
bump netbsd-local version number to identify X11 "cookies" fix
2001-06-20 07:49:45 +00:00
assar
4b1c7f1857
update generated heimdal include files for 0.3f
...
update Makefile infrastructure for 0.3f
bump shared library versions
fix some merge problems
2001-06-20 02:01:18 +00:00
assar
df54fb31c9
merge in conflicts after 0.3f import
2001-06-19 22:39:52 +00:00
assar
c6c55d41cd
import of heimdal 0.3f
2001-06-19 22:08:08 +00:00
assar
f9ab899fe6
import of heimdal 0.3f
2001-06-19 22:07:32 +00:00
lukem
ab32b074ec
If UseLogin is enabled, disable X11Forwarding (since xauth passing doesn't
...
work in this case, so X11Forwarding is effectively useless). Document this.
Resolves my pr [security/13172].
2001-06-18 10:26:33 +00:00
wiz
b6449b85de
Add RCS Id, adapt to NetBSD, fix punctuation and whitespace.
2001-06-15 12:50:44 +00:00
wiz
0cc24e9a9f
On note by kleink: Add primes.5 to crypto/dist/ssh instead of share/man/man5.
...
Import state of 2001-06-14.
2001-06-15 12:47:39 +00:00
itojun
82b8462ccf
apply ftp://ftp.openbsd.org/pub/OpenBSD/patches/2.9/common/006_sshcookie.patch.
...
sshd(8) allows users to delete arbitrary files named "cookies"
if X11 forwarding is enabled. X11 forwarding is disabled by
default.
2001-06-14 02:45:30 +00:00
itojun
f7528da67e
make it compile with KRB4 and not with KRB5. from IIJ SEIL team
2001-06-14 02:42:31 +00:00
wiz
71a78ab6ea
Note that HEIMDAL should be removed after '.Os' in man pages on import.
2001-06-05 17:08:07 +00:00
joda
8f12cb2799
not yet operational Heimdal import script
2001-06-05 17:04:24 +00:00
wiz
5e80b5d2de
Remove trailing dot in Nd.
2001-06-05 12:19:35 +00:00
wiz
4abaa1bb50
No argument for .Os.
2001-06-05 11:11:07 +00:00
wiz
04065ff226
No argument for .Os.
2001-06-05 10:13:54 +00:00
wiz
48a36de9c0
Don't give .Os an argument, not even 'NetBSD' (default includes version).
2001-06-05 10:08:03 +00:00
itojun
59dea86dc0
disable DNSSEC build, for two reasons. (1) restrictive license
...
(2) due to protocol changes BIND8 DNSSEC code is not really useful
2001-05-27 04:39:40 +00:00
itojun
de1e278afa
$NetBSD$
2001-05-26 23:26:59 +00:00
itojun
c01f1862d6
prime table for OpenSSH, from OpenBSD etc/primes
2001-05-26 23:24:21 +00:00
itojun
900d6f1790
BIND 8.2.4
2001-05-17 20:45:58 +00:00
itojun
5bb235dbab
recover $NetBSD$
2001-05-15 16:00:32 +00:00
itojun
f4532f2487
upgrade to openssh (openbsd usr.bin/ssh) 2.9, around 5/15/2001.
2001-05-15 15:26:07 +00:00
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