Showing posts with label selinux. Show all posts
Showing posts with label selinux. Show all posts

Tuesday, June 28, 2016

Fedora 22 : F5 VPN : SELinux

Been trying to install F5 VPN client on my Fedora 22 using Firefox, and have always been stuck on "installing...".

 Tonight, i had no choice but to make it work. So, i tried searching on how to make F5 VPN work on Fedora using Firefox, again. Then I saw this blog post https://bluehatrecord.wordpress.com/2015/06/03/using-the-f5-vpn-client-plugin-in-fedora-22 which says it's an SELinux issue. All there was to do was:

sudo setsebool -P unconfined_mozilla_plugin_transition 0


...and that's it! Wow! Thanks a lot, mate!

Wednesday, June 08, 2016

CentOS : SELinux : Web App Can't Connect to Networked Database

when browsing my newly set-up web apps on CentOS, been getting "Can't connect to database server (13)" even though i can get through using CLI.

yep, it's SELinux' security blocking your web app host from connecting to your network DB.
remember to allow this via...

setsebool -P httpd_can_network_connect_db on


... and don't you ever forget!

Sunday, March 27, 2016

linux : fedora 22 : apache : error 403 for some images

I've been wondering, on and off, on why SOME of the images on my web server results to error 403 Forbidden. Change your SElinux context setting, then you should be fine.

# chcon -Rht httpd_sys_content_t <image directory>


ps. read this: https://wiki.centos.org/HowTos/SELinux/

Thursday, December 05, 2013

boxes on fedora: installing from mounted media

when trying to add a new entry in boxes using an image located in a mounted media, i get a 'connection failed' message and an selinux alert.


so i tried copying my images into my local directory, and hey!
looks like something has an issue when installing from a mounted media.

SSH : No matching host key type found. Their offer: ssh-rsa,ssh-dss

Got this while connecting to my mikrotik router via ssh   Unable to negotiate with <ip address> port <ssh port>: no matching hos...