<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_openssh/nchan.c, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/'/>
<entry>
<title>upstream: When system calls indicate an error they return -1, not</title>
<updated>2019-07-05T01:10:39+00:00</updated>
<author>
<name>deraadt@openbsd.org</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2019-06-28T13:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/commit/?id=4d28fa78abce2890e136281950633fae2066cc29'/>
<id>4d28fa78abce2890e136281950633fae2066cc29</id>
<content type='text'>
some arbitrary value &lt; 0.  errno is only updated in this case.  Change all
(most?) callers of syscalls to follow this better, and let's see if this
strictness helps us in the future.

OpenBSD-Commit-ID: 48081f00db7518e3b712a49dca06efc2a5428075
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
some arbitrary value &lt; 0.  errno is only updated in this case.  Change all
(most?) callers of syscalls to follow this better, and let's see if this
strictness helps us in the future.

OpenBSD-Commit-ID: 48081f00db7518e3b712a49dca06efc2a5428075
</pre>
</div>
</content>
</entry>
<entry>
<title>upstream: when the peer sends a channel-close message, make sure we</title>
<updated>2018-10-04T07:50:22+00:00</updated>
<author>
<name>djm@openbsd.org</name>
<email>djm@openbsd.org</email>
</author>
<published>2018-10-04T07:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/commit/?id=e0d6501e86734c48c8c503f81e1c0926e98c5c4c'/>
<id>e0d6501e86734c48c8c503f81e1c0926e98c5c4c</id>
<content type='text'>
close the local extended read fd (stderr) along with the regular read fd
(stdout). Avoids weird stuck processed in multiplexing mode.

Report and analysis by Nelson Elhage and Geoffrey Thomas in bz#2863

ok dtucker@ markus@

OpenBSD-Commit-ID: a48a2467fe938de4de69d2e7193d5fa701f12ae9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
close the local extended read fd (stderr) along with the regular read fd
(stdout). Avoids weird stuck processed in multiplexing mode.

Report and analysis by Nelson Elhage and Geoffrey Thomas in bz#2863

ok dtucker@ markus@

OpenBSD-Commit-ID: a48a2467fe938de4de69d2e7193d5fa701f12ae9
</pre>
</div>
</content>
</entry>
<entry>
<title>upstream: include a little more information about the status and</title>
<updated>2018-10-04T00:44:49+00:00</updated>
<author>
<name>djm@openbsd.org</name>
<email>djm@openbsd.org</email>
</author>
<published>2018-10-04T00:10:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/commit/?id=f1dd179e122bdfdb7ca3072d9603607740efda05'/>
<id>f1dd179e122bdfdb7ca3072d9603607740efda05</id>
<content type='text'>
disposition of channel's extended (stderr) fd; makes debugging some things a
bit easier. No behaviour change.

OpenBSD-Commit-ID: 483eb6467dc7d5dbca8eb109c453e7a43075f7ce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
disposition of channel's extended (stderr) fd; makes debugging some things a
bit easier. No behaviour change.

OpenBSD-Commit-ID: 483eb6467dc7d5dbca8eb109c453e7a43075f7ce
</pre>
</div>
</content>
</entry>
<entry>
<title>upstream commit</title>
<updated>2017-09-12T07:37:03+00:00</updated>
<author>
<name>djm@openbsd.org</name>
<email>djm@openbsd.org</email>
</author>
<published>2017-09-12T06:35:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/commit/?id=9f53229c2ac97dbc6f5a03657de08a1150a9ac7e'/>
<id>9f53229c2ac97dbc6f5a03657de08a1150a9ac7e</id>
<content type='text'>
Make remote channel ID a u_int

Previously we tracked the remote channel IDs in an int, but this is
strictly incorrect: the wire protocol uses uint32 and there is nothing
in-principle stopping a SSH implementation from sending, say, 0xffff0000.

In practice everyone numbers their channels sequentially, so this has
never been a problem.

ok markus@

Upstream-ID: b9f4cd3dc53155b4a5c995c0adba7da760d03e73
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make remote channel ID a u_int

Previously we tracked the remote channel IDs in an int, but this is
strictly incorrect: the wire protocol uses uint32 and there is nothing
in-principle stopping a SSH implementation from sending, say, 0xffff0000.

In practice everyone numbers their channels sequentially, so this has
never been a problem.

ok markus@

Upstream-ID: b9f4cd3dc53155b4a5c995c0adba7da760d03e73
</pre>
</div>
</content>
</entry>
<entry>
<title>upstream commit</title>
<updated>2017-09-12T07:37:02+00:00</updated>
<author>
<name>djm@openbsd.org</name>
<email>djm@openbsd.org</email>
</author>
<published>2017-09-12T06:32:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/commit/?id=dbee4119b502e3f8b6cd3282c69c537fd01d8e16'/>
<id>dbee4119b502e3f8b6cd3282c69c537fd01d8e16</id>
<content type='text'>
refactor channels.c

Move static state to a "struct ssh_channels" that is allocated at
runtime and tracked as a member of struct ssh.

Explicitly pass "struct ssh" to all channels functions.

