-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.gmi
52 lines (38 loc) · 885 Bytes
/
README.gmi
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
# natto
austere gemini/spartan server for openbsd (might work on other platforms...?)
* inetd-based
* tls handled by relayd
* does unveil/pledge on openbsd
* spartan support 💪
## setup
relayd.conf will need something like this:
```
protocol "gemini" {
tls keypair gemini
}
protocol "spartan"
relay "gemini" {
listen on 0.0.0.0 port 1965 tls
protocol gemini
forward to ::1 port 1965
}
relay "spartan" {
listen on 0.0.0.0 port 300
protocol spartan
forward to ::1 port 300
}
```
and inetd.conf:
```
[::1]:gemini stream tcp6 nowait gemini /usr/local/bin/natto natto
[::1]:spartan stream tcp6 nowait gemini /usr/local/bin/natto natto -s
```
you might have to define the gemini service in /etc/services:
```
gemini 1965/tcp
spartan 300/tcp
```
## karashi
standalone gemini server. handles tls.
## negi
standalone spartan and gemini server. doesn't handle tls.