Commit graph

9 commits

Author SHA1 Message Date
zodiac@gmail.com
9b0a937e35 Started working on support for WebSockets.
Fixed some compiler warnings when compiling with -Wextra

Thanks to Jan Jaeger's excellent bug report, made some changes
that should make it easier to build ShellInABox for OpenWRT.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@202 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2010-03-29 16:40:17 +00:00
zodiac@gmail.com
0fcf50735e Allow retrieval of the user's default login shell from /etc/passwd.
Allow the code to be built without support for the LOGIN service, as
calling /bin/login does not work well on Fedora.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@198 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-12-04 06:33:36 +00:00
zodiac
94e7bd4dd3 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.


git-svn-id: https://shellinabox.googlecode.com/svn/trunk@162 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-08-08 22:07:42 +00:00
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@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
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
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
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
706fbf9ebe Add config.h and config.h.in to the source repository.
git-svn-id: https://shellinabox.googlecode.com/svn/trunk@60 0da03de8-d603-11dd-86c2-0f8696b7b6f9
2009-02-12 00:49:37 +00:00