Layer 4 load balancing NAT mode

NAT stands for Network Address Translation. In the NAT mode, the load-balancer will route traffic between user and server by changing destination IP address of the packets. TCP connection overview TCP connection is established between the client and the server. The...

Send users to the same server for imap and smtp

Synopsis You want to use Aloha load balancer in front of a mail platform, relying on HAProxy to achieve load-balancing. You mail platform delivers IMAP acts as a SMTP relay for your users. You want your users to use the same server for both protocols in order to take...

Protect your web server against slowloris

Slowloris??? Slowloris is a script which opens TCP connections and send HTTP headers very slowly to force webservers to keep connections opened. Slowloris purpose is to take all resources from one server for him, preventing any regular browser from using the service....

Maintain affinity based on SSL session ID

Synopsis When load balancing HTTPS, we can’t have access to HTTP protocol since everything is encrypted. So it’s hard to maintain connection persistence in such condition. Aloha load balancer allows you to maintain HTTPS sessions based on SSL connection...