Git¶
Purpose¶
Git server for the Wiki page Software development and System Administration teams.
Application Links¶
Administration¶
System Administration¶
Primary: Jan Dittberner
Secondary: None
Todo
find an additional admin
Application Administration¶
Application |
Administrator(s) |
|---|---|
Git |
|
Gitweb |
Contact¶
Additional People¶
Dirk Astrath has sudo access on that machine too.
Basics¶
Physical Location¶
This system is located in an LXC container on physical machine Infra02.
Logical Location¶
- IP Internet:
- IP Intranet:
- IP Internal:
- MAC address:
00:ff:2e:b0:4b:1b(eth0)
See also
See Network
Monitoring¶
- internal checks:
DNS¶
Name |
Type |
Content |
|---|---|---|
git.cacert.org. |
IN A |
213.154.225.250 |
git.cacert.org. |
IN SSHFP |
1 1 23C7622D6DB5822C809152C1C0FD9EA7838F76C6 |
git.cacert.org. |
IN SSHFP |
1 2 DABBE1766C7933071C4E6942A1DFC72C26D9D867D8DEE84BEDA210C8EF9EA2C5 |
git.cacert.org. |
IN SSHFP |
2 1 8509DB491902FE10AB84C8F24B02F10C1ADF0E7F |
git.cacert.org. |
IN SSHFP |
2 2 00C20C26B6B9A026BBB11B5C45CBEC5D3AB44A039DC0F097CAD88374D3567D01 |
git.cacert.org. |
IN SSHFP |
3 1 60DE5788BD83ABC7F315B667F634BDA5DA8502ED |
git.cacert.org. |
IN SSHFP |
3 2 132BD98483440124F6B8117148B02A66645477F53C18F974E4DECB32A7495644 |
git.cacert.org. |
IN SSHFP |
4 1 13D611007B43D073CF4D89784510398116623EB7 |
git.cacert.org. |
IN SSHFP |
4 2 40A61A25488FE01C056EAAFF703EF0FF9C6B01BEE00580A91B95741DFAA59751 |
git.intra.cacert.org. |
IN A |
172.16.2.250 |
See also
Operating System¶
Debian GNU/Linux 13 Trixie
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 |
443/tcp |
https |
ANY |
application |
5666/tcp |
nrpe |
monitor |
remote monitoring service |
Running services¶
Service |
Usage |
Start mechanism |
|---|---|---|
icinga2 |
Icinga2 monitoring agent |
systemd unit |
cron |
job scheduler |
systemd unit |
openssh server |
ssh daemon for remote administration |
systemd unit |
Postfix |
SMTP server for local mail submission |
systemd unit |
nginx |
Webserver for git |
systemd unit |
Connected Systems¶
Outbound network connections¶
Security¶
SSH host keys¶
Algorithm |
Fingerprints |
|---|---|
RSA |
|
DSA |
- |
ECDSA |
|
ED25519 |
|
See also
Dedicated user roles¶
Group |
Purpose |
|---|---|
git-birdshack |
access to Wiki page BirdShack git repositories |
softass |
Software assessors |
git-boardvoting |
access to board voting git repository |
git-rccrtauth |
access to Roundcube certificate authentication git repository |
git-infra |
access to infrastructure git repositories |
Todo
Move repositories to Code
Non-distribution packages and modifications¶
None
Risk assessments on critical packages¶
The system only uses security supported packages exposed via quite safe protocols.
Critical Configuration items¶
Keys and X.509 certificates¶
Certificate for CN git.cacert.org, see details in the certificate list
certificate in file /etc/ssl/public/git.cacert.org.chain.pem
private key in file /etc/ssl/private/git.cacert.org.key.pem
The /etc/ssl/public/git.c.o.chain.crt contains the CAcert.org Class 1
certificate too.
Git repositories¶
nginx configuration¶
nginx serves the cgit interface via http and https. The http VirtualHost redirects all traffic to https.
cgit configuration¶
cgit is configured in /etc/cgitrc.
Tasks¶
Changes¶
Planned¶
System Future¶
Remove the system and move content to Code
Additional documentation¶
Adding a git repository¶
The git repositories are stored in /srv/git/. To create a new
repository use:
cd /srv/git/
git init --bare --shared=group <reponame.git>
chgrp -R <groupname> <reponame.git>
The gitweb index is built from all repositories that contain a file
git-daemon-export-ok. You should also put a description in the
repository’s description file and set the repository owner via:
cd <reponame.git>
git config gitweb.owner "Owner information"
See also