simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Thu Mar 28 20:33:03 GMT 2019


TL;DR:
  4d69032d New utility function to read a whole disk file.
  8a884eae Start of an SSH-server-specific config structure.
  e566972f Uppity: configurable SSH-2 authentication banner.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2019-03-28 20:33:03

commit 4d69032d2cc6991a6a2f410f041a8c9541e68598
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4d69032d2cc6991a6a2f410f041a8c9541e68598;hp=fda1e6b71ff404aa7a8763fba1f39d91976be0ab
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Mar 28 18:12:48 2019 +0000

    New utility function to read a whole disk file.
    
    I'm going to want this in a moment for Uppity, and it seems like the
    sort of thing I should put straight into utils.c now, rather than
    having to move it over later when I inevitably find another use for
    it.
    
    Rather than insisting on allocating a string buffer the way fgetline
    does, it reads a whole file and transfers the result into an arbitrary
    BinarySink, which works out the same if you use a strbuf at the call
    site, but can do other things too if that turns out useful.

 misc.h  |  1 +
 utils.c | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

commit 8a884eaef931cbe1db16ed130a5bf0fdb2386456
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=8a884eaef931cbe1db16ed130a5bf0fdb2386456;hp=4d69032d2cc6991a6a2f410f041a8c9541e68598
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Mar 28 18:29:13 2019 +0000

    Start of an SSH-server-specific config structure.
    
    This is much simpler than Conf, because I don't expect to have to copy
    it around, load or save it to disk (or the Windows registry), or
    serialise it between processes. So it can be a straightforward struct.
    
    As yet there's nothing actually _in_ it. I've just created the
    structure and arranged to pass it through to all the SSH layers. But
    now it's here, it will be a place I can add configuration items as I
    find I need them.

 defs.h                  |  1 +
 ssh.c                   |  2 +-
 ssh1connection-server.c |  8 ++++++++
 ssh1connection.h        |  2 ++
 ssh1login-server.c      |  5 ++++-
 ssh2connection-server.c |  4 +++-
 ssh2connection.h        |  1 +
 ssh2transport.c         |  5 +++--
 ssh2transport.h         |  2 ++
 ssh2userauth-server.c   |  5 ++++-
 sshppl.h                |  2 +-
 sshserver.c             | 15 ++++++++++-----
 sshserver.h             | 17 +++++++++++++----
 unix/uxserver.c         |  5 ++++-
 14 files changed, 57 insertions(+), 17 deletions(-)

commit e566972f00f528eb7ed5e5fa468f53ed3c0074e8
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=e566972f00f528eb7ed5e5fa468f53ed3c0074e8;hp=8a884eaef931cbe1db16ed130a5bf0fdb2386456
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Mar 28 18:36:45 2019 +0000

    Uppity: configurable SSH-2 authentication banner.
    
    I've had to test banner handling several times recently, what with
    trust sigils and the fix for CONF_ssh_show_banner. So it's the thing
    I've most wanted to keep reconfiguring about Uppity so far.

 ssh2userauth-server.c |  7 +++++++
 sshserver.h           |  2 +-
 unix/uxserver.c       | 17 +++++++++++++++++
 3 files changed, 25 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list