Couple of week before one of Email Server was blacklisted. Reason was one of the email account was compromised and sending spamListed below is the link that nicely explaining how to find that compromised account.
It was qmail server
I had setup squid as a transparent proxy. After setting up, still client was not able to access the web page. There was error message logged in by squid server in /var/log/squid3/access.log
The error message was
NONE/400 3505 GET / – NONE/- text/html
put the word “transparent so the line should look like below
http_port 172.16.26.1:3128 transparent
then /etc/init.d/squid3 restart
Every thing is hunky-dory
Have Fun :)
Due to some reason, I was in need to replace existing HDD with new one. So I cloned it using CloneZilla. It was a GNU/Linux Machine. First of all CloneZilla refuses copy partitions, one after another and flagged error for each of one. I remembered the reason for errors and turned off the machine. Turned on again and SHUTDOWN properly. The point is, if Machine is not shutdown properly, file system is unclean and ColneZilla will complaint while cloning. So I fixed that first. Then cloned without any error. But Computer refuses to boot from newly cloned HDD. It stayed at grub> prompt
Then I did the following to troubleshoot
Step1. grub> set root=(hd0,1) # / (root) partition was /dev/sda1
Step2. grub> linux /vmlinuz root=/dev/sda ro
step 3 grub> initrd /initrd.img
on the command prompt as a root
Rebooted again. Its done.
Here are the rules i have add to my GNU/Linux Firewall to limit time and quota for my kids for internet and Xbox live
To limit Quota ( I have just allotted 2GB will increase later on)
iptables -I FORWARD 5 -s 172.16.0.33 -p tcp -m quota –quota 2147483648 -j ACCEPT
iptables -I FORWARD 6 -s 172.16.0.33 -j DROP
For quota ofcourse i have to reset the quota again. I will try to automate it some how
To limit time
iptables -I FORWARD 7 -s 172.16.0.33 -p tcp -m multiport –dport http,https -o eth0 -i eth1 -m time –timestart 16:00 –timestop 18:00 –weekdays Mon,Tue,Wed,Thu,Fri,Sat,Sun -j ACCEPT
(Above said link had a little typo in time based rule is –days instead of –weekdays
I had installed the Nagios3 form package. Installation was fine. I was getting the error message as shown in Screen shot
Even making changes for ACL’s in Apache conf result noting.
Google is always our friend.The link shown below explained about the bug.
I have changed file as shown
Added the index.html in /etc/apache2/conf.d/nagios3.conf. So the line should be
DirectoryIndex index.php index.html
It was easy
Do the following on both Load Balancers ( I did it on Nginx LBs)
1. apt-get install ucarp
2. vi /etc/network/interfaces and append the lines starting from ucarp-vid 3
3. replace password and ip (192.168.69.11) with your own
I have followed the link below. Tested it by shutting down both Load Balancers one by one.
Will dig more in to it. It is Awesome!.
Have Fun :)