summaryrefslogtreecommitdiff
path: root/docs/systems/arbitration.rst
blob: 8b38813d3d77be41acaa4eaacdc893a140d9a91c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
.. index::
   single: Systems; Arbitration

===========
Arbitration
===========

Purpose
=======

This system is planned to host a future collaboration platform for arbitrators.

Administration
==============

System Administration
---------------------

* Primary: `Martin Gummi`_
* Secondary: None

.. todo:: find an additional admin

.. _Martin Gummi: martin.gummi@cacert.org

Application Administration
--------------------------

There is no application yet.

.. todo:: setup application(s) and document admins

.. * <application>: <sysadmin's name>

Contact
-------

* arbitration-admin@cacert.org

Additional People
-----------------

`Jan Dittberner`_ and `Mario Lipinski`_ have :program:`sudo` access on that
machine too.

.. _Jan Dittberner: jandd@cacert.org
.. _Mario Lipinski: mario@cacert.org

Basics
======

Physical Location
-----------------

This system is located in an :term:`LXC` container on physical machine
:doc:`infra02`.

Logical Location
----------------

:IP Internet: :ip:v4:`213.154.225.241`
:IP Intranet: :ip:v4:`172.16.2.241`
:IP Internal: :ip:v4:`10.0.0.241`
:MAC address: :mac:`00:ff:5b:e0:cd:8a` (eth0)

.. seealso::

   See :doc:`../network`

DNS
---

.. index::
   single: DNS records; Arbitration

============================= ======== ============================================
Name                          Type     Content
============================= ======== ============================================
arbitration.cacert.org.       IN A     213.154.225.241
arbitration.cacert.org.       IN SSHFP 1 1 40D9C8EBCF8D41A04B990FBC5308675D029BF4EF
arbitration.cacert.org.       IN SSHFP 2 1 7474BFB01AF775511805BF15C45BB9D7591D0CE6
arbitration.intra.cacert.org. IN A     172.16.2.241
============================= ======== ============================================

.. seealso::

   See https://wiki.cacert.org/SystemAdministration/Procedures/DNSChanges

Operating System
----------------

.. index::
   single: Debian GNU/Linux; Jessie
   single: Debian GNU/Linux; 8.4

* Debian GNU/Linux 8.4

Applicable Documentation
------------------------

This is it :-) There is nothing usable on this system yet.

Services
========

Listening services
------------------

+----------+-----------+-----------+-----------------------------------------+
| Port     | Service   | Origin    | Purpose                                 |
+==========+===========+===========+=========================================+
| 22/tcp   | ssh       | ANY       | admin console access                    |
+----------+-----------+-----------+-----------------------------------------+
| 25/tcp   | smtp      | local     | mail delivery to local MTA              |
+----------+-----------+-----------+-----------------------------------------+
| 80/tcp   | http      | ANY       | application                             |
+----------+-----------+-----------+-----------------------------------------+
| 5666/tcp | nrpe      | monitor   | remote monitoring service               |
+----------+-----------+-----------+-----------------------------------------+
| 3306/tcp | mysql     | local     | MySQL database for ...                  |
+----------+-----------+-----------+-----------------------------------------+
| 5432/tcp | pgsql     | local     | PostgreSQL database for ...             |
+----------+-----------+-----------+-----------------------------------------+

.. todo:: add TLS/SSL to nginx and add HTTPS port
.. todo:: clarify whether both MySQL and PostgreSQL are used

Running services
----------------

.. index::
   single: openssh
   single: nginx
   single: cron
   single: PostgreSQL
   single: MySQL
   single: Exim
   single: nrpe

