pppd Patch for PPTPClient
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is a patch to enable PPTPClient to run, create PPTP tunnels and connect to the remote VPN networks.
I am running Fedora Core Rawhide with selinux-policy-strict-1.19.17-2 installed.
Comments?
Alex Ackerman
http://www.darkhonor.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFB5AGAPhyWKHn+SnQRAm2VAJ4heVs9nsY0Ppbv6rFB4BrJkPkZoACghZ98 jGjWZMKNn4Zrz1DKtEOuYzk=
=2UcX
-----END PGP SIGNATURE-----
pppd.te +7 -0
@@ -97,3 +97,10 @@ file_type_auto_trans(pppd_t, etc_t, net_conf_t, file) tmp_domain(pppd) + +# Added for pptpclient +allow pppd_t initrc_var_run_t:file { lock read write }; +allow pppd_t self:rawip_socket { connect create read write }; +allow pppd_t self:tcp_socket connect; +allow pppd_t self:unix_stream_socket { accept connectto listen }; +allow pppd_t var_run_t:sock_file { create setattr unlink write };
Quoted 1 line · Alex Ackerman
Comments?
+allow pppd_t self:unix_stream_socket { accept connectto listen };
Better to change the previous line to create_stream_socket_perms.
+allow pppd_t var_run_t:sock_file { create setattr unlink write };
Need a better type for this, var_run_t:sock_file should not exist in strict policy.
Signature · 9 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- 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.