SELinux with IPSec - something going on ?
Quoted 3 lines · On 2003-11-17 at 14:37 Stephen Smalley wrote:
We have not done any work on integrating SELinux with IPSEC yet; at this point, such work would presumably be done based on the new Linux 2.6 IPSEC implementation.
Now, 11 months have passed, has any work been made to integrate IPSec with SELinux? I also want to see if there is something I can do with it.
Thanks.
--
Best Regards,
Park Lee <[email protected]>
---------------------------------
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
someone from ibm mentioned a few weeks back that they have been working on IPsec.
Quoted 10 lines · Park Lee
Quoted 3 lines · On 2003-11-17 at 14:37 Stephen Smalley wrote:
We have not done any work on integrating SELinux with IPSEC yet; at this point, such work would presumably be done based on the new Linux 2.6 IPSEC implementation.
Now, 11 months have passed, has any work been made to integrate IPSec with SELinux? I also want to see if there is something I can do with it.
Thanks.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Hi,
here is a fresh ipsec-tools [1] policy made for gentoo. works flawlessly with my setup [2] (the doc is work in progress).
[1] http://ipsec-tools.sourceforge.net/
[2] http://dev.gentoo.org/~kaiowas/doc/wifi_ipsec-howto.html
is this usable for any of you?
bye,
peter
Quoted 11 lines · Park Lee
Quoted 3 lines · On 2003-11-17 at 14:37 Stephen Smalley wrote:
We have not done any work on integrating SELinux with IPSEC yet; at this point, such work would presumably be done based on the new Linux 2.6 IPSEC implementation.
Now, 11 months have passed, has any work been made to integrate IPSec with SELinux? I also want to see if there is something I can do with it.
Thanks.
--
petre rodan
<[email protected]>
Developer,
Hardened Gentoo Linux
/etc/ipsec\.conf -- system_u:object_r:setkey_conf_file_t
/etc/racoon(/.*)? system_u:object_r:racoon_conf_file_t
/etc/racoon/certs(/.*)? system_u:object_r:racoon_key_file_t
/etc/racoon/psk\.txt -- system_u:object_r:racoon_key_file_t
/usr/sbin/racoon -- system_u:object_r:racoon_exec_t/usr/sbin/setkey -- system_u:object_r:setkey_exec_t
/var/run/pluto\.ctl -s system_u:object_r:racoon_var_run_t
/var/run/racoon\.pid -- system_u:object_r:racoon_var_run_t
#DESC ipsec-tools
#
# Author: petre rodan <[email protected]>
daemon_base_domain(racoon, `, privlog')
type racoon_conf_file_t, file_type, sysadmfile;
type racoon_key_file_t, file_type, sysadmfile;
var_run_domain(racoon)read_locale(racoon_t)can_network(racoon_t)
allow racoon_t self:capability { net_admin net_bind_service };
r_dir_file(racoon_t, racoon_conf_file_t)r_dir_file(racoon_t, racoon_key_file_t)
daemon_domain(setkey)
type setkey_conf_file_t, file_type, sysadmfile;
define(setkey_domain',
uses_shlib($1_t)read_locale($1_t)
allow $1_t self:capability { net_admin };
allow $1_t setkey_conf_file_t:file r_file_perms;
') dnl end setkey_domain
define(setkey_userdomain',
# derived domain based on the calling user domain type $1_setkey_t, domain;
domain_auto_trans($1_t, setkey_exec_t, $1_setkey_t) role $1_r types $1_setkey_t;
setkey_domain($1_setkey)
# this is why there is a setkey_userdomain :)
allow $1_setkey_t { $1_tty_device_t $1_devpts_t }:chr_file { getattr read write };
allow $1_setkey_t privfd:fd use;
') dnl end setkey_userdomain# one for initrc setkey_domain(setkey)
# and one for sysadm setkey_userdomain(sysadm)
Quoted 9 lines · petre rodan
Hi,
here is a fresh ipsec-tools [1] policy made for gentoo. works flawlessly with my setup [2] (the doc is work in progress).
[1] http://ipsec-tools.sourceforge.net/
[2] http://dev.gentoo.org/~kaiowas/doc/wifi_ipsec-howto.htmlis this usable for any of you?
Thanks for making it available. However, just to clarify, the original question had to do with integration of SELinux and IPSEC for the purpose of labeling and protecting network packets in accordance with security policy, as was done in research predecessors of SELinux (Flask and DTOS). Trent is doing work in that area, as he noted. That is independent of providing policy for IPSEC userland components (which is also certainly useful).
Signature · 8 lines
Stephen Smalley <[email protected]> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.