How can I use an selinux unused port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I want to use port 60000 for a confined application that is not postgrey.

However port 60000 is "owned by" postgrey and I can't seem to get past that.

I don't want to add SELinux policy that allows my app to use postgrey's port,

I want my app to think the port is myapp_port_t.

 

Is there a way to free port 60000 from postgrey?

 

[root@domingo install]# netstat -an | grep 60000

[root@domingo install]# semanage port -l | grep 60000

postgrey_port_t                tcp      60000

[root@domingo install]# /usr/sbin/semanage port -d -t postgrey_port_t -p tcp 60000

/usr/sbin/semanage: Port tcp/60000 is defined in policy, cannot be deleted

[root@domingo install]#

 

 

 

Thanks,

Brian

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-selinux-list

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux