Checking DNS for CERT VU#800113

 You can use the following web service to see if your DNS servers or resolvers need attention. 

For Windows:

 nslookup -querytype=TXT -timeout=10 porttest.dns-oarc.net. nslookup -querytype=TXT -timeout=10 porttest.dns-oarc.net. DnsServerName 

For *nix:

 dig +short porttest.dns-oarc.net TXT dig @DnsServerName +short porttest.dns-oarc.net TXT
...
Read More

Setting up Framebuffer on Ubuntu for the EEE PC 901

If you haven't got hwinfo installed then:

 sudo aptitude install hwinfo 

Then put this in:

 sudo hwinfo --framebuffer 

Returns :

 02: None 00.0: 11001 VESA Framebuffer [Created at bios.447] Unique ID: rdCR.il6towt04X5 Hardware Class: framebuffer
      
      Read More
    

About Pages in Google Chrome

 You can get some interesting information out of these if you pop then into Google Chrome:

about:crash
about:memory
about:stats
about:histograms
about:dns
about:version
about:network
about:internets
about:cache

Crash

About Read More

Thin Provisioning Disks in ESX

Log in over SSH and run:

 vmkfstools -c 50G -d thick /vmfs/volumes/san/vm/thick.vmdk vmkfstools -c 50G -d thin /vmfs/volumes/san/vm/thin.vmdk 

A ls will show:

 50G thick-flat.vmdk 373 thick.vmdk 50G thin-flat.vmdk 398 thin.vmdk 

However a du will show:

 50G...
      
Read More

Sniffing Network Traffic in ESX

If you want to enable promiscuous network sniffing within a vSwitch the safest way to do it is to create a second port group. Promiscuous mode can be enabled on an existing port group but once this has been done,...

Read More

Using Grep to Scan Log Files on Windows

Use the following to find Forbidden errors from web server logs:

 grep "403" \\machine\i$\LogFiles\W3SVC1\ex0* 

You can get GNU utilities for Windows which includes grep.

Microsoft has its own version of grep called QGREP which is part of...

Read More

Sysinternals Live from Powershell

 Sysinternals Live is a service that enables you to execute Sysinternals tools directly from the Web without hunting for and manually downloading them.

dir \\live.sysinternals.com\tools\ | fw -Column 4
 

 

Read More

SU on ESX

 When you "su" in ESX you may find that you can not run the usual commands. This may be down to environmental variables, use:

 su - 

This will change the environmental variables to the new user.

...
Read More

Searching Active Directory

This is a quick way to search Active Directory from the cmd line:

 dsquery user -name * -limit 0

Just pop the name or name + wildcard where the * is.  If you want to reduce the output to...

Read More