Mustafizur stars in landmark series win- Bangladesh v India, 2nd ODI, Mirpur

216075Bangladesh 200 for 4 (Shakib 51*, Ashwin 1-32) beat India 200 in 45 overs (Dhawan 53, Mustafizur 6-43) by six wickets (D/L method)

Mustafizur Rahman was the hero in Mirpur again, (off)cutting through India’s batting with a six-wicket haul to add to his five-for on ODI debut, and launching Bangladesh to their first ever bilateral series win against India. Mustafizur’s 6 for 43, the second best figures by a Bangladesh bowler in ODIs, skittled India for 200, before Shakib Al Hasan steered the chase with a busy fifty, his second on the trot.

With this six-wicket win, Bangladesh also cemented their place in the 2017 Champions Trophy. An overjoyed Mashrafe Mortaza, who has been a part of each of Bangladesh’s five victories against India, toasted his team’s “big achievement”.

Why Bangladesh’s target was 200
When the rains came, India were already eight wickets down after 43.5 overs. Because the game was revised to 47 overs per side, India lost out on some batting opportunity, but that loss was minimal as they were already eight down at the time of the interruption. According to the DLS calculations, the batting resources denied to Bangladesh at the start of their innings, compared to what they would have had in a full 50-over innings, was marginally more than the resources India lost out on.

Continue reading “Mustafizur stars in landmark series win- Bangladesh v India, 2nd ODI, Mirpur” »

Share

Zimbra Increasing Attachment Size works for 8.5

Through zimbraGUI didn’t find it how to do it, but through console it appeared to be working with the following set of commands to modify postfix actually-

su zimbra 
zmprov mcf zimbraMtaMaxMessageSize 20971520 
zmprov mcf zimbraFileUploadMaxSize 20971520 
zmprov mcf zimbraMailContentMaxSize 52428800 
zmprov modifyConfig zimbraMtaMaxMessageSize 52428800 
postfix reload

Once theyre executed, restart the server (restarting zimbra won’t reflect the changes made, so need a fresh reboot of OS)

Share

Two Default Gateways on One System

Problem Description

You have built two or more network cards into one Linux system and each of these cards has its own default gateway. By default, you can only have one default gateway on a system. The case described would lead to asynchronous routing, whereby the router would reject the packets as appropriate.

Solution

The iproute2 program, which is included in all current Linux distributions and already installed even, as a rule, can be used for the solution of this problem. Normally, a Linux system only has one routing table, in which only one default gateway can make entries. With iproute2, you have the ability to setup an additional routing table, for one thing, and allow this table to be used by the system based on rules, for another. Continue reading “Two Default Gateways on One System” »

Share

2 Gateways or Multiple Gateway on a single CentOS box

Scenerio-

eth0- 172.30.0.100 | Gateway- 172.30.0.97

eth1- 192.168.2.247 | Gateway- 192.168.2.1

Need to connect to SIP BOX destination (fictitious)- 202.140.1.1

eth0 has not internet access but it uses the mentioned (172.30.0.97) as gateway to reach 202.140.1.1 server

eth0 has internet access by using 192.168.2.1 gateway.

Here goes the configuration on /etc/sysconfig/network-scripts/ifcfg-eth0 Continue reading “2 Gateways or Multiple Gateway on a single CentOS box” »

Share

Pf vs Iptables- a Great comparative article

I enjoyed reading the following article, though would worth keeping a copy on my blog. Happy Reading-

Today I will be talking a lot about OpenBSD, FreeBSD and other Unix-like operating systems from the Berkeley Software Distribution. I thought that would be appropriate being my first document on Unixmen. I however will also be talking about Linux and Untangle and how they complement Unix based firewalls such as Pfsense.

I would like to explain what I think is the best way to secure a network from hackers and bots and why these techniques work as well as I say they do. I however will not be explaining how, as I will save that for another article. That being said if there is anything in error here please let me know but I am sure you will find nothing in contrast to common theory. I would also like to show you guys some things I like to do and things I think are critical to IT security. Continue reading “Pf vs Iptables- a Great comparative article” »

Share

Cacti on Debian (Updated)

Downloading Cacti

You can download the newest version of Cacti from its website.

wget http://www.cacti.net/downloads/cacti-0.8.7b.tar.gz

Installing Cacti

Install apache webserver with php support, mysql database server, snmp, some php modules and rrdtool.

apt-get install apache2 libapache2-mod-php5 php5 php5-cli php5-mysql php5-gd php5-snmp mysql-client mysql-server libmysqlclient15-dev snmp snmpd rrdtool

Add a user account for cacti. Continue reading “Cacti on Debian (Updated)” »

Share

Enable 1:1 NAT in Iptables

1:1 NAT maps a single Public IP Address to one of your computer within your local area network (LAN). Unlike port forwarding, 1:1 NAT forwards all ports from one external IP to one internal IP.

iptables -t nat -A POSTROUTING -o eth0 -s 192.168.1.2 -j SNAT --to-source 83.229.64.2 iptables -t nat -A PREROUTING -i eth0 -d 83.229.64.2 -j DNAT --to-destination 192.168.1.2 iptables -A FORWARD -s 83.229.64.2 -j ACCEPT iptables -A FORWARD -d 192.168.1.2 -j ACCEPT
Share