+--------------------+--------------------+----------------------------------------+
| Service            | Usage              | Start mechanism                        |
+====================+====================+========================================+
| openssh server     | ssh daemon for     | init script :file:`/etc/init.d/ssh`    |
|                    | remote             |                                        |
|                    | administration     |                                        |
+--------------------+--------------------+----------------------------------------+
| nginx              | Webserver for ...  | init script                            |
|                    |                    | :file:`/etc/init.d/nginx`              |
+--------------------+--------------------+----------------------------------------+
| cron               | job scheduler      | init script :file:`/etc/init.d/cron`   |
+--------------------+--------------------+----------------------------------------+
| PostgreSQL         | PostgreSQL         | init script                            |
|                    | database server    | :file:`/etc/init.d/postgresql`         |
|                    | for ...            |                                        |
+--------------------+--------------------+----------------------------------------+
| MySQL              | MySQL database     | init script                            |
|                    | server for ...     | :file:`/etc/init.d/mysql`              |
+--------------------+--------------------+----------------------------------------+
| Exim               | SMTP server for    | init script                            |
|                    | local mail         | :file:`/etc/init.d/exim4`              |
|                    | submission, ...    |                                        |
+--------------------+--------------------+----------------------------------------+
| Nagios NRPE server | remote monitoring  | init script                            |
|                    | service queried by | :file:`/etc/init.d/nagios-nrpe-server` |
|                    | :doc:`monitor`     |                                        |
+--------------------+--------------------+----------------------------------------+

Databases
---------

+-------------+----------+------------------------------+
| RDBMS       | Name     | Used for                     |
+=============+==========+==============================+
| MySQL       | etherpad | future etherpad installation |
+-------------+----------+------------------------------+

.. todo:: setup databases

.. note::
   There is a PostgreSQL server setup in this container but it contains
   no database yet.

Connected Systems
-----------------

* :doc:`monitor`

Outbound network connections
----------------------------

* DNS (53) resolving nameservers 172.16.2.2 and 172.16.2.3
* :doc:`emailout` as SMTP relay
* ftp.nl.debian.org as Debian mirror
* security.debian.org for Debian security updates

Security
========

SSH host keys
-------------

+-----------+-----------------------------------------------------+
| Algorithm | Fingerprint                                         |
+===========+=====================================================+
| RSA       | ``a3:6c:f1:f8:8c:81:7c:f7:3b:4e:e4:0e:a3:02:8e:18`` |
+-----------+-----------------------------------------------------+
| DSA       | ``eb:66:0e:0d:d1:f3:d8:02:3a:ed:71:7a:b2:04:db:75`` |
+-----------+-----------------------------------------------------+
| ECDSA     | ``54:a3:76:46:66:fc:3f:2d:9b:e4:bd:49:ba:fe:98:09`` |
+-----------+-----------------------------------------------------+
| ED25519   | \-                                                  |
+-----------+-----------------------------------------------------+

.. todo:: setup ED25519 host key

.. seealso::

   See :doc:`../sshkeys`

Dedicated user roles
--------------------

.. If the system has some dedicated user groups besides the sudo group used for administration it should be documented here
   Regular operating system groups should not be documented

.. '''Group''' || '''Purpose''' ||
   goodguys || Shell access for the good guys ||

Non-distribution packages and modifications
-------------------------------------------

* some experimental nmp/nodejs/etherpad things in :file:`/home/magu` not
  running yet

..
   or
   * List of non-distribution packages and modifications

Risk assessments on critical packages
-------------------------------------

* No exposed services yet.

Critical Configuration items
============================

Keys and X.509 certificates
---------------------------

* No keys or certificates setup yet

..
    * :file:`/etc/apache2/ssl/<path to certificate>` server certificate (valid until <datetime>)
    * :file:`/etc/apache2/ssl/<path to server key>` server key
    * `/etc/apache2/ssl/cacert-certs.pem` CAcert.org Class 1 and Class 3 CA certificates (allowed CA certificates for client certificates)
    * `/etc/apache2/ssl/cacert-chain.pem` CAcert.org Class 1 certificate (certificate chain for server certificate)

.. seealso::

   * :doc:`../certlist`
   * https://wiki.cacert.org/SystemAdministration/CertificateList

Nginx configuration
-------------------

* :file:`/etc/nginx/sites/available/default` default nginx configuration

Tasks
=====

Planned
-------

.. todo:: Evaluate and setup a collaboration system for arbitrators.
.. todo:: setup IPv6

Changes
=======

System Future
-------------

The system should be setup properly or should be removed it is not required
anymore.

Additional documentation
========================

.. add inline documentation

.. seealso::

   * https://wiki.cacert.org/Exim4Configuration

References
----------

Arbitration nginx welcome page
   http://arbitration.cacert.org/