| |
@@ -40,6 +40,10 @@
|
| |
corenet_tcp_connect_epmd_port(ejabberd_t)
|
| |
corenet_tcp_connect_generic_port(ejabberd_t)
|
| |
corenet_tcp_connect_jabber_interserver_port(ejabberd_t)
|
| |
+ corenet_tcp_connect_postgresql_port(ejabberd_t)
|
| |
+ postgresql_stream_connect(ejabberd_t)
|
| |
+ corenet_tcp_connect_mysqld_port(ejabberd_t)
|
| |
+ mysql_stream_connect(ejabberd_t)
|
| |
|
| |
corenet_udp_bind_generic_node(ejabberd_t)
|
| |
|
| |
It's possible to use SQL databases like PostgreSQL and MySQL instead of
Mnesia for storage in ejabberd. This adds SELinux rules to connect to
those databases.
Note: I tested the PostgreSQL rule for TCP connections, but I haven't tried the MySQL rules.