★ wanayoo — archive 1999 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/channels.cNouvelle recherche | Portail wanayoo

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

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.310: download - view: text, markup, annotated - select for diffs
Wed Nov 24 01:24:14 2010 UTC (4 months, 2 weeks ago) by djm
Branches: MAIN
CVS tags: OPENBSD_4_9_BASE, OPENBSD_4_9, HEAD
Diff to: previous 1.309: preferred, coloured
Changes since revision 1.309: +1 -4 lines
remove a debug() that pollutes stderr on client connecting to a server
in debug mode (channel_close_fds is called transitively from the session
code post-fork); bz#1719, ok dtucker

Revision 1.309: download - view: text, markup, annotated - select for diffs
Thu Aug 5 13:08:42 2010 UTC (8 months, 1 week ago) by djm
Branches: MAIN
CVS tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Diff to: previous 1.308: preferred, coloured
Changes since revision 1.308: +26 -15 lines
Fix a trio of bugs in the local/remote window calculation for datagram
data channels (i.e. TunnelForward):

Calculate local_consumed correctly in channel_handle_wfd() by measuring
the delta to buffer_len(c->output) from when we start to when we finish.
The proximal problem here is that the output_filter we use in portable
modified the length of the dequeued datagram (to futz with the headers
for !OpenBSD).

In channel_output_poll(), don't enqueue datagrams that won't fit in the
peer's advertised packet size (highly unlikely to ever occur) or which
won't fit in the peer's remaining window (more likely).

In channel_input_data(), account for the 4-byte string header in
datagram packets that we accept from the peer and enqueue in c->output.

report, analysis and testing 2/3 cases from wierbows AT us.ibm.com;
"looks good" markus@

Revision 1.308: download - view: text, markup, annotated - select for diffs
Tue Jul 13 23:13:16 2010 UTC (8 months, 4 weeks ago) by djm
Branches: MAIN
Diff to: previous 1.307: preferred, coloured
Changes since revision 1.307: +2 -2 lines
s/timing_safe_cmp/timingsafe_bcmp/g

Revision 1.307: download - view: text, markup, annotated - select for diffs
Tue Jul 13 11:52:06 2010 UTC (9 months ago) by djm
Branches: MAIN
Diff to: previous 1.306: preferred, coloured
Changes since revision 1.306: +2 -2 lines
implement a timing_safe_cmp() function to compare memory without leaking
timing information by short-circuiting like memcmp() and use it for
some of the more sensitive comparisons (though nothing high-value was
readily attackable anyway); "looks ok" markus@

Revision 1.306: download - view: text, markup, annotated - select for diffs
Fri Jun 25 07:20:04 2010 UTC (9 months, 2 weeks ago) by djm
Branches: MAIN
Diff to: previous 1.305: preferred, coloured
Changes since revision 1.305: +12 -5 lines
bz#1750: fix requirement for /dev/null inside ChrootDirectory for
internal-sftp accidentally introduced in r1.253 by removing the code
that opens and dup /dev/null to stderr and modifying the channels code
to read stderr but discard it instead; ok markus@

Revision 1.305: download - view: text, markup, annotated - select for diffs
Fri Jun 25 07:14:45 2010 UTC (9 months, 2 weeks ago) by djm
Branches: MAIN
Diff to: previous 1.304: preferred, coloured
Changes since revision 1.304: +18 -11 lines
bz#1327: remove hardcoded limit of 100 permitopen clauses and port
forwards per direction; ok markus@ stevesk@

Revision 1.304: download - view: text, markup, annotated - select for diffs
Fri May 14 23:29:23 2010 UTC (10 months, 4 weeks ago) by djm
Branches: MAIN
Diff to: previous 1.303: preferred, coloured
Changes since revision 1.303: +11 -5 lines
Pause the mux channel while waiting for reply from aynch callbacks.
Prevents misordering of replies if new requests arrive while waiting.

Extend channel open confirm callback to allow signalling failure
conditions as well as success. Use this to 1) fix a memory leak, 2)
start using the above pause mechanism and 3) delay sending a success/
failure message on mux slave session open until we receive a reply from
the server.

motivated by and with feedback from markus@

Revision 1.303: download - view: text, markup, annotated - select for diffs
Sat Jan 30 21:12:08 2010 UTC (14 months, 1 week ago) by djm
Branches: MAIN
CVS tags: OPENBSD_4_7_BASE, OPENBSD_4_7
Diff to: previous 1.302: preferred, coloured
Changes since revision 1.302: +8 -1 lines
fake local addr:port when stdio fowarding as some servers (Tectia at
least) validate that they are well-formed;
reported by imorgan AT nas.nasa.gov
ok dtucker

Revision 1.302: download - view: text, markup, annotated - select for diffs
Tue Jan 26 01:28:35 2010 UTC (14 months, 2 weeks ago) by djm
Branches: MAIN
Diff to: previous 1.301: preferred, coloured
Changes since revision 1.301: +164 -48 lines
rewrite ssh(1) multiplexing code to a more sensible protocol.

The new multiplexing code uses channels for the listener and
accepted control sockets to make the mux master non-blocking, so
no stalls when processing messages from a slave.

avoid use of fatal() in mux master protocol parsing so an errant slave
process cannot take down a running master.

implement requesting of port-forwards over multiplexed sessions. Any
port forwards requested by the slave are added to those the master has
established.

add support for stdio forwarding ("ssh -W host:port ...") in mux slaves.

document master/slave mux protocol so that other tools can use it to
control a running ssh(1). Note: there are no guarantees that this
protocol won't be incompatibly changed (though it is versioned).

feedback Salvador Fandino, dtucker@
channel changes ok markus@

Revision 1.301: download - view: text, markup, annotated - select for diffs
Mon Jan 11 01:39:46 2010 UTC (15 months ago) by dtucker
Branches: MAIN
Diff to: previous 1.300: preferred, coloured
Changes since revision 1.300: +30 -1 lines
Add a 'netcat mode' (ssh -W).  This connects stdio on the client to a single
port forward on the server.  This allows, for example, using ssh as
a ProxyCommand to route connections via intermediate servers.
bz #1618, man page help from jmc@, ok markus@

Revision 1.300: download - view: text, markup, annotated - select for diffs
Sat Jan 9 23:04:13 2010 UTC (15 months ago) by dtucker
Branches: MAIN
Diff to: previous 1.299: preferred, coloured
Changes since revision 1.299: +7 -19 lines
Remove RoutingDomain from ssh since it's now not needed.  It can be replaced
with "route exec" or "nc -V" as a proxycommand.  "route exec" also ensures
that trafic such as DNS lookups stays withing the specified routingdomain.

For example (from reyk):
# route -T 2 exec /usr/sbin/sshd
or inherited from the parent process
$ route -T 2 exec sh
$ ssh 10.1.2.3

ok deraadt@ markus@ stevesk@ reyk@

Revision 1.299: download - view: text, markup, annotated - select for diffs
Wed Nov 11 21:37:03 2009 UTC (17 months ago) by markus
Branches: MAIN
Diff to: previous 1.298: preferred, coloured
Changes since revision 1.298: +11 -15 lines
fix race condition in x11/agent channel allocation: don't read after
the end of the select read/write fdset and make sure a reused FD
is not touched before the pre-handlers are called.
with and ok djm@

Revision 1.298: download - view: text, markup, annotated - select for diffs
Tue Nov 10 04:30:44 2009 UTC (17 months ago) by dtucker
Branches: MAIN
Diff to: previous 1.297: preferred, coloured
Changes since revision 1.297: +8 -2 lines
Set close-on-exec on various descriptors so they don't get leaked to
child processes.  bz #1643, patch from jchadima at redhat, ok deraadt.

Revision 1.297: download - view: text, markup, annotated - select for diffs
Wed Oct 28 16:38:18 2009 UTC (17 months, 2 weeks ago) by reyk
Branches: MAIN
Diff to: previous 1.296: preferred, coloured
Changes since revision 1.296: +19 -7 lines
Allow to set the rdomain in ssh/sftp/scp/sshd and ssh-keyscan.

ok markus@

Revision 1.296: download - view: text, markup, annotated - select for diffs
Mon May 25 06:48:00 2009 UTC (22 months, 2 weeks ago) by andreas
Branches: MAIN
CVS tags: OPENBSD_4_6_BASE, OPENBSD_4_6
Diff to: previous 1.295: preferred, coloured
Changes since revision 1.295: +2 -2 lines
Put the globals in packet.c into a struct and don't access it directly
from other files. No functional changes.
ok markus@ djm@

Revision 1.295: download - view: text, markup, annotated - select for diffs
Thu Feb 12 03:00:56 2009 UTC (2 years, 1 month ago) by djm
Branches: MAIN
CVS tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Diff to: previous 1.294: preferred, coloured
Changes since revision 1.294: +44 -8 lines
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.294: download - view: text, markup, annotated - select for diffs
Thu Jan 22 09:49:57 2009 UTC (2 years, 2 months ago) by djm
Branches: MAIN
Diff to: previous 1.293: preferred, coloured
Changes since revision 1.293: +3 -3 lines
oops! I committed the wrong version of the Channel->path diff,
it was missing some tweaks suggested by stevesk@

Revision 1.293: download - view: text, markup, annotated - select for diffs
Thu Jan 22 09:46:01 2009 UTC (2 years, 2 months ago) by djm
Branches: MAIN
Diff to: previous 1.292: preferred, coloured
Changes since revision 1.292: +35 -13 lines
make Channel->path an allocated string, saving a few bytes here and
there and fixing bz#1380 in the process; ok markus@

Revision 1.292: download - view: text, markup, annotated - select for diffs
Wed Jan 14 01:38:06 2009 UTC (2 years, 2 months ago) by djm
Branches: MAIN
Diff to: previous 1.291: preferred, coloured
Changes since revision 1.291: +39 -11 lines
support SOCKS4A protocol, from dwmw2 AT infradead.org via bz#1482;
"looks ok" markus@

Revision 1.291: download - view: text, markup, annotated - select for diffs
Thu Jan 1 21:14:35 2009 UTC (2 years, 3 months ago) by djm
Branches: MAIN
Diff to: previous 1.290: preferred, coloured
Changes since revision 1.290: +3 -3 lines
call channel destroy callbacks on receipt of open failure messages.
fixes client hangs when connecting to a server that has MaxSessions=0
set spotted by imorgan AT nas.nasa.gov; ok markus@

