Skip to contentSkip to conversation

hkp port

DISCUSSION Russell Coker 2 participants 3 messages Nov 6, 2007 SELinux security module

lore
Share & tools
lore
#0 lore raw

http://etbe.coker.com.au/2007/11/06/squid-and-se-linux/

As described in the above URL I believe that port 11371 (for GPG key transfer) needs to be labelled as http_port_t to permit GPG to use Squid.

Signature · 9 lines
[email protected]
http://etbe.coker.com.au/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development

--
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.
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 5 lines · Russell Coker

http://etbe.coker.com.au/2007/11/06/squid-and-se-linux/

As described in the above URL I believe that port 11371 (for GPG key transfer) needs to be labelled as http_port_t to permit GPG to use Squid.

Why not just create a new type for this port

network_port(pgpkeyserver, udp, 11371,s0, tcp,11371,s0)

Then give connect access to apache and squid. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHMOrWrlYvE4MpobMRAn5iAJ4vJwqjiXSWAbuYuVAzu/HOWNtwvQCcDiFC hblVcIld2Kb303R0igVStYo=
=IB7s
-----END PGP SIGNATURE-----

--
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.

#2 lore raw
Quoted 11 lines · Daniel J Walsh
Quoted 4 lines · Russell Coker

http://etbe.coker.com.au/2007/11/06/squid-and-se-linux/

As described in the above URL I believe that port 11371 (for GPG key transfer) needs to be labelled as http_port_t to permit GPG to use Squid.

Why not just create a new type for this port

network_port(pgpkeyserver, udp, 11371,s0, tcp,11371,s0)

Then give connect access to apache and squid.

A quick probe of some servers revealed that three of them didn't completely implement the HTTP protocol (IE they weren't proper web servers) and a fourth was running pks_www (which apparently is a stand-alone daemon not typically run from a web server).

So it seems that it's not web servers used for this and therefore a new port type is justified.

Policy for a key server daemon would be good too, I'll write it if I get some spare time.

Signature · 9 lines
[email protected]
http://etbe.coker.com.au/          My Blog

http://www.coker.com.au/sponsorship.html Sponsoring Free Software development

--
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.