Who's Online

We have 4 guests online

Tags

This will be shown to users with no Flash or Javascript.
Ubuntu Encrypted Loopback Disk PDF Print E-mail
Written by Jason Kendall   
Friday, 03 October 2008 21:47
So I have a need for a encrypted disk - as a loop back file. I wrote earlier on how to restore a partimage backup to loopback, so lets see if we can make this work.

  1. We need to tell the kernal how to encrypt disks with a module
    • modprobe cryptoloop
  2. Create the loop file (like before, but with urandom to help hide the disk, the count is MB*1000 so in this case 1M)
    • dd if=/dev/urandom of=myharddisk.img bs=1000 count=1000 
  3. Create the loopback device (I'm going to use TwoFish)
    • losetup -e twofish /dev/loop0 ./myharddisk.img
  4. At this point, you will be asked for a password - create your own
  5. Create the file system of choice (ext3 for me)
    • mkfs.ext3 /dev/loop0  
  6. Mount the new loop back point /dev/loop0
    • mount /dev/loop0 /mnt/my/mount/point

Enjoy!
 
The WFTL Show PDF Print E-mail
Written by Jason Kendall   
Wednesday, 17 September 2008 10:06
Tuesday nights, around 8:30 PM EDT My good friend Marcel Gagne (WFTL) does a online TV show. Topics range from general chatter, to linux and to security. Last night, I was the guest co-host on the topic of security. 

I envite you to watch the live broad casts, and the recordings. 


List of Episodes I'm Co-Hosting:
September 16, 2008 (Part 1 | Part 2)


 
Wardriving -- IN MY NEIGHBOURHOOD? PDF Print E-mail
Written by Jason Kendall   
Sunday, 14 September 2008 20:51
I can't believe it. Someone is actually wardriving around my neighborhood!

Arg - A My wife just informed me that this guy has been out side our house across the street for the past 3 days at the same time. This time, she noticed that he's on his laptop. I know there are about 6 APs here. 4 Of them are mine ;) I have two secured networks, one to my internal network, and a second directly connected to the internet - for testing. I have 2 more, one is a public wifi AP that hasn't been up in a while. And my fourth, I was playing with trying to setup a mesh network.

He wasn't on any of those.

I know that across the street there is a AP, I don't know anything about it though. And I've scene one other secured.

I'm going to grab some gear from work to track down the unknown unsecured wireless AP and get that secured - that way, I can control what this guy connects too. I'll take down my public AP for maintenance ;) Then, I'll setup my spare to my direct internet connection and leave it open for him. Of course, I'm not THAT nice - I'll ensure to log all traffic to see what I can see and if I'm around when he is, see if I can snag some details ;)

I'll be nice and post a sign on my window identifying that connecting to any public AP on my network is subject to my packet inspection and some other legalize. Not my fault he didn't take the time to read my AUP ;)

I'll post any updates later.
 
The boy who cried wolf - with a twist PDF Print E-mail
Written by Jason Kendall   
Thursday, 11 September 2008 09:35
In a time not so long ago, in a place not so far away, there was a boy. Part of this boys job included watching the fences around his fathers farm. This farm had a large number of chickens. Lots and lots of chickens. Some where bigger, some smaller. Some where so big they couldn't leave the farm even if they wanted too. 

On one particular day, it was identified that there was a hole in one of the fences. Not a big hole, but enough that a small wolf could get in if it so choosed. The boy ran to his father and yelled come quick - there is a hole! The father came out, looked at the hole and proclamed that it wasn't a big deal. The father sent all the workers home for the weekend and told them to fix the hole when they could. 

Time past. No wolfs entered the farm where the hole was but they saw that it was there. 

A few weeks later, the boy came running to his father again - there's a hole! This time is a was a bigger hole. The father came out and looked at it - said yes, its a hole. But at most, only a few chickens would be lost or hurt. He had a second person look at the hole and he said that he knew about the hole! He then went on to say that for this hole, it would require a wolf to get close enough to the hole, and a chicken to be close to the hole before any damnage would happen. So they desided to fix it later. 

The boy started to get upset. He wondered what was the point of looking for holes, when his father desided that the hole didn't matter. 

-- To be continued -- 


 
Restore a partimage backup to loopback PDF Print E-mail
Written by Jason Kendall   
Sunday, 07 September 2008 21:57
  1. You need a file to mount as a HDD device - using DD, the following will instantly create a file of SIZE Gigabytes:
    • dd if=/dev/zero of=myharddisk.img bs=1000 count=0 seek=$[1000*1000*SIZE]
  2.  You need to make this file look like a block device (Choose a free /dev/loop device):
    • losetup /dev/loop0 myharddisk.img
  3. Start partimage manually from the command line, pointing to your loop device
    • partimage /dev/loop0 backupfile.000
  4. Remove the file from the loop device
    • losetup -d /dev/loop0
  5. Mount the new file on a directory
    • mount myharddisk.img /path/to/dir -o loop
  6. Enjoy the backup's files
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 4 of 14