Ooredoo Qatar DNS Servers

Following are official DNS servers of Ooredoo

Primary DNS: 212.77.192.59

Secondary DNS: 82.148.111.11

The previous Secondary DNS server 212.77.192.60 is no longer being used.

Generate CSR for SAN Certificate – Tomcat

This article assist you with step-by-step procedure to generate CSR for SAN Certificate (multiple domains) in Tomcat Server

Important Note: You need Java 7 as it has a Keytool with SAN (Subject Alternative Name) to certificates. The previous version of Java do not support this and you receive “illegal option: -ext” error when you try Keytool with -ext

1. Open Cmd

2. Navigate to the Java 7 installation directory, in my case – Windows 2008 and the installation directory is ‘C:\Program Files\Java\jre7\bin’

3. Execute

keytool -genkey -alias server -keyalg RSA -keysize 2048 -keystore e:\ssl_key\hackandsecure -ext san=dns:www.hackandsecure.com

  • Specify any alias name, here I specified ‘server’
  • Keysize must be specified, otherwise keytool will generate a key which is 1024 bit and it doesnt meet the minimum requirement
  • For the question “What is your first and last name?”, enter the domain name that you need certificate and not your actual first and last name!

4. After entering all the details, you will notice that keystore is created in e:\ssl_key folder

5. Now generate CSR.

keytool -certreq -alias server -file e:\ssl_key\hackandsecure.csr -keystore e:\ssl_key\hackandsecure

Notice that I have used the another domain name whi

Secure SNMP configuration in Cisco Switches and Routers

After I noticed that insecured method is being proposed in an knowledge base article in ManageEngine – Enabling SNMP in Cisco Routers / Switches, I decided to write an guide to secure SNMP in Cisco Switches and Router

1. Telnet to the router/switch

prompt# telnet testrouter

 2. Go to the enable mode by specifying the password:

Router>enable

Password:

Router#

 3. Go into configuration mode:

Router# configure terminal

Enter configuration commands, one per line. End

with CNTL/Z.

Router(config)#

 4. Use the command below to add a Read-Only community string:

Router(config)#snmp-server community public RO

where “public” is the Read-only community string.

Never use default community string. Always use strong community strings –with lowercase, uppercase, special characters and keep them long and strong.

 Router(config)#access-list 12 permit 172.20.100.156

Router(config)#snmp-server community Q!@#$tNsecure RO 12

where ” Q!@#$tNsecure” is the Read-only community string.

Above command will secure your SNMP by allowing only legitimate host (172.20.100.156) to access your SNMP enabled device.

5. To add a Read-Write Community string, use the command below:

Router(config)#snmp-server community private RW

where “private” is the Read-write community string.

 This is the worst possible configuration as you provide a common community string with RW privilege. If your goal is purely network monitoring purpose, then you do need this configuration at all.

 6. Exit the configuration mode and save the settings:

Router(config)#exit

Router#write memory

Building configuration…

[OK]

Router#

Windows User Must Tool – WhoCrashed

Are you Windows user? Do you face blue screen of death or auto restart issue? Just come and get this, WhoCrashed downloaded. It’s all free for home users.

What it does?

Whenever a computer running Windows suddenly reboots without displaying any notice or blue screen of death, the first thing that is often thought about is a hardware failure. In reality, most crashes are caused by malfunctioning device drivers and kernel modules. In case of a kernel error, most computers running Windows do not show a blue screen unless they are configured to do so. Instead these systems suddenly reboot without any notice.

WhoCrashed shows the drivers which have been crashing your computer with a single click. In most cases it can pinpoint the offending drivers which have been causing misery on your computer system in the past. It does post-mortem crashdump analysis and presents all gathered information in a comprehensible way.

Lets move on with a sample report of my laptop.

Got the WhoCrashed downloaded (Download Here) and I followed simple and quick steps of installation. Pretty fine so far, because it works in Windows 7 Ultimate. Cheers! I opened the software, clicked on Dump Files and then ‘Analyze’ to let it analyze dump files in the default location c:\Windows\Minidump of Windows OS and other dmp files (You no need to specify any file path, it just picks from default location).

Amazing! so it runs so fast and quickly tell me that all my windows crashes are because of ‘Power State’. It’s true my laptop power is giving me really hard time and I need to fix it with new battery.

It is not stopped here, you still get additional details of your problem in ‘Report’ menu.