zodiac
8920606f6f
Optionally compress large responses, if the browser accepts deflate compression. This mainly improves start up time.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@142 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-08 08:33:36 +00:00
zodiac
ca18a5346f
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.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@141 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-07 00:40:51 +00:00
zodiac
bb4dbaa5f5
Making it easier to host the terminal on non-root URLs by always redirecting to a URL that includes a trailing slash.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@140 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-06 16:27:11 +00:00
zodiac
8ff79d1ce7
Released version 2.9
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@139 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-06 04:28:59 +00:00
zodiac
5df28de89c
- Refined regular expressions for finding URLs.
...
- Show new terminal size when resizing the browser.
- Restored compatibility with IE5 and IE6.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@137 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-05 02:45:49 +00:00
zodiac
cedb046244
Fixed a null pointer dereference that could be triggered by using non-standard
...
service definitions.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@136 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-04 08:46:28 +00:00
zodiac
9713e1d58c
Fixed vt100.jspp so that it can be used without shell_in_a_box.jspp. This
...
broke demo.jspp.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@135 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-04 08:31:39 +00:00
zodiac
19177de98c
Added --linkify option. Default settings cause the terminal to recognize fully qualified URLs and to make them clickable.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@134 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-07-04 08:16:07 +00:00
zodiac
ee1cd17b18
Additional fixes for dealing with keyboard layouts that need AltGr as a
...
second level chooser.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@133 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-30 17:14:35 +00:00
zodiac
f613bc1ca8
Added support for keyboards that have a dedicated "<" / ">" key.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@132 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-28 20:22:29 +00:00
zodiac
62d5195057
Document the "--localhost-only" option
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@126 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-21 20:06:21 +00:00
zodiac@gmail.com
5ec8c4c19b
Added new "--localhost-only" command line option.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@125 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-21 19:55:20 +00:00
zodiac@gmail.com
6dbbe62310
Added code so that "objcopy" picks an appropriate target architecture when
...
building for ARM.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@124 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-21 19:41:32 +00:00
zodiac@gmail.com
2c090c8beb
Respect "Connection: close" if sent by the browser.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@123 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-06-21 18:51:14 +00:00
zodiac@gmail.com
db631d5e35
Added SSL support for OpenBSD
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@122 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-25 06:03:26 +00:00
zodiac@gmail.com
adadddf91c
Released version 2.8
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@121 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-23 19:53:09 +00:00
zodiac@gmail.com
60b5f38d74
Improved support for entering non-ASCII characters.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@120 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-23 05:56:16 +00:00
zodiac
41fd8f3ea5
Fixed various issues with building on OpenBSD
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@119 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-05-21 07:50:22 +00:00
zodiac
abb9a50f3b
Fixed variable expansion in service descriptions.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@118 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-28 07:12:55 +00:00
zodiac
28b65c9f2a
Released version 2.7
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@117 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-27 16:54:17 +00:00
zodiac
3bacdb002b
- 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.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@115 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-16 20:54:08 +00:00
zodiac
0258d46926
- 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()
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@114 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-16 05:33:05 +00:00
zodiac
f8c85ae26f
Released version 2.6
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@113 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-04-12 17:26:58 +00:00
zodiac
6021dd8aaa
Force updating revision numbers in Javascript files, when running the commit script.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@103 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 17:34:36 +00:00
zodiac
81845fd5f7
Log fatal error messages even in "quiet" mode. Allow overriding more of the
...
default values needed by the system startup script.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@101 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 16:09:37 +00:00
zodiac
3e0241dde3
Added initial revision of demo application
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@93 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-30 08:41:48 +00:00
zodiac
2f6b0934ee
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.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@89 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-23 23:12:17 +00:00
zodiac
0596dc00c3
Possible fix for IE problems with horizontal positioning of cursor if the line
...
ends in spaces.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@85 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-21 16:49:17 +00:00
zodiac
b2737d02f6
More IE5.5 and IE6 tweaks. Those browsers are surprisingly finicky. Everything
...
else is better at following the specs...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@83 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-21 06:05:59 +00:00
zodiac
f6f51448d5
IE has a slightly different box model than other browsers. Compensate for it.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@82 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-20 06:39:50 +00:00
zodiac
cdd4ae34eb
Tweaked cursor positioning code, and added explicit no-cache headers to our
...
responses. This might help with reported IE6 problems.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@81 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-19 22:10:48 +00:00
zodiac
e1863d0a47
More IE6 tweaks. Allow root to listen on privileged ports.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@80 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-18 18:15:28 +00:00
zodiac
dfa84116fa
Firefox didn't like the IE6 fix. Tweaked it some more.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@79 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-18 01:12:57 +00:00
zodiac
b008c44be2
Removed alert() statement that should never trigger.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@78 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-17 17:54:04 +00:00
zodiac
97fff401a3
Fixed IE6 support, and fixed possible memory corruption, when sessions
...
time out.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@77 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-17 17:51:42 +00:00
zodiac
85ae25cdf5
Fixed some compiler warnings that newer versions of GCC issue.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@75 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-03-16 15:08:11 +00:00
zodiac
2d4768183b
Better error reporting if forkpty() fails.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@74 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-28 07:57:46 +00:00
zodiac
b0341e1549
Added fallback on old-style pty's, if /dev/pts is not mounted.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@73 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-28 05:34:21 +00:00
zodiac
86dc79030d
Work-around for systems that don't define a "nogroup" group.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@72 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-28 04:15:34 +00:00
zodiac
11cda91356
Remove the dependency on fdopendir, which does not exist everywhere.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@71 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-28 02:45:18 +00:00
zodiac
cc09440d27
Include Subversion revision number in user-visible version number.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@67 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 05:26:58 +00:00
zodiac
0d37b2ff6e
Fixed SVN properties.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@66 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 04:37:38 +00:00
zodiac
84dcc33650
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.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@65 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 04:13:47 +00:00
zodiac
530182d15e
Only defined binary conversation support, if actually available.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@64 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 00:59:34 +00:00
zodiac
cc8979092c
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.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@63 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-17 00:51:41 +00:00
zodiac
11d1a710f2
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.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@62 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-15 20:01:53 +00:00
zodiac
1e27276feb
Use a config.h file, instead of passing configuration options on the compiler's
...
command line.
Fix fatal compilation warning when building without SSL support.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@59 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-11 23:25:15 +00:00
zodiac
f969b8b19c
Fixed cursor hiding and showing.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@58 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-09 17:15:32 +00:00
zodiac
ef921b0ba2
Fixed various rendering glitches reported by Phil Endecott of Anyterm ( http://anyterm.org ) fame.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@57 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-09 00:13:48 +00:00
zodiac
75c09f9f83
Make code a little more portable. In particular, fix sed scripts.
...
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@56 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-02 21:42:33 +00:00
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