Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Child process cleanup and debug information #4

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Child process cleanup and debug information #4

wants to merge 6 commits into from

Conversation

KLuka
Copy link

@KLuka KLuka commented Jan 14, 2015

Hi, i made some fixes for handling child process on session timeout and added some debug messages.

I have tested the changes on Ubuntu 12.04.4 and CentOS 6.6 and I think they work fine. Do you think that changes are OK and that you can merge them in your fork?

Have a nice day :)

KLuka and others added 5 commits January 13, 2015 13:04
* Added debug information when child process exits
	- pid of child process (service)
	- exit code (this should help for debuging issues related to "Session closed")

* Fixed status checking from waitpid() when child process exits
	- before we were checking wrong variable (checks were allways true)
	- now we use correct status variable
When browser tab/window is closed during active session, child process
stays alive forever (even if shellinaboxd is terminated).

https://code.google.com/p/shellinabox/issues/detail?id=103
https://code.google.com/p/shellinabox/issues/detail?id=203

* If session timeouts cleanup procedure is triggered. Procedure is executed
in launcher process, because this is parent of child (service) process.
There we can check, if we have correct child pid (stored in session) and
than we can terminate process.

* Added debug information about cleaning up child process
* Fixed debug formatting from previous commit
Disable SSLv2, SSLv3, and compression; generate new DH or ECDH keys
during each handshake; always start a new session on server
renegotiation; set a strong cipher list.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>

[ Patch from https://code.google.com/p/shellinabox/issues/detail?id=215 ]
@KLuka
Copy link
Author

KLuka commented Jan 28, 2015

I added some extra patches found on https://code.google.com/p/shellinabox/issues/list ...

@anilgulecha
Copy link
Owner

Thanks -- I'll take a look and integrate when I get a chance.

Now we are able to identify IE11 as MSIE browser and disable
compresion.

Patch taken from issue comments.

https://code.google.com/p/shellinabox/issues/detail?id=262
@xor-gate
Copy link

anilgulecha did you get time to test and integrate this in master?

@KLuka
Copy link
Author

KLuka commented Apr 20, 2015

@jerryjacobs Hi, we have this tested and integrated in our fork of shellinabox. There are also some other fixes and improvements.

@mr0riiz
Copy link

mr0riiz commented Aug 9, 2015

Hello,
i'm having some trouble with the install.
Should i have the normal shellinabox istalled at the same time?

i run ubuntu and i tried to follow the install process for debian, this was the result.
unavngivet

Please see if you can help me :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants