Commit graph

171 commits

Author SHA1 Message Date
zodiac
90d9d492b7 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.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@55 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-02 00:55:15 +00:00
zodiac
6e8862b6b5 Fix --cert option that was accidentally broken by the new --cert-fd support.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@53 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-22 02:37:46 +00:00
zodiac
db0a562025 Clean up white-space in usage message.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@52 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-22 01:31:42 +00:00
zodiac
05ba429e47 Removed extraneous "-c" option.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@51 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-22 00:55:14 +00:00
zodiac
646bd6a853 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.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@48 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-21 23:38:25 +00:00
zodiac
e40a555cbf Allow SSL certificate and key to be passed in through a file handle.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@46 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-17 03:37:20 +00:00
zodiac
f16b2cb543 Fixed a typo that could occasionally corrupt the default font.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@45 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-15 20:02:50 +00:00
zodiac
b9227e6abf Allow unknown search parameters in the CGI URL
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@43 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-15 03:13:49 +00:00
zodiac
c57b4aedad Make the CGI port and pid available to the web server.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@42 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-15 03:13:08 +00:00
zodiac
537d83a5b1 - Released version 2.1
- Fixed a few more build issues.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@36 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-12 18:59:06 +00:00
zodiac
2212ea7606 Added --no-beep command line option to avoid VLC plugins crashing Firefox.
Instead, switch to visual bell.

Made this the default for the Debian package.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@35 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-08 22:53:05 +00:00
zodiac
ee9a860bc2 Fixed a printf format error when compiling on 64bit.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@31 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-07 23:53:14 +00:00
zodiac
48a3768baa Found a work-around for gcc warning about type-punning.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@29 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-05 20:42:07 +00:00
zodiac
632460dbbe Allow multi-line selections in Firefox.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@28 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-02 20:55:43 +00:00
zodiac
71241318f0 Made vt100.js copyright dialog box more informative.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@27 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-02 20:43:33 +00:00
zodiac
046a9305c9 Updated copyright notice.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@25 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-02 06:09:13 +00:00
zodiac
8dc6ebbfa6 Negotiate session keys early, allowing web servers to perform authentication
when operating in CGI mode.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@24 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-01 23:16:32 +00:00
zodiac
60d6d8433a Fix a bug that could result in orphaned sessions if a browser just navigated
away from the page and never returned.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@23 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-01 18:17:44 +00:00
zodiac
35aa1a7881 - Tightened setuid operation to not allow any user or group changes.
- Added support for --cgi mode.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@22 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-01-01 05:53:04 +00:00
zodiac
59bc54424d Fixed a small number of typos and formatting inconsistencies.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@19 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2008-12-30 01:43:08 +00:00
zodiac
aab20f5ed0 First public release of the version 2.0 rewrite. This is the
first release of ShellInABox that supports an AJAX interface
instead of the original Java applet.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@2 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2008-12-29 23:57:07 +00:00