From 62d519505711ae064c1fa125fad418d0b7a959fa Mon Sep 17 00:00:00 2001 From: zodiac Date: Sun, 21 Jun 2009 20:06:21 +0000 Subject: [PATCH] Document the "--localhost-only" option git-svn-id: https://shellinabox.googlecode.com/svn/trunk@126 0da03de8-d603-11dd-86c2-0f8696b7b6f9 --- config.h | 2 +- configure | 2 +- configure.ac | 2 +- demo/vt100.js | 2 +- shellinabox/shell_in_a_box.js | 2 +- shellinabox/shellinaboxd.man.in | 8 ++++++++ shellinabox/vt100.js | 2 +- 7 files changed, 14 insertions(+), 6 deletions(-) diff --git a/config.h b/config.h index b4fee8a..d1a386c 100644 --- a/config.h +++ b/config.h @@ -132,7 +132,7 @@ #define STDC_HEADERS 1 /* Most recent revision number in the version control system */ -#define VCS_REVISION "125" +#define VCS_REVISION "126" /* Version number of package */ #define VERSION "2.8" diff --git a/configure b/configure index 289a34f..118403c 100755 --- a/configure +++ b/configure @@ -2037,7 +2037,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $ ac_compiler_gnu=$ac_cv_c_compiler_gnu -VCS_REVISION=125 +VCS_REVISION=126 cat >>confdefs.h <<_ACEOF diff --git a/configure.ac b/configure.ac index 929a5f0..462a3c1 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ(2.57) dnl This is the one location where the authoritative version number is stored AC_INIT(shellinabox, 2.8, markus@shellinabox.com) -VCS_REVISION=125 +VCS_REVISION=126 AC_SUBST(VCS_REVISION) AC_DEFINE_UNQUOTED(VCS_REVISION, "${VCS_REVISION}", [Most recent revision number in the version control system]) diff --git a/demo/vt100.js b/demo/vt100.js index 76acb4d..05646e6 100644 --- a/demo/vt100.js +++ b/demo/vt100.js @@ -1500,7 +1500,7 @@ VT100.prototype.toggleBell = function() { }; VT100.prototype.about = function() { - alert("VT100 Terminal Emulator " + "2.8 (revision 125)" + + alert("VT100 Terminal Emulator " + "2.8 (revision 126)" + "\nCopyright 2008-2009 by Markus Gutschke\n" + "For more information check http://shellinabox.com"); }; diff --git a/shellinabox/shell_in_a_box.js b/shellinabox/shell_in_a_box.js index ab00bb1..a432539 100644 --- a/shellinabox/shell_in_a_box.js +++ b/shellinabox/shell_in_a_box.js @@ -355,7 +355,7 @@ ShellInABox.prototype.extendContextMenu = function(entries, actions) { }; ShellInABox.prototype.about = function() { - alert("Shell In A Box version " + "2.8 (revision 125)" + + alert("Shell In A Box version " + "2.8 (revision 126)" + "\nCopyright 2008-2009 by Markus Gutschke\n" + "For more information check http://shellinabox.com" + (typeof serverSupportsSSL != 'undefined' && serverSupportsSSL ? diff --git a/shellinabox/shellinaboxd.man.in b/shellinabox/shellinaboxd.man.in index b9acfc4..18af92c 100644 --- a/shellinabox/shellinaboxd.man.in +++ b/shellinabox/shellinaboxd.man.in @@ -58,6 +58,7 @@ shellinaboxd \- publish command line shell through AJAX interface [\ \fB-f\fP\ | \fB--static-file=\fP\fIurl\fP:\fIfile\fP\ ] [\ \fB-g\fP\ | \fB--group=\fP\fIgid\fP\ ] [\ \fB-h\fP\ | \fB--help\fP\ ] +[\ \fB--localhost-only\fP\ ] [\ \fB--no-beep\fP\ ] [\ \fB-n\fP\ | \fB--numeric\fP\ ] [\ \fB-p\fP\ | \fB--port=\fP\fIport\fP\ ] @@ -251,6 +252,13 @@ runs as. \fB-h\fP\ |\ \fB--help\fP Display a brief usage message showing the valid command line parameters. .TP +\fB--localhost-only\fP +Normally, +.B shellinaboxd +listens on all available network interfaces. When operating behind a +reverse-proxy that is not always desirable. This command line option +tells the daemon to only listen on the loopback interface. +.TP \fB--no-beep\fP not only are audible signals undesired in some working environments, but browser support for media playback is often buggy, too. Setting this option diff --git a/shellinabox/vt100.js b/shellinabox/vt100.js index 76acb4d..05646e6 100644 --- a/shellinabox/vt100.js +++ b/shellinabox/vt100.js @@ -1500,7 +1500,7 @@ VT100.prototype.toggleBell = function() { }; VT100.prototype.about = function() { - alert("VT100 Terminal Emulator " + "2.8 (revision 125)" + + alert("VT100 Terminal Emulator " + "2.8 (revision 126)" + "\nCopyright 2008-2009 by Markus Gutschke\n" + "For more information check http://shellinabox.com"); };