*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Advanced encryption: PEFS; kldload error

XigmaNAS Packages
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
lyndhurst
NewUser
NewUser
Posts: 1
Joined: 24 Aug 2017 13:44
Status: Offline

Advanced encryption: PEFS; kldload error

#1

Post by lyndhurst » 30 Aug 2017 11:01

I read many posts regarding encryption, and some users talking about keeping a veracrypt
(ex truecrypt) container on a share for safekeeping, mounting it on your pc when needed.

What I am trying to achieve is some kind of plausible deniability, or more accurately, the possibility
of giving up a password to a potential attacker that would in fact reveal only some harmless data.
But I want to be able to mount the unencrypted volume on a share being available to all local users
with read and write capabilities.


So, I read about a better solution, native to freebsd, light, that resides on top of the filesystem, with reliable protection against data loss in case of unexpected shutdown / dismount : PEFS
http://pefs.io/

This looks promising, so, I try it out..
In a jail, as my nas was an embedded install at the time. (version 11.1.04-Atomics revision 4517)

Of course upon my first try, I get a message telling that pefs cannot access the kernel. I am not very good yet with all this stuff, but as I read here many times, I understand that jails are virtualized environment, not VMs, and reading more about PEFS, it kind of makes sense for it not to work in a jail.. Maybe I am wrong...

So, I go ahead and change my setup for a full install to try and install PEFS

Here, new problem,

Code: Select all

cd /usr/ports/sysutils/pefs-kmod && make install clean
make : command not found
I come back to the forum, find out this is normal, and read that installing a compiler is not recommended at all.

Code: Select all

pkg install pefs-kmod
...It works !!!!!
I go ahead following the tutorial http://www.bsdnow.tv/tutorials/pefs

Code: Select all

kldload pefs
kldload: an error occurred while loading the module. Please check dmesg(8) for more details.
I did not learn much more from dmesg..

I would really appreciate any help , maybe someone who understands this kldload error message, I am completely stuck..
I also read that it was better to build PEFS from ports on FreeBSD 11 than install from package, maybe this is the problem..

So, do you think it is possible to make PEFS work on Nas4Free (jail or not), or am I wasting my time??
Thanks in advance.

Post Reply

Return to “Packages”