Browse Source

explain inetd should only answer on 127.0.0.1 instead of all interfaces. Suggestion from xhr

master
Solene Rapenne 11 months ago
parent
commit
ec3d847e1c
  1. 4
      README.md
  2. 2
      vger.8

4
README.md

@ -65,7 +65,7 @@ Create an user `gemini_user`.
Add this line to inetd.conf:
```
11965 stream tcp nowait gemini_user /usr/local/bin/vger vger
127.0.0.1:11965 stream tcp nowait gemini_user /usr/local/bin/vger vger
```
Add this to relayd.conf
@ -77,7 +77,7 @@ tcp protocol "gemini" {
relay "gemini" {
listen on hostname.example port 1965 tls
protocol "gemini"
protocol "gemini"
forward to 127.0.0.1 port 11965
}
```

2
vger.8

@ -62,7 +62,7 @@ can be used on any port because it won't be public.
.Pp
/etc/inetd.conf example using a dedicated gemini_user:
.Bd -literal -offset indent
11965 stream tcp nowait gemini_user /usr/local/bin/vger vger
127.0.0.1:11965 stream tcp nowait gemini_user /usr/local/bin/vger vger
.Ed
.Pp
The public port TCP/1965 must be served by a daemon like

Loading…
Cancel
Save