Replace use of the legacy packet APIs in channels.c.

Rework sshd_config PermitOpen handling: previously the configuration
parser would call directly into the channels layer. After the refactor
this is not possible, as the channels structures are allocated at
connection time and aren't available when the configuration is parsed.
The server config parser now tracks PermitOpen itself and explicitly
configures the channels code later.

ok markus@

Upstream-ID: 11828f161656b965cc306576422613614bea2d8f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
refactor channels.c

Move static state to a "struct ssh_channels" that is allocated at
runtime and tracked as a member of struct ssh.

Explicitly pass "struct ssh" to all channels functions.

Replace use of the legacy packet APIs in channels.c.

Rework sshd_config PermitOpen handling: previously the configuration
parser would call directly into the channels layer. After the refactor
this is not possible, as the channels structures are allocated at
connection time and aren't available when the configuration is parsed.
The server config parser now tracks PermitOpen itself and explicitly
configures the channels code later.

ok markus@

Upstream-ID: 11828f161656b965cc306576422613614bea2d8f
</pre>
</div>
</content>
</entry>
<entry>
<title>upstream commit</title>
<updated>2017-05-01T00:05:06+00:00</updated>
<author>
<name>djm@openbsd.org</name>
<email>djm@openbsd.org</email>
</author>
<published>2017-04-30T23:28:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/commit/?id=930e8d2827853bc2e196c20c3e000263cc87fb75'/>
<id>930e8d2827853bc2e196c20c3e000263cc87fb75</id>
<content type='text'>
obliterate ssh1.h and some dead code that used it

ok markus@

Upstream-ID: 1ca9159a9fb95618f9d51e069ac8e1131a087343
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
obliterate ssh1.h and some dead code that used it

ok markus@

Upstream-ID: 1ca9159a9fb95618f9d51e069ac8e1131a087343
</pre>
</div>
</content>
</entry>
<entry>
<title>upstream commit</title>
<updated>2017-04-30T23:42:37+00:00</updated>
<author>
<name>djm@openbsd.org</name>
<email>djm@openbsd.org</email>
</author>
<published>2017-04-30T23:13:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/commit/?id=97f4d3083b036ce3e68d6346a6140a22123d5864'/>
<id>97f4d3083b036ce3e68d6346a6140a22123d5864</id>
<content type='text'>
remove compat20/compat13/compat15 variables

ok markus@

Upstream-ID: 43802c035ceb3fef6c50c400e4ecabf12354691c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
remove compat20/compat13/compat15 variables

ok markus@

Upstream-ID: 43802c035ceb3fef6c50c400e4ecabf12354691c
</pre>
</div>
</content>
</entry>
<entry>
<title>   - djm@cvs.openbsd.org 2010/01/26 01:28:35</title>
<updated>2010-01-26T02:26:22+00:00</updated>
<author>
<name>Damien Miller</name>
<email>djm@mindrot.org</email>
</author>
<published>2010-01-26T02:26:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/commit/?id=e1537f951fa87e4d070adda82b474b25cf4902ec'/>
<id>e1537f951fa87e4d070adda82b474b25cf4902ec</id>
<content type='text'>
     [channels.c channels.h clientloop.c clientloop.h mux.c nchan.c ssh.c]
     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@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
     [channels.c channels.h clientloop.c clientloop.h mux.c nchan.c ssh.c]
     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@
</pre>
</div>
</content>
</entry>
<entry>
<title>   - stevesk@cvs.openbsd.org 2008/11/07 18:50:18</title>
<updated>2008-11-11T05:32:25+00:00</updated>
<author>
<name>Darren Tucker</name>
<email>dtucker@zip.com.au</email>
</author>
<published>2008-11-11T05:32:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/commit/?id=b57fab6b0b7b30d279bea89409a684b2793fd924'/>
<id>b57fab6b0b7b30d279bea89409a684b2793fd924</id>
<content type='text'>
     [nchan.c]
     add space to some log/debug messages for readability; ok djm@ markus@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
     [nchan.c]
     add space to some log/debug messages for readability; ok djm@ markus@
</pre>
</div>
</content>
</entry>
<entry>
<title>   - markus@cvs.openbsd.org 2008/09/11 14:22:37</title>
<updated>2008-11-03T08:20:10+00:00</updated>
<author>
<name>Damien Miller</name>
<email>djm@mindrot.org</email>
</author>
<published>2008-11-03T08:20:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_openssh/commit/?id=456e6f0ebb27b4851363422aa9974b0848d4b168'/>
<id>456e6f0ebb27b4851363422aa9974b0848d4b168</id>
<content type='text'>
     [compat.c compat.h nchan.c ssh.c]
     only send eow and no-more-sessions requests to openssh 5 and newer;
     fixes interop problems with broken ssh v2 implementations; ok djm@
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
     [compat.c compat.h nchan.c ssh.c]
     only send eow and no-more-sessions requests to openssh 5 and newer;
     fixes interop problems with broken ssh v2 implementations; ok djm@
</pre>
</div>
</content>
</entry>
</feed>
