OpenBSD CVS

CVS log for src/usr.bin/ssh/canohost.c


[BACK] Up to [local] / src / usr.bin / ssh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.77 / (download) - annotate - [select for diffs], Fri Mar 31 04:42:29 2023 UTC (13 months, 2 weeks ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, HEAD
Changes since 1.76: +3 -1 lines
Diff to previous 1.76 (colored)

Return immediately from get_sock_port if sock <0 so we don't call
getsockname on a negative FD.  From Coverity CID 291840, ok djm@

Revision 1.76 / (download) - annotate - [select for diffs], Fri Mar 3 05:00:34 2023 UTC (14 months, 2 weeks ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE, OPENBSD_7_3
Changes since 1.75: +4 -1 lines
Diff to previous 1.75 (colored)

guard against getsockname(-1, ...) from Coverity CID 291832

Revision 1.75 / (download) - annotate - [select for diffs], Sun Oct 18 11:32:01 2020 UTC (3 years, 6 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored)

use the new variant log macros instead of prepending __func__ and
appending ssh_err(r) manually; ok markus@

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jun 28 13:35:04 2019 UTC (4 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored)

When system calls indicate an error they return -1, not some arbitrary
value < 0.  errno is only updated in this case.  Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Mar 7 19:02:43 2016 UTC (8 years, 2 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.72: +10 -245 lines
Diff to previous 1.72 (colored)

refactor canohost.c: move functions that cache results closer to the
places that use them (authn and session code). After this, no state is
cached in canohost.c

feedback and ok markus@

Revision 1.72 / (download) - annotate - [select for diffs], Sun Mar 1 15:44:40 2015 UTC (9 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.71: +17 -12 lines
Diff to previous 1.71 (colored)

Make sure we only call getnameinfo() for AF_INET or AF_INET6 sockets.
getpeername() of a Unix domain socket may return without error on
some systems without actually setting ss_family so getnameinfo()
was getting called with ss_family set to AF_UNSPEC.  OK djm@

Revision 1.71 / (download) - annotate - [select for diffs], Tue Jul 15 15:54:14 2014 UTC (9 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Changes since 1.70: +13 -1 lines
Diff to previous 1.70 (colored)

Add support for Unix domain socket forwarding.  A remote TCP port
may be forwarded to a local Unix domain socket and vice versa or
both ends may be a Unix domain socket.  This is a reimplementation
of the streamlocal patches by William Ahern from:
    http://www.25thandclement.com/~william/projects/streamlocal.html
OK djm@ markus@

Revision 1.70 / (download) - annotate - [select for diffs], Sun Jan 19 04:17:29 2014 UTC (10 years, 3 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.69: +2 -3 lines
Diff to previous 1.69 (colored)

Cast socklen_t when comparing to size_t and use socklen_t to iterate over
the ip options, both to prevent signed/unsigned comparison warnings.
Patch from vinschen at redhat via portable openssh, begrudging ok deraadt.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Nov 20 20:54:10 2013 UTC (10 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.68: +1 -2 lines
Diff to previous 1.68 (colored)

unsigned casts for ctype macros where neccessary
ok guenther millert markus

Revision 1.68 / (download) - annotate - [select for diffs], Mon Oct 14 23:28:22 2013 UTC (10 years, 7 months ago) by djm
Branch: MAIN
Changes since 1.67: +4 -9 lines
Diff to previous 1.67 (colored)

refactor client config code a little:

add multistate option partsing to readconf.c, similar to servconf.c's
existing code.

move checking of options that accept "none" as an argument to readconf.c

add a lowercase() function and use it instead of explicit tolower() in
loops

part of a larger diff that was ok markus@

Revision 1.67 / (download) - annotate - [select for diffs], Fri May 17 00:13:13 2013 UTC (11 years ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4
Changes since 1.66: +4 -6 lines
Diff to previous 1.66 (colored)

bye, bye xfree(); ok markus@

Revision 1.66 / (download) - annotate - [select for diffs], Wed Jan 13 01:20:20 2010 UTC (14 years, 4 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7
Changes since 1.65: +17 -3 lines
Diff to previous 1.65 (colored)

Make HostBased authentication work with a ProxyCommand.  bz #1569, patch
from imorgan at nas nasa gov, ok djm@

Revision 1.65 / (download) - annotate - [select for diffs], Wed May 27 06:31:25 2009 UTC (14 years, 11 months ago) by andreas
Branch: MAIN
CVS Tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.64: +16 -8 lines
Diff to previous 1.64 (colored)

Add clear_cached_addr(), needed for upcoming changes allowing the peer
address to change.
ok markus@

Revision 1.64 / (download) - annotate - [select for diffs], Thu Feb 12 03:00:56 2009 UTC (15 years, 3 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.63: +2 -2 lines
Diff to previous 1.63 (colored)

support remote port forwarding with a zero listen port (-R0:...) to
dyamically allocate a listen port at runtime (this is actually
specified in rfc4254); bz#1003 ok markus@

Revision 1.63 / (download) - annotate - [select for diffs], Thu Jun 12 00:03:49 2008 UTC (15 years, 11 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored)

Do not pass "0" strings as ports to getaddrinfo because the lookups
can slow things down and we never use the service info anyway. bz
#859, patch from YOSHIFUJI Hideaki and John Devitofranceschi.  ok
deraadt@ djm@

djm belives that the reason for the "0" strings is to ensure that
it's not possible to call getaddrinfo with both host and port being
NULL.  In the case of canohost.c host is a local array.  In the
case of sshconnect.c, it's checked for null immediately before use.

In dns.c it ultimately comes from ssh.c:main() and is guaranteed to
be non-null but it's not obvious, so I added a warning message in
case it is ever passed a null.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Dec 27 14:22:08 2007 UTC (16 years, 4 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.61: +4 -3 lines
Diff to previous 1.61 (colored)

Add a small helper function to consistently handle the EAI_SYSTEM error
code of getaddrinfo.  Prompted by vgiffin at apple com via bz #1417.
ok markus@ stevesk@

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Fri Oct 6 03:19:32 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.44.2.1: +16 -5 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

upgrade to OpenSSH 4.4

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Sat Sep 30 04:06:50 2006 UTC (17 years, 7 months ago) by brad
Branch: OPENBSD_3_9
Changes since 1.49: +14 -5 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

upgrade to OpenSSH 4.4

Revision 1.61 / (download) - annotate - [select for diffs], Thu Aug 3 03:34:41 2006 UTC (17 years, 9 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.60: +3 -4 lines
Diff to previous 1.60 (colored)

almost entirely get rid of the culture of ".h files that include .h files"
ok djm, sort of ok stevesk
makes the pain stop in one easy step

Revision 1.60 / (download) - annotate - [select for diffs], Tue Aug 1 23:22:47 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.59: +2 -1 lines
Diff to previous 1.59 (colored)

move #include <stdio.h> out of includes.h

Revision 1.59 / (download) - annotate - [select for diffs], Wed Jul 26 13:57:17 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored)

move #include <stdlib.h> out of includes.h

Revision 1.58 / (download) - annotate - [select for diffs], Sat Jul 22 20:48:22 2006 UTC (17 years, 9 months ago) by stevesk
Branch: MAIN
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored)

move #include <string.h> out of includes.h

Revision 1.57 / (download) - annotate - [select for diffs], Wed Jul 12 22:28:51 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored)

move #include <netdb.h> out of includes.h; ok djm@

Revision 1.56 / (download) - annotate - [select for diffs], Tue Jul 11 20:07:25 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.55: +2 -1 lines
Diff to previous 1.55 (colored)

move #include <errno.h> out of includes.h; ok markus@

Revision 1.55 / (download) - annotate - [select for diffs], Sat Jul 8 21:47:12 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored)

move #include <sys/socket.h> out of includes.h

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jul 5 02:42:09 2006 UTC (17 years, 10 months ago) by stevesk
Branch: MAIN
Changes since 1.53: +5 -1 lines
Diff to previous 1.53 (colored)

move #include <netinet/in.h> out of includes.h; ok deraadt@

Revision 1.53 / (download) - annotate - [select for diffs], Sat Mar 25 13:17:01 2006 UTC (18 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.52: +1 -0 lines
Diff to previous 1.52 (colored)

Put $OpenBSD$ tags back (as comments) to replace the RCSID()s that
Theo nuked - our scripts to sync -portable need them in the files

Revision 1.52 / (download) - annotate - [select for diffs], Mon Mar 20 18:42:26 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51 (colored)

be strict with tolower() casting

Revision 1.51 / (download) - annotate - [select for diffs], Sun Mar 19 18:51:18 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.50: +0 -1 lines
Diff to previous 1.50 (colored)

RCSID() can die

Revision 1.50 / (download) - annotate - [select for diffs], Tue Mar 14 00:15:39 2006 UTC (18 years, 2 months ago) by djm
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored)

log the originating address and not just the name when a reverse
mapping check fails, requested by linux AT linuon.com

Revision 1.49 / (download) - annotate - [select for diffs], Wed Feb 22 00:04:44 2006 UTC (18 years, 2 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE
Branch point for: OPENBSD_3_9
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored)

move #include <ctype.h> out of includes.h; ok djm@

Revision 1.44.2.1 / (download) - annotate - [select for diffs], Fri Feb 3 03:01:55 2006 UTC (18 years, 3 months ago) by brad
Branch: OPENBSD_3_8
Changes since 1.44: +20 -21 lines
Diff to previous 1.44 (colored)

upgrade to OpenSSH 4.3

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Fri Feb 3 02:53:44 2006 UTC (18 years, 3 months ago) by brad
Branch: OPENBSD_3_7
Changes since 1.42.2.1: +20 -21 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

upgrade to OpenSSH 4.3

Revision 1.48 / (download) - annotate - [select for diffs], Wed Dec 28 22:46:06 2005 UTC (18 years, 4 months ago) by stevesk
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

use 'break-in' for consistency; ok deraadt@ ok and input jmc@

Revision 1.47 / (download) - annotate - [select for diffs], Thu Nov 3 13:38:29 2005 UTC (18 years, 6 months ago) by dtucker
Branch: MAIN
Changes since 1.46: +14 -13 lines
Diff to previous 1.46 (colored)

Cache reverse lookups with and without DNS separately; ok markus@

Revision 1.46 / (download) - annotate - [select for diffs], Sun Oct 30 08:29:29 2005 UTC (18 years, 6 months ago) by dtucker
Branch: MAIN
Changes since 1.45: +2 -4 lines
Diff to previous 1.45 (colored)

Check for connections with IP options earlier and drop silently.  ok djm@

Revision 1.45 / (download) - annotate - [select for diffs], Mon Oct 3 07:44:42 2005 UTC (18 years, 7 months ago) by dtucker
Branch: MAIN
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

Relocate check_ip_options call to prevent logging of garbage for connections
with IP options set.  bz#1092 from David Leonard, "looks good" deraadt@

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Sun Sep 4 18:40:01 2005 UTC (18 years, 8 months ago) by brad
Branch: OPENBSD_3_7
Changes since 1.42: +4 -3 lines
Diff to previous 1.42 (colored)

upgrade to OpenSSH 4.2

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Fri Sep 2 03:44:59 2005 UTC (18 years, 8 months ago) by brad
Branch: OPENBSD_3_6
Changes since 1.41.2.1: +4 -3 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

upgrade to OpenSSH 4.2

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jun 17 02:44:32 2005 UTC (18 years, 11 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE
Branch point for: OPENBSD_3_8
Changes since 1.43: +3 -2 lines
Diff to previous 1.43 (colored)

make this -Wsign-compare clean; ok avsm@ markus@

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 16 08:00:00 2005 UTC (18 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

don't exit if getpeername fails for forwarded ports; bugzilla #1054; ok djm

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Thu Mar 10 17:15:04 2005 UTC (19 years, 2 months ago) by brad
Branch: OPENBSD_3_5
Changes since 1.38.2.1: +11 -7 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

upgrade to OpenSSH 4.0

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Thu Mar 10 16:28:27 2005 UTC (19 years, 2 months ago) by brad
Branch: OPENBSD_3_6
Changes since 1.41: +11 -7 lines
Diff to previous 1.41 (colored)

upgrade to OpenSSH 4.0

Revision 1.42 / (download) - annotate - [select for diffs], Fri Feb 18 03:05:53 2005 UTC (19 years, 3 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE
Branch point for: OPENBSD_3_7
Changes since 1.41: +11 -7 lines
Diff to previous 1.41 (colored)

better error messages for getnameinfo failures; ok dtucker@

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Thu Aug 19 22:37:30 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.37.2.1: +24 -18 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

upgrade to OpenSSH 3.9

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Thu Aug 19 04:13:26 2004 UTC (19 years, 9 months ago) by brad
Branch: OPENBSD_3_5
Changes since 1.38: +24 -18 lines
Diff to previous 1.38 (colored)

upgrade to OpenSSH 3.9

Revision 1.41 / (download) - annotate - [select for diffs], Wed Jul 21 11:51:29 2004 UTC (19 years, 10 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE
Branch point for: OPENBSD_3_6
Changes since 1.40: +8 -2 lines
Diff to previous 1.40 (colored)

bz#902: cache remote port so we don't fatal() in auth_log when remote
connection goes away quickly. from peak AT argo.troja.mff.cuni.cz; ok markus@

Revision 1.40 / (download) - annotate - [select for diffs], Mon Jun 21 17:36:31 2004 UTC (19 years, 10 months ago) by avsm
Branch: MAIN
Changes since 1.39: +15 -15 lines
Diff to previous 1.39 (colored)

make ssh -Wshadow clean, no functional changes
markus@ ok

Revision 1.39 / (download) - annotate - [select for diffs], Wed Mar 31 21:58:47 2004 UTC (20 years, 1 month ago) by djm
Branch: MAIN
Changes since 1.38: +4 -4 lines
Diff to previous 1.38 (colored)

don't skip ip options check when UseDNS=no; ok markus@

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Thu Mar 4 18:18:15 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.35.2.1: +4 -4 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

upgrade to OpenSSH 3.8upgrade to OpenSSH 3.8upgrade to OpenSSH 3.8

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Sat Feb 28 03:51:32 2004 UTC (20 years, 2 months ago) by brad
Branch: OPENBSD_3_4
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

upgrade to OpenSSH 3.8

Revision 1.38 / (download) - annotate - [select for diffs], Tue Sep 23 20:17:11 2003 UTC (20 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE
Branch point for: OPENBSD_3_5
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

replace fatal_cleanup() and linked list of fatal callbacks with static
cleanup_exit() function.  re-refine cleanup_exit() where appropriate,
allocate sshd's authctxt eary to allow simpler cleanup in sshd.
tested by many, ok deraadt@

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Tue Sep 16 21:20:25 2003 UTC (20 years, 8 months ago) by brad
Branch: OPENBSD_3_2
Changes since 1.34.2.1: +30 -20 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

upgrade to OpenSSH 3.7

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Tue Sep 16 20:50:42 2003 UTC (20 years, 8 months ago) by brad
Branch: OPENBSD_3_3
Changes since 1.35: +30 -20 lines
Diff to previous 1.35 (colored)

upgrade to OpenSSH 3.7

Revision 1.37 / (download) - annotate - [select for diffs], Mon Jun 2 09:17:34 2003 UTC (20 years, 11 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE
Branch point for: OPENBSD_3_4
Changes since 1.36: +27 -17 lines
Diff to previous 1.36 (colored)

deprecate VerifyReverseMapping since it's dangerous if combined
with IP based access control as noted by Mike Harding; replace with
a UseDNS option, UseDNS is on by default and includes the
VerifyReverseMapping check; with itojun@, provos@, jakob@ and deraadt@
ok deraadt@, djm@

Revision 1.36 / (download) - annotate - [select for diffs], Tue Apr 8 20:21:28 2003 UTC (21 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.35: +5 -5 lines
Diff to previous 1.35 (colored)

rename log() into logit() to avoid name conflict.  markus ok, from netbsd

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Thu Apr 3 22:35:16 2003 UTC (21 years, 1 month ago) by miod
Branch: OPENBSD_3_1
Changes since 1.31.2.2: +6 -6 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Merge OpenSSH 3.6.1

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Tue Apr 1 00:12:13 2003 UTC (21 years, 1 month ago) by margarida
Branch: OPENBSD_3_2
Changes since 1.34: +6 -6 lines
Diff to previous 1.34 (colored)

Update to OpenSSH 3.6

Revision 1.35 / (download) - annotate - [select for diffs], Tue Nov 26 02:38:54 2002 UTC (21 years, 5 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE
Branch point for: OPENBSD_3_3
Changes since 1.34: +6 -6 lines
Diff to previous 1.34 (colored)

KNF, comment and error message repair; ok markus@

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Fri Oct 11 14:53:06 2002 UTC (21 years, 7 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.27.2.2: +15 -11 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Update to OpenSSH 3.5

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Fri Oct 11 14:51:52 2002 UTC (21 years, 7 months ago) by miod
Branch: OPENBSD_3_1
Changes since 1.31.2.1: +15 -11 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored)

Update to OpenSSH 3.5

Revision 1.34 / (download) - annotate - [select for diffs], Mon Sep 23 20:46:27 2002 UTC (21 years, 7 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE
Branch point for: OPENBSD_3_2
Changes since 1.33: +13 -11 lines
Diff to previous 1.33 (colored)

change get_peer_ipaddr() and get_local_ipaddr() to not return NULL for
non-sockets; fixes a problem passing NULL to snprintf(). ok markus@

Revision 1.33 / (download) - annotate - [select for diffs], Tue Jul 9 11:56:27 2002 UTC (21 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.32: +3 -1 lines
Diff to previous 1.32 (colored)

suppress log on reverse lookup failiure, as there's no real value in doing so.
markus ok

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Wed Jun 26 15:30:37 2002 UTC (21 years, 10 months ago) by jason
Branch: OPENBSD_3_1
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

Pull in OpenSSH-3.4

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Sat Jun 22 07:23:17 2002 UTC (21 years, 11 months ago) by miod
Branch: OPENBSD_3_0
Changes since 1.27.2.1: +4 -3 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)

Update OpenSSH to version 3.3 (with local changes, configuration files still
living in /etc and privsep user being nobody).

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jun 11 08:11:45 2002 UTC (21 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.31: +4 -3 lines
Diff to previous 1.31 (colored)

use "ntop" only after initialized

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Sat Mar 9 00:20:44 2002 UTC (22 years, 2 months ago) by miod
Branch: OPENBSD_2_9
Changes since 1.26.2.1: +18 -18 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored)

Merge OpenSSH 3.1, keeping /etc as configuration files directory.
(i.e. OpenSSH 3.1 + openbsd29_3.1.patch)

Revision 1.16.2.6 / (download) - annotate - [select for diffs], Fri Mar 8 17:04:42 2002 UTC (22 years, 2 months ago) by brad
Branch: OPENBSD_2_8
Changes since 1.16.2.5: +18 -18 lines
Diff to previous 1.16.2.5 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Merge OpenSSH 3.1.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Thu Mar 7 17:37:46 2002 UTC (22 years, 2 months ago) by jason
Branch: OPENBSD_3_0
Changes since 1.27: +18 -18 lines
Diff to previous 1.27 (colored)

Update to OpenSSH-3.1 on 3.0-stable branch

Revision 1.31 / (download) - annotate - [select for diffs], Wed Feb 27 21:23:13 2002 UTC (22 years, 2 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE
Branch point for: OPENBSD_3_1
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored)

remove unneeded casts in [gs]etsockopt(); ok markus@

Revision 1.30 / (download) - annotate - [select for diffs], Tue Jan 29 14:32:03 2002 UTC (22 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.29: +10 -10 lines
Diff to previous 1.29 (colored)

s/ReverseMappingCheck/VerifyReverseMapping/ and avoid confusion; ok stevesk@

Revision 1.29 / (download) - annotate - [select for diffs], Wed Dec 19 07:18:56 2001 UTC (22 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored)

basic KNF done while i was looking for something else

Revision 1.28 / (download) - annotate - [select for diffs], Wed Dec 5 03:56:39 2001 UTC (22 years, 5 months ago) by itojun
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored)

make it compile with more strict prototype checking

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Thu Sep 27 19:03:54 2001 UTC (22 years, 7 months ago) by jason
Branch: OPENBSD_2_9
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 (colored)

Pull in OpenSSH-2.9.9

Revision 1.16.2.5 / (download) - annotate - [select for diffs], Thu Sep 27 00:15:41 2001 UTC (22 years, 7 months ago) by miod
Branch: OPENBSD_2_8
Changes since 1.16.2.4: +7 -7 lines
Diff to previous 1.16.2.4 (colored) to branchpoint 1.16 (colored)

Pull in OpenSSH 2.9.9 to the 2.8 branch.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jun 23 15:12:17 2001 UTC (22 years, 10 months ago) by itojun
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE
Branch point for: OPENBSD_3_0
Changes since 1.26: +7 -7 lines
Diff to previous 1.26 (colored)

more strict prototypes.  raise warning level in Makefile.inc.  markus ok'ed
TODO; cleanup headers

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Mon May 7 21:09:27 2001 UTC (23 years ago) by jason
Branch: OPENBSD_2_8
Changes since 1.16.2.3: +55 -15 lines
Diff to previous 1.16.2.3 (colored) to branchpoint 1.16 (colored)

Pull in OpenSSH-2.9 to 2.8 branch.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Apr 18 14:15:00 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE
Branch point for: OPENBSD_2_9
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

debug->debug3

Revision 1.25 / (download) - annotate - [select for diffs], Thu Apr 12 19:15:24 2001 UTC (23 years, 1 month ago) by markus
Branch: MAIN
Changes since 1.24: +44 -15 lines
Diff to previous 1.24 (colored)

implement HostbasedAuthentication (= RhostRSAAuthentication for ssh v2)
similar to RhostRSAAuthentication unless you enable (the experimental)
HostbasedUsesNameFromPacketOnly option.  please test. :)

Revision 1.24 / (download) - annotate - [select for diffs], Thu Apr 5 15:48:19 2001 UTC (23 years, 1 month ago) by stevesk
Branch: MAIN
Changes since 1.23: +12 -1 lines
Diff to previous 1.23 (colored)

move get_remote_name_or_ip() to canohost.[ch]; for portable.  ok markus@

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Wed Mar 21 19:46:23 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.16.2.2: +0 -0 lines
Diff to previous 1.16.2.2 (colored) to branchpoint 1.16 (colored)

Pull in OpenSSH-2.5.2 for 2.8 branch.

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Wed Mar 21 18:52:37 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.12.2.3: +0 -0 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Pull in OpenSSH-2.5.2 for 2.7 branch.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Mon Mar 12 15:44:08 2001 UTC (23 years, 2 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.12.2.2: +141 -119 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored)

OpenSSH-2.5.1 for 2.7 patch branch

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Mon Feb 19 17:18:43 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.16.2.1: +0 -0 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored)

Pull in OpenSSH-2.5.1

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Fri Feb 16 20:12:56 2001 UTC (23 years, 3 months ago) by jason
Branch: OPENBSD_2_8
Changes since 1.16: +141 -119 lines
Diff to previous 1.16 (colored)

Pull in OpenSSH 2.5.0

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 10 01:33:32 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored)

add debug message, since sshd blocks here if DNS is not available

Revision 1.22 / (download) - annotate - [select for diffs], Thu Feb 8 22:37:10 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.21: +8 -8 lines
Diff to previous 1.21 (colored)

remove last call to sprintf; ok deraadt@

Revision 1.21 / (download) - annotate - [select for diffs], Thu Feb 8 19:30:51 2001 UTC (23 years, 3 months ago) by itojun
Branch: MAIN
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

sync with netbsd tree changes.
- more strict prototypes, include necessary headers
- use paths.h/pathnames.h decls
- size_t typecase to int -> u_long

Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 3 10:08:37 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.19: +105 -94 lines
Diff to previous 1.19 (colored)

make ReverseMappingCheck optional in sshd_config; ok djm@,dugsong@

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 29 19:42:33 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.18: +34 -25 lines
Diff to previous 1.18 (colored)

add get_peer_ipaddr(socket), x11-fwd in ssh2 requires ipaddr, not DNS

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jan 21 19:05:45 2001 UTC (23 years, 3 months ago) by markus
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.
rename util.[ch] -> misc.[ch]

Revision 1.17 / (download) - annotate - [select for diffs], Tue Dec 19 23:17:55 2000 UTC (23 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

replace 'unsigned bla' with 'u_bla' everywhere. also, replace 'char unsigned'
with u_char.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Wed Nov 8 21:30:31 2000 UTC (23 years, 6 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.12.2.1: +7 -9 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

openssh-2.3.0 (again) for 2.7 branch

Revision 1.16 / (download) - annotate - [select for diffs], Sat Oct 21 17:04:22 2000 UTC (23 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

typo, eramore@era-t.ericsson.se; ok niels@

Revision 1.15 / (download) - annotate - [select for diffs], Thu Sep 7 21:13:37 2000 UTC (23 years, 8 months ago) by markus
Branch: MAIN
Changes since 1.14: +1 -24 lines
Diff to previous 1.14 (colored)

some more Copyright fixes

Revision 1.14 / (download) - annotate - [select for diffs], Thu Sep 7 20:27:50 2000 UTC (23 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.13: +29 -8 lines
Diff to previous 1.13 (colored)

cleanup copyright notices on all files.  I have attempted to be accurate with
the details.  everything is now under Tatu's licence (which I copied from his
readme), and/or the core-sdi bsd-ish thing for deattack, or various openbsd
developers under a 2-term bsd licence.  We're not changing any rules, just
being accurate.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Fri Sep 1 18:23:18 2000 UTC (23 years, 8 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored)

Pull in the rest of openssh-2.2.0 to 2.7 branch (luvin' cvs...)

Revision 1.13 / (download) - annotate - [select for diffs], Tue Jun 20 01:39:39 2000 UTC (23 years, 11 months ago) by markus
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12 (colored)

OpenBSD tag

Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 14 10:30:30 2000 UTC (24 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE
Branch point for: OPENBSD_2_7
Changes since 1.11: +10 -10 lines
Diff to previous 1.11 (colored)

whitespace cleanup

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jan 4 13:41:32 2000 UTC (24 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)

more hints (hints.ai_socktype=SOCK_STREAM) for getaddrinfo, from itojun@

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 4 00:07:58 2000 UTC (24 years, 4 months ago) by markus
Branch: MAIN
Changes since 1.9: +95 -87 lines
Diff to previous 1.9 (colored)

ipv6 support: mostly gethostbyname->getaddrinfo/getnameinfo, new features:
sshd allows multiple ListenAddress and Port options.  note that libwrap is
not IPv6-ready. (based on patches from <kick@kyoto.wide.ad.jp> and
fujiwara@rcac.tdi.co.jp)

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 9 00:00:52 1999 UTC (24 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.8: +26 -4 lines
Diff to previous 1.8 (colored)

fix get_remote_port() and friends for sshd -i; Holger.Trapp@Informatik.TU-Chemnitz.DE

Revision 1.8 / (download) - annotate - [select for diffs], Wed Nov 24 19:53:44 1999 UTC (24 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.7: +47 -32 lines
Diff to previous 1.7 (colored)

KNF, final part 3

Revision 1.7 / (download) - annotate - [select for diffs], Wed Nov 24 00:26:01 1999 UTC (24 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.6: +14 -14 lines
Diff to previous 1.6 (colored)

much more KNF

Revision 1.6 / (download) - annotate - [select for diffs], Tue Nov 23 22:25:53 1999 UTC (24 years, 5 months ago) by markus
Branch: MAIN
Changes since 1.5: +168 -173 lines
Diff to previous 1.5 (colored)

KNF part 1

Revision 1.5 / (download) - annotate - [select for diffs], Mon Nov 15 00:42:01 1999 UTC (24 years, 6 months ago) by markus
Branch: MAIN
Changes since 1.4: +7 -8 lines
Diff to previous 1.4 (colored)

disconnect if getpeername() fails

Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 14 22:30:58 1999 UTC (24 years, 6 months ago) by markus
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

fix comment: we _do_ disconnect if ip-options are set

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 30 05:53:04 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.2: +1 -3 lines
Diff to previous 1.2 (colored)

"ssh is a very large program" -- anonymous

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 29 21:14:16 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +9 -10 lines
Diff to previous 1.1 (colored)

numerous sprintf, strncpy, strcpy cleanups

Revision 1.1 / (download) - annotate - [select for diffs], Sun Sep 26 20:53:34 1999 UTC (24 years, 7 months ago) by deraadt
Branch: MAIN

i bet a lot of people didn't know what ssh 1.2.16 had a nice license.
well, except for the patent issues.  someone in sweden (forget their
name at the moment) cleaned out most of the patented code, and now
this code removes rsa code.  when this is done, it will link against
libssl, but the work isn't completely done yet.  then we need to bring
this up to modern days, featurewise.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.