| Commit message (Expand) | Author | Files | Lines |
| 2018-10-01 | INSTALL: Update | Artyom V. Poptsov | 1 | -159/+157 |
| 2018-08-07 | libguile-ssh/channel-type.c (ptob_close): Bugfix: fix a segfault•••'ptob_close' would always get a segfault when it tried to free a closed
channel. This patch fixes that by adding a check if a channel is already
closed.
Reported by Michael Bowcutt <mbowcutt@case.edu> in
<https://github.com/artyom-poptsov/guile-ssh/issues/8>
and Njagi Mwaniki in a personal email.
* libguile-ssh/channel-type.c (ptob_close): Check if a channel is already
closed before trying to close and free it. Improve logging.
* libguile-ssh/log.c (_gssh_log_debug, _gssh_log_debug1): New procedures
* libguile-ssh/log.h: Likewise.
| Artyom V. Poptsov | 3 | -1/+33 |
| 2018-03-31 | README (Installation): Mention Parabola GNU/Linux | Artyom V. Poptsov | 1 | -0/+2 |
| 2018-03-27 | NEWS: Bump version to 0.11.3•••* NEWS: Update. Bump version to 0.11.3.
* configure.ac: Update.
v0.11.3 | Artyom V. Poptsov | 2 | -3/+3 |
| 2018-03-08 | modules/ssh/dist/node.scm: Update copyright dates | Artyom V. Poptsov | 1 | -1/+1 |
| 2018-03-08 | node.scm: Improve error handling•••* modules/ssh/dist/node.scm: Improve error handling: throw an error with the
current node and the error code from the server. Log errors to the main
log.
* doc/api-dist.texi: Update.
| Artyom V. Poptsov | 2 | -5/+11 |
| 2018-03-05 | node.scm (node-run-server): Check return code•••* modules/ssh/dist/node.scm (node-run-server): Check return code of the
executed command, throw a 'node-error' on a non-zero code.
* AUTHORS, NEWS, THANKS: Update.
| Artyom V. Poptsov | 4 | -7/+23 |
| 2017-06-19 | auth.scm: Add procedures for interacting w/ an OpenSSH agent•••* modules/ssh/auth.scm (openssh-agent-start, openssh-agent-info)
(openssh-agent-setenv): New procedures.
| Artyom V. Poptsov | 1 | -1/+81 |
| 2017-06-18 | NEWS: Bump version to 0.11.2•••* NEWS: Update. Bump version to 0.11.2.
* configure.ac: Update.
v0.11.2 | Artyom V. Poptsov | 2 | -4/+7 |
| 2017-06-18 | NEWS: Update | Artyom V. Poptsov | 1 | -3/+22 |
| 2017-06-16 | libguile-ssh: Always reset the channel and sftp streams when closing ports.•••See <https://bugs.gnu.org/26976>.
* libguile-ssh/channel-type.c (ptob_close): Move SCM_SETSTREAM(channel, NULL)
outside of "#if USING_GUILE_BEFORE_2_2".
* libguile-ssh/sftp-file-type.c (ptob_close): Likewise.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 2 | -2/+4 |
| 2017-06-16 | node.scm (node-eval): Always close the REPL channel.•••* modules/ssh/dist/node.scm (node-eval): Use 'dynamic-wind' to
systematically close REPL-CHANNEL.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 1 | -5/+12 |
| 2017-06-04 | session-func.c (guile_ssh_session_set): Throw an option with its value•••* libguile-ssh/session-func.c (guile_ssh_session_set): Throw an option along
with its value on an error.
| Artyom V. Poptsov | 1 | -2/+4 |
| 2017-06-04 | libguile-ssh/error.c: Add missing includes | Artyom V. Poptsov | 1 | -0/+1 |
| 2017-06-04 | libguile-ssh/log.h: Add missing includes; use ifndef | Artyom V. Poptsov | 1 | -0/+7 |
| 2017-05-23 | channel-func.c (guile_ssh_channel_open_forward): Log warnings•••* libguile-ssh/channel-func.c (guile_ssh_channel_open_forward): Log a warning
if a forwarding channel could not be open.
* tests/tunnel.scm ("port forwarding, direct, disconnected session"): New test
case.
| Artyom V. Poptsov | 2 | -1/+23 |
| 2017-05-22 | channel-type.c (print_channel): Add a check for Guile 2.2•••* libguile-ssh/channel-type.c (print_channel): Don't use 'SCM_PTAB_ENTRY'
macro if Guile 2.2 is used.
* libguile-ssh/channel-type.h (GSSH_VALIDATE_CHANNEL_DATA): Likewise.
| Artyom V. Poptsov | 2 | -0/+15 |
| 2017-05-22 | channel-func.c (guile_ssh_channel_get_exit_status): Handle freed channels•••* libguile-ssh/channel-func.c (guile_ssh_channel_get_exit_status): Throw
'wrong-type-arg' if a freed channel is passed as an argument.
* libguile-ssh/channel-type.h (GSSH_VALIDATE_OPEN_CHANNEL): Check if a channel
is freed.
* tests/client-server.scm ("channel-get-exit-status, freed channel"): New test
case.
* tests/common.scm (test-error-with-log/=): Check error key and message
properly.
(test-error-with-log): Check an error key.
(test-error-with-log/handler): Remove extra rules.
* NEWS: Update.
| Artyom V. Poptsov | 5 | -9/+53 |
| 2017-05-21 | channel-type.c (print_channel): Bugfix: Handle freed channels•••Guile-SSH would always crash with SIGSEGV errors when tried to print a freed
channel object (e.g. after calling 'close' on a channel). This patch fixes
the bug.
* libguile-ssh/channel-type.c (print_channel): Bugfix: Handle freed channels
properly.
* tests/client-server.scm ("channel-request-exec, printing a freed channel"):
New test case.
* NEWS: Update.
| Artyom V. Poptsov | 3 | -12/+45 |
| 2017-05-21 | log.c (_gssh_log_warning): New procedure•••* libguile-ssh/log.c (_gssh_log_warning): New procedure.
* libguile-ssh/log.h: Likewise.
* libguile-ssh/channel-func.c (guile_ssh_channel_get_exit_status): Issue a
warning if 'ssh_channel_get_exit_status' failed to get the exit status.
| Artyom V. Poptsov | 3 | -0/+24 |
| 2017-05-21 | log.c (_gssh_log_error): New procedure•••* libguile-ssh/log.c (_gssh_log_error): New procedure.
* libguile-ssh/log.h: Likewise.
* libguile-ssh/error.c (guile_ssh_error1): Use it.
| Artyom V. Poptsov | 3 | -10/+22 |
| 2017-05-21 | node.scm (node-guile-version): Bugfix•••'node-guile-version' would always fail due to a wrong call to 'rexec'
procedure passing it a node object instead of a session object. This patch
fixes the bug.
Reported by Mark H Weaver <mhw@netris.org> and Ludovic Courtès <ludo@gnu.org>:
<https://bugs.gnu.org/26976>
* modules/ssh/dist/node.scm (node-guile-version): Pass node session to a
'rexec' procedure instead of a node object.
* tests/common.scm (start-server/exec): Handle node version requests.
* tests/dist.scm ("node-guile-version, valid response"): New test case.
* NEWS: Update.
| Artyom V. Poptsov | 4 | -1/+39 |
| 2017-05-09 | NEWS: Bump version to 0.11.1•••* NEWS: Update. Bump version to 0.11.1.
* configure.ac: Update.
v0.11.1 | Artyom V. Poptsov | 2 | -2/+3 |
| 2017-05-09 | configure.ac: Bugfix: Don't make symlinks to 'sssh{,d}.scm'•••The building process would always fail on fresh source tree because
'configure' tried to make a symlink or a copy of files that were not
present yet. This patch fixes the building process.
Reported by Ludovic Courtès, on #guix IRC channel.
* configure.ac: Don't make symlinks to 'sssh.scm' and 'ssshd.scm'.
* examples/Makefile.am: Consider 'sssh.scm' and 'ssshd.scm' as generated
scripts to ensure that they are present in the build directory so
'sssh-ssshd.scm' test suite will not fail.
* NEWS: Update.
| Artyom V. Poptsov | 3 | -7/+24 |
| 2017-05-09 | README (Requirements): Update | Artyom V. Poptsov | 1 | -1/+2 |
| 2017-05-09 | NEWS: Bump version to 0.11.0•••* NEWS: Update. Bump version to 0.11.0.
* configure.ac: Update.
* build-aux/compile: Update.
v0.11.0 | Artyom V. Poptsov | 3 | -5/+10 |
| 2017-05-09 | tests/server-client.scm ("message-get-session"): Add additional delays | Artyom V. Poptsov | 1 | -0/+2 |
| 2017-05-09 | configure.ac: Bugfix: Symlink/copy sssh/ssshd to build directory•••'ssssh-ssshd.scm' test suite would always fail because it could not find the
generated scripts. This patch fixes the issue by making a symlink/copy of the
sssh/ssshd programs to the build directory.
* configure.ac: Bugfix: Symlink/copy sssh/ssshd to build directory.
| Artyom V. Poptsov | 1 | -0/+5 |
| 2017-05-08 | tests/dist.scm ("with-ssh") <server>: Wait before closing a channel | Artyom V. Poptsov | 1 | -0/+1 |
| 2017-05-08 | tests/Makefile.am (CLEANFILES): Add new logs | Artyom V. Poptsov | 1 | -0/+5 |
| 2017-05-08 | tests/sssh-ssshd.scm: Use separate error log file | Artyom V. Poptsov | 1 | -1/+1 |
| 2017-05-08 | tests/tunnel.scm ("call-with-ssh-forward"): Make TC more robust | Artyom V. Poptsov | 1 | -1/+2 |
| 2017-05-08 | tests/server-client.scm ("message-get-type"): Make TC more robust | Artyom V. Poptsov | 1 | -3/+10 |
| 2017-05-08 | tests/common.scm (start-server-loop): Improve logging and error handling | Artyom V. Poptsov | 1 | -6/+19 |
| 2017-05-08 | tests/dist.scm ("with-ssh") <server>: Close a channel•••* tests/dist.scm ("with-ssh") <server>: Close channel as soon as data sent to
the client.
| Artyom V. Poptsov | 1 | -1/+2 |
| 2017-05-08 | tests/tunnel.scm: Cleanup | Artyom V. Poptsov | 1 | -1/+1 |
| 2017-05-08 | AUTHORS: Update | Artyom V. Poptsov | 1 | -1/+32 |
| 2017-05-08 | doc/api-shell.texi: Fix grammar a bit | Artyom V. Poptsov | 1 | -1/+2 |
| 2017-05-08 | README (Installation): Add a link to the Docker image | Artyom V. Poptsov | 1 | -0/+3 |
| 2017-05-08 | modules/ssh/tunnel.scm: Update copyright dates | Artyom V. Poptsov | 1 | -1/+1 |
| 2017-05-03 | tunnel.scm (main-loop/reverse): Remove unused code•••* modules/ssh/tunnel.scm (main-loop/reverse): Remove unused code.
| Artyom V. Poptsov | 1 | -3/+1 |
| 2017-05-03 | tunnel.scm (tunnel-timeout/s+us): New procedure.•••* modules/ssh/tunnel.scm (tunnel-timeout/s+us): New procedure.
(main-loop): Use it.
| Artyom V. Poptsov | 1 | -8/+15 |
| 2017-05-03 | tunnel.scm (main-loop/reverse): Improve the code a bit•••* modules/ssh/tunnel.scm (main-loop/reverse): Improve the code a bit.
| Artyom V. Poptsov | 1 | -13/+13 |
| 2017-05-03 | tunnel.scm (main-loop/reverse) <tunnel-connect>: New procedure.•••* modules/ssh/tunnel.scm (main-loop/reverse) <tunnel-connect>: New procedure.
Use it to make a connection for a reverse tunnel.
| Artyom V. Poptsov | 1 | -3/+9 |
| 2017-05-02 | node.scm (rrepl-get-result): Fix code formatting•••* modules/ssh/dist/node.scm (rrepl-get-result): Fix code formatting.
| Artyom V. Poptsov | 1 | -3/+7 |
| 2017-05-02 | node.scm (rrepl-get-result): Handle unknown # objects properly•••The procedure would always fail to read unknown objects (e.g. instances
of Guile-SSH session) properly, raising an obscure errors like
"Unknown # object: #\<". Now the procedure raises 'node-repl-error'
with full evaluation result gotten from RREPL.
Reported by Mathieu, in
<https://github.com/artyom-poptsov/guile-ssh/issues/3>
* modules/ssh/dist/node.scm (rrepl-get-result): Handle unknown # objects
properly.
* tests/dist.scm ("rrepl-get-result, unknown # object error"): New test case.
* NEWS: Update
| Artyom V. Poptsov | 3 | -20/+50 |
| 2017-05-02 | TODO: Update | Artyom V. Poptsov | 1 | -0/+12 |
| 2017-04-30 | build: Generate and use libguile-ssh/config.h.•••Among other things, this allows us to work around broken guile-snarf
handling of whitespace arguments in Guile 2.2.1:
<https://bugs.gnu.org/25803>.
* configure.ac: Use 'AC_CONFIG_HEADER'.
* libguile-ssh/auth.c,
libguile-ssh/channel-func.c,
libguile-ssh/channel-main.c,
libguile-ssh/channel-type.c,
libguile-ssh/common.c,
libguile-ssh/error.c,
libguile-ssh/key-func.c,
libguile-ssh/key-main.c,
libguile-ssh/key-type.c,
libguile-ssh/log.c,
libguile-ssh/message-func.c,
libguile-ssh/message-main.c,
libguile-ssh/message-type.c,
libguile-ssh/server-func.c,
libguile-ssh/server-main.c,
libguile-ssh/server-type.c,
libguile-ssh/session-func.c,
libguile-ssh/session-main.c,
libguile-ssh/session-type.c,
libguile-ssh/sftp-file-main.c,
libguile-ssh/sftp-file-type.c,
libguile-ssh/sftp-session-func.c,
libguile-ssh/sftp-session-main.c,
libguile-ssh/sftp-session-type.c,
libguile-ssh/threads.c,
libguile-ssh/version.c: Include <config.h>.
Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
| Ludovic Courtès | 27 | -0/+53 |
| 2017-04-30 | node.scm (rrepl-get-result): Handle "unbound variable" errors•••The procedure would always fail to read "unbound variable" errors properly,
returning wrong result with only two values (current module name and current
language name). Now this bug should be fixed.
Reported by Mathieu, in
<https://github.com/artyom-poptsov/guile-ssh/issues/3>
* modules/ssh/dist/node.scm (rrepl-get-result): Handle "unbound variable"
errors.
* tests/dist.scm ("rrepl-get-result, unbound variable error"): New test case.
* AUTHORS, NEWS: Update.
| Artyom V. Poptsov | 4 | -2/+29 |
| 2017-04-23 | tests/tunnel.scm ("call-with-ssh-forward"): Wait for 1s before polling•••* tests/tunnel.scm ("call-with-ssh-forward"): Wait for 1s before polling to
prevent errors (yes, that's a dirty hack but it works for me... most of the
time.)
| Artyom V. Poptsov | 1 | -0/+1 |