LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-13-2016, 09:00 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post Securing virtualization with SElinux.


Hello.
Can anyone show me some SElinux options for securing Virtualization like Xen? I like to secure my Xen via SElinux.

Thank you.
 
Old 06-13-2016, 06:18 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Under your other account you registered in 2008. In 2014 I asked you to please read https://www.linuxquestions.org/quest...#faq_lqwelcome and recommended you start any new thread by including pertinent technical information like a concise description of the problem et cetera which includes posting what you have researched and tried yourself. Please make some effort before posting. That is efficient because it provides our fellow LQ members with information to work with.
 
Old 06-14-2016, 01:09 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by unSpawn View Post
Under your other account you registered in 2008. In 2014 I asked you to please read https://www.linuxquestions.org/quest...#faq_lqwelcome and recommended you start any new thread by including pertinent technical information like a concise description of the problem et cetera which includes posting what you have researched and tried yourself. Please make some effort before posting. That is efficient because it provides our fellow LQ members with information to work with.
I did and found some links but most of them are Old.
 
Old 06-14-2016, 01:48 AM   #4
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,150

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Old info doesn't mean useless, old stuff most of the time are very good info because it gives you a detail how a complex thing has started.

But of course if you just want to get things done and don't care how and why it works, then I guess it's a different story.

Anyway here's some link below:

Securing Xen:
http://wiki.xenproject.org/wiki/Securing_Xen

Intro to SELinux:
https://www.digitalocean.com/communi...basic-concepts

Good luck!
 
1 members found this post helpful.
Old 06-19-2016, 06:20 AM   #5
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by JJJCR View Post
Old info doesn't mean useless, old stuff most of the time are very good info because it gives you a detail how a complex thing has started.

But of course if you just want to get things done and don't care how and why it works, then I guess it's a different story.

Anyway here's some link below:

Securing Xen:
http://wiki.xenproject.org/wiki/Securing_Xen

Intro to SELinux:
https://www.digitalocean.com/communi...basic-concepts

Good luck!
I looked at "https://www.centos.org/docs/5/html/5.2/Virtualization/chap-Virtualization-SELinux_and_virtualization.html" but commands not working
 
Old 06-19-2016, 06:41 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by hack3rcon View Post
(..) commands not working
I'm sorry to hear that but you're supposed to help us help you. That should have been done by posting pertinent nfo.
 
1 members found this post helpful.
Old 06-19-2016, 07:51 AM   #7
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Command worked when I changed it to "semanage fcontext -a -t xen_image_t -f b /dev/XXX".
 
Old 06-20-2016, 10:50 AM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
I started to dive into SELinux, but then realized that AppArmor, which comes with Ubuntu these days, was able to do everything that I needed to do.

As far as I can see, SELinux focuses on the user, while AppArmor focuses on the application. In many other ways they do similar things.
 
  


Reply



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
LXer: Virtualization With Xen On CentOS 6.3 (x86_64) (Paravirtualization & Hardware Virtualization) LXer Syndicated Linux News 0 08-29-2012 05:40 AM
Selinux-how do i find out what domains have permissions on what type?(selinux policy) vishyc88 Linux - Security 2 11-22-2010 04:27 AM
Securing server - SELinux or iptables or both? pingu Linux - Networking 2 11-10-2005 04:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:49 PM.

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
Open Source Consulting | Domain Registration