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……..
HAProxy Alerts (for V7 Loadbalancer.org Appliance)
In this Blog I show a very simple solution to get Layer 7 (HAProxy) alerts configured using Logwatch. First from the WUI : 1.
HAProxy Email Alerts Guide
In this guide I show a very simple solution to get HAProxy email alerts configured using Logwatch. While the first part is aimed at users of our V7 appliance I think anyone wanting to get email alerts for HAProxy will also find this a good example. First from the WUI : 1.
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.
Load Balancing Exchange 2010 CAS Array with HAProxy (Quick Guide)
This Blog is for anyone wanting to load balance the Exchange 2010 CAS role using only open source software. To start with you will need a Linux system installed with either access to a HAProxy RPM/DEB or the tools to compile this yourself.
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
IIS and X-Forwarded-For Header
So, you’re using IIS and you want to track your clients by IP address in your IIS logs. Unfortunately, out of the tin, this is simply not possible