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.
Markus Gutschke [Mon, 2 Feb 2009 00:55:15 +0000 (00:55 +0000)]
Added better compatibility with different versions of compilers and libaries.
In particular, work around a problem with gcc complaining about NULL format
strings. And added additional system header files that might be required on
some platforms.
This should fix some of the problems reported when compiling on BSD-style
systems. But we are still using SysV style session management code. This
probably needs to be rewritten before ShellInABox can be run on BSD-style
system.
In particular, we rely on grantpt(), we use the utmpx API, and we access
/dev/urandom.
Markus Gutschke [Wed, 21 Jan 2009 23:38:25 +0000 (23:38 +0000)]
Clean up feature selection in JavaScript code, and add a new feature that
disables the "SSL" context menu option.
Tweaked initial handshake for SSL certificate negotiation when using --cert-fd
and --cgi.