Tag: haproxy

Source IP Addresses, STunnel, Haproxy and Server Logs

When using proxies such as STunnel and HAProxy it’s easy to loose track of the client source IP address. This occurs for example when HAProxy is used in it’s default configuration to load balance a number of back-end web servers. By default, the source IP address of the packet reaching the web servers is the IP address of the load balancer and not the IP address of the client

3 Ways To Send HAProxy Health Check Email Alerts

To follow up to Aarons blog on HAProxy emails alerts using logwatch I was looking into different ways to achieve the same results. Now the ideal way to monitor the health of the real servers is to to have a dedicated monitoring system in place such as Nagios( It even has a HAProxy plugin )

Microsoft drops support for mstshash cookies confirmed

Well it looks like Microsoft have indeed silently dropped support for mstshash cookies for load balancing as suspected in my last post. As detailed in the last post we had a call open with Microsoft and have just received the following response that confirms our suspicions that they have in fact dropped support for mstshash silently in favour of their Session Directory/Broker solutions.

Microsoft drops support for mstshash cookies?

Recently we have seen quite a few customer issues where using RDP cookies (mstshash cookies see – http://www.snakelegs.org for more details) seems to result in multiple active sessions over several RDP servers as shown below (Notice the user Rob on both TS Servers). So we decided to investigate this and find out why……..

Setting up HAProxy with Transparent Mode on Centos 6.x

Transparent mode with HAProxy allows you to see the IP Address of the clients computer while still having a high availability service using HAProxy. This posting shows how to setup a blank virgin installation of Centos 6.3 64bit minimum installation.

Apache and X-Forwarded-For Headers

As a follow on to my previous blog, its easier to get Apache to log client IP addresses utilizing X-Forwarded-For headers than it is using IIS. By default, the logs do not record source IP addresses for clients but this is very easy to change using the LogFormat directive in the httpd.conf file as explained