Package: shellinabox Version: 2.20+b1 On a fresh Debian Stretch install I cannot get shellinabox to respond, seems the web server side of it isn’t responding or providing a pool of connections. I reused a working configuration from Debian Jessie with no luck. See configuration details below. When attempting to access shellinabox over the port set I end up getting no output from shellinabox (also tried on default port with same results). I am using a proxy pass through apache, and the proxy appears to be working fine. I’ve included that config below for reproduction sake. With that said even accessing this on the box over localhost:4444 I still have the same issue, so presumably the proxy pass has no effect on this, especially since it was working on prior apache2 versions. Please let me know what other output/logs you might need to resolve this, I’ll gladly help out, thanks!
#shellinabox config (changed default port and set for localhost) # Should shellinaboxd start automatically SHELLINABOX_DAEMON_START=1 # TCP port that shellinboxd's webserver listens on SHELLINABOX_PORT=4444 # Parameters that are managed by the system and usually should not need # changing: # SHELLINABOX_DATADIR=/var/lib/shellinabox # SHELLINABOX_USER=shellinabox # SHELLINABOX_GROUP=shellinabox # Any optional arguments (e.g. extra service definitions). Make sure # that that argument is quoted. # # Beeps are disabled because of reports of the VLC plugin crashing # Firefox on Linux/x86_64. SHELLINABOX_ARGS="--no-beep --localhost-only” #systemctl status ● shellinabox.service - LSB: Shell In A Box Daemon Loaded: loaded (/etc/init.d/shellinabox; generated; vendor preset: enabled) Active: active (running) since Mon 2017-10-16 12:38:24 EDT; 27min ago Docs: man:systemd-sysv-generator(8) Process: 709 ExecStart=/etc/init.d/shellinabox start (code=exited, status=0/SUCCESS) Tasks: 2 (limit: 4915) CGroup: /system.slice/shellinabox.service ├─776 /usr/bin/shellinaboxd -q --background=/var/run/shellinaboxd.pid -c /var/lib/shellinabox -p 4444 -u shellinabox -g shellinabox --user-css Black on White:+/etc/shellinabox/options-enabled/00+Black on White.css,White On Black:-/etc/shellinabox/opti └─777 /usr/bin/shellinaboxd -q --background=/var/run/shellinaboxd.pid -c /var/lib/shellinabox -p 4444 -u shellinabox -g shellinabox --user-css Black on White:+/etc/shellinabox/options-enabled/00+Black on White.css,White On Black:-/etc/shellinabox/opti Oct 16 12:38:24 shellinabox-jeff systemd[1]: Starting LSB: Shell In A Box Daemon... Oct 16 12:38:24 shellinabox-jeff systemd[1]: Started LSB: Shell In A Box Daemon. #since systemctl status was cut off here is a ps faux showing the process so you can see all options root@shellinabox-jeff:~#ps faux | grep shellinabox root 8689 0.0 0.0 12784 976 pts/1 S+ 13:07 0:00 \_ grep shellinabox shellin+ 776 0.0 0.0 37308 4740 ? Ss 12:38 0:00 /usr/bin/shellinaboxd -q --background=/var/run/shellinaboxd.pid -c /var/lib/shellinabox -p 4444 -u shellinabox -g shellinabox --user-css Black on White:+/etc/shellinabox/options-enabled/00+Black on White.css,White On Black:-/etc/shellinabox/options-enabled/00_White On Black.css;Color Terminal:+/etc/shellinabox/options-enabled/01+Color Terminal.css,Monochrome:-/etc/shellinabox/options-enabled/01_Monochrome.css --no-beep --localhost-only shellin+ 777 0.0 0.0 37184 560 ? S 12:38 0:00 \_ /usr/bin/shellinaboxd -q --background=/var/run/shellinaboxd.pid -c /var/lib/shellinabox -p 4444 -u shellinabox -g shellinabox --user-css Black on White:+/etc/shellinabox/options-enabled/00+Black on White.css,White On Black:-/etc/shellinabox/options-enabled/00_White On Black.css;Color Terminal:+/etc/shellinabox/options-enabled/01+Color Terminal.css,Monochrome:-/etc/shellinabox/options-enabled/01_Monochrome.css --no-beep --localhost-only #journalctl root@shellinabox-jeff:~#journalctl -u shellinabox -- Logs begin at Mon 2017-10-16 12:38:15 EDT, end at Mon 2017-10-16 13:07:09 EDT. -- Oct 16 12:38:24 shellinabox-jeff systemd[1]: Starting LSB: Shell In A Box Daemon... Oct 16 12:38:24 shellinabox-jeff systemd[1]: Started LSB: Shell In A Box Daemon. #proxy setup <Location /test> ProxyPass http://localhost:4444/ ProxyPassReverse http://localhost:4444/ Order allow,deny Allow from all AuthUserFile /var/www/console.htpasswd AuthName "Login" AuthType Basic require valid-user require user test </Location> #apache log error showing proxy isn’t getting data fed to it, mod_proxy and mod_proxy_http are loaded on the apache install [Mon Oct 16 13:08:43.328886 2017] [proxy_http:error] [pid 6925] (20014)Internal error (specific information not available): [client 10.97.228.53:58733] AH01102: error reading status line from remote server localhost:4444, referer: http://10.97.64.23/test [Mon Oct 16 13:08:43.328931 2017] [proxy:error] [pid 6925] [client 10.97.228.53:58733] AH00898: Error reading from remote server returned by /test, referer: http://10.97.64.23/test Jeff Burns Engineering Systems Administrator 5011 Gate Parkway Building 100 Suite 225 Jacksonville, FL 32256 (800) 624 5999 ext 9325 www.efi.com<http://www.efi.com> Confidentiality notice: This message may contain confidential information. It is intended only for the person to whom it is addressed. If you are not that person, you should not use this message. We request that you notify us by replying to this message, and then delete all copies including any contained in your reply. Thank you.