Slashdot Log In
Encrypted Fileserver with Bittorrent Web Interface
Posted by
timothy
on Sat May 07, 2005 03:33 PM
from the freenetesque dept.
from the freenetesque dept.
mistermark writes "I built a fully encrypted (samba) fileserver with a web interface for managing torrent downloads on it. All I used is OpenBSD 3.6 and its package collection, except for the TorrentFlux-interface (which you need to install separately). Anyway, it can be built using binary packages only. I included a rough HOWTO on how to make one of these yourself."
Related Stories
[+]
Hardware: Building a Fully Encrypted NAS On OpenBSD 196 comments
mistermark writes "Two years ago this community discussed my encrypted file server. That machine has kept running and running up until a failing drive and a power outage this last week. So, it's time to revise everything and add RAID to it as well. Now you can have an on-the-fly encrypting/decrypting NAS with the data security of RAID, all in one. Here is the how-to."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Nice (Score:5, Funny)
why? (Score:5, Insightful)
Re:why? (Score:5, Funny)
No need.
Parent
Re:why? (Score:3, Informative)
Re:why? (Score:5, Insightful)
Sure, store them on an AES-256 encrypted filesystem, sure, use SSL for the transfer. But it doesn't help the fact that the downloaders/uploaders are known.
Parent
now that's useful (Score:3, Funny)
Re:now that's useful (Score:3, Funny)
Be very, very careful when using EFS!!! (Score:5, Informative)
Be very, very careful when using the Windows XP built-in file encryption, called EFS (Encryping File System).
EFS is very poorly documented. The encryption is tied to your user password in a way that is apparently not documented. EFS depends on being part of a Windows 2003 Server domain in a way that is not clearly documented; if you are using Windows XP on a stand alone computer, there are situations in which you will lose your files forever.
Microsoft technical support agrees with what I just said, and provides no help or fixes.
The official Microsoft forums contain the complaints of many people who have lost their files due to problems with EFS. One man said he lost 11 years of research.
People complain about Microsoft every day on Slashdot, but I've never seen a discussion by anyone who seemed to realize how bad Microsoft truly is.
Parent
Re:Be very, very careful when using EFS!!! (Score:3, Informative)
Re:Be very, very careful when using EFS!!! (Score:5, Insightful)
Parent
Re:Be very, very careful when using EFS!!! (Score:5, Insightful)
Regards,
Steve
Parent
For Your Eyes Only... (Score:3, Informative)
Recovering Encrypted Files
Any data recovery agent can recover an encrypted file when a user's private key fails to decrypt the file.
To recover an encrypted file
1. Log on to a computer that has access to the user's profile; for example, a computer that has a designated recovery console or a recovery key on removable media such as a floppy disk. You might log on at the user's computer or the user might have a roaming profile.
2. Locate the encrypted fi
Many scattered, poorly written documents about EFS (Score:3, Informative)
I've read the many scattered, poorly written documents about EFS. I find them very misleading. For example, the information above does not say that it applies only if the encrypting computer is part of a Windows domain.
Re:Be very, very careful when using EFS!!! (Score:3, Informative)
Re:Be very, very careful when using EFS!!! (Score:4, Informative)
http://support.microsoft.com/default.aspx?scid=kb
Summary: Rejoin your original domain and change your password to your original password.
People complain about Microsoft every day on Slashdot, but I've never seen a discussion by anyone who seemed to realize that if all you wannabe Windows Administrators left the "market", the world would be a better place for everyone.
Parent
Re:Be very, very careful when using EFS!!! (Score:3, Informative)
"You're just a user so screw off. We're far too important to worry about your stupid data."
I can't see any other explanation.
You act sure, but you say, "I believe." (Score:4, Informative)
You said, "This is another example of mod-by-agreement. Anyway, EFS is documented perfectly well."
Correction: This is another example of someone on Slashdot acting sure when he knows nothing about the issue, and didn't even read the document at his first link in his Google Search: Microsoft Windows XP - Data Recovery and Data Recovery Agents [microsoft.com], which says:
"The default design for the EFS recovery policy is different in Windows XP Professional than it was in Windows 2000 Professional. Stand-alone computers [using Windows XP] do not have a default DRA, but Microsoft strongly recommends that all environments have at least one designated DRA.
"In a Windows 2000 environment, if an administrator attempts to configure an EFS recovery policy with no recovery agent certificates, EFS is automatically disabled. In a Windows XP Professional environment, the same action enables users to encrypt files without a DRA. In a mixed environment an empty EFS recovery policy turns off EFS on Windows 2000 computers, but only eliminates the requirement for a DRA on Windows XP Professional computers."
This information means that you can lose your files in Windows XP in a way that you could not lose them in Windows 2000. Microsoft made this change, but provided no on-screen warning.
The Microsoft document quoted above says, "Stand-alone computers do not have a default DRA,..."
It should say, Stand-alone computers CANNOT have a DRA that allows decryption of files from a different computer with the same user name and password.
As I mentioned, this was verified by Microsoft Tecnhical Support representatives, as was the information in my parent post.
You said above, "I believe the process can be started with a simple cipher
Parent
Re:You act sure, but you say, "I believe." (Score:3, Interesting)
Yeah, you can lose your data, if you reset the user's password. Before you reset a password, a big ugly warning box is shown stating that the user might expierence data loss. (a dialog not present in 2000). It's not like you'll magically lose your files in XP for no reason.
Re:EFS encrypts with two passwords. (Score:3, Informative)
slashdotted (Score:5, Funny)
Well, I guess he USED to be your friend, until you slashdotted his internet connection....
Also encrypted my machine (Score:5, Funny)
I would be impressed if.. (Score:2)
Another pitfall is that samba.. not secure.. again, if he'd install vpn server there that would create secured medium for accessing it, would be another story.
The saddest part probably is that he raped SGI 320 and put AMD in it! just to have cool case for his desktop, seesh, he'd have much more geek respect, by keeping that SGI intact.
Note to law enforcement. Dont reboot. (Score:5, Interesting)
And oh yeah, with SMB as your network file system, is the traffic securely encrypted? Weakest link, and all that...
Baz
PS yes, I know you're only doing legal stuff
And another thing... (Score:2)
cryptfs -m Encryption key: secretstring
dont forget to zap your
Baz
Re:Note to law enforcement. Dont reboot. (Score:2)
Even worse HES DOWNLOADING FROM BITTORENT. Why would the feds need to bust in? The **AAs will just catch him like every other bt user since the bt protocol itself isnt encrypted. Like any other P2P network, users connect to other users would have the data. Just start downloading a torrent and log everyones ips that connect to you.
Re:Note to law enforcement. Dont reboot. (Score:3, Interesting)
Of course, that's dd from a CD-ROM full of statically linked programs. Investigators shouldn't trust target machines for anything. And if you ever look at a machine that may wind up in court, make sure you don't do anything that writes to the hard disk.
The Secret Service guidelines for seizing computers say to consult a computer specialist if possible before doing anything, but if there's no specialist to be had they say to yank the power cord.
Doing investigations ri
Big fan... (Score:4, Funny)
Re:Big fan... (Score:2)
Re:Big fan... (Score:2)
Re:Big fan... (Score:2)
As others have pointed out, 120mm (4.72 inches). This is pretty much the perfect size to mount in three 5.25 inch bays. I have one mounted on my s
I did this once... (Score:5, Funny)
Re:I did this once... (Score:3, Funny)
After that my program will print a message about the commercial version having support for decryption and where to send $25.00 via Pay Pal.
Defeats the purpose... (Score:5, Insightful)
Mirror? (Score:2, Interesting)
Obstruction of justice (Score:5, Informative)
http://www.ohiobar.org/pub/lycu/index.asp?article
Re:Obstruction of justice (Score:3, Interesting)
Re:Obstruction of justice (Score:3, Insightful)
Re:Obstruction of justice --misleading wording. (Score:3, Funny)
Let's take two examples.
Example One
You say: "Fuck you dirty rat coppers, I have the key and I spit at your entire justice system which I haven nothing but contempt for. I have the key and I refuse to give it to you. Go to hell."
Well, in that case I think you might be right.
But let's try another instance of "don't hand over" that has different implications.
Example Two
You say:
Re:Obstruction of justice (Score:5, Interesting)
Parent
Re:Obstruction of justice (Score:3, Informative)
I'm not sure if we're thinking of the same project, but the one I knew was called "rubber hose". For a while, it was hosted at www.rubberhose.org, but that site dropped off the net several years ago, and to the best of my knowledge has not reappeared since.
A fe
Re:Obstruction of justice (Score:3, Informative)
Let me get this straight with another example:
Cop: "Are you guilty of [crime]?"
Me: "No!" or
Me: "..."
Despite my handsomely elaborate defense, I end up in jail for [crime] with a definitive sentence.
At that point, the zealous cop shows up and tells me he's also going to charge me with obstruction of justice, because he kindly asked me a question the first time around, and I lied or said nothing?
You got it backwards, I guess. The suspect is never required to collaborate with his/her prosecutors. They ma
Already Been Done (Score:2, Informative)
Why is my way better? Well, the default BitTorrent client is somewhat lacking feature wise. Azureus is more powerful and gives you more control over what to do with the torrents when they are done downloading. Not to mention the support for trackerless torrent [slashdot.org]
Differentl laws in that country make this useful! (Score:3, Insightful)
The theory in his country being if they can't find anything on your drive, then they can't prove shit.
Must be nice...
Website Fried (Score:5, Funny)
404 Fried too (Score:3, Insightful)
Re:Piracy how-tos? (Score:5, Insightful)
Parent
Blizzard (Score:5, Funny)
Douche bag.
Parent
Re:Piracy how-tos? (Score:2, Interesting)
Re:Piracy how-tos? (Score:5, Insightful)
Parent
Re:oops url (Score:3, Funny)