des
59d1af2322
Upgrade to OpenSSH 5.6p1.
2010-11-11 11:46:19 +00:00
des
3c6dca852a
Forgot to svn rm this when I imported 5.4p1.
2010-11-10 08:21:25 +00:00
emaste
3c1b275767
Remove copyright strings printed at login time via login(1) or sshd(8).
...
It is not clear to what this copyright should apply, and this is in line
with what other operating systems do.
For ssh specifically, printing of the copyright string is not in the
upstream version so this reduces our FreeBSD-local diffs.
Approved by: core, des (ssh)
2010-09-28 20:57:14 +00:00
des
9bef2d9553
More commas
2010-06-01 22:46:57 +00:00
des
28662c6994
Missing commas
2010-06-01 15:11:29 +00:00
cperciva
b4dba7d518
Fix .Dd line: FreeBSD's mdoc code doesn't understand OpenBSD's $Mdocdate$.
...
MFC after: 3 days
2010-05-28 01:06:40 +00:00
des
fc607a2e80
Upgrade to OpenSSH 5.5p1.
2010-04-28 10:36:33 +00:00
kib
961511b433
Enhance r199804 by marking the daemonised child as immune to OOM instead
...
of short-living parent. Only mark the master process that accepts
connections, do not protect connection handlers spawned from inetd.
Submitted by: Mykola Dzham <i levsha me>
Reviewed by: attilio
MFC after: 1 week
2010-04-08 12:07:40 +00:00
des
c3510f9e73
Upgrade to OpenSSH 5.4p1.
...
MFC after: 1 month
2010-03-09 19:16:43 +00:00
ed
c69b7d3b1a
Add a missing $FreeBSD$ string.
...
I was requested to add this string to any file that was modified by my
commit, which I forgot to do so.
Requested by: des
2010-01-13 20:30:16 +00:00
ed
495b1a6bbd
Make OpenSSH work with utmpx.
...
- Partially revert r184122 (sshd.c). Our ut_host is now big enough to
fit proper hostnames.
- Change config.h to match reality.
- defines.h requires UTMPX_FILE to be set by <utmpx.h> before it allows
the utmpx code to work. This makes no sense to me. I've already
mentioned this upstream.
- Add our own platform-specific handling of lastlog. The version I will
send to the OpenSSH folks will use proper autoconf generated
definitions instead of `#if 1'.
2010-01-13 18:43:32 +00:00
attilio
99524169bf
Avoid sshd, cron, syslogd and inetd to be killed under high-pressure swap
...
environments.
Please note that this can't be done while such processes run in jails.
Note: in future it would be interesting to find a way to do that
selectively for any desired proccess (choosen by user himself), probabilly
via a ptrace interface or whatever.
Obtained from: Sandvine Incorporated
Reviewed by: emaste, arch@
Sponsored by: Sandvine Incorporated
MFC: 1 month
2009-11-25 15:12:24 +00:00
des
ca406db9c3
Fix globbing
...
Noticed by: delphij, David Cornejo <dave@dogwood.com>
Forgotten by: des
2009-11-10 09:45:43 +00:00
des
9c86ec8748
Remove dupe.
2009-10-11 14:27:33 +00:00
des
62e4403f72
Add more symbols that need to be masked:
...
- initialized and uninitialized data
- symbols from roaming_dummy.c which end up in pam_ssh
Update the command line used to generate the #defines.
2009-10-05 18:55:13 +00:00
des
c6a1085fef
Upgrade to OpenSSH 5.3p1.
2009-10-01 17:12:52 +00:00
des
32589bd8e2
Update and remove CVS-specific items
...
Approved by: re (kib)
2009-08-13 06:07:38 +00:00
jhb
056d36800b
Use the closefrom(2) system call.
...
Reviewed by: des
2009-06-16 15:30:10 +00:00
des
8bf56a9772
Upgrade to OpenSSH 5.2p1.
...
MFC after: 3 months
2009-05-22 18:46:28 +00:00
des
a9989b9d40
At some point, construct_utmp() was changed to use realhostname() to fill
...
in the struct utmp due to concerns about the length of the hostname buffer.
However, this breaks the UseDNS option. There is a simpler and better
solution: initialize utmp_len to the correct value (UT_HOSTSIZE instead of
MAXHOSTNAMELEN) and let get_remote_name_or_ip() worry about the size of the
buffer.
PR: bin/97499
Submitted by: Bruce Cran <bruce@cran.org.uk>
MFC after: 1 week
2008-10-21 11:58:26 +00:00
des
a51772f108
Our groff doesn't understand $Mdocdate$, so replace them with bare dates.
...
MFC after: 3 days
2008-09-29 10:53:05 +00:00
des
ab1a43cf51
MFV "xmalloc: zero size" fix.
...
MFC after: 1 week
2008-09-24 21:20:44 +00:00
des
364610d759
Remove some unused files.
2008-09-01 16:34:02 +00:00
des
f50b650b57
Set SIZEOF_LONG_INT and SIZEOF_LONG_LONG_INT to plausible values. They
...
aren't used for anything, but that's no excuse for being silly.
2008-09-01 14:15:57 +00:00
des
f53f7dd853
Use net.inet.ip.portrange.reservedhigh instead of IPPORT_RESERVED.
...
Submitted upstream, no reaction.
Submitted by: delphij@
MFC after: 2 weeks
2008-08-20 10:40:07 +00:00
des
b7aa600c41
Upgrade to OpenSSH 5.1p1.
...
I have worked hard to reduce diffs against the vendor branch. One
notable change in that respect is that we no longer prefer DSA over
RSA - the reasons for doing so went away years ago. This may cause
some surprises, as ssh will warn about unknown host keys even for
hosts whose keys haven't changed.
MFC after: 6 weeks
2008-08-01 02:48:36 +00:00
des
f672f908e1
Another file with no local changes.
...
"This time for sure!"
2008-08-01 01:50:55 +00:00
des
47d27c283c
Another file with no local changes.
2008-08-01 01:48:33 +00:00
des
d1eccf1850
Another four files without local changes. This is driving me nuts -
...
every time I think I got them all, another one pops up.
2008-08-01 01:45:56 +00:00
des
0afede05d8
Yet another file with no local changes.
2008-08-01 01:38:50 +00:00
des
9472224e68
Accidentally mangled this one in the previous commit.
2008-08-01 01:38:24 +00:00
des
ab05c9d6e0
More files which no longer have any local changes.
2008-08-01 01:32:56 +00:00
des
aec4b2ce63
These two files have no local patches except to prevent expansion of the
...
original $FreeBSD$ keywords. Revert those changes, and simply disable
keyword expansion.
2008-08-01 01:30:26 +00:00
des
c16d19ef38
Last remains of old OPIE patch
2008-08-01 01:24:42 +00:00
des
1d5516fdb1
We no longer have any local changes here.
2008-08-01 01:19:13 +00:00
des
0a6d19e874
Tag expansion is no longer needed (svn handles them correctly).
...
Add svn command to diff against vendor branch.
2008-08-01 01:05:27 +00:00
des
e4b4e186ba
This is no longer needed.
2008-08-01 01:04:52 +00:00
des
ed6e3a816d
Cleanup.
2008-08-01 01:00:34 +00:00
des
fa78b524d4
Ugh. Set svn:mergeinfo correctly.
2008-08-01 00:34:37 +00:00
des
ce65202984
Catch up with reality.
2008-08-01 00:28:50 +00:00
des
e253d923d4
Revert an old hack I put in to replace S/Key with OPIE. We haven't used
...
that code in ages - we use pam_opie(8) instead - so this is a NOP.
2008-08-01 00:27:48 +00:00
des
a0701212a1
Add missing #include for strlen()
2008-07-31 23:33:26 +00:00
des
0c146c189c
Fix alignment of the cmsg buffer by placing it in a union with a struct
...
cmsghdr. Derived from upstream patch.
Submitted by: cognet
MFC after: 2 weeks
2008-07-30 09:16:46 +00:00
des
01d1a97b94
Remove a bunch of files we don't need to build OpenSSH. They are still
...
available in base/vendor-crypto/openssh/dist/.
2008-07-23 17:02:25 +00:00
des
f1596419c2
Properly flatten openssh/dist.
2008-07-22 19:01:18 +00:00
des
666aa9cc16
Revert part of 180714 - the intent was to flatten dist, not to nuke it.
2008-07-22 18:58:19 +00:00
des
624d93001f
Flatten the OpenSSH vendor tree for 3.x and newer.
2008-07-22 17:13:05 +00:00
des
081081cbe3
Fix the Xlist so it actually works with 'tar -X', and update the upgrade
...
instructions accordingly.
2008-02-06 23:14:24 +00:00
des
76b6e0b06e
As per discussion, commit experimental metadata for my contrib packages.
...
The idea is to have a FREEBSD-vendor file for every third-party package
in the tree.
2008-02-06 23:06:24 +00:00
des
91a576f9b7
s/X11R6/local/g
2007-05-24 22:04:07 +00:00
des
f486315183
Resolve conflicts.
2006-11-10 16:52:41 +00:00
des
f591b3e29c
Vendor import of OpenSSH 4.5p1.
2006-11-10 16:39:21 +00:00
des
11e3a8c8c1
This commit was generated by cvs2svn to compensate for changes in r164146,
...
which included commits to RCS files with non-trunk default branches.
2006-11-10 16:39:21 +00:00
des
d75fd1fec6
Don't define XAUTH_PATH here, we either pass it in on the compiler command
...
line or rely on the built-in default.
2006-10-06 14:27:26 +00:00
des
91390ee9f2
Go figure how an extra $Id$ line crept in...
2006-10-04 10:21:00 +00:00
des
178eb45ceb
Merge vendor patch.
2006-10-04 10:15:53 +00:00
des
e6cc400c8f
Apply vendor patch to fix detection of tap / tun headers and ENGINE support.
2006-10-04 10:14:30 +00:00
des
351bcb5c21
Tweak ifdefs for backward compatibility.
2006-10-03 11:33:25 +00:00
des
24e2cf96ac
Dead files.
2006-10-02 13:29:41 +00:00
des
a74a69e336
Regenerate; no effect on the code as it doesn't actually use the handful of
...
conditionals that changed in this revision.
2006-10-02 12:45:27 +00:00
des
14ad83d6bf
Update configure options and add some missing steps.
...
The section about our local changes needs reviewing, and some of those
changes should probably be reconsidered (such as preferring DSA over RSA,
which made sense when RSA was encumbered but probably doesn't any more)
2006-10-02 12:39:28 +00:00
des
0824f0c0e7
Regenerate.
...
MFC after: 1 week
2006-09-30 13:40:56 +00:00
des
ac038c1070
#include <errno.h>; this has the unfortunate side effect of taking the file
...
off the vendor branch.
MFC after: 1 week
2006-09-30 13:40:35 +00:00
des
0f481d7c8c
Removed from vendor branch.
...
MFC after: 1 week
2006-09-30 13:39:35 +00:00
des
e16bfbb7bc
Bump version addendum.
...
MFC after: 1 week
2006-09-30 13:39:07 +00:00
des
4ff234ef46
Merge conflicts.
...
MFC after: 1 week
2006-09-30 13:38:06 +00:00
des
2f35ce4773
Vendor import of OpenSSH 4.4p1.
2006-09-30 13:29:51 +00:00
des
abd7c8704b
This commit was generated by cvs2svn to compensate for changes in r162852,
...
which included commits to RCS files with non-trunk default branches.
2006-09-30 13:29:51 +00:00
des
97a1b8f884
Merge vendor patch for BSM problem in protocol version 1.
...
MFC after: 1 week
2006-09-16 15:12:58 +00:00
des
03ef9d989b
Vendor patch for a problem that prevented using protocol version 1 when
...
BSM was enabled.
2006-09-16 15:10:13 +00:00
des
d9ba51b5fc
Our glob(3) has all the required features.
...
Submitted by: ache
2006-06-09 08:39:05 +00:00
des
a34ad0a5f7
Revert inadvertant commit of debugging code.
2006-06-09 07:23:14 +00:00
des
148092431d
Introduce a namespace munging hack inspired by NetBSD to avoid polluting
...
the namespace of applications which inadvertantly link in libssh (usually
through pam_ssh)
Suggested by: lukem@netbsd.org
MFC after: 6 weeks
2006-05-13 13:47:45 +00:00
des
9c68158992
Fix utmp. There is some clever logic in configure.ac which attempts to
...
determine whether struct utmp contains the ut_host and ut_time fields.
Unfortunately, it reports a false negative for both on FreeBSD, and I
didn't check the resulting config.h closely enough to catch the error.
Noticed by: ache
2006-03-23 21:31:42 +00:00
des
eb091e1fc6
Regenerate.
2006-03-22 20:41:53 +00:00
des
7c07891caf
Merge conflicts.
2006-03-22 20:41:37 +00:00
des
448503722a
Vendor import of OpenSSH 4.3p1.
2006-03-22 19:46:12 +00:00
des
c2efe9a305
This commit was generated by cvs2svn to compensate for changes in r157016,
...
which included commits to RCS files with non-trunk default branches.
2006-03-22 19:46:12 +00:00
ru
388e590f95
Reimplementation of world/kernel build options. For details, see:
...
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
2006-03-17 18:54:44 +00:00
dfr
d9cbcb50b5
Add a new extensible GSS-API layer which can support GSS-API plugins,
...
similar the the Solaris implementation. Repackage the krb5 GSS mechanism
as a plugin library for the new implementation. This also includes a
comprehensive set of manpages for the GSS-API functions with text mostly
taken from the RFC.
Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
2005-12-29 14:40:22 +00:00
des
fbfe6dd7e0
Regenerate
2005-09-03 07:08:51 +00:00
des
88c7c9558b
Resolve conflicts.
2005-09-03 07:04:25 +00:00
des
755a16fa86
Vendor import of OpenSSH 4.2p1.
2005-09-03 06:59:33 +00:00
des
1ea3628aba
This commit was generated by cvs2svn to compensate for changes in r149749,
...
which included commits to RCS files with non-trunk default branches.
2005-09-03 06:59:33 +00:00
des
f0dcade643
fine-tune.
2005-09-03 06:42:11 +00:00
des
af7fe6f7d6
Forgot to bump the version addendum.
2005-06-05 18:30:53 +00:00
des
ec61b1c40a
Regenerate.
2005-06-05 15:46:27 +00:00
des
983ad11a1c
Resolve conflicts.
2005-06-05 15:46:09 +00:00
des
3c5bc6b274
Update for 4.1p1.
2005-06-05 15:43:57 +00:00
des
c4dfc1ed3b
Vendor import of OpenSSH 4.1p1.
2005-06-05 15:41:57 +00:00
des
35c298a910
This commit was generated by cvs2svn to compensate for changes in r147001,
...
which included commits to RCS files with non-trunk default branches.
2005-06-05 15:41:57 +00:00
des
11a09ab416
Vendor import of OpenSSH 4.0p1.
2005-06-05 15:40:50 +00:00
des
7688286f9d
This commit was generated by cvs2svn to compensate for changes in r146998,
...
which included commits to RCS files with non-trunk default branches.
2005-06-05 15:40:50 +00:00
des
9230b25dd7
Rewrite some of the regexps so they don't match themselves.
2005-06-04 23:18:33 +00:00
des
2ed082fd66
Better Xlist command line.
2004-10-28 16:13:28 +00:00
des
a744ec13ad
Resolve conflicts
2004-10-28 16:11:31 +00:00
des
d5d493f03a
Vendor import of OpenSSH 3.9p1.
2004-10-28 16:03:53 +00:00
des
b0cdf22191
This commit was generated by cvs2svn to compensate for changes in r137015,
...
which included commits to RCS files with non-trunk default branches.
2004-10-28 16:03:53 +00:00
des
0a4f1e0cd4
These are unnecessary and have been causing imp@ trouble.
2004-10-27 19:07:36 +00:00
des
aaa4408d55
Regenerate.
2004-04-20 09:49:37 +00:00
des
6e7fa35a0a
One more conflict.
2004-04-20 09:47:13 +00:00
des
e5d801b2d6
Resolve conflicts.
2004-04-20 09:46:41 +00:00
des
efa3572464
Adjust version number and addendum.
2004-04-20 09:37:29 +00:00
des
c69db9c5a2
Vendor import of OpenSSH 3.8.1p1.
2004-04-20 09:35:04 +00:00
des
13038249fe
This commit was generated by cvs2svn to compensate for changes in r128456,
...
which included commits to RCS files with non-trunk default branches.
2004-04-20 09:35:04 +00:00
des
2fe413a41a
Correctly document the default value of UsePAM.
2004-03-15 18:38:29 +00:00
des
437b8c0fdd
Update VersionAddendum in config files and man pages.
2004-02-26 11:54:03 +00:00
des
c05d4b9b43
Define HAVE_GSSAPI_H.
2004-02-26 11:06:29 +00:00
des
77d6d5a07e
Regenerate.
2004-02-26 10:57:38 +00:00
des
c7ba229763
Document recently changed configuration defaults.
2004-02-26 10:57:28 +00:00
des
124c4a1415
Resolve conflicts.
2004-02-26 10:52:33 +00:00
des
7d1750f1d6
Vendor import of OpenSSH 3.8p1.
2004-02-26 10:38:49 +00:00
des
1754c77e5e
This commit was generated by cvs2svn to compensate for changes in r126274,
...
which included commits to RCS files with non-trunk default branches.
2004-02-26 10:38:49 +00:00
des
b1ffd1f6ac
Merge OpenSSH 3.8p1.
2004-02-26 10:38:38 +00:00
des
270e7d7140
Prepare for upcoming 3.8p1 import.
2004-02-26 10:37:34 +00:00
des
85717525b0
Pull asbesthos underpants on and disable protocol version 1 by default.
2004-02-26 10:24:07 +00:00
des
49dee586c1
Turn non-PAM password authentication off by default when USE_PAM is
...
defined. Too many users are getting bitten by it.
2004-02-19 15:53:31 +00:00
des
84ff378ae4
Update the "overview of FreeBSD changes to OpenSSH-portable" to reflect
...
reality.
2004-01-25 13:09:56 +00:00
des
31d02c599b
Work around removal of EAI_NODATA from netdb.h.
2004-01-18 22:31:30 +00:00
des
5c8d98dfbd
Don't output the terminating '\0' (already fixed in OpenSSH CVS)
2004-01-09 12:57:36 +00:00
des
c3b2098e8b
This commit was generated by cvs2svn to compensate for changes in r124287,
...
which included commits to RCS files with non-trunk default branches.
2004-01-09 12:57:36 +00:00
des
f773ff17e4
Egg on my face: UsePAM was off by default.
...
Pointed out by: Sean McNeil <sean@mcneil.com>
2004-01-09 08:07:12 +00:00
des
59fac3f07b
Regenerate config.h; I don't know why this didn't hit CVS yesterday.
2004-01-08 09:42:35 +00:00
des
bd159d8b4f
Remove obsolete files on the vendor branch.
2004-01-08 09:33:46 +00:00
des
ee97d7f67c
Update to reflect changes since the last version.
2004-01-07 11:51:18 +00:00
des
7545fb1c7e
Resolve conflicts and remove obsolete files.
...
Sponsored by: registrar.no
2004-01-07 11:16:27 +00:00
des
b5d16e7138
Vendor import of OpenSSH 3.7.1p2.
2004-01-07 11:10:17 +00:00
des
b5f9e06a6d
This commit was generated by cvs2svn to compensate for changes in r124208,
...
which included commits to RCS files with non-trunk default branches.
2004-01-07 11:10:17 +00:00
des
fd8a3b71eb
Merge OpenSSH 3.7.1p2.
2004-01-07 11:10:02 +00:00
simon
b25ecb5dd4
Add a missing word.
...
Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us>
Reviewed by: des
MFC after: 1 week
2003-10-31 21:49:47 +00:00
des
365ce457b0
Plug a memory leak in the PAM child process. It is of no great consequence
...
as the process is short-lived, and the leak occurs very rarely and always
shortly before the process terminates.
MFC after: 3 days
2003-10-23 08:27:16 +00:00
joe
dc42ef0264
Additional corrections to OpenSSH buffer handling.
...
Obtained from: openssh.org
Originally committed to head by: nectar
2003-09-26 19:15:53 +00:00
joe
62fcef3496
This commit was generated by cvs2svn to compensate for changes in r120489,
...
which included commits to RCS files with non-trunk default branches.
2003-09-26 19:15:53 +00:00
joe
175ed5a6e4
Additional corrections to OpenSSH buffer handling.
...
Obtained from: openssh.org
Originally committed to head by: nectar
2003-09-26 19:15:53 +00:00
des
0b9dcf3092
Update version string.
2003-09-24 19:20:23 +00:00
des
202ae7da6f
Remove bogus calls to xfree().
2003-09-24 19:11:52 +00:00
des
7ddad9d4af
resp is a pointer to an array of structs, not an array of pointers to structs.
2003-09-24 18:26:29 +00:00
des
005a1d4afd
Return the correct error value when a null query fails.
2003-09-24 18:24:27 +00:00
des
21906911ce
Fix broken shell code.
2003-09-19 11:29:51 +00:00
nectar
0689a1c0d3
Correct more cases of allocation size bookkeeping being updated before
...
calling functions which can potentially fail and cause cleanups to be
invoked.
Submitted by: Solar Designer <solar@openwall.com>
2003-09-17 14:36:14 +00:00
nectar
441fabb06e
This commit was generated by cvs2svn to compensate for changes in r120161,
...
which included commits to RCS files with non-trunk default branches.
2003-09-17 14:36:14 +00:00
nectar
bacf67e6ca
Correct more cases of allocation size bookkeeping being updated before
...
calling functions which can potentially fail and cause cleanups to be
invoked.
Submitted by: Solar Designer <solar@openwall.com>
2003-09-17 14:36:14 +00:00
nectar
359ce984aa
Update the OpenSSH addendum string for the buffer handling fix.
2003-09-16 14:33:04 +00:00
nectar
8cd211c561
Do not record expanded size before attempting to reallocate associated
...
memory.
Obtained from: OpenBSD
2003-09-16 06:11:58 +00:00
nectar
ff50ba9baf
This commit was generated by cvs2svn to compensate for changes in r120113,
...
which included commits to RCS files with non-trunk default branches.
2003-09-16 06:11:58 +00:00
des
7fc179286a
Add a "return" that was missing from 3.6.1p1. Since it's been fixed in
...
the OpenSSH-portable CVS repo, I'm committing this on the vendor branch.
2003-06-24 19:30:44 +00:00
des
270ae60a45
This commit was generated by cvs2svn to compensate for changes in r116791,
...
which included commits to RCS files with non-trunk default branches.
2003-06-24 19:30:44 +00:00
des
108403d091
Fix off-by-one and initialization errors which prevented sshd from
...
restarting when sent a SIGHUP.
Submitted by: tegge
Approved by: re (jhb)
2003-05-28 19:39:33 +00:00
des
e0263bb5ea
Revert unnecessary part of previous commit.
2003-05-13 10:18:49 +00:00
des
ab070fe748
Rename a few functions to avoid stealing common words (error, log, debug
...
etc.) from the application namespace for programs that use pam_ssh(8).
Use #defines to avoid changing the actual source code.
Approved by: re (rwatson)
2003-05-12 19:22:47 +00:00