-
encrypting SWAP by default
I see that some time ago someone released a version of Knoppix 3.2 that would among other things encrypt the swap drive (http://www.bouissou.net/knoppix-mib/...oppix-Mib.html). In the current verson of knoppix, is there an easy way to do this? I use an encrypted persistent home on a USB stick, but when I'm running on any box that has a swap partition, I know I'm leaving clear-text data behind.
Thanks
-
Senior Member
registered user
Re: encrypting SWAP by default
--One way to do this is disable all type 82 partitions (swap) and comment them in /etc/fstab.
--Then create an encrypted filesystem, and also create a swapfile on that FS after mounting it:
[ insert cryptoloop instructions here ]
' mount blah /mnt/encrypted -odefaults,rw,noatime '
' cd /mnt/encrypted '
' time dd if=/dev/zero of=swapcrypt.swp bs=1M count=64 ' == Create 64MB zero-file
' chmod 700 swapcrypt.swp ' == Make sure only root can read it
' mkswap swapcrypt.swp ' == Make it into a swap area
' swapon swapcrypt.swp ' == Activate it
' swapon -s ' == Check it
--That said, see these links:
( Search for " Debian " on this page )
http://wiki.noreply.org/noreply/TheO...tionalSecurity
http://www.ussg.iu.edu/hypermail/lin...08.0/1163.html
http://linuxfromscratch.org/pipermai...ch/002819.html
http://www.gentoo.org/proj/en/harden...yptography.xml
--I'm pretty sure OpenBSD has encrypted swap, if not by default then at least as an option.

Originally Posted by
g4j
I see that some time ago someone released a version of Knoppix 3.2 that would among other things encrypt the swap drive (
http://www.bouissou.net/knoppix-mib/...oppix-Mib.html). In the current verson of knoppix, is there an easy way to do this? I use an encrypted persistent home on a USB stick, but when I'm running on any box that has a swap partition, I know I'm leaving clear-text data behind.
Thanks
Similar Threads
-
By A. Jorge Garcia in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 06-19-2007, 06:26 PM
-
By Kowood in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 04-14-2005, 07:57 PM
-
By jj54 in forum General Support
Replies: 1
Last Post: 11-09-2004, 08:16 PM
-
By sirmax in forum General Support
Replies: 7
Last Post: 04-10-2003, 11:21 PM
-
By CubeDweller in forum General Support
Replies: 6
Last Post: 03-26-2003, 08:09 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT
$7.99

Lot of 20 Cisco SFP-10G-SR 10-2415-03 Transceiver Module
$50.00

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$24.00

Qty 20 New Cisco QSFP-100G-FR-W2 10-3659-01 Module Hologram Brand New 20 Pack
$260.00

Cisco SFP-10G-SR Transceiver
$4.00

Cisco SFP-10G-LR 10Gb 40Km Long Range Transceiver Hologram in Clamshell * 1 unit
$45.00

Netgear M4300 8X8F XSM4316S 8-Port 10GB Ethernet & 8-Port 10GB SFP - Ships ASAP
$748.86

Intel X520-DA2 10Gb 10Gbe 10 Gigabit Network Adapter NIC Dual Port E10G42BTDA
$28.94

For Cisco SFP-10G-T-X Module, 10G SFP to RJ-45 Copper, 10GBase-T, 1/2.5/5/10Gbps
$39.99

30PCS Sealed Cisco SFP-10G-SR 10GBASE-SR SFP+ Transceiver Module MMF 850nm 300m
$499.99