Using “robocopy” to Copy EFS Files

When required to move large amounts data from one location to another, we use robocopy. Why? It’s basically like rsync for Linux, it copies NTFS Security ACL’s and will do file compare on every file to ensure that the destination has the most current version of the file.

So when moving over 50 + user folders, it comes in handy. We simply run robocopy a couple of days before to do the large sync of data. Then we run it during a maintenance window to update any files that have been modified or created.

It works great! But its biggest feature is that it will copy EFS files without the need to have the EFS certificate/key. Using the /EFSRAW switch allows for the copy of encrypted files from one location to another without having to decrypt the data.

Fore more information on the robocopy syntax please see the following site:

ss64.com/nt/robocopy.html

Posted in Windows | Tagged , , , , , | Leave a comment

JungleDisk – Server Daemon Not Responding, No Backups, Not cool?

So I noticed that one of my servers wasn’t being backed up via email alerts recently. Usually I’m on top of it, but I noticed recently one less email from JungleDisk (I get completion notices on all JungleDisk Backups).

So I opened up the Jungle Disk Server Edition Management and found that I couldn’t connect to the machine I was trying to open. I thought, hrmm this happened before I just need to restart the “junglediskserver” process on the server in question. At which point I could then see the server listed in the Management console.

Once selected the server to see when the last backup was, I noticed it was 24 days from the last complete backup. I was super surprised and kinda ticked off because I didn’t notice this quick enough to fix it and neither did JungleDisk. I mean if there are 24 missed backup windows, don’t you think I should be notified.

I described the above to JungleDisk in an email to their Feedback address, lets see how they respond.

Update #1: I got a response from JungleDisk via email, they directed me to their Support System at which point I was able to post a feature request. But to my surprise their were already a handful of similar requests, so I dropped my two bits in. The one thread was over 2 years old. Great software, bad community relationship.

Update #2: I haven’t been following the thread on Jungledisk’s support site as I’ve pretty much decided to live with this problem. However, another awesome thing happened (I’m being sarcastic). Jungledisk was doing a backup and it either started super slow or during the backup it slowed down, either way the backup was going at 0.1k/s and wasn’t going to finish. It kept running, it missed the next backup window and I only knew this because I got no email about the job completing. You would think if a job takes too long and the next backup window is forthcoming, why not notify via email that it’s happening.

Posted in Rants | Tagged , , , , | 2 Comments

Simple Apache Expires Setup via .htaccess

If you’ve used Google Page Speed then you’ve probably seen “Leverage browser caching” as one of the items on the Medium Priority list. And it’s a real simple fix if you’re running Apache. Just create or edit your .htaccess file for the site you want to enable it on and input the following.

<IfModule mod_expires.c>
    ExpiresActive on
    ExpiresByType image/gif "access plus 1 years"
    ExpiresByType image/jpeg "access plus 1 years"
    ExpiresByType image/png "access plus 1 years"
    ExpiresByType text/css "access plus 1 years"
    ExpiresByType text/js "access plus 1 years"
    ExpiresByType text/javascript "access plus 1 years"
    ExpiresByType application/javascript "access plus 1 years"
    ExpiresByType application/x-javascript "access plus 1 years"
    #ExpiresDefault "access plus 1 days"
</IfModule>

And Viola, you’re now telling Web Browsers not to grab Images/CSS or Javascript unless otherwise required.

Posted in 1 | Leave a comment

WordPress Permalink Sub-Directory 404 Error Weirdness

I didn’t really know what to put for the title of this post, but hopefully the content makes more sense and gets indexed properly and found by people looking for this specific information.

The problem is when you install WordPress and setup Permalinks which uses a .htaccess file for Apache. The .htaccess make cause problems with other applications or HTML files you have in sub-directories in your document root.

The fix? It’s simple, just view this blog post. It explains to fix the problem you simply place “ErrorDocument 401 default” at the top of your .htaccess file and everything is resolved. Your WordPress installation still generates 404 pages, but now sub-directories work correctly.

www.geoffblog.com/2009/04/wordpress-htaccess-clashes-with-sub.html

Posted in Apache, Wordpress | Tagged , , , | Leave a comment

Eletronics Purge – For Sale

Big Ticket Items

Apple Mac Book Pro (A1278) – Intel Core 2 Duo – 8GB Memory – 500GB Drive (Seagate Monmentus) - MB990LL/A - MacBookPro5,5 - A1278 - 2326*

 

www.everymac.com/ultimate-mac-lookup/?search_keywords=A1278

Bought in December 2009 – No Apple Care. Couple of scratches from wear and tear. Otherwise is good condition, and original box + cd’s and power adapter.

$1000 OBO.


The Garmin Running Package. (Brand New and Never Used.)

Garmin Forerunner 305 w/ Heart Rate Belt + $130
Garmin Foot Pod $50
DigiFit Connect iPhone Ant+ Dongle — $35


Random items.

PC133/100 Ram and Cobalt RaQ’s — vancouver.en.craigslist.ca/bnc/sys/2534795562.html

Nokia HF-510 – $40

Posted in 1 | Leave a comment

Cracking Secured (WEP/WPA) Wireless Networks with Backtrack!

I’ve always been asked, “is my Wireless Network secure?” and usually reply with “As long as you’re using WPA with a strong password”. However I wanted to test that out and do some penetration testing.

I looked on the supported devices section of a popular distribution called “BackTrack” that seems to have everything you require to penetrate 802.11 wireless access points.

www.backtrack-linux.org/wiki/index.php/Wireless_Drivers

I’ve picked up a NetGear WG111 and a Linksys WUSB54GC, I’ve yet to test either to see if they’re going to work. And in work I mean actually be able to inject packets, as that’s the main reasoning behind it.

I will be using this guide I stumbled upon online via Google search.

ryanunderdown.com/linux/cracking-wep-using-backtrack.php

ryanunderdown.com/linux/cracking-wep-using-backtrack.php

Posted in 1 | Tagged , , , , , , | Leave a comment

Testing Exchange 2007 IMAPS using OpenSSL

I was trying to find out why Thunderbird wasn’t working with Exchange 2007 IMAPS (SSL). So I started testing this using OpenSSL using the following command.

openssl s_client -connect imap.host.ca:993

However, I was able to use the LOGIN command, no command would return an error or any information. I did some searching and found that you need to include “-crlf”, from the man page.

-crlf
this option translated a line feed from the terminal into CR+LF as required by some servers.

Adding this option then allowed me to login successfully. That was a good waste of 2 hours.

Posted in Exchange | Tagged , , , , | Leave a comment

Installing CentOS 5.6 on Debian Xen Host

So I was trying to setup a SolusVM install on my Debian Lenny Xen machine. SolusVM requires CentOS 5.6 so I decided to do what most people have been doing online.

xen-create-image --hostname=bob.bob.ca--ip=192.168.22.4 --gateway=192.168.22.254 --netmask=255.255.255.0 --dist=centos-5 --install-method=rinse --arch=i386 --pass --force

At which point more errors popped up. Specifically…

rinse /usr/bin/python: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory

I looked into the issue further and it looks like python-libs is missing from “/etc/rinse/centos-5.packages”. Added it and re-built the VM and all is swell.

Posted in Linux, Virtulization | 3 Comments

35 Everyday Life Hacks that can make your life awesome!

I found this somewhere and then found the source. which seems to be theirtoys.com which looks to be a sexuality blog?

theirtoys.com/sexblog/35-life-hacks-you-should-know-infographic.html

Posted in Random | Leave a comment

Bitcoin Miner

Purchased 2x Sapphire 5830′s and a 1000W OCZ refurb.

Posted in 1 | 2 Comments