LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-24-2007, 01:20 AM   #1
AMarkos
LQ Newbie
 
Registered: Oct 2007
Posts: 21

Rep: Reputation: 15
Encrypted Filesystems with Slackware 12


Are there any resources concerning this matter? I did not found any ...
 
Old 10-24-2007, 01:57 AM   #2
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 38
Truecrypt works like a charm.
 
Old 10-24-2007, 03:42 AM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,383

Rep: Reputation: Disabled
Perhaps the README_CRYPT.TXT file in the root of the Slackware 12.0 DVD (mirrored at http://slackware.osuosl.org/slackwar...ADME_CRYPT.TXT) will help you further.

Eric
 
Old 10-24-2007, 07:17 AM   #4
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
IF you do get it working, please do post what is the performance you get and we will compare it to see if encryption is worth it or not.
 
Old 10-24-2007, 07:44 AM   #5
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
First, what does performance have to do with encrypted filesystems?

Second, what performance tests are you wanting to see?
Code:
mingdao@wired_silas:~$ mount
/dev/mapper/cryptroot on / type jfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda6 on /boot type jfs (rw)
/dev/mapper/crypthome on /home type jfs (rw)
/dev/sda1 on /WinXP type ntfs (ro)
/dev/sda2 on /Storage type vfat (rw)
/dev/sda4 on /Ghost type vfat (rw)
192.168.1.11:/home on /serverhome type nfs (rw,rsize=8192,wsize=8192,hard,intr,addr=192.168.1.11)
192.168.1.11:/backup on /server1 type nfs (rw,rsize=8192,wsize=8192,hard,intr,addr=192.168.1.11)
192.168.1.11:/backup2 on /server2 type nfs (rw,rsize=8192,wsize=8192,hard,intr,addr=192.168.1.11)

root@wired_silas:~# hdparm -tT /dev/mapper/cryptroot

/dev/mapper/cryptroot:
 Timing cached reads:   1040 MB in  2.00 seconds = 519.93 MB/sec
 Timing buffered disk reads:  136 MB in  3.01 seconds =  45.24 MB/sec
root@wired_silas:~# hdparm -tT /dev/mapper/crypthome

/dev/mapper/crypthome:
 Timing cached reads:   1038 MB in  2.00 seconds = 519.04 MB/sec
 Timing buffered disk reads:  134 MB in  3.01 seconds =  44.59 MB/sec
root@wired_silas:~# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   1044 MB in  2.00 seconds = 521.15 MB/sec
 Timing buffered disk reads:  206 MB in  3.03 seconds =  68.09 MB/sec
root@wired_silas:~# hdparm -iI /dev/sda

/dev/sda:

 Model=WDC WD740GD-00FLC0                      , FwRev=33.08F33, SerialNo=WD-WMAKE2225466
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=74
 BuffType=DualPortCache, BuffSize=8192kB, MaxMultSect=16, MultSect=?16?
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=145226112
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: Unspecified:  ATA/ATAPI-1,2,3,4,5,6

 * signifies the current active mode


ATA device, with non-removable media
        Model Number:       WDC WD740GD-00FLC0
        Serial Number:      WD-WMAKE2225466
        Firmware Revision:  33.08F33
Standards:
        Supported: 6 5 4
        Likely used: 6
Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  145226112
        LBA48  user addressable sectors:  145226112
        device size with M = 1024*1024:       70911 MBytes
        device size with M = 1000*1000:       74355 MBytes (74 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Standard, with device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Recommended acoustic management value: 128, current value: 254
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    SMART feature set
                Security Mode feature set
           *    Power Management feature set
           *    Write cache
           *    Look-ahead
           *    Release interrupt
           *    Host Protected Area feature set
           *    WRITE_BUFFER command
           *    READ_BUFFER command
           *    NOP cmd
           *    DOWNLOAD_MICROCODE
           *    READ/WRITE_DMA_QUEUED
                Power-Up In Standby feature set
           *    SET_FEATURES required to spinup after power up
                SET_MAX security extension
                Automatic Acoustic Management feature set
           *    48-bit Address feature set
           *    Device Configuration Overlay feature set
           *    Mandatory FLUSH_CACHE
           *    FLUSH_CACHE_EXT
           *    SMART error logging
           *    SMART self-test
           *    SATA-I signaling speed (1.5Gb/s)
           *    Host-initiated interface power management
           *    SMART Command Transport (SCT) feature set
           *    SCT Long Sector Access (AC1)
           *    SCT LBA Segment Access (AC2)
           *    SCT Error Recovery Control (AC3)
           *    SCT Features Control (AC4)
Security:
                supported
        not     enabled
        not     locked
        not     frozen
        not     expired: security count
        not     supported: enhanced erase
Checksum: correct
Absolutely no tweaking has been done on that drive, and it's the default hugesmp.s Slackware-12.0 kernel.
 
Old 10-24-2007, 09:15 AM   #6
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
I like using EncFS with FUSE. I don't know how secure it is in comparison to others but it's easy to use and FUSE has so many other useful applications.
 
Old 10-24-2007, 09:40 AM   #7
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
forgive me , but I just assumed that having an encryption layer will be a little slower at the very least than direct access ... am I wrong?
 
Old 10-27-2007, 02:33 PM   #8
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
If you're asking me, with regard to EncFS, I don't know for sure but that sounds likely. For what I use it for, that is not a factor.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Encrypted Filesystems on Etch Michael_aust Debian 3 08-20-2006 08:09 PM
encrypted filesystems Niteskye Fedora 2 05-18-2006 04:20 PM
Encrypted Filesystems on Removable Media Soltis Linux - Security 8 03-21-2005 02:35 PM
Encrypted Filesystems using Loop Device erktrek Linux - Security 0 12-16-2004 02:57 PM
Encrypted filesystems and util-linux thebell Linux - General 2 05-31-2004 11:16 AM


All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration