simon-git: putty (main): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sun Dec 13 16:12:47 GMT 2020
TL;DR:
7aca2747 sclog: log the size of allocated memory regions.
afd206ea Give psusan and Uppity different SSH banner text.
9c056047 psusan: add --listen option.
9ee03e5a psusan: write a man page.
f719271e Uppity: fix paste error in --help output.
e617a5b7 Rename manpage sources in the doc subdirectory.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer: Simon Tatham <anakin at pobox.com>
Date: 2020-12-13 16:12:47
commit 7aca274789415e2adbdd23f6877c128298a56eb2
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=7aca274789415e2adbdd23f6877c128298a56eb2;hp=2f832bb21fd7fc47fc9f49230c5c523c7133b378
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Dec 13 12:31:42 2020 +0000
sclog: log the size of allocated memory regions.
This occurred to me recently as a (very small) hole in the logging
strategy: if the size of an allocated memory block depended on some
secret data, it certainly would change the control flow and memory
access pattern inside malloc, but since we disable logging inside
malloc, the log file from this test suite would never see the
difference.
Easily fixed by printing the size of each block in the code that
intercepts malloc and realloc. As expected, no test actually fails as
a result of filling in this gap.
test/sclog/sclog.c | 2 ++
1 file changed, 2 insertions(+)
commit afd206ea405c083ecae71ad618b5f910af3eca81
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=afd206ea405c083ecae71ad618b5f910af3eca81;hp=7aca274789415e2adbdd23f6877c128298a56eb2
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Dec 13 11:09:51 2020 +0000
Give psusan and Uppity different SSH banner text.
'Uppity' is the name of a program that's only useful for debugging, so
I'd rather not have its name reused by psusan which I'm polishing up
to be actually useful to end users (if rather specialist ones).
So SshServerConfig now has an 'application name' field which is used
as the application name in the SSH banner, and Uppity sets it to
"Uppity" while psusan sets it to "PSUSAN".
sshserver.c | 2 +-
sshserver.h | 1 +
unix/uxpsusan.c | 1 +
unix/uxserver.c | 1 +
4 files changed, 4 insertions(+), 1 deletion(-)
commit 9c0560472237f2abf7a550eaa5821b5a68fb9119
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=9c0560472237f2abf7a550eaa5821b5a68fb9119;hp=afd206ea405c083ecae71ad618b5f910af3eca81
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Dec 13 11:54:45 2020 +0000
psusan: add --listen option.
In some applications of psusan, it's useful to establish a fixed
listening endpoint on a Unix-domain socket. You can make this happen
using an external helper program (effectively behaving like a
specialised inetd), but it's more convenient to have it built in to
psusan itself, and not really very difficult since Uppity had all the
necessary code already.
I've also added the --listen-once option from Uppity, and for good
measure, the --verbose option (so that psusan in listening mode can
show connections and disconnections on its original standard error).
unix/uxpsusan.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 file changed, 89 insertions(+), 5 deletions(-)
commit 9ee03e5adb549f58d58c57b5fcb9a9d7740f5ac3
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=9ee03e5adb549f58d58c57b5fcb9a9d7740f5ac3;hp=9c0560472237f2abf7a550eaa5821b5a68fb9119
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Dec 13 12:30:19 2020 +0000
psusan: write a man page.
I've been collecting actual examples of things I've used psusan for,
and now I think I have enough of them to make some kind of case for
why it's a useful tool. So I've written a man page, and dumped all my
collected examples in there.
doc/Makefile | 3 +-
doc/man-psusan.but | 342 +++++++++++++++++++++++++++++++++++++++++++++++++++++
unix/uxpsusan.c | 21 +++-
3 files changed, 363 insertions(+), 3 deletions(-)
commit f719271ec7ae2d67d32b602c55bc917fdf6be685
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=f719271ec7ae2d67d32b602c55bc917fdf6be685;hp=9ee03e5adb549f58d58c57b5fcb9a9d7740f5ac3
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Dec 13 12:31:16 2020 +0000
Uppity: fix paste error in --help output.
--verbose sends log messages to standard _error_, not standard output.
unix/uxserver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e617a5b7689ee76152257196799e4e44441b43cb
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=e617a5b7689ee76152257196799e4e44441b43cb;hp=f719271ec7ae2d67d32b602c55bc917fdf6be685
Author: Simon Tatham <anakin at pobox.com>
Date: Sun Dec 13 12:35:04 2020 +0000
Rename manpage sources in the doc subdirectory.
When I added the psusan man page, I noticed that they've all got
impenetrable names like 'man-pl.but' to fit within 8.3 naming. But
this source base hasn't had to worry about 8.3 naming conventions in a
long time, so I think I can safely rename all those files to ones
whose purpose is more obvious.
doc/Makefile | 14 +++++++-------
doc/{man-pag.but => man-pageant.but} | 0
doc/{man-pl.but => man-plink.but} | 0
doc/{man-psft.but => man-psftp.but} | 0
doc/{man-pter.but => man-pterm.but} | 0
doc/{man-putt.but => man-putty.but} | 0
doc/{man-pg.but => man-puttygen.but} | 0
doc/{man-ptel.but => man-puttytel.but} | 0
8 files changed, 7 insertions(+), 7 deletions(-)
More information about the tartarus-commits
mailing list