preload preload preload preload

ufw – Uncomplicated Firewall

Description ufw is stands for Uncomplicated Firewall, this program is for managing a Linux firewall and aims to provide an easy to use interface for the user, as well as support package integration and dynamic-detection of open ports. ufw  is not intended to provide complete firewall functionality via its command interface, but ...
0

URL Redirecting (301,302) in Varnish

There is no straight forward method for 301/302 URL redirection as we did with rewrite rule. But there are some situations where we need to redirect a URL on a host to some URL on different host. In this situation we need to use 301/302 redirection.  There are two ways we can implement this. First method is to use  set req.http.host ...
0

Varnish Configuration and Settings

!-- @page { size: 21cm 29.7cm; margin: 2cm } P { margin-bottom: 0.21cm } --> Varnish is a reverse proxy or http accelerator that uses serverside caching to increase the speed of servicing HTTP requests for use in things such as websites. The varnishd daemon accepts HTTP requests from clients, passes them on to a backend server ...
0

How to synchronize the System Times

Introduction OpenNTPD is a Unix system daemon implementing the Network Time Protocol to synchronize the local clock of a computer system with remote NTP servers. OpenNTPD is primarily developed by Henning Brauer as part of the OpenBSD project. Its design goals include being secure (non-exploitable), easy to configure, accurate ...
0

website performance testing using httperf

Introduction httperf is a tool to measure web server  performance. Example $ httperf --server haproxy.com --port=80 --uri /frontend_dev.php --num-conns=25 httperf --client=0/1 --server=haproxy.com --port=80 --uri=/frontend_dev.php --send-buffer=4096 --recv-buffer=16384 --num-conns=25 --num-calls=1 Maximum connect burst length: ...
0

iptables port forwarding on ubuntu

What is Port Forwarding? Port forwarding is a feature of the IPTables system. It allows one computer to forward connections made to it so that another computer can actually process the request. If you want a very simple metaphor you can think of it as mail forwarding. Each computer has a number of addresses called ports, and ...
1

Bandwidth Monitoring Using Iptables

In Linux there has a number of useful bandwidth monitoring tools such as nload, netwatch, iftop, trafshow, bandwidthd, vnstat. If all you need is a basic overview of your total bandwidth usage, iptables is all you really need. Usually we use iptables for setting firewall and port forwardings, but iptables also provides packet and byte ...
0

Logrotate in linux

Logrotate Log files are important for Linux system security and trouble shooting.  Log files tend to grow, and if a log grows too much you compress it and takes the backup. Logrotate enables you to do this in a much better way. The process that is in charge of compressing and rotating these logfiles is called logrotate and it is executed once per day upon Debian installations. Here you will find the logrotate driver script. Every day this script ...
0

Apache Load Balance Using Haproxy

Haproxy HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing. Supporting tens of thousands of connections is clearly realistic ...
4

Monitoring services using Mon

Monitoring services using Mon mon is a general-purpose scheduler and alert management tool used for monitoring service availability and triggering alerts upon failure detection. Mon uses some Linux command and services such as ping command to check host connectivity and mail servers for sending mail, so you must install postfix ...
0