LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SELinux vs Apparmor for home use - Steam - AMD (https://www.linuxquestions.org/questions/linux-newbie-8/selinux-vs-apparmor-for-home-use-steam-amd-4175540465/)

Amarildo 04-22-2015 08:08 PM

SELinux vs Apparmor for home use - Steam - AMD
 
Would it be practical to have either SELinux or AppArmor for a home computer? The only two things I'm worried about are the proprietary AMD drivers and Steam. I literaly know NOTHING about SELinux or AppArmor so I'm relying on the more experienced users here.

All I need is to make sure they (Steam and the AMD Drivers) are contained within themselves and that my system will be a little more secure if an attack is posed against them.

Regards,
Amarildo

veerain 04-24-2015 06:30 AM

It's not good security wise to use a proprietary binaries. Even then or if you trust them then Apparmr would be more easy than Selinux to setup. Read them about in Linux kernel sources documentation or online in browseable kernel sources.

DavidMcCann 04-24-2015 11:03 AM

Things like SEL and AppArmor are probably overkill for the home user. If you connect to the internet via a router, its firewall should be enough. If you use a modem, make sure you have your own firewall on the computer. If you are using a Debian-based distro like Mint, you need to enable it by installing and running gufw.

If you want one, then it depends on your distro. SEL is enabled by default in Fedora and CentOS, but I've heard that it can be a pain to set up in Debian-based distros. AppArmor comes with OpenSUSE and (partially, I believe) with Ubuntu and Mint.

John VV 04-24-2015 02:11 PM

it REALLY!!!! depends on your Operating system

on redhat it would be rather difficult to use apparmor

redhat USES SELinux

and on it would also be rather difficult to use SElinux
seeing as it defaults to apparmor


on OpenSUSE you can choose

BUT you have to do some things manually for what ever you use

Amarildo 04-24-2015 03:00 PM

Quote:

Originally Posted by veerain (Post 5352327)
It's not good security wise to use a proprietary binaries.

Sure, but there's no alternative. Even if I want to get 75 Hz on my CRT monitor I need the proprietary Firmware for my card.

Quote:

Originally Posted by DavidMcCann (Post 5352469)
Things like SEL and AppArmor are probably overkill for the home user. If you connect to the internet via a router, its firewall should be enough. If you use a modem, make sure you have your own firewall on the computer. If you are using a Debian-based distro like Mint, you need to enable it by installing and running gufw.

If you want one, then it depends on your distro. SEL is enabled by default in Fedora and CentOS, but I've heard that it can be a pain to set up in Debian-based distros. AppArmor comes with OpenSUSE and (partially, I believe) with Ubuntu and Mint.

I'm on Debian, with GUFW, behind a router that masks my computer - all non-solicited packages are redirected to an IP that doesn't exist on my network, and all pings are blocked as well.

Quote:

Originally Posted by John VV (Post 5352542)
it REALLY!!!! depends on your Operating system

on redhat it would be rather difficult to use apparmor

redhat USES SELinux

and on it would also be rather difficult to use SElinux
seeing as it defaults to apparmor


on OpenSUSE you can choose

BUT you have to do some things manually for what ever you use

I couldn't find any info if there's a profile on AppArmor for AMD drivers and Steam o.O

TobiSGD 04-24-2015 03:05 PM

For the proprietary AMD drivers, I would think you are pretty much out of luck, they have direct access to the kernel, so there is not much you can do about that.
For Steam, if you are concerned about that I would just put it into a container, so that all that Steam sees is an OS that is used for nothing but Steam.

Amarildo 06-05-2015 05:03 PM

Too bad, because I need the proprietary drivers in order to render my Blender models with my GPU, which uses OpenCL for that (in combination with Luxrender).

Even if only rendered my models with the CPU it would be impossible to even move the camera around as the scenery is highly detailed and boggles everything if there's no proprietary code running on the GPU side.

I guess I don't have a choice for now. One of my drives died yesterday (80GB, old) and so I can't use it for a pure GNU system.

DavidMcCann 06-06-2015 11:49 AM

Quote:

Originally Posted by Amarildo (Post 5372791)
Too bad, because I need the proprietary drivers in order to render my Blender models with my GPU, which uses OpenCL for that (in combination with Luxrender).

I wouldn't worry: use your AMD driver and be happy. That's what everyone does, except for a handful of Free Software Fanatics, and I haven't yet heard of anyone being hacked by a video driver!

TobiSGD 06-06-2015 12:12 PM

Quote:

Originally Posted by DavidMcCann (Post 5373162)
I wouldn't worry: use your AMD driver and be happy. That's what everyone does, except for a handful of Free Software Fanatics, and I haven't yet heard of anyone being hacked by a video driver!

Not to mention that even if you use the free driver instead it still needs a whole load of proprietary firmware to actually work.

Amarildo 06-06-2015 12:28 PM

Actually, it does. That bugs the crap out of me: how come Linux is licensed under the GPL but has non-free code in it?

But that doesn't matter because I decided to become a programmer and drop my 3D modeling skills. I'm still deciding between pure Debian, or Parabola. Parabola is great, I've been an Arch user for several years and so I feel "at home" while using it. However, it's IceWeasel makes my monitor to flicker if I watch a Youtube video. I'll try different browsers today to see if that still happens.

John VV 06-06-2015 01:02 PM

Quote:

Too bad, because I need the proprietary drivers in order to render my Blender
never had any SE issues with the nvidia driver and have NEVER heard of any with the AMD driver

NO issues with both the open and closed versions

and never had ANY SE issues with Blender , NEVER


I have also never heard of a ATI/AMD or Nvidia issue , nor a Blender issue with apparmor

TobiSGD 06-06-2015 04:13 PM

Quote:

Originally Posted by Amarildo (Post 5373171)
Actually, it does. That bugs the crap out of me: how come Linux is licensed under the GPL but has non-free code in it?

It hasn't. The firmware is not part of the kernel. By the way, not everything in the kernel is GPL licensed, the free AMD drivers for example use some kind of MIT license (IIRC, the same license that Xorg uses).


All times are GMT -5. The time now is 02:39 PM.