log svr-chansession.c @ 1692:1051e4eea25a

age author description
Sat, 14 Mar 2020 23:28:18 +0800 Matt Johnston Set SSH_ORIGINAL_COMMAND for "dropbear -c" too, fix build without
Wed, 20 Mar 2019 14:44:49 +0000 Patrick Stewart Support servers without multiple user support (#76)
Wed, 14 Nov 2018 22:57:56 +0800 Matt Johnston Split ChanType closehandler() and cleanup() so that dbclient doesn't
Sat, 17 Feb 2018 04:27:37 +0100 François Perrad more linting (#55)
Thu, 20 Jul 2017 19:38:26 +0000 Michael Witten options: Complete the transition to numeric toggles (`#if')
Wed, 14 Feb 2018 23:09:28 +0800 Matt Johnston fix compile warnings
Wed, 14 Feb 2018 23:06:01 +0800 Matt Johnston make signal flags volatile, simplify handling
Sat, 19 Aug 2017 22:39:53 +0200 Francois Perrad Pointer parameter could be declared as pointing to const (callback)
Sat, 19 Aug 2017 17:16:13 +0200 Francois Perrad Pointer parameter could be declared as pointing to const
Fri, 01 Jan 2016 11:46:58 +0100 Francois Perrad initialize variable
Wed, 04 May 2016 15:33:40 +0200 Matt Johnston Convert #ifdef to #if, other build changes
Tue, 12 Apr 2016 21:01:08 +0800 Jeremy Kerr Add -c <command> option to force a specific command
Wed, 21 Oct 2015 22:08:47 +0800 Guilhem Moulin Don't display the MOTD when an explicit command is run.
Thu, 04 Jun 2015 23:08:50 +0800 Matt Johnston Merge pull request #13 from gazoo74/fix-warnings
Sat, 02 May 2015 23:32:13 +0200 Gaël PORTAY Turn signame local variable into char *
Sat, 02 May 2015 23:28:28 +0200 Gaël PORTAY Turn ChanSess's cmd attribute into char *
Sun, 03 May 2015 01:12:24 +0200 Gaël PORTAY Turn type local variable into char *
Sat, 02 May 2015 16:01:13 +0200 Gaël PORTAY Turn ChanSess's tty and term attributes into char *
Sat, 02 May 2015 15:59:06 +0200 Gaël PORTAY Fix pointer differ in signess warnings [-Werror=pointer-sign]
Sat, 02 May 2015 16:02:22 +0200 Gaël PORTAY Fix unused make_connection_string() warning [-Werror=unused-function]
Tue, 24 Feb 2015 22:23:32 +0800 Matt Johnston Revert accidental commented out signal handlers
Tue, 24 Feb 2015 22:01:33 +0800 Matt Johnston Free memory before exiting. Based on patch from Thorsten Horstmann.
Tue, 24 Feb 2015 20:51:18 +0800 Thorsten Horstmann Fix for old compilers, variable declarations at beginning of functions
Tue, 21 Oct 2014 22:33:49 +0800 Matt Johnston Combine code for SSH_CONNECTION and SSH_CLIENT
Mon, 20 Oct 2014 12:59:47 -0500 Ryan Cleere Add SSH_CLIENT environment variable
Tue, 19 Aug 2014 23:08:56 +0800 Matt Johnston Make keepalive handling more robust, this should now match what OpenSSH does
Mon, 28 Jul 2014 23:23:49 +0800 Matt Johnston Make sure the check_close() handler runs when a server child process exits
Wed, 16 Jul 2014 22:53:32 +0800 Matt Johnston Set tcp priority as follows:
Sat, 15 Feb 2014 21:13:57 +0800 Matt Johnston - Save errno in signal handlers
Tue, 03 Dec 2013 00:04:48 +0800 Matt Johnston - Sockets are set to lowdelay priority initially to improve conneciton setup
Mon, 02 Dec 2013 22:55:43 +0800 Catalin Patulea Set IPTOS_LOWDELAY on PTY sessions only
Thu, 14 Nov 2013 22:05:47 +0800 Matt Johnston rename random.h to dbrandom.h since some OSes have a system random.h
Mon, 12 Aug 2013 22:41:00 +0800 Matt Johnston Remove accidental one second sleep leftover from debugging
Fri, 29 Jun 2012 23:19:43 +0800 Matt Johnston Improve RNG seeding.
Mon, 26 Mar 2012 16:17:16 +0400 Andrey Mazo Fixed compilation with unset ENABLE_{SVR,CLI}_AGENTFWD.
Mon, 09 Apr 2012 20:35:13 +0800 Matt Johnston Rename HAVE_FORK to USE_VFORK
Sun, 08 Apr 2012 01:50:52 -0400 Mike Frysinger check for fork() and not __uClinux__
Sun, 04 Dec 2011 05:41:46 +0800 Matt Johnston - Initialise sa_mask properly
Tue, 21 Feb 2012 23:00:30 +0800 Matt Johnston - Merge
Tue, 21 Feb 2012 22:57:19 +0800 Matt Johnston - Make sure sa_mask is set
Sun, 04 Dec 2011 05:31:25 +0800 Matt Johnston - Fix use-after-free if multiple command requests were sent. Move
Thu, 31 Mar 2011 14:42:11 +0000 Matt Johnston Avoid segfault when handling childpid race
Mon, 28 Feb 2011 13:39:18 +0000 Matt Johnston Compile fix for when both client and server agent forwarding is disabled
Wed, 23 Feb 2011 15:50:30 +0000 Matt Johnston Improve capitalisation for all logged strings
Thu, 04 Mar 2010 14:50:19 +0000 Matt Johnston don't #include "utmp.h"
Sat, 05 Sep 2009 11:40:00 +0000 Matt Johnston Move remotehost into svr_ses structure since we can't look it up
Wed, 02 Sep 2009 14:47:12 +0000 Matt Johnston - Set $SSH_CONNECTION
Tue, 01 Sep 2009 16:38:26 +0000 Matt Johnston Rearrange getaddrstring() etc
Mon, 31 Aug 2009 15:25:39 +0000 Matt Johnston - set $SSH_TTY environment variable
Wed, 26 Aug 2009 14:09:22 +0000 Matt Johnston - set $SSH_ORIGINAL_COMMAND if a command is forced, and log it
Thu, 30 Jul 2009 15:14:33 +0000 Matt Johnston Agent forwarding works agent-client
Wed, 05 Nov 2008 13:30:23 +0000 Matt Johnston - Set a default path, since bash won't export one otherwise (though it will set
Mon, 29 Sep 2008 13:53:31 +0000 Matt Johnston - Add Counter Mode support
Tue, 23 Sep 2008 13:16:22 +0000 Matt Johnston propagate from branch 'au.asn.ucc.matt.dropbear.pubkey-options' (head 537a6ebebb46424b967ffe787f0f8560e5f447e8)
Mon, 15 Sep 2008 14:04:55 +0000 Matt Johnston - Add run_shell_command() function to run a "sh -c" command, handling
Mon, 15 Sep 2008 13:41:18 +0000 Matt Johnston - Generalise spawn_command function
Mon, 15 Sep 2008 13:06:40 +0000 Matt Johnston - Get rid of some ugly #defines
Mon, 08 Sep 2008 15:14:02 +0000 Matt Johnston * Patch from Frédéric Moulins adding options to authorized_keys. pubkey-options
Sun, 13 Jan 2008 04:02:08 +0000 Matt Johnston fix up after merge
Sun, 13 Jan 2008 04:01:46 +0000 Matt Johnston merge of '295b11312e327fe6c4f33512674ea4a1a9790344'
Sun, 13 Jan 2008 03:55:59 +0000 Matt Johnston Make a copy of passwd fields since getpwnam()'s retval isn't safe to keep
Fri, 02 Nov 2007 15:03:16 +0000 Matt Johnston Actually use ~/.hushlogin rather than ~/hushlogin to ignore motd.
Mon, 12 Feb 2007 13:32:30 +0000 Matt Johnston Revert to default sigchld handler after forking, don't exit channel-fix
Mon, 12 Feb 2007 10:39:22 +0000 Matt Johnston - Fix bug in child-exit handling where the wrong pid was being matched. channel-fix
Fri, 09 Feb 2007 10:43:16 +0000 Matt Johnston Improve behaviour when flushing out after a process has exited. channel-fix
Sat, 03 Feb 2007 08:22:58 +0000 Matt Johnston propagate from branch 'au.asn.ucc.matt.dropbear' (head b1dd3b94e60a07a176dba2b035ac79968595990a) channel-fix
Sat, 03 Feb 2007 08:20:45 +0000 Matt Johnston merge of '1dfbc5ef92391d01b576c8506061927869a89887' channel-fix
Sat, 03 Feb 2007 08:20:30 +0000 Matt Johnston merge of '1250b8af44b62d8f4fe0f8d9fc7e7a1cc34e7e1c'
Sat, 03 Feb 2007 08:10:09 +0000 Matt Johnston disapproval of revision '1250b8af44b62d8f4fe0f8d9fc7e7a1cc34e7e1c' channel-fix
Sat, 03 Feb 2007 08:09:55 +0000 Matt Johnston disapproval of revision '2186a678a5f79ef432f6593a10e3e13df2a313d5'
Wed, 06 Dec 2006 13:11:41 +0000 Matt Johnston merge of '182c2d8dbd5321ef4d1df8758936f4dc7127015f'
Thu, 02 Nov 2006 16:52:59 +0000 Matt Johnston comment about putenv() leaking malloced variables
Thu, 02 Nov 2006 14:55:17 +0000 Matt Johnston make code clearer and more robust (from Klocwork)
Mon, 09 Oct 2006 16:31:00 +0000 Matt Johnston Passes most test cases now channel-fix
Mon, 02 Oct 2006 16:34:06 +0000 Matt Johnston Rearranged some more bits, marked some areas that need work. channel-fix
Sun, 01 Oct 2006 16:35:13 +0000 Matt Johnston just shuffle some variables names about, a brief comment channel-fix
Mon, 07 Aug 2006 13:41:23 +0000 Matt Johnston merge of '9a4e042fd565f46141e81e0c1ab90260303348fe'
Mon, 07 Aug 2006 13:41:16 +0000 Matt Johnston Add (disabled by default) LOG_COMMANDS option to log the commands executed
Fri, 07 Jul 2006 09:18:05 +0000 Matt Johnston Make flow of execution clearer for getting process exit status
Sun, 11 Jun 2006 16:19:32 +0000 Matt Johnston progress towards exiting on writefd closure rather than
Mon, 27 Mar 2006 15:13:48 +0000 Matt Johnston send success message for successful window change request
Mon, 27 Mar 2006 08:36:44 +0000 matt-ucc *hack hack hack* ucc-axis-hack
Sun, 26 Mar 2006 13:18:30 +0000 matt-ucc fix up newlines for the serial bit ucc-axis-hack
Sun, 26 Mar 2006 13:05:31 +0000 matt-ucc serial works better. enable DSS. ucc-axis-hack
Sat, 25 Mar 2006 18:35:35 +0000 matt-ucc add break handler ucc-axis-hack
Sat, 25 Mar 2006 17:31:52 +0000 matt-ucc progress for serial logins ucc-axis-hack
Sat, 25 Mar 2006 17:12:50 +0000 Matt Johnston Use password file, add serial option ucc-axis-hack
Wed, 08 Mar 2006 12:53:11 +0000 Matt Johnston merge of 4c883eb469d2d251ee8abddbc11ae4005db6da17
Wed, 08 Mar 2006 12:41:27 +0000 Matt Johnston * Per-IP connection unauthed connection limits
Tue, 28 Feb 2006 04:04:27 +0000 Matt Johnston merge of 50848a51c2f9867bc10e81826190dbc326ea16b9
Tue, 28 Feb 2006 04:03:49 +0000 Matt Johnston Merge of the uClinux-dist patch, should work in inetd mode
Sat, 11 Feb 2006 15:15:37 +0000 Matt Johnston Only read /dev/random once when the program starts
Thu, 08 Dec 2005 11:45:33 +0000 Matt Johnston * fix incorrect array sizing
Thu, 20 Oct 2005 16:53:12 +0000 Matt Johnston * rename infd/outfd to writefd/readfd, to avoid confusion
Mon, 05 Sep 2005 15:16:10 +0000 Matt Johnston * use own assertions which should get logged properly
Thu, 02 Jun 2005 22:53:18 +0000 Matt Johnston * fix off-by-one closing open FDs
Fri, 27 May 2005 16:34:57 +0000 Matt Johnston Seperate out exit errors from setgid()/initgroups(), and errors from setuid(),
Sun, 13 Mar 2005 13:58:14 +0000 Matt Johnston * fix longstanding bug with connections being closed on failure to
Wed, 19 Jan 2005 11:41:04 +0000 Matt Johnston put back 'return;' on empty terminal mode strings which was erroneously
Sun, 02 Jan 2005 20:25:56 +0000 Matt Johnston Fixed DEBUG_TRACE macro so that we don't get semicolons left about the place
Sun, 17 Oct 2004 08:19:47 +0000 Matt Johnston Initialise the "lastexit" variable so that we don't get session channels
Tue, 21 Sep 2004 10:08:21 +0000 Matt Johnston propagate of 82bb923d0154750ef716b66b498561f882891946 and f51a272341ee12268fe7028bc2f2bad66c603069 from branch 'matt.dbclient.work' to 'matt.dbclient.rez' private-rez
Tue, 31 Aug 2004 08:52:41 +0000 Matt Johnston WCOREDUMP finally
Fri, 27 Aug 2004 14:39:01 +0000 Matt Johnston merge of 50be59810e462f9f44f55e421227d6aa0b31982b
Thu, 26 Aug 2004 13:16:40 +0000 Matt Johnston - added circular buffering for channels
Wed, 18 Aug 2004 16:42:08 +0000 Matt Johnston Mention the race condition between setting the childpid entry, and
Tue, 17 Aug 2004 09:56:23 +0000 Matt Johnston fix for AIX not having WCOREDUMP
Thu, 12 Aug 2004 16:41:58 +0000 Matt Johnston Merging in the changes from 0.41-0.43 main Dropbear tree
Tue, 10 Aug 2004 17:09:52 +0000 Matt Johnston just checkpointing
Sun, 01 Aug 2004 08:54:01 +0000 Matt Johnston - Added terminal mode handling etc for the client, and window change
Tue, 27 Jul 2004 16:30:46 +0000 Matt Johnston Progressing client support
Tue, 20 Jul 2004 12:05:00 +0000 Matt Johnston switching to global vars
Thu, 03 Jun 2004 17:22:48 +0000 Matt Johnston Mostly done with the listener changeover
Thu, 03 Jun 2004 16:45:53 +0000 Matt Johnston - Reworked non-channel fd handling to listener.c
Wed, 02 Jun 2004 04:59:49 +0000 Matt Johnston Chantype handling is sorted
Tue, 01 Jun 2004 10:48:46 +0000 Matt Johnston Sorted out the first channel init issues.
Tue, 01 Jun 2004 02:46:09 +0000 Matt Johnston Makefile.in contains updated files required