Revision 1.290: download - view: text, markup, annotated - select for diffs
Tue Dec 9 03:20:42 2008 UTC (2 years, 4 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.289: preferred, coloured
Changes since revision 1.289: +4 -2 lines
channel_print_adm_permitted_opens() should deal with all the printing
for that config option.  suggested by markus@; ok markus@ djm@
dtucker@

Revision 1.289: download - view: text, markup, annotated - select for diffs
Tue Dec 2 19:09:38 2008 UTC (2 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.288: preferred, coloured
Changes since revision 1.288: +6 -6 lines
s/remote_id/id/ to be more consistent with other code; ok djm@

Revision 1.288: download - view: text, markup, annotated - select for diffs
Tue Nov 11 03:55:11 2008 UTC (2 years, 5 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.287: preferred, coloured
Changes since revision 1.287: +5 -1 lines
for sshd -T print 'permitopen any' vs. 'permitopen' for case of no
permitopen's; ok and input dtucker@

Revision 1.287: download - view: text, markup, annotated - select for diffs
Sat Nov 1 06:43:33 2008 UTC (2 years, 5 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.286: preferred, coloured
Changes since revision 1.286: +4 -4 lines
fix some typos in log messages; ok djm@

Revision 1.286: download - view: text, markup, annotated - select for diffs
Wed Jul 16 11:52:19 2008 UTC (2 years, 8 months ago) by djm
Branches: MAIN
CVS tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Diff to: previous 1.285: preferred, coloured
Changes since revision 1.285: +2 -2 lines
this loop index should be automatic, not static

Revision 1.285: download - view: text, markup, annotated - select for diffs
Sun Jul 13 22:13:07 2008 UTC (2 years, 8 months ago) by djm
Branches: MAIN
Diff to: previous 1.284: preferred, coloured
Changes since revision 1.284: +7 -7 lines
use struct sockaddr_storage instead of struct sockaddr for accept(2)
address argument. from visibilis AT yahoo.com in bz#1485; ok markus@

Revision 1.284: download - view: text, markup, annotated - select for diffs
Sat Jul 12 04:52:50 2008 UTC (2 years, 9 months ago) by djm
Branches: MAIN
Diff to: previous 1.283: preferred, coloured
Changes since revision 1.283: +2 -2 lines
unbreak; move clearing of cctx struct to before first use
reported by dkrause@

Revision 1.283: download - view: text, markup, annotated - select for diffs
Thu Jul 10 18:05:58 2008 UTC (2 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.282: preferred, coloured
Changes since revision 1.282: +2 -1 lines
missing bzero; from mickey; ok djm@

Revision 1.282: download - view: text, markup, annotated - select for diffs
Mon Jun 16 13:22:53 2008 UTC (2 years, 9 months ago) by dtucker
Branches: MAIN
Diff to: previous 1.281: preferred, coloured
Changes since revision 1.281: +5 -5 lines
Rename the isatty argument to is_tty so we don't shadow isatty(3).
ok markus@

Revision 1.281: download - view: text, markup, annotated - select for diffs
Sun Jun 15 20:06:26 2008 UTC (2 years, 9 months ago) by djm
Branches: MAIN
Diff to: previous 1.280: preferred, coloured
Changes since revision 1.280: +6 -15 lines
don't call isatty() on a pty master, instead pass a flag down to
channel_set_fds() indicating that te fds refer to a tty. Fixes a
hang on exit on Solaris (bz#1463) in portable but is actually
a generic bug; ok dtucker deraadt markus

Revision 1.280: download - view: text, markup, annotated - select for diffs
Thu Jun 12 15:19:17 2008 UTC (2 years, 10 months ago) by djm
Branches: MAIN
Diff to: previous 1.279: preferred, coloured
Changes since revision 1.279: +7 -2 lines
The multiplexing escape char handler commit last night introduced a
small memory leak per session; plug it.

Revision 1.279: download - view: text, markup, annotated - select for diffs
Thu Jun 12 03:40:52 2008 UTC (2 years, 10 months ago) by djm
Branches: MAIN
Diff to: previous 1.278: preferred, coloured
Changes since revision 1.278: +3 -2 lines
Enable ~ escapes for multiplex slave sessions; give each channel
its own escape state and hook the escape filters up to muxed
channels. bz #1331

Mux slaves do not currently support the ~^Z and ~& escapes.

NB. this change cranks the mux protocol version, so a new ssh
mux client will not be able to connect to a running old ssh
mux master.

ok dtucker@

Revision 1.278: download - view: text, markup, annotated - select for diffs
Tue Jun 10 04:50:25 2008 UTC (2 years, 10 months ago) by dtucker
Branches: MAIN
Diff to: previous 1.277: preferred, coloured
Changes since revision 1.277: +12 -1 lines
Add extended test mode (-T) and connection parameters for test mode (-C).
-T causes sshd to write its effective configuration to stdout and exit.
-C causes any relevant Match rules to be applied before output.  The
combination allows tesing of the parser and config files.  ok deraadt djm

Revision 1.277: download - view: text, markup, annotated - select for diffs
Fri May 9 16:17:51 2008 UTC (2 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.276: preferred, coloured
Changes since revision 1.276: +3 -2 lines
error-fd race: don't enable the error fd in the select bitmask
for channels with both in- and output closed, since the channel
will go away before we call select();
report, lots of debugging help and ok djm@

Revision 1.276: download - view: text, markup, annotated - select for diffs
Fri May 9 04:55:56 2008 UTC (2 years, 11 months ago) by djm
Branches: MAIN
Diff to: previous 1.275: preferred, coloured
Changes since revision 1.275: +110 -57 lines
Try additional addresses when connecting to a port forward destination
whose DNS name resolves to more than one address. The previous behaviour
was to try the first address and give up.

Reported by stig AT venaas.com in bz#343

great feedback and ok markus@

Revision 1.275: download - view: text, markup, annotated - select for diffs
Thu May 8 12:02:23 2008 UTC (2 years, 11 months ago) by djm
Branches: MAIN
Diff to: previous 1.274: preferred, coloured
Changes since revision 1.274: +64 -9 lines
Implement a channel success/failure status confirmation callback
mechanism. Each channel maintains a queue of callbacks, which will
be drained in order (RFC4253 guarantees confirm messages are not
reordered within an channel).

Also includes a abandonment callback to clean up if a channel is
closed without sending confirmation messages. This probably
shouldn't happen in compliant implementations, but it could be
abused to leak memory.

ok markus@ (as part of a larger diff)

Revision 1.274: download - view: text, markup, annotated - select for diffs
Thu May 8 06:59:01 2008 UTC (2 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.273: preferred, coloured
Changes since revision 1.273: +3 -6 lines
avoid extra malloc/copy/free when receiving data over the net;
~10% speedup for localhost-scp; ok djm@

Revision 1.272.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 03:42:02 2008 UTC (3 years ago) by brad
Branches: OPENBSD_4_3
Diff to: previous 1.272: preferred, coloured; next MAIN 1.273: preferred, coloured
Changes since revision 1.272: +1 -4 lines
avoid possible hijacking of x11-forwarded connections (back out 1.183)
CVE-2008-1483; ok djm@

Revision 1.270.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 03:41:40 2008 UTC (3 years ago) by brad
Branches: OPENBSD_4_2
Diff to: previous 1.270: preferred, coloured; next MAIN 1.271: preferred, coloured
Changes since revision 1.270: +1 -4 lines
avoid possible hijacking of x11-forwarded connections (back out 1.183)
CVE-2008-1483; ok djm@

Revision 1.268.2.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 03:41:25 2008 UTC (3 years ago) by brad
Branches: OPENBSD_4_1
Diff to: previous 1.268: preferred, coloured; next MAIN 1.269: preferred, coloured
Changes since revision 1.268: +1 -4 lines
avoid possible hijacking of x11-forwarded connections (back out 1.183)
CVE-2008-1483; ok djm@

Revision 1.273: download - view: text, markup, annotated - select for diffs
Wed Apr 2 21:36:51 2008 UTC (3 years ago) by markus
Branches: MAIN
Diff to: previous 1.272: preferred, coloured
Changes since revision 1.272: +1 -4 lines
avoid possible hijacking of x11-forwarded connections (back out 1.183)
CVE-2008-1483; ok djm@

Revision 1.272: download - view: text, markup, annotated - select for diffs
Sat Jan 19 23:02:40 2008 UTC (3 years, 2 months ago) by djm
Branches: MAIN
CVS tags: OPENBSD_4_3_BASE
Branch point for: OPENBSD_4_3
Diff to: previous 1.271: preferred, coloured
Changes since revision 1.271: +2 -2 lines
When we added support for specified bind addresses for port forwards, we
added a quirk SSH_OLD_FORWARD_ADDR. There is a bug in our handling of
this for -L port forwards that causes the client to listen on both v4
and v6 addresses when connected to a server with this quirk, despite
having set 0.0.0.0 as a bind_address.

report and patch from Jan.Pechanec AT Sun.COM; ok dtucker@

Revision 1.271: download - view: text, markup, annotated - select for diffs
Thu Dec 27 14:22:08 2007 UTC (3 years, 3 months ago) by dtucker
Branches: MAIN
Diff to: previous 1.270: preferred, coloured
Changes since revision 1.270: +8 -6 lines
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.270: download - view: text, markup, annotated - select for diffs
Mon Jun 25 08:20:03 2007 UTC (3 years, 9 months ago) by dtucker
Branches: MAIN
CVS tags: OPENBSD_4_2_BASE
Branch point for: OPENBSD_4_2
Diff to: previous 1.269: preferred, coloured
Changes since revision 1.269: +2 -2 lines
Correct test for window updates every three packets; prevents sending
window updates for every single packet.  ok markus@

Revision 1.269: download - view: text, markup, annotated - select for diffs
Mon Jun 11 08:04:44 2007 UTC (3 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.268: preferred, coloured
Changes since revision 1.268: +4 -2 lines
send 'window adjust' messages every tree packets and do not wait
until 50% of the window is consumed.  ok djm dtucker

Revision 1.268: download - view: text, markup, annotated - select for diffs
Wed Jan 3 03:01:40 2007 UTC (4 years, 3 months ago) by stevesk
Branches: MAIN
CVS tags: OPENBSD_4_1_BASE
Branch point for: OPENBSD_4_1
Diff to: previous 1.267: preferred, coloured
Changes since revision 1.267: +2 -2 lines
spaces

Revision 1.267: download - view: text, markup, annotated - select for diffs
Tue Dec 12 03:58:42 2006 UTC (4 years, 4 months ago) by djm
Branches: MAIN
Diff to: previous 1.266: preferred, coloured
Changes since revision 1.266: +13 -6 lines
bz #1019: some ssh.com versions apparently can't cope with the remote port
forwarding bind_address being a hostname, so send them an address for cases
where they are not explicitly specified (wildcard or localhost bind).
reported by daveroth AT acm.org; ok dtucker@ deraadt@

Revision 1.223.2.2: download - view: text, markup, annotated - select for diffs
Fri Oct 6 03:19:32 2006 UTC (4 years, 6 months ago) by brad
Branches: OPENBSD_3_8
Diff to: previous 1.223.2.1: preferred, coloured; branchpoint 1.223: preferred, coloured; next MAIN 1.224: preferred, coloured
Changes since revision 1.223.2.1: +174 -92 lines
upgrade to OpenSSH 4.4

Revision 1.235.2.1: download - view: text, markup, annotated - select for diffs
Sat Sep 30 04:06:50 2006 UTC (4 years, 6 months ago) by brad
Branches: OPENBSD_3_9
Diff to: previous 1.235: preferred, coloured; next MAIN 1.236: preferred, coloured
Changes since revision 1.235: +170 -94 lines
upgrade to OpenSSH 4.4

Revision 1.266: download - view: text, markup, annotated - select for diffs
Tue Aug 29 10:40:18 2006 UTC (4 years, 7 months ago) by djm
Branches: MAIN
CVS tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Diff to: previous 1.265: preferred, coloured
Changes since revision 1.265: +2 -4 lines
normalise some inconsistent (but harmless) NULL pointer checks
spotted by the Stanford SATURN tool, via Isil Dillig;
ok markus@ deraadt@

Revision 1.265: download - view: text, markup, annotated - select for diffs
Thu Aug 3 03:34:41 2006 UTC (4 years, 8 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.264: preferred, coloured
Changes since revision 1.264: +5 -6 lines
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.264: download - view: text, markup, annotated - select for diffs
Tue Aug 1 23:36:11 2006 UTC (4 years, 8 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.263: preferred, coloured
Changes since revision 1.263: +2 -2 lines
clean extra spaces

Revision 1.263: download - view: text, markup, annotated - select for diffs
Tue Aug 1 23:22:47 2006 UTC (4 years, 8 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.262: preferred, coloured
Changes since revision 1.262: +2 -1 lines
move #include <stdio.h> out of includes.h

Revision 1.262: download - view: text, markup, annotated - select for diffs
Wed Jul 26 13:57:17 2006 UTC (4 years, 8 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.261: preferred, coloured
Changes since revision 1.261: +2 -1 lines
move #include <stdlib.h> out of includes.h

Revision 1.261: download - view: text, markup, annotated - select for diffs
Tue Jul 25 02:59:21 2006 UTC (4 years, 8 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.260: preferred, coloured
Changes since revision 1.260: +2 -1 lines
move #include <sys/time.h> out of includes.h

Revision 1.260: download - view: text, markup, annotated - select for diffs
Sat Jul 22 20:48:22 2006 UTC (4 years, 8 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.259: preferred, coloured
Changes since revision 1.259: +2 -1 lines
move #include <string.h> out of includes.h

Revision 1.259: download - view: text, markup, annotated - select for diffs
Fri Jul 21 21:13:30 2006 UTC (4 years, 8 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.258: preferred, coloured
Changes since revision 1.258: +17 -1 lines
more ARGSUSED (lint) for dispatch table-driven functions; ok djm@

Revision 1.258: download - view: text, markup, annotated - select for diffs
Fri Jul 21 12:43:36 2006 UTC (4 years, 8 months ago) by dtucker
Branches: MAIN
Diff to: previous 1.257: preferred, coloured
Changes since revision 1.257: +4 -4 lines
Make PermitOpen take a list of permitted ports and act more like most other
keywords (ie the first match is the effective setting).  This also makes it
easier to override a previously set PermitOpen.  ok djm@

Revision 1.257: download - view: text, markup, annotated - select for diffs
Mon Jul 17 12:06:00 2006 UTC (4 years, 8 months ago) by dtucker
Branches: MAIN
Diff to: previous 1.256: preferred, coloured
Changes since revision 1.256: +45 -5 lines
Add PermitOpen directive to sshd_config which is equivalent to the
"permitopen" key option.  Allows server admin to allow TCP port forwarding
only two specific host/port pairs.  Useful when combined with Match.

If permitopen is used in both sshd_config and a key option, both must allow
a given connection before it will be permitted.

Note that users can still use external forwarders such as netcat, so to be
those must be controlled too for the limits to be effective.

Feedback & ok djm@, man page corrections & ok jmc@.

Revision 1.256: download - view: text, markup, annotated - select for diffs
Mon Jul 17 01:31:09 2006 UTC (4 years, 8 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.255: preferred, coloured
Changes since revision 1.255: +2 -1 lines
move #include <unistd.h> out of includes.h

Revision 1.255: download - view: text, markup, annotated - select for diffs
Wed Jul 12 22:28:51 2006 UTC (4 years, 9 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.254: preferred, coloured
Changes since revision 1.254: +2 -1 lines
move #include <netdb.h> out of includes.h; ok djm@

Revision 1.254: download - view: text, markup, annotated - select for diffs
Tue Jul 11 20:07:25 2006 UTC (4 years, 9 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.253: preferred, coloured
Changes since revision 1.253: +2 -1 lines
move #include <errno.h> out of includes.h; ok markus@

Revision 1.253: download - view: text, markup, annotated - select for diffs
Tue Jul 11 18:50:47 2006 UTC (4 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.252: preferred, coloured
Changes since revision 1.252: +10 -7 lines
add ExitOnForwardFailure: terminate the connection if ssh(1)
cannot set up all requested dynamic, local, and remote port
forwardings. ok djm, dtucker, stevesk, jmc

Revision 1.252: download - view: text, markup, annotated - select for diffs
Mon Jul 10 12:08:08 2006 UTC (4 years, 9 months ago) by djm
Branches: MAIN
Diff to: previous 1.251: preferred, coloured
Changes since revision 1.251: +6 -3 lines
fix misparsing of SOCKS 5 packets that could result in a crash;
reported by mk@ ok markus@

Revision 1.251: download - view: text, markup, annotated - select for diffs
Mon Jul 3 17:59:32 2006 UTC (4 years, 9 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.250: preferred, coloured
Changes since revision 1.250: +5 -1 lines
move #include <arpa/inet.h> out of includes.h; old ok djm@

Revision 1.250: download - view: text, markup, annotated - select for diffs
Sun Apr 16 00:48:52 2006 UTC (4 years, 11 months ago) by djm
Branches: MAIN
Diff to: previous 1.249: preferred, coloured
Changes since revision 1.249: +3 -5 lines
Fix condition where we could exit with a fatal error when an input
buffer became too large and the remote end had advertised a big window.
The problem was a mismatch in the backoff math between the channels code
and the buffer code, so make a buffer_check_alloc() function that the
channels code can use to propsectivly check whether an incremental
allocation will succeed.  bz #1131, debugged with the assistance of
cove AT wildpackets.com; ok dtucker@ deraadt@

Revision 1.249: download - view: text, markup, annotated - select for diffs
Thu Mar 30 09:41:25 2006 UTC (5 years ago) by djm
Branches: MAIN
Diff to: previous 1.248: preferred, coloured
Changes since revision 1.248: +12 -1 lines
ARGSUSED for dispatch table-driven functions

Revision 1.248: download - view: text, markup, annotated - select for diffs
Tue Mar 28 01:52:28 2006 UTC (5 years ago) by deraadt
Branches: MAIN
Diff to: previous 1.247: preferred, coloured
Changes since revision 1.247: +8 -8 lines
do not accept unreasonable X ports numbers; ok djm

Revision 1.247: download - view: text, markup, annotated - select for diffs
Sat Mar 25 18:58:10 2006 UTC (5 years ago) by deraadt
Branches: MAIN
Diff to: previous 1.246: preferred, coloured
Changes since revision 1.246: +2 -2 lines
delete cast not required

Revision 1.246: download - view: text, markup, annotated - select for diffs
Sat Mar 25 18:56:54 2006 UTC (5 years ago) by deraadt
Branches: MAIN
Diff to: previous 1.245: preferred, coloured
Changes since revision 1.245: +5 -5 lines
remove (char *) casts to a function that accepts void * for the arg

Revision 1.245: download - view: text, markup, annotated - select for diffs
Sat Mar 25 18:43:30 2006 UTC (5 years ago) by deraadt
Branches: MAIN
Diff to: previous 1.244: preferred, coloured
Changes since revision 1.244: +2 -2 lines
use strtonum() instead of atoi() [limit X screens to 400, sorry]

Revision 1.244: download - view: text, markup, annotated - select for diffs
Sat Mar 25 13:17:01 2006 UTC (5 years ago) by djm
Branches: MAIN
Diff to: previous 1.243: preferred, coloured
Changes since revision 1.243: +1 -0 lines
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.243: download - view: text, markup, annotated - select for diffs
Sat Mar 25 01:13:23 2006 UTC (5 years ago) by djm
Branches: MAIN
Diff to: previous 1.242: preferred, coloured
Changes since revision 1.242: +11 -6 lines
change OpenSSH's xrealloc() function from being xrealloc(p, new_size) to
xrealloc(p, new_nmemb, new_itemsize).

realloc is particularly prone to integer overflows because it is almost
always allocating "n * size" bytes, so this is a far safer API;
ok deraadt@

Revision 1.242: download - view: text, markup, annotated - select for diffs
Sat Mar 25 00:05:41 2006 UTC (5 years ago) by djm
Branches: MAIN
Diff to: previous 1.241: preferred, coloured
Changes since revision 1.241: +3 -4 lines
introduce xcalloc() and xasprintf() failure-checked allocations functions
and use them throughout openssh

xcalloc is particularly important because malloc(nmemb * size) is a
dangerous idiom (subject to integer overflow) and it is time for it to
die

feedback and ok deraadt@

Revision 1.241: download - view: text, markup, annotated - select for diffs
Mon Mar 20 18:48:34 2006 UTC (5 years ago) by deraadt
Branches: MAIN
Diff to: previous 1.240: preferred, coloured
Changes since revision 1.240: +8 -14 lines
spacing

Revision 1.240: download - view: text, markup, annotated - select for diffs
Mon Mar 20 18:35:12 2006 UTC (5 years ago) by deraadt
Branches: MAIN
Diff to: previous 1.239: preferred, coloured
Changes since revision 1.239: +1 -1 lines
x11_fake_data is only ever used as u_char *

Revision 1.239: download - view: text, markup, annotated - select for diffs
Mon Mar 20 18:26:55 2006 UTC (5 years ago) by deraadt
Branches: MAIN
Diff to: previous 1.238: preferred, coloured
Changes since revision 1.238: +1 -1 lines
annoying spacing fixes getting in the way of real diffs

Revision 1.238: download - view: text, markup, annotated - select for diffs
Mon Mar 20 18:14:02 2006 UTC (5 years ago) by deraadt
Branches: MAIN
Diff to: previous 1.237: preferred, coloured
Changes since revision 1.237: +4 -4 lines
sprinkle u_int throughout pty subsystem, ok markus

Revision 1.237: download - view: text, markup, annotated - select for diffs
Sun Mar 19 18:52:11 2006 UTC (5 years ago) by deraadt
Branches: MAIN
Diff to: previous 1.236: preferred, coloured
Changes since revision 1.236: +25 -26 lines
spacing

Revision 1.236: download - view: text, markup, annotated - select for diffs
Sun Mar 19 18:51:18 2006 UTC (5 years ago) by deraadt
Branches: MAIN
Diff to: previous 1.235: preferred, coloured
Changes since revision 1.235: +0 -1 lines
RCSID() can die

Revision 1.235: download - view: text, markup, annotated - select for diffs
Mon Feb 20 16:36:14 2006 UTC (5 years, 1 month ago) by stevesk
Branches: MAIN
CVS tags: OPENBSD_3_9_BASE
Branch point for: OPENBSD_3_9
Diff to: previous 1.234: preferred, coloured
Changes since revision 1.234: +3 -1 lines
move #include <sys/un.h> out of includes.h; ok djm@

Revision 1.234: download - view: text, markup, annotated - select for diffs
Fri Feb 10 00:27:13 2006 UTC (5 years, 2 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.233: preferred, coloured
Changes since revision 1.233: +3 -1 lines
move #include <sys/ioctl.h> out of includes.h; ok markus@

Revision 1.233: download - view: text, markup, annotated - select for diffs
Tue Feb 7 01:42:00 2006 UTC (5 years, 2 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.232: preferred, coloured
Changes since revision 1.232: +3 -1 lines
move #include <termios.h> out of includes.h; ok markus@

Revision 1.223.2.1: download - view: text, markup, annotated - select for diffs
Fri Feb 3 03:01:55 2006 UTC (5 years, 2 months ago) by brad
Branches: OPENBSD_3_8
Diff to: previous 1.223: preferred, coloured
Changes since revision 1.223: +130 -38 lines
upgrade to OpenSSH 4.3

Revision 1.214.2.2: download - view: text, markup, annotated - select for diffs
Fri Feb 3 02:53:44 2006 UTC (5 years, 2 months ago) by brad
Branches: OPENBSD_3_7
Diff to: previous 1.214.2.1: preferred, coloured; branchpoint 1.214: preferred, coloured; next MAIN 1.215: preferred, coloured
Changes since revision 1.214.2.1: +130 -38 lines
upgrade to OpenSSH 4.3

Revision 1.232: download - view: text, markup, annotated - select for diffs
Mon Jan 30 12:22:22 2006 UTC (5 years, 2 months ago) by reyk
Branches: MAIN
Diff to: previous 1.231: preferred, coloured
Changes since revision 1.231: +6 -2 lines
mark channel as write failed or dead instead of read failed on error
of the channel output filter.

ok markus@

Revision 1.231: download - view: text, markup, annotated - select for diffs
Fri Dec 30 15:56:36 2005 UTC (5 years, 3 months ago) by reyk
Branches: MAIN
Diff to: previous 1.230: preferred, coloured
Changes since revision 1.230: +24 -13 lines
add channel output filter interface.

ok djm@, suggested by markus@

Revision 1.230: download - view: text, markup, annotated - select for diffs
Wed Dec 28 22:46:06 2005 UTC (5 years, 3 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.229: preferred, coloured
Changes since revision 1.229: +2 -2 lines
use 'break-in' for consistency; ok deraadt@ ok and input jmc@

Revision 1.229: download - view: text, markup, annotated - select for diffs
Mon Dec 12 13:46:18 2005 UTC (5 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.228: preferred, coloured
Changes since revision 1.228: +36 -9 lines
make sure protocol messages for internal channels are ignored.
allow adjust messages for non-open channels; with and ok djm@

Revision 1.228: download - view: text, markup, annotated - select for diffs
Tue Dec 6 22:38:27 2005 UTC (5 years, 4 months ago) by reyk
Branches: MAIN
Diff to: previous 1.227: preferred, coloured
Changes since revision 1.227: +40 -2 lines
Add support for tun(4) forwarding over OpenSSH, based on an idea and
initial channel code bits by markus@. This is a simple and easy way to
use OpenSSH for ad hoc virtual private network connections, e.g.
administrative tunnels or secure wireless access. It's based on a new
ssh channel and works similar to the existing TCP forwarding support,
except that it depends on the tun(4) network interface on both ends of
the connection for layer 2 or layer 3 tunneling. This diff also adds
support for LocalCommand in the ssh(1) client.

ok djm@, markus@, jmc@ (manpages), tested and discussed with others

Revision 1.227: download - view: text, markup, annotated - select for diffs
Fri Oct 14 02:29:37 2005 UTC (5 years, 5 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.226: preferred, coloured
Changes since revision 1.226: +2 -2 lines
free()->xfree(); ok djm@

Revision 1.226: download - view: text, markup, annotated - select for diffs
Tue Oct 11 23:37:37 2005 UTC (5 years, 6 months ago) by djm
Branches: MAIN
Diff to: previous 1.225: preferred, coloured
Changes since revision 1.225: +18 -9 lines
bz #1076 set SO_REUSEADDR on X11 forwarding listner sockets, preventing
bind() failure when a previous connection's listeners are in TIME_WAIT,
reported by plattner AT inf.ethz.ch; ok dtucker@

Revision 1.225: download - view: text, markup, annotated - select for diffs
Mon Oct 10 10:23:08 2005 UTC (5 years, 6 months ago) by djm
Branches: MAIN
Diff to: previous 1.224: preferred, coloured
Changes since revision 1.224: +6 -3 lines
fix regression I introduced in 4.2: X11 forwardings initiated after
a session has exited (e.g. "(sleep 5; xterm) &") would not start.
bz #1086 reported by t8m AT centrum.cz; ok markus@ dtucker@

Revision 1.224: download - view: text, markup, annotated - select for diffs
Wed Sep 7 08:53:53 2005 UTC (5 years, 7 months ago) by markus
Branches: MAIN
Diff to: previous 1.223: preferred, coloured
Changes since revision 1.223: +7 -7 lines
enforce chanid != NULL; ok djm

Revision 1.214.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 4 18:40:01 2005 UTC (5 years, 7 months ago) by brad
Branches: OPENBSD_3_7
Diff to: previous 1.214: preferred, coloured
Changes since revision 1.214: +60 -46 lines
upgrade to OpenSSH 4.2

Revision 1.210.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 2 03:44:59 2005 UTC (5 years, 7 months ago) by brad
Branches: OPENBSD_3_6
Diff to: previous 1.210.2.2: preferred, coloured; branchpoint 1.210: preferred, coloured; next MAIN 1.211: preferred, coloured
Changes since revision 1.210.2.2: +60 -46 lines
upgrade to OpenSSH 4.2

Revision 1.223: download - view: text, markup, annotated - select for diffs
Sun Jul 17 07:17:54 2005 UTC (5 years, 8 months ago) by djm
Branches: MAIN
CVS tags: OPENBSD_3_8_BASE
Branch point for: OPENBSD_3_8
Diff to: previous 1.222: preferred, coloured
Changes since revision 1.222: +5 -5 lines
knf says that a 2nd level indent is four (not three or five) spaces

Revision 1.222: download - view: text, markup, annotated - select for diffs
Sun Jul 17 06:49:04 2005 UTC (5 years, 8 months ago) by djm
Branches: MAIN
Diff to: previous 1.221: preferred, coloured
Changes since revision 1.221: +8 -2 lines
Fix a number of X11 forwarding channel leaks:
1. Refuse multiple X11 forwarding requests on the same session
2. Clean up all listeners after a single_connection X11 forward, not just
   the one that made the single connection
3. Destroy X11 listeners when the session owning them goes away
testing and ok dtucker@

Revision 1.221: download - view: text, markup, annotated - select for diffs
Sat Jul 16 01:35:24 2005 UTC (5 years, 8 months ago) by djm
Branches: MAIN
Diff to: previous 1.220: preferred, coloured
Changes since revision 1.220: +2 -2 lines
spacing

Revision 1.220: download - view: text, markup, annotated - select for diffs
Mon Jul 4 14:04:11 2005 UTC (5 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.219: preferred, coloured
Changes since revision 1.219: +4 -2 lines
don't forget to set x11_saved_display

Revision 1.219: download - view: text, markup, annotated - select for diffs
Mon Jul 4 00:58:42 2005 UTC (5 years, 9 months ago) by djm
Branches: MAIN
Diff to: previous 1.218: preferred, coloured
Changes since revision 1.218: +33 -26 lines
implement support for X11 and agent forwarding over multiplex slave
connections. Because of protocol limitations, the slave connections inherit
the master's DISPLAY and SSH_AUTH_SOCK rather than distinctly forwarding
their own.

ok dtucker@ "put it in" deraadt@

Revision 1.218: download - view: text, markup, annotated - select for diffs
Fri Jul 1 13:19:47 2005 UTC (5 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.217: preferred, coloured
Changes since revision 1.217: +5 -7 lines
don't free() if getaddrinfo() fails; report mpech@

Revision 1.217: download - view: text, markup, annotated - select for diffs
Fri Jun 17 02:44:32 2005 UTC (5 years, 9 months ago) by djm
Branches: MAIN
Diff to: previous 1.216: preferred, coloured
Changes since revision 1.216: +5 -4 lines
make this -Wsign-compare clean; ok avsm@ markus@

Revision 1.216: download - view: text, markup, annotated - select for diffs
Thu Jun 16 08:00:00 2005 UTC (5 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.215: preferred, coloured
Changes since revision 1.215: +3 -3 lines
don't exit if getpeername fails for forwarded ports; bugzilla #1054; ok djm

Revision 1.215: download - view: text, markup, annotated - select for diffs
Thu Jun 16 03:38:36 2005 UTC (5 years, 9 months ago) by djm
Branches: MAIN
Diff to: previous 1.214: preferred, coloured
Changes since revision 1.214: +5 -5 lines
move x11_get_proto from ssh.c to clientloop.c, to make muliplexed xfwd easier
later; ok deraadt@

Revision 1.210.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 5 02:22:39 2005 UTC (5 years, 10 months ago) by brad
Branches: OPENBSD_3_6
Diff to: previous 1.210.2.1: preferred, coloured; branchpoint 1.210: preferred, coloured
Changes since revision 1.210.2.1: +16 -11 lines
upgrade to OpenSSH 4.1

Revision 1.214: download - view: text, markup, annotated - select for diffs
Mon Mar 14 11:46:56 2005 UTC (6 years, 1 month ago) by markus
Branches: MAIN
CVS tags: OPENBSD_3_7_BASE
Branch point for: OPENBSD_3_7
Diff to: previous 1.213: preferred, coloured
Changes since revision 1.213: +8 -3 lines
limit input buffer size for channels; bugzilla #896; with and ok dtucker@

Revision 1.213: download - view: text, markup, annotated - select for diffs
Thu Mar 10 22:01:05 2005 UTC (6 years, 1 month ago) by deraadt
Branches: MAIN
Diff to: previous 1.212: preferred, coloured
Changes since revision 1.212: +9 -9 lines
spacing

Revision 1.200.2.2: download - view: text, markup, annotated - select for diffs
Thu Mar 10 17:15:04 2005 UTC (6 years, 1 month ago) by brad
Branches: OPENBSD_3_5
Diff to: previous 1.200.2.1: preferred, coloured; branchpoint 1.200: preferred, coloured; next MAIN 1.201: preferred, coloured
Changes since revision 1.200.2.1: +69 -17 lines
upgrade to OpenSSH 4.0

Revision 1.210.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 10 16:28:27 2005 UTC (6 years, 1 month ago) by brad
Branches: OPENBSD_3_6
Diff to: previous 1.210: preferred, coloured
Changes since revision 1.210: +68 -16 lines
upgrade to OpenSSH 4.0

Revision 1.212: download - view: text, markup, annotated - select for diffs
Tue Mar 1 10:09:52 2005 UTC (6 years, 1 month ago) by djm
Branches: MAIN
Diff to: previous 1.211: preferred, coloured
Changes since revision 1.211: +67 -15 lines
bz#413: allow optional specification of bind address for port forwardings.
Patch originally by Dan Astorian, but worked on by several people
Adds GatewayPorts=clientspecified option on server to allow remote forwards
to bind to client-specified ports.

ok markus@

Revision 1.211: download - view: text, markup, annotated - select for diffs
Fri Oct 29 21:47:15 2004 UTC (6 years, 5 months ago) by djm
Branches: MAIN
Diff to: previous 1.210: preferred, coloured
Changes since revision 1.210: +2 -2 lines
fix some window size change bugs for multiplexed connections: windows sizes
were not being updated if they had changed after ~^Z suspends and SIGWINCH
was not being processed unless the first connection had requested a tty;
ok markus

Revision 1.210: download - view: text, markup, annotated - select for diffs
Mon Aug 23 11:48:47 2004 UTC (6 years, 7 months ago) by djm
Branches: MAIN
CVS tags: OPENBSD_3_6_BASE
Branch point for: OPENBSD_3_6
Diff to: previous 1.209: preferred, coloured
Changes since revision 1.209: +2 -2 lines
typo, spotted by Martin.Kraemer AT Fujitsu-Siemens.com; ok markus

Revision 1.195.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 19 22:37:30 2004 UTC (6 years, 7 months ago) by brad
Branches: OPENBSD_3_4
Diff to: previous 1.195.2.1: preferred, coloured; branchpoint 1.195: preferred, coloured; next MAIN 1.196: preferred, coloured
Changes since revision 1.195.2.1: +159 -39 lines
upgrade to OpenSSH 3.9

Revision 1.200.2.1: download - view: text, markup, annotated - select for diffs
Thu Aug 19 04:13:26 2004 UTC (6 years, 7 months ago) by brad
Branches: OPENBSD_3_5
Diff to: previous 1.200: preferred, coloured
Changes since revision 1.200: +159 -39 lines
upgrade to OpenSSH 3.9

Revision 1.209: download - view: text, markup, annotated - select for diffs
Wed Aug 11 21:43:04 2004 UTC (6 years, 8 months ago) by avsm
Branches: MAIN
Diff to: previous 1.208: preferred, coloured
Changes since revision 1.208: +24 -23 lines
some signed/unsigned int comparison cleanups; markus@ ok

Revision 1.208: download - view: text, markup, annotated - select for diffs
Sun Jul 11 17:48:47 2004 UTC (6 years, 9 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.207: preferred, coloured
Changes since revision 1.207: +5 -6 lines
spaces

Revision 1.207: download - view: text, markup, annotated - select for diffs
Mon Jun 21 17:36:31 2004 UTC (6 years, 9 months ago) by avsm
Branches: MAIN
Diff to: previous 1.206: preferred, coloured
Changes since revision 1.206: +5 -5 lines
make ssh -Wshadow clean, no functional changes
markus@ ok

Revision 1.206: download - view: text, markup, annotated - select for diffs
Fri Jun 18 11:11:54 2004 UTC (6 years, 9 months ago) by djm
Branches: MAIN
Diff to: previous 1.205: preferred, coloured
Changes since revision 1.205: +2 -2 lines
clientloop.c

Revision 1.205: download - view: text, markup, annotated - select for diffs
Mon Jun 14 01:44:38 2004 UTC (6 years, 10 months ago) by djm
Branches: MAIN
Diff to: previous 1.204: preferred, coloured
Changes since revision 1.204: +3 -3 lines
set_nonblock() instead of fnctl(...,O_NONBLOCK); "looks sane" deraadt@

Revision 1.204: download - view: text, markup, annotated - select for diffs
Sun Jun 13 15:03:02 2004 UTC (6 years, 10 months ago) by djm
Branches: MAIN
Diff to: previous 1.203: preferred, coloured
Changes since revision 1.203: +68 -8 lines
implement session multiplexing in the client (the server has supported this
since 2.0); ok markus@

Revision 1.203: download - view: text, markup, annotated - select for diffs
Wed May 26 23:02:39 2004 UTC (6 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.202: preferred, coloured
Changes since revision 1.202: +2 -1 lines
missing freeaddrinfo; Andrey Matveev

Revision 1.202: download - view: text, markup, annotated - select for diffs
Fri May 21 11:33:11 2004 UTC (6 years, 10 months ago) by djm
Branches: MAIN
Diff to: previous 1.201: preferred, coloured
Changes since revision 1.201: +63 -4 lines
bz #756: add support for the cancel-tcpip-forward request for the server and
the client (through the ~C commandline). reported by z3p AT twistedmatrix.com;
ok markus@

Revision 1.201: download - view: text, markup, annotated - select for diffs
Tue May 11 19:01:43 2004 UTC (6 years, 11 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.200: preferred, coloured
Changes since revision 1.200: +2 -2 lines
improve some code lint did not like; djm millert ok

Revision 1.187.2.3: download - view: text, markup, annotated - select for diffs
Thu Mar 4 18:18:15 2004 UTC (7 years, 1 month ago) by brad
Branches: OPENBSD_3_3
Diff to: previous 1.187.2.2: preferred, coloured; branchpoint 1.187: preferred, coloured; next MAIN 1.188: preferred, coloured
Changes since revision 1.187.2.2: +21 -53 lines
upgrade to OpenSSH 3.8upgrade to OpenSSH 3.8upgrade to OpenSSH 3.8

Revision 1.195.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 28 03:51:32 2004 UTC (7 years, 1 month ago) by brad
Branches: OPENBSD_3_4
Diff to: previous 1.195: preferred, coloured
Changes since revision 1.195: +21 -53 lines
upgrade to OpenSSH 3.8

Revision 1.200: download - view: text, markup, annotated - select for diffs
Mon Jan 19 09:24:21 2004 UTC (7 years, 2 months ago) by markus
Branches: MAIN
CVS tags: OPENBSD_3_5_BASE
Branch point for: OPENBSD_3_5
Diff to: previous 1.199: preferred, coloured
Changes since revision 1.199: +17 -5 lines
fake consumption for half closed channels since the peer is waiting for
window adjust messages; bugzilla #790 Matthew Dillon; test + ok dtucker@
reproduce with sh -c 'ulimit -f 10; ssh host -n od /bsd | cat > foo'

Revision 1.199: download - view: text, markup, annotated - select for diffs
Tue Dec 2 17:01:14 2003 UTC (7 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.198: preferred, coloured
Changes since revision 1.198: +3 -3 lines
use SSH_LISTEN_BACKLOG (=128) in listen(2).

Revision 1.198: download - view: text, markup, annotated - select for diffs
Fri Nov 21 11:57:03 2003 UTC (7 years, 4 months ago) by djm
Branches: MAIN
Diff to: previous 1.197: preferred, coloured
Changes since revision 1.197: +3 -3 lines
unexpand and delete whitespace at EOL; ok markus@

Revision 1.197: download - view: text, markup, annotated - select for diffs
Tue Sep 23 20:41:11 2003 UTC (7 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.196: preferred, coloured
Changes since revision 1.196: +1 -44 lines
move client only agent code to clientloop.c

Revision 1.196: download - view: text, markup, annotated - select for diffs
Fri Sep 19 11:31:33 2003 UTC (7 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.195: preferred, coloured
Changes since revision 1.195: +1 -2 lines
do not call channel_free_all on fatal; ok deraadt

Revision 1.187.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 16 21:30:49 2003 UTC (7 years, 6 months ago) by brad
Branches: OPENBSD_3_3
Diff to: previous 1.187.2.1: preferred, coloured; branchpoint 1.187: preferred, coloured
Changes since revision 1.187.2.1: +4 -3 lines
upgrade to OpenSSH 3.7.1

Revision 1.183.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 16 21:25:56 2003 UTC (7 years, 6 months ago) by brad
Branches: OPENBSD_3_2
Diff to: previous 1.183.2.2: preferred, coloured; branchpoint 1.183: preferred, coloured; next MAIN 1.184: preferred, coloured
Changes since revision 1.183.2.2: +4 -3 lines
upgrade to OpenSSH 3.7.1

Revision 1.183.2.2: download - view: text, markup, annotated - select for diffs
Tue Sep 16 21:20:25 2003 UTC (7 years, 6 months ago) by brad
Branches: OPENBSD_3_2
Diff to: previous 1.183.2.1: preferred, coloured; branchpoint 1.183: preferred, coloured
Changes since revision 1.183.2.1: +185 -73 lines
upgrade to OpenSSH 3.7

Revision 1.195: download - view: text, markup, annotated - select for diffs
Tue Sep 16 21:02:40 2003 UTC (7 years, 6 months ago) by markus
Branches: MAIN
CVS tags: OPENBSD_3_4_BASE
Branch point for: OPENBSD_3_4
Diff to: previous 1.194: preferred, coloured
Changes since revision 1.194: +4 -3 lines
more malloc/fatal fixes; ok millert/deraadt; ghudson at MIT.EDU

Revision 1.187.2.1: download - view: text, markup, annotated - select for diffs
Tue Sep 16 20:50:42 2003 UTC (7 years, 6 months ago) by brad
Branches: OPENBSD_3_3
Diff to: previous 1.187: preferred, coloured
Changes since revision 1.187: +185 -73 lines
upgrade to OpenSSH 3.7

Revision 1.194: download - view: text, markup, annotated - select for diffs
Fri Aug 29 10:04:36 2003 UTC (7 years, 7 months ago) by markus
Branches: MAIN
Diff to: previous 1.193: preferred, coloured
Changes since revision 1.193: +31 -31 lines
be less chatty; debug -> debug2, cleanup; ok henning@

Revision 1.193: download - view: text, markup, annotated - select for diffs
Wed Jul 2 14:51:16 2003 UTC (7 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.192: preferred, coloured
Changes since revision 1.192: +117 -3 lines
(re)add socks5 suppport to -D; ok djm@
now ssh(1) can act both as a socks 4 and socks 5 server and
dynamically forward ports.

Revision 1.192: download - view: text, markup, annotated - select for diffs
Wed Jul 2 12:56:34 2003 UTC (7 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.191: preferred, coloured
Changes since revision 1.191: +7 -3 lines
deny dynamic forwarding with -R for v1, too; ok djm@

Revision 1.191: download - view: text, markup, annotated - select for diffs
Tue Jun 24 08:23:46 2003 UTC (7 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.190: preferred, coloured
Changes since revision 1.190: +2 -2 lines
int -> u_int; ok djm@, deraadt@, mouring@

Revision 1.190: download - view: text, markup, annotated - select for diffs
Sun May 11 20:30:24 2003 UTC (7 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.189: preferred, coloured
Changes since revision 1.189: +11 -18 lines
make channel_new() strdup the 'remote_name' (not the caller); ok theo

Revision 1.189: download - view: text, markup, annotated - select for diffs
Mon Apr 14 14:17:50 2003 UTC (8 years ago) by markus
Branches: MAIN
Diff to: previous 1.188: preferred, coloured
Changes since revision 1.188: +6 -5 lines
avoid hardcoded SOCK_xx; with itojun@; should allow ssh over SCTP

Revision 1.188: download - view: text, markup, annotated - select for diffs
Tue Apr 8 20:21:28 2003 UTC (8 years ago) by itojun
Branches: MAIN
Diff to: previous 1.187: preferred, coloured
Changes since revision 1.187: +20 -20 lines
rename log() into logit() to avoid name conflict.  markus ok, from netbsd

Revision 1.172.2.5: download - view: text, markup, annotated - select for diffs
Thu Apr 3 22:35:17 2003 UTC (8 years ago) by miod
Branches: OPENBSD_3_1
Diff to: previous 1.172.2.4: preferred, coloured; branchpoint 1.172: preferred, coloured; next MAIN 1.173: preferred, coloured
Changes since revision 1.172.2.4: +14 -9 lines
Merge OpenSSH 3.6.1

Revision 1.183.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 1 00:12:13 2003 UTC (8 years ago) by margarida
Branches: OPENBSD_3_2
Diff to: previous 1.183: preferred, coloured
Changes since revision 1.183: +14 -9 lines
Update to OpenSSH 3.6

Revision 1.187: download - view: text, markup, annotated - select for diffs
Wed Mar 5 22:33:43 2003 UTC (8 years, 1 month ago) by markus
Branches: MAIN
CVS tags: OPENBSD_3_3_BASE
Branch point for: OPENBSD_3_3
Diff to: previous 1.186: preferred, coloured
Changes since revision 1.186: +3 -1 lines
fix memory leaks; from dlheine@suif.Stanford.EDU/CLOUSEAU; ok djm@

Revision 1.186: download - view: text, markup, annotated - select for diffs
Fri Jan 10 10:32:54 2003 UTC (8 years, 3 months ago) by djm
Branches: MAIN
Diff to: previous 1.185: preferred, coloured
Changes since revision 1.185: +5 -2 lines
hush socket() errors, except last. Fixes mindrot bug #408; ok markus@

Revision 1.185: download - view: text, markup, annotated - select for diffs
Wed Jan 1 18:08:52 2003 UTC (8 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.184: preferred, coloured
Changes since revision 1.184: +3 -3 lines
move big output buffer messages to debug2

Revision 1.184: download - view: text, markup, annotated - select for diffs
Fri Dec 13 10:03:15 2002 UTC (8 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.183: preferred, coloured
Changes since revision 1.183: +6 -6 lines
cleanup debug messages, more useful information for the client user.

Revision 1.140.2.5: download - view: text, markup, annotated - select for diffs
Fri Oct 11 14:53:06 2002 UTC (8 years, 6 months ago) by miod
Branches: OPENBSD_3_0
Diff to: previous 1.140.2.4: preferred, coloured; branchpoint 1.140: preferred, coloured; next MAIN 1.141: preferred, coloured
Changes since revision 1.140.2.4: +23 -9 lines
Update to OpenSSH 3.5

Revision 1.172.2.4: download - view: text, markup, annotated - select for diffs
Fri Oct 11 14:51:52 2002 UTC (8 years, 6 months ago) by miod
Branches: OPENBSD_3_1
Diff to: previous 1.172.2.3: preferred, coloured; branchpoint 1.172: preferred, coloured
Changes since revision 1.172.2.3: +23 -9 lines
Update to OpenSSH 3.5

Revision 1.183: download - view: text, markup, annotated - select for diffs
Tue Sep 17 07:47:02 2002 UTC (8 years, 6 months ago) by itojun
Branches: MAIN
CVS tags: OPENBSD_3_2_BASE
Branch point for: OPENBSD_3_2
Diff to: previous 1.182: preferred, coloured
Changes since revision 1.182: +5 -1 lines
don't quit while creating X11 listening socket.

http://mail-index.netbsd.org/current-users/2002/09/16/0005.html
got from portable.  markus ok

Revision 1.182: download - view: text, markup, annotated - select for diffs
Fri Sep 13 19:23:09 2002 UTC (8 years, 7 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.181: preferred, coloured
Changes since revision 1.181: +7 -8 lines
remove use of SO_LINGER, it should not be needed. error check
SO_REUSEADDR. fixup comments. ok markus@

Revision 1.181: download - view: text, markup, annotated - select for diffs
Mon Sep 9 14:54:14 2002 UTC (8 years, 7 months ago) by markus
Branches: MAIN
Diff to: previous 1.180: preferred, coloured
Changes since revision 1.180: +2 -2 lines
signed vs unsigned from -pedantic; ok henning@

Revision 1.180: download - view: text, markup, annotated - select for diffs
Thu Jul 4 08:12:15 2002 UTC (8 years, 9 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.179: preferred, coloured
Changes since revision 1.179: +12 -1 lines
blah blah minor nothing as i read and re-read and re-read...

Revision 1.140.2.4: download - view: text, markup, annotated - select for diffs
Wed Jun 26 18:22:34 2002 UTC (8 years, 9 months ago) by miod
Branches: OPENBSD_3_0
Diff to: previous 1.140.2.3: preferred, coloured; branchpoint 1.140: preferred, coloured
Changes since revision 1.140.2.3: +18 -14 lines
There was an update to OpenSSH 3.4, and people rejoiced.

Revision 1.172.2.3: download - view: text, markup, annotated - select for diffs
Wed Jun 26 15:30:37 2002 UTC (8 years, 9 months ago) by jason
Branches: OPENBSD_3_1
Diff to: previous 1.172.2.2: preferred, coloured; branchpoint 1.172: preferred, coloured
Changes since revision 1.172.2.2: +22 -121 lines
Pull in OpenSSH-3.4

Revision 1.179: download - view: text, markup, annotated - select for diffs
Wed Jun 26 08:55:02 2002 UTC (8 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.178: preferred, coloured
Changes since revision 1.178: +4 -1 lines
limit # of channels to 10000

Revision 1.178: download - view: text, markup, annotated - select for diffs
Mon Jun 24 14:33:27 2002 UTC (8 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.177: preferred, coloured
Changes since revision 1.177: +9 -7 lines
move channel counter to u_int

Revision 1.177: download - view: text, markup, annotated - select for diffs
Sun Jun 23 21:34:07 2002 UTC (8 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.176: preferred, coloured
Changes since revision 1.176: +2 -3 lines
tcode is u_int

Revision 1.176: download - view: text, markup, annotated - select for diffs
Sun Jun 23 21:06:41 2002 UTC (8 years, 9 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.175: preferred, coloured
Changes since revision 1.175: +6 -5 lines
display, screen, row, col, xpixel, ypixel are u_int; markus ok

Revision 1.140.2.3: download - view: text, markup, annotated - select for diffs
Sat Jun 22 07:23:17 2002 UTC (8 years, 9 months ago) by miod
Branches: OPENBSD_3_0
Diff to: previous 1.140.2.2: preferred, coloured; branchpoint 1.140: preferred, coloured
Changes since revision 1.140.2.2: +5 -108 lines
Update OpenSSH to version 3.3 (with local changes, configuration files still
living in /etc and privsep user being nobody).

Revision 1.175: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:28:41 2002 UTC (8 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.174: preferred, coloured
Changes since revision 1.174: +1 -105 lines
move creation of agent socket to session.c; no need for uidswapping
in channel.c.

Revision 1.174: download - view: text, markup, annotated - select for diffs
Sun Jun 9 13:32:01 2002 UTC (8 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.173: preferred, coloured
Changes since revision 1.173: +5 -5 lines
use tab not spaces (|unexpand)

Revision 1.109.2.6: download - view: text, markup, annotated - select for diffs
Sun Jun 2 22:56:10 2002 UTC (8 years, 10 months ago) by miod
Branches: OPENBSD_2_9
Diff to: previous 1.109.2.5: preferred, coloured; branchpoint 1.109: preferred, coloured; next MAIN 1.110: preferred, coloured
Changes since revision 1.109.2.5: +24 -6 lines
Upgrade to OpenSSH 3.2.3.

Except for improbable compilation error fixes, this should be the last
commit made to the 2.9-STABLE branche. Have fun upgrading.

Revision 1.172.2.2: download - view: text, markup, annotated - select for diffs
Sat May 18 04:50:37 2002 UTC (8 years, 10 months ago) by jason
Branches: OPENBSD_3_1
Diff to: previous 1.172.2.1: preferred, coloured; branchpoint 1.172: preferred, coloured
Changes since revision 1.172.2.1: +0 -0 lines
Update to OpenSSH-3.2.3

Revision 1.172.2.1: download - view: text, markup, annotated - select for diffs
Sat May 18 04:12:10 2002 UTC (8 years, 10 months ago) by jason
Branches: OPENBSD_3_1
Diff to: previous 1.172: preferred, coloured
Changes since revision 1.172: +2 -2 lines
Update to OpenSSH-3.2.2

Revision 1.140.2.2: download - view: text, markup, annotated - select for diffs
Fri May 17 00:03:23 2002 UTC (8 years, 10 months ago) by miod
Branches: OPENBSD_3_0
Diff to: previous 1.140.2.1: preferred, coloured; branchpoint 1.140: preferred, coloured
Changes since revision 1.140.2.1: +24 -6 lines
Update OpenSSH to version 3.2.2.

Revision 1.173: download - view: text, markup, annotated - select for diffs
Mon Apr 22 21:04:52 2002 UTC (8 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.172: preferred, coloured
Changes since revision 1.172: +2 -2 lines
request reply (success/failure) for -R style fwd in protocol v2,
depends on ordered replies.
fixes http://bugzilla.mindrot.org/show_bug.cgi?id=215; ok provos@

Revision 1.172: download - view: text, markup, annotated - select for diffs
Mon Mar 25 21:13:51 2002 UTC (9 years ago) by markus
Branches: MAIN
CVS tags: OPENBSD_3_1_BASE
Branch point for: OPENBSD_3_1
Diff to: previous 1.171: preferred, coloured
Changes since revision 1.171: +23 -5 lines
don't send stderr data after EOF, accept this from older known (broken)
sshd servers only, fixes http://bugzilla.mindrot.org/show_bug.cgi?id=179

Revision 1.109.2.5: download - view: text, markup, annotated - select for diffs
Sat Mar 9 00:20:44 2002 UTC (9 years, 1 month ago) by miod
Branches: OPENBSD_2_9
Diff to: previous 1.109.2.4: preferred, coloured; branchpoint 1.109: preferred, coloured
Changes since revision 1.109.2.4: +181 -303 lines
Merge OpenSSH 3.1, keeping /etc as configuration files directory.
(i.e. OpenSSH 3.1 + openbsd29_3.1.patch)

Revision 1.72.2.8: download - view: text, markup, annotated - select for diffs
Fri Mar 8 17:04:42 2002 UTC (9 years, 1 month ago) by brad
Branches: OPENBSD_2_8
Diff to: previous 1.72.2.7: preferred, coloured; branchpoint 1.72: preferred, coloured; next MAIN 1.73: preferred, coloured
Changes since revision 1.72.2.7: +181 -303 lines
Merge OpenSSH 3.1.

Revision 1.140.2.1: download - view: text, markup, annotated - select for diffs
Thu Mar 7 17:37:46 2002 UTC (9 years, 1 month ago) by jason
Branches: OPENBSD_3_0
Diff to: previous 1.140: preferred, coloured
Changes since revision 1.140: +181 -303 lines
Update to OpenSSH-3.1 on 3.0-stable branch

Revision 1.171: download - view: text, markup, annotated - select for diffs
Mon Mar 4 19:37:58 2002 UTC (9 years, 1 month ago) by markus
Branches: MAIN
Diff to: previous 1.170: preferred, coloured
Changes since revision 1.170: +2 -2 lines
off by one; thanks to joost@pine.nl

Revision 1.170: download - view: text, markup, annotated - select for diffs
Wed Feb 27 21:23:13 2002 UTC (9 years, 1 month ago) by stevesk
Branches: MAIN
Diff to: previous 1.169: preferred, coloured
Changes since revision 1.169: +4 -5 lines
remove unneeded casts in [gs]etsockopt(); ok markus@

Revision 1.169: download - view: text, markup, annotated - select for diffs
Sun Feb 24 19:59:42 2002 UTC (9 years, 1 month ago) by stevesk
Branches: MAIN
Diff to: previous 1.168: preferred, coloured
Changes since revision 1.168: +3 -1 lines
disable Nagle in connect_to() and channel_post_port_listener() (port
forwarding endpoints).  the intention is to preserve the on-the-wire
appearance to applications at either end; the applications can then
enable TCP_NODELAY according to their requirements. ok markus@

Revision 1.168: download - view: text, markup, annotated - select for diffs
Thu Feb 14 23:27:59 2002 UTC (9 years, 1 month ago) by markus
Branches: MAIN
Diff to: previous 1.167: preferred, coloured
Changes since revision 1.167: +3 -4 lines
increase the SSH v2 window size to 4 packets. comsumes a little
bit more memory for slow receivers but increases througput.

Revision 1.167: download - view: text, markup, annotated - select for diffs
Wed Feb 6 14:55:15 2002 UTC (9 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.166: preferred, coloured
Changes since revision 1.166: +7 -51 lines
channel_new never returns NULL, mouring@; ok djm@

Revision 1.166: download - view: text, markup, annotated - select for diffs
Tue Feb 5 14:32:55 2002 UTC (9 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.165: preferred, coloured
Changes since revision 1.165: +5 -11 lines
merge channel_request() into channel_request_start()

Revision 1.165: download - view: text, markup, annotated - select for diffs
Sun Feb 3 17:58:21 2002 UTC (9 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.164: preferred, coloured
Changes since revision 1.164: +7 -11 lines
generic callbacks are not really used, remove and
add a callback for msg of type SSH2_MSG_CHANNEL_OPEN_CONFIRMATION
ok djm@

Revision 1.164: download - view: text, markup, annotated - select for diffs
Sun Feb 3 17:55:55 2002 UTC (9 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.163: preferred, coloured
Changes since revision 1.163: +1 -26 lines
remove unused channel_input_channel_request

Revision 1.163: download - view: text, markup, annotated - select for diffs
Sun Jan 27 14:57:46 2002 UTC (9 years, 2 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.162: preferred, coloured
Changes since revision 1.162: +3 -3 lines
add X11UseLocalhost; ok markus@

Revision 1.162: download - view: text, markup, annotated - select for diffs
Thu Jan 24 21:09:25 2002 UTC (9 years, 2 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.161: preferred, coloured
Changes since revision 1.161: +5 -9 lines
add set_nodelay() to set TCP_NODELAY on a socket (prep for nagle tuning).
no nagle changes just yet; ok djm@ markus@

Revision 1.161: download - view: text, markup, annotated - select for diffs
Mon Jan 21 23:27:10 2002 UTC (9 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.160: preferred, coloured
Changes since revision 1.160: +3 -1 lines
cleanup channels faster if the are empty and we are in drain-state; ok deraadt@

Revision 1.160: download - view: text, markup, annotated - select for diffs
Wed Jan 16 13:17:51 2002 UTC (9 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.159: preferred, coloured
Changes since revision 1.159: +33 -38 lines
wrapper for channel_setup_fwd_listener

Revision 1.159: download - view: text, markup, annotated - select for diffs
Mon Jan 14 13:55:55 2002 UTC (9 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.158: preferred, coloured
Changes since revision 1.158: +4 -3 lines
remove function pointers for events, remove chan_init*; ok provos@

Revision 1.158: download - view: text, markup, annotated - select for diffs
Wed Jan 9 17:26:35 2002 UTC (9 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.157: preferred, coloured
Changes since revision 1.157: +5 -5 lines
replace buffer_consume(b, buffer_len(b)) with buffer_clear(b); ok provos@

Revision 1.157: download - view: text, markup, annotated - select for diffs
Wed Jan 9 17:16:00 2002 UTC (9 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.156: preferred, coloured
Changes since revision 1.156: +17 -43 lines
merge channel_pre_open_15/channel_pre_open_20; ok provos@

Revision 1.156: download - view: text, markup, annotated - select for diffs
Sat Jan 5 10:43:40 2002 UTC (9 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.155: preferred, coloured
Changes since revision 1.155: +13 -5 lines
fix hanging x11 channels for rejected cookies (e.g. XAUTHORITY=/dev/null xbiff)
bug #36, based on patch from djast@cs.toronto.edu

Revision 1.155: download - view: text, markup, annotated - select for diffs
Sat Dec 29 21:56:01 2001 UTC (9 years, 3 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.154: preferred, coloured
Changes since revision 1.154: +2 -2 lines
remove unneeded casts and some char->u_char cleanup; ok markus@

Revision 1.154: download - view: text, markup, annotated - select for diffs
Fri Dec 28 15:06:00 2001 UTC (9 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.153: preferred, coloured
Changes since revision 1.153: +16 -16 lines
remove plen from the dispatch fn. it's no longer used.

Revision 1.153: download - view: text, markup, annotated - select for diffs
Fri Dec 28 14:50:54 2001 UTC (9 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.152: preferred, coloured
Changes since revision 1.152: +3 -3 lines
packet_read* no longer return the packet length, since it's not used.

Revision 1.152: download - view: text, markup, annotated - select for diffs
Fri Dec 28 12:14:27 2001 UTC (9 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.151: preferred, coloured
Changes since revision 1.151: +13 -13 lines
s/packet_done/packet_check_eom/ (end-of-message); ok djm@

Revision 1.151: download - view: text, markup, annotated - select for diffs
Thu Dec 27 20:39:58 2001 UTC (9 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.150: preferred, coloured
Changes since revision 1.150: +9 -19 lines
get rid of packet_integrity_check, use packet_done() instead.

Revision 1.150: download - view: text, markup, annotated - select for diffs
Thu Dec 20 22:50:24 2001 UTC (9 years, 3 months ago) by djm
Branches: MAIN
Diff to: previous 1.149: preferred, coloured
Changes since revision 1.149: +15 -15 lines
Conformance fix: we should send failing packet sequence number when
responding with a SSH_MSG_UNIMPLEMENTED message. Spotted by
yakk@yakk.dot.net; ok markus@

Revision 1.149: download - view: text, markup, annotated - select for diffs
Thu Dec 20 16:37:29 2001 UTC (9 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.148: preferred, coloured
Changes since revision 1.148: +15 -5 lines
setup x11 listen socket for just one connect if the client requests so.
(v2 only, but the openssh client does not support this feature).

Revision 1.148: download - view: text, markup, annotated - select for diffs
Wed Dec 19 07:18:56 2001 UTC (9 years, 3 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.147: preferred, coloured
Changes since revision 1.147: +10 -10 lines
basic KNF done while i was looking for something else

Revision 1.147: download - view: text, markup, annotated - select for diffs
Sat Dec 8 17:49:28 2001 UTC (9 years, 4 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.146: preferred, coloured
Changes since revision 1.146: +11 -23 lines
use only one path to X11 UNIX domain socket vs. an array of paths
to try.  report from djast@cs.toronto.edu.  ok markus@

Revision 1.146: download - view: text, markup, annotated - select for diffs
Thu Dec 6 18:20:32 2001 UTC (9 years, 4 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.145: preferred, coloured
Changes since revision 1.145: +9 -3 lines
disable nagle for X11 fake server and client TCPs.  from netbsd.
ok markus@

Revision 1.145: download - view: text, markup, annotated - select for diffs
Thu Dec 6 18:09:23 2001 UTC (9 years, 4 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.144: preferred, coloured
Changes since revision 1.144: +3 -5 lines
strncpy->strlcpy.  remaining strncpy's are necessary.  ok markus@

Revision 1.144: download - view: text, markup, annotated - select for diffs
Thu Dec 6 18:02:32 2001 UTC (9 years, 4 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.143: preferred, coloured
Changes since revision 1.143: +1 -4 lines
shutdown(sock, SHUT_RDWR) not needed here; ok markus@

Revision 1.143: download - view: text, markup, annotated - select for diffs
Wed Dec 5 10:06:12 2001 UTC (9 years, 4 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.142: preferred, coloured
Changes since revision 1.142: +5 -5 lines
minor KNF

Revision 1.142: download - view: text, markup, annotated - select for diffs
Wed Dec 5 03:56:39 2001 UTC (9 years, 4 months ago) by itojun
Branches: MAIN
Diff to: previous 1.141: preferred, coloured
Changes since revision 1.141: +10 -10 lines
make it compile with more strict prototype checking

Revision 1.141: download - view: text, markup, annotated - select for diffs
Thu Nov 29 21:10:51 2001 UTC (9 years, 4 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.140: preferred, coloured
Changes since revision 1.140: +12 -20 lines
sshd X11 fake server will now listen on localhost by default:
$ echo $DISPLAY
localhost:12.0
$ netstat -an|grep 6012
tcp        0      0  127.0.0.1.6012         *.*                    LISTEN
tcp6       0      0  ::1.6012               *.*                    LISTEN
sshd_config gatewayports=yes can be used to revert back to the old
behavior.  will control this with another option later.  ok markus@

Revision 1.109.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 15 00:15:19 2001 UTC (9 years, 4 months ago) by miod
Branches: OPENBSD_2_9
Diff to: previous 1.109.2.3: preferred, coloured; branchpoint 1.109: preferred, coloured
Changes since revision 1.109.2.3: +66 -51 lines
Merge OpenSSH 3.0

Revision 1.72.2.7: download - view: text, markup, annotated - select for diffs
Thu Nov 15 00:14:59 2001 UTC (9 years, 4 months ago) by miod
Branches: OPENBSD_2_8
Diff to: previous 1.72.2.6: preferred, coloured; branchpoint 1.72: preferred, coloured
Changes since revision 1.72.2.6: +66 -51 lines
Merge OpenSSH 3.0

Revision 1.140: download - view: text, markup, annotated - select for diffs
Wed Oct 10 22:18:47 2001 UTC (9 years, 6 months ago) by markus
Branches: MAIN
CVS tags: OPENBSD_3_0_BASE
Branch point for: OPENBSD_3_0
Diff to: previous 1.139: preferred, coloured
Changes since revision 1.139: +25 -24 lines
try to keep channels open until an exit-status message is sent.
don't kill the login shells if the shells stdin/out/err is closed.
this should now work:
ssh -2n localhost 'exec > /dev/null 2>&1; sleep 10; exit 5'; echo ?

Revision 1.139: download - view: text, markup, annotated - select for diffs
Tue Oct 9 21:59:41 2001 UTC (9 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.138: preferred, coloured
Changes since revision 1.138: +1 -17 lines
simplify session close: no more delayed session_close, no more blocking wait() calls.

Revision 1.138: download - view: text, markup, annotated - select for diffs
Mon Oct 8 11:48:57 2001 UTC (9 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.137: preferred, coloured
Changes since revision 1.137: +2 -2 lines
better debug

Revision 1.137: download - view: text, markup, annotated - select for diffs
Sun Oct 7 17:49:40 2001 UTC (9 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.136: preferred, coloured
Changes since revision 1.136: +28 -8 lines
avoid possible FD_ISSET overflow for channels established
during channnel_after_select() (used for dynamic channels).

Revision 1.136: download - view: text, markup, annotated - select for diffs
Thu Oct 4 15:05:40 2001 UTC (9 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.135: preferred, coloured
Changes since revision 1.135: +8 -4 lines
comment out bogus conditions for selecting on connection_in

Revision 1.135: download - view: text, markup, annotated - select for diffs
Mon Oct 1 21:38:53 2001 UTC (9 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.134: preferred, coloured
Changes since revision 1.134: +8 -2 lines
remove ugliness; vp@drexel.edu via angelos

Revision 1.109.2.3: download - view: text, markup, annotated - select for diffs
Thu Sep 27 19:03:54 2001 UTC (9 years, 6 months ago) by jason
Branches: OPENBSD_2_9
Diff to: previous 1.109.2.2: preferred, coloured; branchpoint 1.109: preferred, coloured
Changes since revision 1.109.2.2: +793 -649 lines
Pull in OpenSSH-2.9.9

Revision 1.72.2.6: download - view: text, markup, annotated - select for diffs
Thu Sep 27 00:15:41 2001 UTC (9 years, 6 months ago) by miod
Branches: OPENBSD_2_8
Diff to: previous 1.72.2.5: preferred, coloured; branchpoint 1.72: preferred, coloured
Changes since revision 1.72.2.5: +796 -651 lines
Pull in OpenSSH 2.9.9 to the 2.8 branch.

Revision 1.134: download - view: text, markup, annotated - select for diffs
Mon Sep 17 21:04:01 2001 UTC (9 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.133: preferred, coloured
Changes since revision 1.133: +7 -4 lines
don't send fake dummy packets on CR (\r)
bugreport from yyua@cs.sfu.ca via solar@@openwall.com

Revision 1.133: download - view: text, markup, annotated - select for diffs
Mon Sep 17 20:52:47 2001 UTC (9 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.132: preferred, coloured
Changes since revision 1.132: +14 -1 lines
try to fix agent-forwarding-backconnection-bug, as seen on HPUX, for example;
with Lutz.Jaenicke@aet.TU-Cottbus.DE,

Revision 1.132: download - view: text, markup, annotated - select for diffs
Tue Jul 17 21:04:56 2001 UTC (9 years, 8 months ago) by markus
Branches: MAIN
Diff to: previous 1.131: preferred, coloured
Changes since revision 1.131: +47 -32 lines
keep track of both maxfd and the size of the malloc'ed fdsets.
update maxfd if maxfd gets closed.

Revision 1.131: download - view: text, markup, annotated - select for diffs
Mon Jul 2 22:52:56 2001 UTC (9 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.130: preferred, coloured
Changes since revision 1.130: +49 -7 lines
improve cleanup/exit logic in ssh2:
stop listening to channels, detach channel users (e.g. sessions).
wait for children (i.e. dying sessions), send exit messages,
cleanup all channels.

Revision 1.130: download - view: text, markup, annotated - select for diffs
Sat Jun 30 18:08:39 2001 UTC (9 years, 9 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.129: preferred, coloured
Changes since revision 1.129: +2 -2 lines
adress -> address; ok markus@

Revision 1.129: download - view: text, markup, annotated - select for diffs
Fri Jun 29 18:40:28 2001 UTC (9 years, 9 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.128: preferred, coloured
Changes since revision 1.128: +2 -2 lines
use socklen_t for getsockopt arg #5; ok markus@

Revision 1.128: download - view: text, markup, annotated - select for diffs
Mon Jun 25 08:25:35 2001 UTC (9 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.127: preferred, coloured
Changes since revision 1.127: +2 -3 lines
update copyright for 2001

Revision 1.127: download - view: text, markup, annotated - select for diffs
Sat Jun 23 15:12:17 2001 UTC (9 years, 9 months ago) by itojun
Branches: MAIN
Diff to: previous 1.126: preferred, coloured
Changes since revision 1.126: +36 -38 lines
more strict prototypes.  raise warning level in Makefile.inc.  markus ok'ed
TODO; cleanup headers

Revision 1.109.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 23:45:23 2001 UTC (9 years, 9 months ago) by jason
Branches: OPENBSD_2_9
Diff to: previous 1.109.2.1: preferred, coloured; branchpoint 1.109: preferred, coloured
Changes since revision 1.109.2.1: +4 -3 lines
Pull patch from current:
Fix (markus):
Unbreak -R forwarding for protocol 2

Revision 1.126: download - view: text, markup, annotated - select for diffs
Wed Jun 20 13:56:39 2001 UTC (9 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.125: preferred, coloured
Changes since revision 1.125: +6 -34 lines
move from channel_stop_listening to channel_free_all,
call channel_free_all before calling waitpid() in serverloop.
fixes the utmp handling; report from Lutz.Jaenicke@aet.TU-Cottbus.DE

Revision 1.72.2.5: download - view: text, markup, annotated - select for diffs
Tue Jun 12 22:47:33 2001 UTC (9 years, 10 months ago) by miod
Branches: OPENBSD_2_8
Diff to: previous 1.72.2.4: preferred, coloured; branchpoint 1.72: preferred, coloured
Changes since revision 1.72.2.4: +14 -9 lines
Pull in patch from current:
Errata:
sshd(8) allows users to delete arbitrary files named "cookies" if
X11 forwarding is enabled. X11 forwarding is disabled by default.
Fix (markus):
- use fatal_register_cleanup instead of atexit, sync with x11 authdir
  handling
- switch uid when cleaning up tmp files and sockets; reported by
  zen-parse@gmx.net on bugtraq

Revision 1.109.2.1: download - view: text, markup, annotated - select for diffs
Tue Jun 12 22:31:48 2001 UTC (9 years, 10 months ago) by jason
Branches: OPENBSD_2_9
Diff to: previous 1.109: preferred, coloured
Changes since revision 1.109: +14 -9 lines
Pull in patch from current:
Fix (markus):
- use fatal_register_cleanup instead of atexit, sync with x11 authdir handling
- switch uid when cleaning up tmp files and sockets; reported by zen-parse@gmx.net on bugtraq

Revision 1.125: download - view: text, markup, annotated - select for diffs
Thu Jun 7 20:23:04 2001 UTC (9 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.124: preferred, coloured
Changes since revision 1.124: +2 -2 lines
use xxx_put_cstring()

Revision 1.124: download - view: text, markup, annotated - select for diffs
Tue Jun 5 10:24:32 2001 UTC (9 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.123: preferred, coloured
Changes since revision 1.123: +3 -2 lines
don't delete the auth socket in channel_stop_listening()
auth_sock_cleanup_proc() will take care of this.

Revision 1.123: download - view: text, markup, annotated - select for diffs
Mon Jun 4 21:59:42 2001 UTC (9 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.122: preferred, coloured
Changes since revision 1.122: +8 -4 lines
switch uid when cleaning up tmp files and sockets; reported by zen-parse@gmx.net on bugtraq

Revision 1.122: download - view: text, markup, annotated - select for diffs
Sun Jun 3 14:55:38 2001 UTC (9 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.121: preferred, coloured
Changes since revision 1.121: +11 -9 lines
use fatal_register_cleanup instead of atexit, sync with x11 authdir handling

Revision 1.121: download - view: text, markup, annotated - select for diffs
Thu May 31 10:30:14 2001 UTC (9 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.120: preferred, coloured
Changes since revision 1.120: +522 -508 lines
undo the .c file split, just merge the header and keep the cvs history

Revision 1.120
Wed May 30 12:55:09 2001 UTC (9 years, 10 months ago) by markus
Branches: MAIN
FILE REMOVED
Changes since revision 1.119: +1 -1 lines
channel layer cleanup: merge header files and split .c files

Revision 1.119: download - view: text, markup, annotated - select for diffs
Mon May 28 23:25:24 2001 UTC (9 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.118: preferred, coloured
Changes since revision 1.118: +3 -4 lines
cleanup, typo

Revision 1.118: download - view: text, markup, annotated - select for diffs
Mon May 28 23:14:49 2001 UTC (9 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.117: preferred, coloured
Changes since revision 1.117: +20 -8 lines
undo broken channel fix and try a different one. there
should be still some select errors...

Revision 1.117: download - view: text, markup, annotated - select for diffs
Sat May 19 19:57:09 2001 UTC (9 years, 10 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.116: preferred, coloured
Changes since revision 1.116: +2 -2 lines
typo in error message

Revision 1.116: download - view: text, markup, annotated - select for diffs
Wed May 16 22:09:20 2001 UTC (9 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.115: preferred, coloured
Changes since revision 1.115: +4 -3 lines
more select() error fixes (don't set rfd/wfd to -1).

Revision 1.115: download - view: text, markup, annotated - select for diffs
Wed May 9 22:51:57 2001 UTC (9 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.114: preferred, coloured
Changes since revision 1.114: +4 -3 lines
fix -R for protocol 2, noticed by greg@nest.cx.
bug was introduced with experimental dynamic forwarding.

Revision 1.114: download - view: text, markup, annotated - select for diffs
Tue May 8 19:17:30 2001 UTC (9 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.113: preferred, coloured
Changes since revision 1.113: +58 -22 lines
adds correct error reporting to async connect()s
fixes the server-discards-data-before-connected-bug found by onoe@sm.sony.co.jp

Revision 1.72.2.4: download - view: text, markup, annotated - select for diffs
Mon May 7 21:09:27 2001 UTC (9 years, 11 months ago) by jason
Branches: OPENBSD_2_8
Diff to: previous 1.72.2.3: preferred, coloured; branchpoint 1.72: preferred, coloured
Changes since revision 1.72.2.3: +252 -58 lines
Pull in OpenSSH-2.9 to 2.8 branch.

Revision 1.113: download - view: text, markup, annotated - select for diffs
Fri May 4 23:47:33 2001 UTC (9 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.112: preferred, coloured
Changes since revision 1.112: +193 -162 lines
move to Channel **channels (instead of Channel *channels), fixes realloc problems.
channel_new now returns a Channel *, favour Channel * over channel id.
remove old channel_allocate interface.

Revision 1.112: download - view: text, markup, annotated - select for diffs
Fri May 4 14:34:34 2001 UTC (9 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.111: preferred, coloured
Changes since revision 1.111: +11 -4 lines
channel_new() reallocs channels[], we cannot use Channel *c after calling
channel_new(), XXX fix this in the future...

Revision 1.111: download - view: text, markup, annotated - select for diffs
Thu May 3 15:07:39 2001 UTC (9 years, 11 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.110: preferred, coloured
Changes since revision 1.110: +2 -2 lines
typo in debug() string

Revision 1.110: download - view: text, markup, annotated - select for diffs
Sun Apr 29 19:16:52 2001 UTC (9 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.109: preferred, coloured
Changes since revision 1.109: +2 -2 lines
more ssh.com-2.0.x bug-compat; from per@appgate.com

Revision 1.109: download - view: text, markup, annotated - select for diffs
Tue Apr 17 12:55:03 2001 UTC (9 years, 11 months ago) by markus
Branches: MAIN
CVS tags: OPENBSD_2_9_BASE
Branch point for: OPENBSD_2_9
Diff to: previous 1.108: preferred, coloured
Changes since revision 1.108: +23 -188 lines
undo socks5 and https support since they are not really used and
only bloat ssh.  remove -D from usage(), since '-D' is experimental.

Revision 1.108: download - view: text, markup, annotated - select for diffs
Sat Apr 14 16:17:14 2001 UTC (10 years ago) by markus
Branches: MAIN
Diff to: previous 1.107: preferred, coloured
Changes since revision 1.107: +5 -5 lines
remove some channels that are not appropriate for keepalive.

Revision 1.107: download - view: text, markup, annotated - select for diffs
Fri Apr 13 22:46:52 2001 UTC (10 years ago) by beck
Branches: MAIN
Diff to: previous 1.106: preferred, coloured
Changes since revision 1.106: +36 -1 lines
Add options ClientAliveInterval and ClientAliveCountMax to sshd.
This gives the ability to do a "keepalive" via the encrypted channel
which can't be spoofed (unlike TCP keepalives). Useful for when you want
to use ssh connections to authenticate people for something, and know
relatively quickly when they are no longer authenticated. Disabled
by default (of course). ok markus@

Revision 1.106: download - view: text, markup, annotated - select for diffs
Wed Apr 11 13:56:13 2001 UTC (10 years ago) by markus
Branches: MAIN
Diff to: previous 1.105: preferred, coloured
Changes since revision 1.105: +149 -11 lines
https-connect and socks5 support. i feel so bad.

Revision 1.105: download - view: text, markup, annotated - select for diffs
Tue Apr 10 12:15:23 2001 UTC (10 years ago) by markus
Branches: MAIN
Diff to: previous 1.104: preferred, coloured
Changes since revision 1.104: +6 -6 lines
debug cleanup

Revision 1.104: download - view: text, markup, annotated - select for diffs
Tue Apr 10 07:46:58 2001 UTC (10 years ago) by markus
Branches: MAIN
Diff to: previous 1.103: preferred, coloured
Changes since revision 1.103: +117 -69 lines
cleanup socks4 handling

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sat Apr 7 08:55:17 2001 UTC (10 years ago) by markus
Branches: MAIN
Diff to: previous 1.102: preferred, coloured
Changes since revision 1.102: +182 -46 lines
allow the ssh client act as a SOCKS4 proxy (dynamic local portforwarding).
work by Dan Kaminsky <dankamin@cisco.com> and me. thanks to Dan for this
great patch: use 'ssh -D 1080 host' and make netscape use localhost:1080 as
a socks proxy.

Revision 1.102: download - view: text, markup, annotated - select for diffs
Fri Apr 6 21:00:10 2001 UTC (10 years ago) by markus
Branches: MAIN
Diff to: previous 1.101: preferred, coloured
Changes since revision 1.101: +2 -2 lines
do gid/groups-swap in addition to uid-swap, should help if /home/group
is chmod 750 + chgrp grp /home/group/, work be deraadt and me, thanks
to olar@openwall.com is comments.  we had many requests for this.

Revision 1.101: download - view: text, markup, annotated - select for diffs
Thu Apr 5 10:42:48 2001 UTC (10 years ago) by markus
Branches: MAIN
Diff to: previous 1.100: preferred, coloured
Changes since revision 1.100: +3 -3 lines
fix whitespace: unexpand + trailing spaces.

Revision 1.100: download - view: text, markup, annotated - select for diffs
Wed Apr 4 20:25:35 2001 UTC (10 years ago) by markus
Branches: MAIN
Diff to: previous 1.99: preferred, coloured
Changes since revision 1.99: +5 -3 lines
more robust rekeying
don't send channel data after rekeying is started.

Revision 1.72.2.3: download - view: text, markup, annotated - select for diffs
Wed Mar 21 19:46:23 2001 UTC (10 years ago) by jason
Branches: OPENBSD_2_8
Diff to: previous 1.72.2.2: preferred, coloured; branchpoint 1.72: preferred, coloured
Changes since revision 1.72.2.2: +132 -82 lines
Pull in OpenSSH-2.5.2 for 2.8 branch.

Revision 1.57.2.5: download - view: text, markup, annotated - select for diffs
Wed Mar 21 18:52:38 2001 UTC (10 years ago) by jason
Branches: OPENBSD_2_7
Diff to: previous 1.57.2.4: preferred, coloured; branchpoint 1.57: preferred, coloured; next MAIN 1.58: preferred, coloured
Changes since revision 1.57.2.4: +132 -82 lines
Pull in OpenSSH-2.5.2 for 2.7 branch.

Revision 1.99: download - view: text, markup, annotated - select for diffs
Fri Mar 16 19:06:29 2001 UTC (10 years ago) by markus
Branches: MAIN
Diff to: previous 1.98: preferred, coloured
Changes since revision 1.98: +79 -60 lines
implement "permitopen" key option, restricts -L style forwarding to
to specified host:port pairs. based on work by harlan@genua.de

Revision 1.57.2.4: download - view: text, markup, annotated - select for diffs
Mon Mar 12 15:44:08 2001 UTC (10 years, 1 month ago) by jason
Branches: OPENBSD_2_7
Diff to: previous 1.57.2.3: preferred, coloured; branchpoint 1.57: preferred, coloured
Changes since revision 1.57.2.3: +289 -111 lines
OpenSSH-2.5.1 for 2.7 patch branch

Revision 1.98: download - view: text, markup, annotated - select for diffs
Sun Mar 4 17:42:28 2001 UTC (10 years, 1 month ago) by millert
Branches: MAIN
Diff to: previous 1.97: preferred, coloured
Changes since revision 1.97: +2 -2 lines
log functions should not be passed strings that end in newline as they
get passed on to syslog() and when logging to stderr, do_log() appends
its own newline.

Revision 1.97: download - view: text, markup, annotated - select for diffs
Sun Mar 4 00:03:59 2001 UTC (10 years, 1 month ago) by markus
Branches: MAIN
Diff to: previous 1.96: preferred, coloured
Changes since revision 1.96: +2 -2 lines
debug1->2

Revision 1.96: download - view: text, markup, annotated - select for diffs
Wed Feb 28 21:31:32 2001 UTC (10 years, 1 month ago) by markus
Branches: MAIN
Diff to: previous 1.95: preferred, coloured
Changes since revision 1.95: +2 -2 lines
typo

Revision 1.95: download - view: text, markup, annotated - select for diffs
Wed Feb 28 21:27:48 2001 UTC (10 years, 1 month ago) by markus
Branches: MAIN
Diff to: previous 1.94: preferred, coloured
Changes since revision 1.94: +6 -6 lines
use ignore message to simulate a SSH2_MSG_CHANNEL_DATA message
use random content in ignore messages.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Wed Feb 28 12:55:07 2001 UTC (10 years, 1 month ago) by markus
Branches: MAIN
Diff to: previous 1.93: preferred, coloured
Changes since revision 1.93: +5 -5 lines
unify debug messages

Revision 1.93: download - view: text, markup, annotated - select for diffs
Wed Feb 28 08:54:55 2001 UTC (10 years, 1 month ago) by markus
Branches: MAIN
Diff to: previous 1.92: preferred, coloured
Changes since revision 1.92: +44 -13 lines
make sure remote stderr does not get truncated.
remove closed fd's from the select mask.

Revision 1.72.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 19 17:18:44 2001 UTC (10 years, 1 month ago) by jason
Branches: OPENBSD_2_8
Diff to: previous 1.72.2.1: preferred, coloured; branchpoint 1.72: preferred, coloured
Changes since revision 1.72.2.1: +0 -0 lines
Pull in OpenSSH-2.5.1

Revision 1.72.2.1: download - view: text, markup, annotated - select for diffs
Fri Feb 16 20:12:57 2001 UTC (10 years, 1 month ago) by jason
Branches: OPENBSD_2_8
Diff to: previous 1.72: preferred, coloured
Changes since revision 1.72: +289 -111 lines
Pull in OpenSSH 2.5.0

Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Feb 16 13:38:18 2001 UTC (10 years, 1 month ago) by markus
Branches: MAIN
Diff to: previous 1.91: preferred, coloured
Changes since revision 1.91: +1 -2 lines
remove debug

Revision 1.91: download - view: text, markup, annotated - select for diffs
Thu Feb 15 23:19:59 2001 UTC (10 years, 1 month ago) by markus
Branches: MAIN
Diff to: previous 1.90: preferred, coloured
Changes since revision 1.90: +28 -1 lines
genericize password padding function for SSH1 and SSH2.
add stylized echo to 2, too.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Thu Feb 8 21:58:28 2001 UTC (10 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.89: preferred, coloured
Changes since revision 1.89: +6 -4 lines
nuke sprintf, ok deraadt@

Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Feb 4 15:32:23 2001 UTC (10 years, 2 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.88: preferred, coloured
Changes since revision 1.88: +6 -6 lines
unexpand and remove end-of-line whitespace; ok markus@

Revision 1.88: download - view: text, markup, annotated - select for diffs
Thu Feb 1 21:58:08 2001 UTC (10 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.87: preferred, coloured
Changes since revision 1.87: +6 -6 lines
use ipaddr in channel messages, ietf-secsh wants this

Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Jan 31 20:37:22 2001 UTC (10 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.86: preferred, coloured
Changes since revision 1.86: +13 -8 lines
do not disconnect if local port forwarding fails, e.g. if port is already in use

Revision 1.86: download - view: text, markup, annotated - select for diffs
Wed Jan 31 19:26:19 2001 UTC (10 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.85: preferred, coloured
Changes since revision 1.85: +14 -8 lines
ssh.com-2.0.1x does not send additional info in CHANNEL_OPEN_FAILURE messages; bug report from edmundo@rano.org

Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Jan 29 19:42:35 2001 UTC (10 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.84: preferred, coloured
Changes since revision 1.84: +7 -7 lines
add get_peer_ipaddr(socket), x11-fwd in ssh2 requires ipaddr, not DNS

Revision 1.84: download - view: text, markup, annotated - select for diffs
Mon Jan 29 16:55:36 2001 UTC (10 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.83: preferred, coloured
Changes since revision 1.83: +27 -19 lines
fix select overflow; ok deraadt@ and stevesk@

Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Jan 24 21:03:50 2001 UTC (10 years, 2 months ago) by stevesk
Branches: MAIN
Diff to: previous 1.82: preferred, coloured
Changes since revision 1.82: +2 -1 lines
missing freeaddrinfo(); ok markus@

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sun Jan 21 19:05:46 2001 UTC (10 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.81: preferred, coloured
Changes since revision 1.81: +12 -10 lines
split ssh.h and try to cleanup the #include mess. remove unnecessary #includes.
rename util.[ch] -> misc.[ch]

Revision 1.81: download - view: text, markup, annotated - select for diffs
Fri Jan 19 15:55:10 2001 UTC (10 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.80: preferred, coloured
Changes since revision 1.80: +2 -1 lines
move ssh1 definitions to ssh1.h, pathnames to pathnames.h

Revision 1.80: download - view: text, markup, annotated - select for diffs
Mon Jan 8 22:03:23 2001 UTC (10 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.79: preferred, coloured
Changes since revision 1.79: +2 -2 lines
O_NDELAY -> O_NONBLOCK; thanks stevesk@pobox.com

Revision 1.79: download - view: text, markup, annotated - select for diffs
Fri Dec 29 22:19:13 2000 UTC (10 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.78: preferred, coloured
Changes since revision 1.78: +6 -2 lines
missing xfree; from vaughan99@yahoo.com

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Dec 29 11:05:55 2000 UTC (10 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.77: preferred, coloured
Changes since revision 1.77: +2 -2 lines
remove->unlink; stevesk@pobox.com

Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Dec 19 23:17:56 2000 UTC (10 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.76: preferred, coloured
Changes since revision 1.76: +16 -16 lines
replace 'unsigned bla' with 'u_bla' everywhere. also, replace 'char unsigned'
with u_char.

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Dec 19 22:43:44 2000 UTC (10 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.75: preferred, coloured
Changes since revision 1.75: +2 -2 lines
remove() -> unlink() for consistency

Revision 1.75: download - view: text, markup, annotated - select for diffs
Tue Dec 5 20:34:09 2000 UTC (10 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.74: preferred, coloured
Changes since revision 1.74: +45 -3 lines
async connects for -R/-L; ok deraadt@

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Nov 30 22:54:31 2000 UTC (10 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.73: preferred, coloured
Changes since revision 1.73: +3 -2 lines
debug -> warn if server tries to do -R style fwd w/o client requesting this; ok niels@

Revision 1.57.2.3: download - view: text, markup, annotated - select for diffs
Wed Nov 8 21:30:32 2000 UTC (10 years, 5 months ago) by jason
Branches: OPENBSD_2_7
Diff to: previous 1.57.2.2: preferred, coloured; branchpoint 1.57: preferred, coloured
Changes since revision 1.57.2.2: +100 -56 lines
openssh-2.3.0 (again) for 2.7 branch

Revision 1.73: download - view: text, markup, annotated - select for diffs
Mon Nov 6 23:04:55 2000 UTC (10 years, 5 months ago) by markus
Branches: MAIN
Diff to: previous 1.72: preferred, coloured
Changes since revision 1.72: +120 -40 lines
agent forwarding and -R for ssh2, based on work from jhuuskon@messi.uku.fi

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Oct 27 07:48:22 2000 UTC (10 years, 5 months ago) by markus
Branches: MAIN
CVS tags: OPENBSD_2_8_BASE
Branch point for: OPENBSD_2_8
Diff to: previous 1.71: preferred, coloured
Changes since revision 1.71: +23 -1 lines
deny agent/x11 forwarding unless requested; thanks to jwl@pobox.com

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Oct 27 07:32:17 2000 UTC (10 years, 5 months ago) by markus
Branches: MAIN
Diff to: previous 1.70: preferred, coloured
Changes since revision 1.70: +23 -18 lines
enable non-blocking IO on channels, and tty's (except for the client ttys).

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Sep 28 18:03:18 2000 UTC (10 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.69: preferred, coloured
Changes since revision 1.69: +12 -12 lines
debug -> debug2 cleanup

Revision 1.69: download - view: text, markup, annotated - select for diffs
Thu Sep 21 11:25:33 2000 UTC (10 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.68: preferred, coloured
Changes since revision 1.68: +14 -14 lines
add context to dispatch_run

Revision 1.68: download - view: text, markup, annotated - select for diffs
Thu Sep 7 20:40:29 2000 UTC (10 years, 7 months ago) by markus
Branches: MAIN
Diff to: previous 1.67: preferred, coloured
Changes since revision 1.67: +2 -8 lines
cleanup window and packet sizes for ssh2 flow control; ok niels

Revision 1.67: download - view: text, markup, annotated - select for diffs
Thu Sep 7 20:27:50 2000 UTC (10 years, 7 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.66: preferred, coloured
Changes since revision 1.66: +31 -8 lines
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.57.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 1 18:23:18 2000 UTC (10 years, 7 months ago) by jason
Branches: OPENBSD_2_7
Diff to: previous 1.57.2.1: preferred, coloured; branchpoint 1.57: preferred, coloured
Changes since revision 1.57.2.1: +26 -5 lines
Pull in the rest of openssh-2.2.0 to 2.7 branch (luvin' cvs...)

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Aug 19 21:55:51 2000 UTC (10 years, 7 months ago) by markus
Branches: MAIN
Diff to: previous 1.65: preferred, coloured
Changes since revision 1.65: +2 -2 lines
more ~ support for ssh2

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sat Aug 19 18:48:10 2000 UTC (10 years, 7 months ago) by markus
Branches: MAIN
Diff to: previous 1.64: preferred, coloured
Changes since revision 1.64: +20 -2 lines
support for ~. in ssh2

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jul 16 08:27:21 2000 UTC (10 years, 8 months ago) by markus
Branches: MAIN
Diff to: previous 1.63: preferred, coloured
Changes since revision 1.63: +6 -2 lines
make ssh-add accept dsa keys (the agent does not)

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jun 25 20:17:57 2000 UTC (10 years, 9 months ago) by provos
Branches: MAIN
Diff to: previous 1.62: preferred, coloured
Changes since revision 1.62: +2 -2 lines
correct check for bad channel ids; from Wei Dai <weidai@eskimo.com>

Revision 1.62: download - view: text, markup, annotated - select for diffs
Tue Jun 20 01:39:39 2000 UTC (10 years, 9 months ago) by markus
Branches: MAIN
Diff to: previous 1.61: preferred, coloured
Changes since revision 1.61: +1 -1 lines
OpenBSD tag

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Jun 17 16:01:33 2000 UTC (10 years, 9 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.60: preferred, coloured
Changes since revision 1.60: +1 -2 lines
a real nix

Revision 1.60: download - view: text, markup, annotated - select for diffs
Sat Jun 17 15:58:46 2000 UTC (10 years, 9 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.59: preferred, coloured
Changes since revision 1.59: +2 -2 lines
everyone says "nix it"

Revision 1.57.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 12 02:37:32 2000 UTC (10 years, 10 months ago) by jason
Branches: OPENBSD_2_7
Diff to: previous 1.57: preferred, coloured
Changes since revision 1.57: +14 -22 lines
lovin' CVS... update patch branch to OpenSSH-2.1.1

Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue May 30 17:23:36 2000 UTC (10 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.58: preferred, coloured
Changes since revision 1.58: +14 -5 lines
don't panic if mkdtemp fails for authfwd; jkb@yahoo-inc.com via kris@FreeBSD.org

Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed May 17 08:20:15 2000 UTC (10 years, 10 months ago) by markus
Branches: MAIN
Diff to: previous 1.57: preferred, coloured
Changes since revision 1.57: +1 -18 lines
enable nonblocking IO for sshd w/ proto 1, too; split out common code

Revision 1.57: download - view: text, markup, annotated - select for diffs
Mon May 8 17:42:24 2000 UTC (10 years, 11 months ago) by markus
Branches: MAIN
CVS tags: OPENBSD_2_7_BASE
Branch point for: OPENBSD_2_7
Diff to: previous 1.56: preferred, coloured
Changes since revision 1.56: +10 -3 lines
bug compat w/ ssh-2.0.13 x11, split out bugs

Revision 1.56: download - view: text, markup, annotated - select for diffs
Wed May 3 18:03:06 2000 UTC (10 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.55: preferred, coloured
Changes since revision 1.55: +3 -4 lines
GatewayPorts for sshd, ok deraadt@

Revision 1.55: download - view: text, markup, annotated - select for diffs
Tue May 2 19:33:12 2000 UTC (10 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.54: preferred, coloured
Changes since revision 1.54: +26 -2 lines
set O_NONBLOCK

Revision 1.54: download - view: text, markup, annotated - select for diffs
Mon May 1 20:21:40 2000 UTC (10 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.53: preferred, coloured
Changes since revision 1.53: +3 -2 lines
unbreak, ok niels@

Revision 1.53: download - view: text, markup, annotated - select for diffs
Mon May 1 19:11:35 2000 UTC (10 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.52: preferred, coloured
Changes since revision 1.52: +6 -2 lines
EINTR

Revision 1.52: download - view: text, markup, annotated - select for diffs
Mon May 1 18:31:27 2000 UTC (10 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.51: preferred, coloured
Changes since revision 1.51: +57 -48 lines
init all fds, close all fds.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Apr 28 08:10:20 2000 UTC (10 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.50: preferred, coloured
Changes since revision 1.50: +126 -85 lines
support for x11-fwding, client+server

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Apr 16 16:40:43 2000 UTC (10 years, 11 months ago) by markus
Branches: MAIN
Diff to: previous 1.49: preferred, coloured
Changes since revision 1.49: +3 -3 lines
fix pr 1196, listen_port and port_to_connect interchanged

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Apr 14 10:30:30 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.48: preferred, coloured
Changes since revision 1.48: +42 -42 lines
whitespace cleanup

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Apr 14 10:09:14 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.47: preferred, coloured
Changes since revision 1.47: +11 -1 lines
check payload for (illegal) extra data

Revision 1.47: download - view: text, markup, annotated - select for diffs
Mon Apr 10 15:19:43 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.46: preferred, coloured
Changes since revision 1.46: +3 -1 lines
repair x11-fwd

Revision 1.46: download - view: text, markup, annotated - select for diffs
Thu Apr 6 09:43:15 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.45: preferred, coloured
Changes since revision 1.45: +4 -3 lines
no adjust after close

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Apr 4 06:18:01 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.44: preferred, coloured
Changes since revision 1.44: +8 -2 lines
close efd on eof

Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon Apr 3 07:07:15 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.43: preferred, coloured
Changes since revision 1.43: +424 -36 lines
channel layer support for ssh2

Revision 1.43: download - view: text, markup, annotated - select for diffs
Tue Mar 28 20:39:05 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.42: preferred, coloured
Changes since revision 1.42: +2 -2 lines
typo

Revision 1.42: download - view: text, markup, annotated - select for diffs
Tue Mar 28 20:33:50 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.41: preferred, coloured
Changes since revision 1.41: +6 -3 lines
missing close

Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Mar 28 20:31:25 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.40: preferred, coloured
Changes since revision 1.40: +675 -507 lines
replace big switch() with function tables (prepare for ssh2)

Revision 1.40: download - view: text, markup, annotated - select for diffs
Mon Mar 27 17:41:50 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.39: preferred, coloured
Changes since revision 1.39: +2 -2 lines
allow bigger packets

Revision 1.39: download - view: text, markup, annotated - select for diffs
Thu Mar 16 20:56:14 2000 UTC (11 years ago) by markus
Branches: MAIN
Diff to: previous 1.38: preferred, coloured
Changes since revision 1.38: +3 -3 lines
-pedantic: signed vs. unsigned, void*-arithm, etc

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Jan 24 20:37:29 2000 UTC (11 years, 2 months ago) by markus
Branches: MAIN
Diff to: previous 1.37: preferred, coloured
Changes since revision 1.37: +2 -4 lines
do not connect() if request has been denied.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Mon Jan 10 10:12:52 2000 UTC (11 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.36: preferred, coloured
Changes since revision 1.36: +35 -28 lines
discard data for channel if state != CHAN_OUTPUT_OPEN, fixes lockup

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Jan 4 07:52:03 2000 UTC (11 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.35: preferred, coloured
Changes since revision 1.35: +2 -2 lines
listen on _all_ interfaces for X11-Fwd (hints.ai_flags = AI_PASSIVE)

Revision 1.35: download - view: text, markup, annotated - select for diffs
Tue Jan 4 00:07:58 2000 UTC (11 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.34: preferred, coloured
Changes since revision 1.34: +194 -135 lines
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.34: download - view: text, markup, annotated - select for diffs
Mon Dec 27 09:48:38 1999 UTC (11 years, 3 months ago) by markus
Branches: MAIN
Diff to: previous 1.33: preferred, coloured
Changes since revision 1.33: +8 -9 lines
use packet_get_maxsize for channels. consistence.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Sun Dec 12 19:20:02 1999 UTC (11 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.32: preferred, coloured
Changes since revision 1.32: +10 -10 lines
type conflict for 'extern Type *options' in channels.c; dot@dotat.at

Revision 1.32: download - view: text, markup, annotated - select for diffs
Mon Dec 6 12:07:21 1999 UTC (11 years, 4 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.31: preferred, coloured
Changes since revision 1.31: +4 -3 lines
display great hatred towards strcpy

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Dec 1 13:59:15 1999 UTC (11 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.30: preferred, coloured
Changes since revision 1.30: +11 -13 lines
ports are u_short

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Nov 25 09:10:33 1999 UTC (11 years, 4 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.29: preferred, coloured
Changes since revision 1.29: +2 -2 lines
fix type

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Nov 24 20:07:25 1999 UTC (11 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.28: preferred, coloured
Changes since revision 1.28: +13 -7 lines
fix packet_integrity_check() for !have_hostname_in_open.
report from mrwizard@psu.edu via djm@ibs.com.au

Revision 1.28: download - view: text, markup, annotated - select for diffs
Wed Nov 24 20:02:11 1999 UTC (11 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.27: preferred, coloured
Changes since revision 1.27: +12 -2 lines
set SO_REUSEADDR and SO_LINGER for forwarded ports.
chip@valinux.com via damien@ibs.com.au

Revision 1.27: download - view: text, markup, annotated - select for diffs
Wed Nov 24 19:53:45 1999 UTC (11 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.26: preferred, coloured
Changes since revision 1.26: +216 -134 lines
KNF, final part 3

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Nov 24 00:26:01 1999 UTC (11 years, 4 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.25: preferred, coloured
Changes since revision 1.25: +16 -16 lines
much more KNF

Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Nov 23 22:25:53 1999 UTC (11 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.24: preferred, coloured
Changes since revision 1.24: +1172 -1225 lines
KNF part 1

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Nov 22 21:02:38 1999 UTC (11 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.23: preferred, coloured
Changes since revision 1.23: +2 -2 lines
syslog changes:
* Unified Logmessage for all auth-types, for success and for failed
* Standard connections get only ONE line in the LOG when level==LOG:
  Auth-attempts are logged only, if authentication is:
        a) successfull or
        b) with passwd or
        c) we had more than AUTH_FAIL_LOG failues
* many log() became verbose()
* old behaviour with level=VERBOSE

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Nov 19 19:58:18 1999 UTC (11 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.22: preferred, coloured
Changes since revision 1.22: +5 -5 lines
SSH_CMSG_MAX_PACKET_SIZE, some clients use this, some need this, niels@
[hope this time my ISP stays alive during commit]

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Nov 19 19:18:20 1999 UTC (11 years, 4 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.21: preferred, coloured
Changes since revision 1.21: +4 -4 lines
make this compile, bad markus

Revision 1.21: download - view: text, markup, annotated - select for diffs
Fri Nov 19 16:32:01 1999 UTC (11 years, 4 months ago) by markus
Branches: MAIN
Diff to: previous 1.20: preferred, coloured
Changes since revision 1.20: +5 -5 lines
SSH_CMSG_MAX_PACKET_SIZE, some clients use this, some need this, niels@

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Nov 11 23:36:52 1999 UTC (11 years, 5 months ago) by markus
Branches: MAIN
Diff to: previous 1.19: preferred, coloured
Changes since revision 1.19: +2 -1 lines
make all access to options via 'extern Options options'
and 'extern ServerOptions options' respectively;
options are no longer passed as arguments:
 * make options handling more consistent
 * remove #include "readconf.h" from ssh.h
 * readconf.h is only included if necessary

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Nov 2 19:42:35 1999 UTC (11 years, 5 months ago) by markus
Branches: MAIN
Diff to: previous 1.18: preferred, coloured
Changes since revision 1.18: +14 -4 lines
replace assert() with error, fatal or packet_disconnect

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Oct 28 21:26:09 1999 UTC (11 years, 5 months ago) by markus
Branches: MAIN
Diff to: previous 1.17: preferred, coloured
Changes since revision 1.17: +1 -4 lines
remove broken x11 fix and document istate/ostate

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Oct 26 22:39:44 1999 UTC (11 years, 5 months ago) by markus
Branches: MAIN
Diff to: previous 1.16: preferred, coloured
Changes since revision 1.16: +39 -40 lines
more usefull debug messages and simplify channel alloc code

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Oct 17 16:56:08 1999 UTC (11 years, 5 months ago) by markus
Branches: MAIN
CVS tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Diff to: previous 1.15: preferred, coloured
Changes since revision 1.15: +20 -25 lines
re-implement the proto-1.5 channel close protocol, see nchan.ms.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sat Oct 16 21:19:00 1999 UTC (11 years, 5 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.14: preferred, coloured
Changes since revision 1.14: +5 -5 lines
snprintf

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat Oct 16 20:47:13 1999 UTC (11 years, 5 months ago) by markus
Branches: MAIN
Diff to: previous 1.13: preferred, coloured
Changes since revision 1.13: +109 -57 lines
support for SSH protocol 1.5 which is poorly documented, the RFC.troff lies.
interops (x11,agent,etc) with 1.2.27 and protocol 1.3

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Oct 14 18:17:42 1999 UTC (11 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.12: preferred, coloured
Changes since revision 1.12: +31 -53 lines
fix old connect() race security-bug for ssh-agent and agent-forwarding
by removing the connect() junk, with the following restrictions:
1) change the version to "OpenSSH-1.1":
   agent-forwarding will work only between OpenSSH-1.1 client and
   OpenSSH-1.1 server
2) renamed the environment variable of OpenSSH-1.1 to
   "SSH_AUTH_SOCKET", since useing OpenSSH-1.0 ssh-add against the new
   ssh-agent does not work

Revision 1.12: download - view: text, markup, annotated - select for diffs
Tue Oct 5 22:18:52 1999 UTC (11 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.11: preferred, coloured
Changes since revision 1.11: +31 -24 lines
move auth-sockets to private dir
delete minfd residua

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Oct 4 20:45:01 1999 UTC (11 years, 6 months ago) by markus
Branches: MAIN
Diff to: previous 1.10: preferred, coloured
Changes since revision 1.10: +34 -82 lines
nuke genminfd/AUTH_FD

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sun Oct 3 19:22:38 1999 UTC (11 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.9: preferred, coloured
Changes since revision 1.9: +4 -4 lines
use SHUT_* symbols

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Sep 30 08:34:24 1999 UTC (11 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.8: preferred, coloured
Changes since revision 1.8: +2 -2 lines
even smaller

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu Sep 30 08:03:39 1999 UTC (11 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.7: preferred, coloured
Changes since revision 1.7: +2 -2 lines
IPPORT_RESERVED

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Sep 30 05:11:29 1999 UTC (11 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.6: preferred, coloured
Changes since revision 1.6: +1 -15 lines
do not bother with dinosaur pacification

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Sep 29 21:14:16 1999 UTC (11 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.5: preferred, coloured
Changes since revision 1.5: +4 -42 lines
numerous sprintf, strncpy, strcpy cleanups

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Sep 29 18:16:19 1999 UTC (11 years, 6 months ago) by dugsong
Branches: MAIN
Diff to: previous 1.4: preferred, coloured
Changes since revision 1.4: +2 -2 lines
update krb4/AFS support to ssh-1.2.27-afs-kerberos-pl1 level, clean up unused variables, update manpages

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Sep 29 00:10:16 1999 UTC (11 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.3: preferred, coloured
Changes since revision 1.3: +7 -3 lines
GatewayPorts and ssh -g; markus.friedl@informatik.uni-erlangen.de

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Sep 28 07:56:47 1999 UTC (11 years, 6 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.2: preferred, coloured
Changes since revision 1.2: +4 -2 lines
X11DisplayOffset; aaron

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 28 04:45:36 1999 UTC (11 years, 6 months ago) by provos
Branches: MAIN
Diff to: previous 1.1: preferred, coloured
Changes since revision 1.1: +7 -4 lines
convert all uses of gmp to SSL bignum
convert all used of rsa to SSL rsa functions
remove all use of randomstate to OpenBSD arc4random() and arc4_stir()
all this done at a long long night in Canada.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Sep 26 20:53:34 1999 UTC (11 years, 6 months ago) by deraadt
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

OpenBSD CVSweb server maintained by <beck@openbsd.org>