Web Server

Correct IP logging with sslh

2 minute read Modified:

Logging when using sslh

On a server I use sslh to allow ssh to port 443 and allow serving https sites at the same time. But when this is used, the logging for the TLS/SSL vhosts all show 127.0.0.1 as the source IP. This post will fix this problem

Needed changes

The original documentation mentioned the transparent mode, but when I tried to set it up on a test system it didn’t work. After searching I found a good article which works and does not need iptables configuration.

Java Not Found

2 minute read Modified:

./java: No such file or directory

After a Debian upgrade from squeeze (via wheezy) to jessie, I got the following message when I tried to start tomcat on the machine:

/vol/www/tomcat/bin/catalina.sh: 1: eval: /usr/local/java7/bin/java: not found
Recent posts
- full list -