Darren Tucker
6e4221129e
- (dtucker) [openbsd-compat/openbsd-compat.h] Bug #1096 : Add prototype
...
for strtoll. Patch from o.flebbe at science-computing.de.
2005-09-30 09:55:49 +10:00
Tim Rice
64ead485ac
- (tim) [defines.h openbsd-compat/port-uw.c] Add long password support to
...
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
2005-09-08 21:56:33 -07:00
Tim Rice
66fd217e8e
- (tim) [configure.ac auth.c defines.h session.c openbsd-compat/port-uw.c
...
openbsd-compat/port-uw.h openbsd-compat/xcrypt.c] libiaf cleanup. Disable
libiaf bits for OpenServer6. Free memory allocated by ia_get_logpwd().
Feedback and OK dtucker@
2005-08-31 09:59:49 -07:00
Tim Rice
2291c00ab2
- (tim) [CREDITS LICENCE auth.c configure.ac defines.h includes.h session.c
...
openbsd-compat/Makefile.in openbsd-compat/openbsd-compat.h
openbsd-compat/xcrypt.c] New files [openssh/openbsd-compat/port-uw.c
openssh/openbsd-compat/port-uw.h] Support long passwords (> 8-char)
on UnixWare 7 from Dhiraj Gulati and Ahsan Rashid. Cleanup and testing
by tim@. Feedback and OK dtucker@
2005-08-26 13:15:19 -07:00
Darren Tucker
73f671a090
- (dtucker) [LICENCE configure.ac defines.h openbsd-compat/realpath.c]
...
Sync current (thread-safe) version of realpath.c from OpenBSD (which is
in turn based on FreeBSD's). ok djm@
2005-08-10 21:52:36 +10:00
Darren Tucker
9825697d3c
- (dtucker) [openbsd-compat/fake-rfc2553.h] MAX_INT -> INT_MAX since the
...
latter is specified in the standard.
2005-08-03 15:36:21 +10:00
Darren Tucker
212cfc4b48
- (dtucker) [openbsd-compat/fake-rfc2553.h] Check for EAI_* defines
...
individually and use a value less likely to collide with real values from
netdb.h. Fixes compile warnings on FreeBSD 5.3. ok djm@
2005-08-03 10:57:15 +10:00
Darren Tucker
f0bd352429
- (dtucker) [cipher.c openbsd-compat/openbsd-compat.h
...
openbsd-compat/openssl-compat.c] only include openssl compat stuff where
it's needed as it can cause conflicts elsewhere (eg xcrypt.c). Found by
and ok tim@
----------------------------------------------------------------------
automatically CVS: CVS: Committing in . CVS: CVS: Modified Files:
----------------------------------------------------------------------
2005-06-17 21:15:20 +10:00
Darren Tucker
a55ec77013
- (dtucker) [cipher.c openbsd-compat/Makefile.in
...
openbsd-compat/openbsd-compat.{c,h} openbsd-compat/openssl-compat.h]
Move compatibility code for supporting older OpenSSL versions to the
compat layer. Suggested by and "no objection" djm@
2005-06-09 21:45:10 +10:00
Darren Tucker
81eb5d5e10
- (dtucker) [configure.ac openbsd-compat/Makefile.in openbsd-compat/strtoll.c]
...
Add strtoll to the compat library, from OpenBSD.
2005-06-01 21:39:33 +10:00
Darren Tucker
f9fea65ba9
- (dtucker) [openbsd-compat/port-aix.c] Minor correction to debug message,
...
spotted by tim@.
2005-05-29 10:54:27 +10:00
Darren Tucker
6b2fe31def
- (dtucker) [openbsd-compat/port-aix.c] Whitespace cleanups while there.
2005-05-29 10:32:47 +10:00
Darren Tucker
782727ac61
20050529
...
- (dtucker) [openbsd-compat/port-aix.c] Bug #1046 : AIX 5.3 expects the
argument to passwdexpired to be initialized to NULL. Suggested by tim@
While at it, initialize the other arguments to auth functions in case they
ever acquire this behaviour.
2005-05-29 10:28:48 +10:00
Darren Tucker
5d72a40d67
- (dtucker) [openbsd-compat/port-aix.h] Use the HAVE_DECL_* definitions as
...
per the autoconf man page. Configure should always define them but it
doesn't hurt to check.
2005-05-28 20:28:39 +10:00
Darren Tucker
2be1cbb7be
- (dtucker) [acconfig.h configure.ac defines.h includes.h sshpty.c
...
openbsd-compat/bsd-misc.c] Add support for Ultrix. No, that's not a typo.
Required changes from Bernhard Simon, integrated by me. ok djm@
2005-05-27 21:13:40 +10:00
Damien Miller
de3cb0a3dc
- (djm) [configure.ac openbsd-compat/Makefile.in]
...
[openbsd-compat/openbsd-compat.h openbsd-compat/strtonum.c]
Add strtonum(3) from OpenBSD libc, new code needs it.
Unfortunately Linux forces us to do a bizarre dance with compiler
options to get LLONG_MIN/MAX; Spotted by and ok dtucker@
2005-05-26 20:48:25 +10:00
Darren Tucker
84ce9b455d
- (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Bug #1033 : Provide
...
templates for _getshort and _getlong if missing to prevent compiler warnings
on Linux.
2005-05-26 20:12:15 +10:00
Darren Tucker
ae8c91ec07
- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Ensure sufficient memory
...
allocation when retrieving core Windows environment. Add CYGWIN variable
to propagated variables. Patch from vinschen at redhat.com, ok djm@
2005-05-25 19:42:10 +10:00
Damien Miller
101afbbb17
restore portable-specific tweak
2005-05-24 16:42:00 +10:00
Damien Miller
308c8b147b
nicer fix from millert@
2005-05-24 16:39:03 +10:00
Damien Miller
df548bc310
- (djm) [openbsd-compat/readpassphrase.c] bz #950 : Retry tcsetattr to ensure
...
terminal modes are reset correctly. Fix from peak AT argo.troja.mff.cuni.cz;
"looks ok" dtucker@
2005-05-24 15:54:27 +10:00
Darren Tucker
f3bb434177
- (dtucker) [auth.h sshd.c openbsd-compat/port-aix.c] Bug #1006 : fix bug in
...
handling of password expiry messages returned by AIX's authentication
routines, originally reported by robvdwal at sara.nl.
2005-03-31 21:39:25 +10:00
Darren Tucker
e66519d942
- (dtucker) [configure.ac openbsd-compat/port-aix.h] Prevent redefinitions
...
of setauthdb on AIX 5.3, reported by anders.liljegren at its.uu.se.
2005-03-21 22:46:34 +11:00
Darren Tucker
3804903a09
- (dtucker) [acconfig.h configure.ac openbsd-compat/bsd-misc.{c,h}]
...
Remove SETGROUPS_NOOP, was only used by Cygwin, which doesn't need it any
more. Patch from vinschen at redhat.com.
2005-02-26 10:07:37 +11:00
Darren Tucker
34233830a1
- (dtucker) [openbsd-compat/bsd-openpty.c openbsd-compat/inet_ntop.c]
...
Remove two obsolete Cygwin #ifdefs. Patch from vinschen at redhat.com.
2005-02-26 10:04:28 +11:00
Darren Tucker
3c774c52f3
- (dtucker) [configure.ac openbsd-compat/port-aix.{c,h}] Silence some more
...
compiler warnings on AIX.
2005-02-16 22:49:31 +11:00
Damien Miller
66df70c97d
knf: function names at start of line
2005-02-16 13:01:28 +11:00
Darren Tucker
691d5235ca
- (dtucker) [README.platform auth.c configure.ac loginrec.c
...
openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Bug #835 : enable IPv6
on AIX where possible (see README.platform for details) and work around
a misfeature of AIX's getnameinfo. ok djm@
2005-02-15 21:45:57 +11:00
Darren Tucker
15af68f767
- (dtucker) [openbsd-compat/fake-rfc2553.h] We now need EAI_SYSTEM too.
2005-02-11 18:32:13 +11:00
Darren Tucker
92170a8626
- (dtucker) [auth-passwd.c openbsd-compat/port-aix.c] Don't call
...
disable_forwarding() from compat library. Prevent linker errrors trying
to resolve it for binaries other than sshd. ok djm@
2005-02-09 17:08:23 +11:00
Darren Tucker
b4d3012d2e
- (dtucker) [openbsd-compat/port-aix.c] Silence compiler warnings.
2005-02-08 21:06:55 +11:00
Darren Tucker
42d9dc75ed
- (dtucker) [auth.c loginrec.h openbsd-compat/{bsd-cray,port-aix}.{c,h}]
...
Make record_failed_login() call provide hostname rather than having the
implementations having to do lookups themselves. Only affects AIX and
UNICOS (the latter only uses the "user" parameter anyway). ok djm@
2005-02-02 17:10:11 +11:00
Darren Tucker
ad7646a59a
- (dtucker) [configure.ac openbsd-compat/realpath.c] Sync up with realpath
...
rev 1.11 from OpenBSD and make it use fchdir if available. ok djm@
2005-02-02 10:43:59 +11:00
Darren Tucker
dbc2296e2c
- (dtucker) [monitor_mm.c openbsd-compat/xmmap.c] Bug #940 : cast constants
...
to void * to appease picky compilers (eg Tru64's "cc -std1").
2004-10-06 23:15:44 +10:00
Darren Tucker
4127f559ad
- (dtucker) [openbsd-compat/bsd-snprintf.c] Previous change was off by one,
...
which could have caused the justification to be wrong. ok djm@
2004-09-23 21:35:09 +10:00
Darren Tucker
50fbb45dbd
- (dtucker) [openbsd-compat/bsd-snprintf.c] Check for max length too.
...
ok djm@
2004-09-21 21:32:12 +10:00
Darren Tucker
14c372d49d
- (dtucker) [session.c openbsd-compat/bsd-cygwin_util.{c,h}] Bug #915 : only
...
copy required environment variables on Cygwin. Patch from vinschen at
redhat.com, ok djm@
2004-08-30 20:42:08 +10:00
Darren Tucker
5a88d00349
- (dtucker) [openbsd-compat/port-aix.c] Bug #712 : Explicitly check for
...
accounts with authentication configs that sshd can't support (ie
SYSTEM=NONE and AUTH1=something).
2004-08-29 21:43:33 +10:00
Darren Tucker
f00e51d1f2
- (dtucker) [openbsd-compat/getrrsetbyname.c] Prevent getrrsetbyname from
...
failing with NOMEMORY if no sigs are returned and malloc(0) returns NULL.
From Martin.Kraemer at Fujitsu-Siemens.com; ok djm@
2004-08-29 16:12:29 +10:00
Darren Tucker
f0c2aeaf3d
- (dtucker) [openbsd-compat/mktemp.c] Remove superfluous Cygwin #ifdef; from
...
vinschen at redhat.com.
2004-08-28 15:46:57 +10:00
Damien Miller
36f4965020
- (djm) [acconfig.h configure.ac openbsd-compat/Makefile.in
...
openbsd-compat/bsd-closefrom.c openbsd-compat/bsd-misc.c
openbsd-compat/bsd-misc.h openbsd-compat/openbsd-compat.h] Use smarter
closefrom() replacement from sudo; ok dtucker@
2004-08-15 18:40:59 +10:00
Darren Tucker
397a2f2612
- (dtucker) [loginrec.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h]
...
Plug AIX login recording into login_write so logins will be recorded for
all auth types.
2004-08-15 00:09:11 +10:00
Darren Tucker
066969339d
- (dtucker) [auth-krb5.c gss-serv-krb5.c openbsd-compat/xmmap.c]
...
Explicitly set umask for mkstemp; ok djm@
2004-08-14 23:55:37 +10:00
Darren Tucker
03669a363e
- (dtucker) [openbsd-compat/bsd-misc.c] Typo in #ifdef; from vinschen at
...
redhat.com
2004-08-13 18:37:21 +10:00
Damien Miller
65df174574
- (djm) [openbsd-compat/bsd-arc4random.c] Discard early keystream, like OpenBSD
...
ok dtucker@
2004-07-19 09:30:38 +10:00
Darren Tucker
ba6de952a0
- (dtucker) [logintest.c scp.c sftp-server.c sftp.c ssh-add.c ssh-agent.c
...
ssh-keygen.c ssh-keyscan.c ssh-keysign.c ssh-rand-helper.c ssh.c sshd.c
openbsd-compat/bsd-misc.c] Move "char *__progname" to bsd-misc.c. Reduces
diff vs OpenBSD; ok mouring@, tested by tim@ too.
2004-07-17 14:07:42 +10:00
Darren Tucker
5288cb242a
- (dtucker) [openbsd-compat/port-aix.c] Missing __func__.
2004-06-28 18:11:19 +10:00
Darren Tucker
60bd4098f6
- (dtucker) [configure.ac openbsd-compat/misc.c [openbsd-compat/misc.h]
...
Add closefrom() for platforms that don't have it.
(might need some tuning later, but I want to be able to test reexec).
2004-06-25 14:03:34 +10:00
Darren Tucker
0a9d43d726
- (dtucker) [auth.c openbsd-compat/port-aix.c openbsd-compat/port-aix.h]
...
Move loginrestrictions test to port-aix.c, replace with a generic hook.
2004-06-23 13:45:24 +10:00
Darren Tucker
a7ea546f1b
- (dtucker) [openbsd-compat/port-aix.c] Expand whitespace -> tabs. No
...
code changes.
2004-06-16 12:01:15 +10:00