Markus Gutschke [Sun, 9 Aug 2009 19:08:40 +0000 (19:08 +0000)]
Sanitize the SSH command line a little more.
Show the real host name in the SSH password prompt, if available.
Add some commented-out debugging helpers for tracking down problems with non-US keyboards.
Markus Gutschke [Sat, 8 Aug 2009 22:07:42 +0000 (22:07 +0000)]
Even if ShellInABox is running with SSL support disabled, if the user connected
to it over HTTPS (e.g. because the SSL encryption is done by a reverse proxy
in front of the daemon), we should not redirect away from the HTTPS session.
Markus Gutschke [Thu, 30 Jul 2009 17:40:54 +0000 (17:40 +0000)]
- Added the --css command line option to make incremental changes to the style sheet without having to load a full replacement with the --static-file option. Added an example that enables white text on a black background.
- Added Debian specific documentation to the manual page.
Markus Gutschke [Mon, 27 Jul 2009 20:09:33 +0000 (20:09 +0000)]
- Perform all URL rewriting before loading the first resource (e.g. style sheets).
- Allow reverse proxies to do their own SSL encryption even if ShellInABox explicitly disabled encryption.
Markus Gutschke [Mon, 27 Jul 2009 18:31:05 +0000 (18:31 +0000)]
Use JavaScript redirection for attaching the missing slash to
the URL. This should make it easier to use reverse proxies. It was
already possible to run shellinaboxd behind a proxy, but a lot of
users got the configuration wrong.
Markus Gutschke [Mon, 13 Jul 2009 16:51:09 +0000 (16:51 +0000)]
On Debian systems, library dependencies and overall compatibility is improved
if we do not load libssl and libpam dynamically with dlopen(). Instead,
directly link against these libraries.
Markus Gutschke [Wed, 8 Jul 2009 17:34:55 +0000 (17:34 +0000)]
Include some more of the autotools dependencies. This might make it easier for
users that want to track development with 'svn update', but who use a different
version of autotools than the one that is checked into SVN.
Markus Gutschke [Wed, 8 Jul 2009 17:08:47 +0000 (17:08 +0000)]
More fine tuning of the regular expressions that detect URLs. We now allow '.' and ',' in URLs, as long as they are not at the very end of the URL, where they would probably be part of the enclosing sentence and not actually part of the URL.
Markus Gutschke [Tue, 7 Jul 2009 00:40:51 +0000 (00:40 +0000)]
Run-time testing for availability of libpthread functions does not
work reliably on some platforms. So, avoid doing so on anything other
than Linux/i386. For all other platforms, assume that the code is not
linked against libpthread. For ShellInABox, this is always the correct
assumption. But if the code gets embedded into other projects, this
might have to be changed.
Markus Gutschke [Thu, 16 Apr 2009 20:54:08 +0000 (20:54 +0000)]
- Make the code actually do, what the comments say (i.e. skip PAM account
management, if we don't have the privileges to do so, anyway)
- Make ssl.h compile again, even if OpenSSL is not found at compile time.
Markus Gutschke [Thu, 16 Apr 2009 05:33:05 +0000 (05:33 +0000)]
- Add support for commands that want to read before they write anything.
- A couple of changes to avoid false error messages in valgrind.
- Fixed a bug that could potentially lead to a double-free()
Markus Gutschke [Mon, 30 Mar 2009 16:55:00 +0000 (16:55 +0000)]
Added "NEW" command to demo BASIC interpreter. Still not very useful, but we
now have some of the basic framework in place to implement a minimalistic
interpreter.
Markus Gutschke [Mon, 23 Mar 2009 23:12:17 +0000 (23:12 +0000)]
Renamed the JavaScript source files to *.jspp and the pre-processed files
to *.js. Checked both versions of the file into SVN, so that users can
directly access the preprocessed files, if they don't want to rebuild them.
Markus Gutschke [Mon, 23 Mar 2009 16:15:27 +0000 (16:15 +0000)]
Addes a dependency on the "openssl" command line tool to the Debian package.
This is needed to create self-signed certificates, if no other SSL certificates
are available.
Markus Gutschke [Tue, 17 Feb 2009 04:13:47 +0000 (04:13 +0000)]
Allow "configure" to explicitly disable OpenSSL and PAM support. Also, allow
OpenSSL and PAM libraries to be optionally linked as regular shared libraries
instead of being searched for and loaded at run-time.
Markus Gutschke [Tue, 17 Feb 2009 00:51:41 +0000 (00:51 +0000)]
Fixed FreeBSD support. We now find both /bin/login and /usr/bin/login. We
provide our own conversation function, if PAM misc is not available. We
rely on login_tty to set up the terminal for us. And we avoid a few other
API uses that turned out to be Linux specific extensions.
Markus Gutschke [Sun, 15 Feb 2009 20:01:53 +0000 (20:01 +0000)]
Work-around for compilers that turn on "-Wformat=2" by default. This is an
ill-advised choice, as this particular compiler options has a tendency to
generate a lot of false positives.