1 |
Sadako a écrit : |
2 |
>> 2008/12/21 Sadako <sadako@××××××××××××××.ca>: |
3 |
>> |
4 |
>>>> I have one virtualbox using VT extensions, and runs fine. I have used |
5 |
>>>> PaX in the guest with rsbac 1.3.7 and the noexec based on segmentation |
6 |
>>>> and all others on (peMRXS flags) and goes fine (with pageexec does not |
7 |
>>>> work, hangs at boot, so I switch segmexec). I think that you shouldn't |
8 |
>>>> have any troubles with kvm, if you have some try using virtualbox. |
9 |
>>>> I added -D_FORTIFY_SOURCE=2 to the cflags in make.conf compilation, it |
10 |
>>>> runs fine too and I think is safe. Not hangs at the moment. |
11 |
>>>> |
12 |
>>>> 2008/12/16 Romain BERGE <romain.berge@×××××.com>: |
13 |
>>>> |
14 |
>>>>> Hey all, |
15 |
>>>>> |
16 |
>>>>> I am wondering of using and AMD CPU with the AMD-V. |
17 |
>>>>> I wonder of using KVM to virtualise a few Hardened server. |
18 |
>>>>> |
19 |
>>>>> Someone used already KVM+ Hardened ? |
20 |
>>>>> |
21 |
>>>>> Working fine ? |
22 |
>>>>> |
23 |
>>>>> Thanks |
24 |
>>>>> |
25 |
>>>>> Regards |
26 |
>>>>> |
27 |
>>>>> |
28 |
>>>>> |
29 |
>>>> |
30 |
>>> Do you actually have the virtualbox _host_ running under |
31 |
>>> hardened-sources? |
32 |
>>> If so, could you please upload your kernel config somewhere? |
33 |
>>> |
34 |
>>> I've been trying to do the same, but upon trying to boot a guest (any |
35 |
>>> guest) via virtualbox the host box locks up, and I've tried everything I |
36 |
>>> can think of, including disabling _all_ grsec and pax options within the |
37 |
>>> kernel... |
38 |
>>> |
39 |
>>> |
40 |
>>> |
41 |
>>> |
42 |
>> Are you sure is related to the host?. Why?. |
43 |
>> |
44 |
>> |
45 |
>> |
46 |
> It's the host box which is locking up, and the host which is running |
47 |
> hardened-sources. |
48 |
> Booting the host with gentoo-sources, and it works fine. |
49 |
> |
50 |
> I believe others have had the same issue as me, however there is at least |
51 |
> one person who has had it working without any issues, see this fgo thread; |
52 |
> https://forums.gentoo.org/viewtopic-t-713850.html |
53 |
> |
54 |
> Unfortunately, that user informed me via PM that he no longer has the |
55 |
> kernel configs he used... |
56 |
> |
57 |
> |
58 |
> |
59 |
The CPU i plan to use also offer the NX bit. |
60 |
It is used by Pax for the segregation of the memory page. |
61 |
Thus it avoid to emulate the NX bit (which slows down the machine). |
62 |
|
63 |
Does someone know if the NX bit feature will also be used by my guest |
64 |
gentoo-hardened ? |
65 |
Or is it limited to the gentoo-hardened host ? |
66 |
|
67 |
Thanks |
68 |
|
69 |
PS: the question is in fact similar to every CPU feature (like |
70 |
SSE,SSE2,....) Are they reachable by the guest OS ? |