Markus Gutschke [Thu, 2 Sep 2010 23:42:42 +0000 (23:42 +0000)]
Force a zero pixel margin on the <body> tag. Without this change, ShellInABox
would occasionally think that it was in "embedded" mode, whenever the user
applied a scaling factor (e.g. by pressing CTRL-Minus).
Markus Gutschke [Fri, 27 Aug 2010 22:22:15 +0000 (22:22 +0000)]
Fixed a check() failure that was caused by incorrect handling of partially
processed buffers. I believe, this could only be triggered by clients that
enabled HTTP pipelining. That might explain why we haven't seen bug reports
any earlier.
Markus Gutschke [Fri, 9 Jul 2010 15:48:51 +0000 (15:48 +0000)]
Removed non-standard fields from updwtmpx() wrapper function. This should improve
compatibility with systems that implement updwtmp() but not updwtmpx().
Also, changed Makefile rules in an attempt to improve compatibility with BSD
make utilities.
Markus Gutschke [Wed, 31 Mar 2010 16:07:06 +0000 (16:07 +0000)]
Thanks to some more testing and additional information provided by Jan Jaeger,
we now have a much cleaner solution for building ShellInABox on OpenWRT.
Markus Gutschke [Tue, 30 Mar 2010 17:16:49 +0000 (17:16 +0000)]
OpenWRT builds with a toolchain that doesn't set correct entries in the ELF
headers, giving us no way to auto-detect the architecture. We have to
hard-code the flags that we pass to objcopy. Unfortunately, we have to do
this for all MIPS targets. This could conceivably break building the code
on other MIPS targets. If that happens, we'll deal with it at that time.
Markus Gutschke [Sun, 16 Aug 2009 05:20:09 +0000 (05:20 +0000)]
Internet Explorer still doesn't properly support CSS. In particular, it has
problems dealing with "inherit" styles. This prevented proper switching
between color and monochrome.
Markus Gutschke [Sat, 15 Aug 2009 22:55:02 +0000 (22:55 +0000)]
Simplify the code that compresses HTTP replies. This also gives us the ability
to manipulate headers more easily. We now add "Connection: close" in more cases
where we force a closing of the connection.
Markus Gutschke [Wed, 12 Aug 2009 02:32:26 +0000 (02:32 +0000)]
Included example style sheets that allow switching to white-on-black or to
monochrome mode from the right click context menu. This required a couple of
architectural changes to the JavaScript code.
Markus Gutschke [Tue, 11 Aug 2009 07:21:51 +0000 (07:21 +0000)]
Initial version of code that allows users to interactively select from
different style sheet options. This code is still incomplete and subject to
change (e.g. the command line syntax might still change). But it is good
enough to demonstrate the concept on simple style sheets (such as selecting
between normal and reverse video).
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()