Extend Linux ext3 partition
This took me around 10 minutes to execute.Here is how you can extend/increase your ext3 partition size, without any data loss.
Just in case always do backup before you make any modifications to the partition table.Although this could be considered safe,a bit can flip and kiss your data GoodBye! Continue reading
Mikrotik Automated Backup
I want to share a neat way how to automate the backup of your Mikrotik configuration.The script provided here i use to do FTP backups 3 times a day.
I have a couple of these devices and i change the configuration pretty often on them, so i had to automate the process. While searching the web I have found this cool blog containing Mikrotik Automated Backup script.
Thanks for the nice script Harry B!
With some small modifications this script works perfectly doing two files export and backup of the whole configuration: Continue reading
Mikrotik DDoS and SYN Flood
Mikrotik DDoS and SYN Flood rules
I will present you some rules which you can apply to protect yourself from some of the DDoS or SYN Flood attacks or at least to mitigate as much as you can.I say some because it depends how much traffic Your ISP->Your Connection(s)->Your Devices can handle.I consider this attack very dangerous as you can do very little or nothing in some cases if you experience traffic of lets say around 100Gbit/s.Very little organizations can handle this kind of traffic.It depends how much enemies you have made and how much botnet zombies they hired from the attracker/s for the attack.
Configure BIND for Active Directory
Configure BIND for Active Directory, BIND9 and newer versions support integration with Active Directory Controllers.If you already have running Primary and Secondary BIND servers in your network and want to integrate it with Active Directory Controller this is what you need to do.Let’s say your domain controller is in ad.mydomain.com ( i would suggest you do a subdomain for you Active Directory like “ad” under your main domain “mydomain.com”) and your domain controller name is DC1:
VirtualBox with VboxTool
VirtualBox with VboxTool headless startup.
I will tell you howto start VirtualBox machines in headless environment with VboxTool.I tried many different tools.Recently I started to use this one VBoxTool, it’s not a perfect solutions.It has some drawbacks, but positive sites too.
ZoneMinder and low CPU usage
I use ZoneMinder for various reasons, but mostly because it’s free and from my point of view the only free open source system for video surveillance which is worth your time and money if you donate.
I would like to share with you my experience.How I got a significant low CPU usage from a third party JPEG library, which I use on my CentOS 5 installation with ZoneMinder.This library is well written to optimize the JPEG processing power of the CPU.
Elastix on OpenVZ
Elastix on OpenVZ installation.
Just recently I had to install Elastix on OpenVZ. This post on the Elastix forum will help you to install DAHDI. The idea is very simple, as every complex problem has simple and elegant solution, and I can confirm you that from my years of experience. I will give two words Physical to Virtual, and I hope this ring some bells :), here is what you have to do.
Split-horizon DNS
Also known as split-view DNS, split DNS or DNS multi-view.
The Main Objective of Split-horizon DNS:
To use different EXTERNAL and INTERNAL files to differ request originating from Internet and local net.Make sure you use BIND9 or newer to support Split-horizon DNS.
The key moment in Split-horizon DNS:
As you can see on the setup above the external xfer is done by a different IP address on the secondary DNS server which allows Primary DNS server to differ the INTERNAL and EXTERNAL files.So to the basic you have to have two DNS files on the primary DNS server and let’s say you named them external.mydomain and internal.mydomain.The external.mydomain will contain only external IP addresses and internal.mydomain will contain only internal IP addresses.