Skip to content

Commit b791361

Browse files
committed
fix: default listen address to localhost only
Plain HTTP should not be exposed to the network. Default to 127.0.0.1:8080 so a TLS-terminating reverse proxy is required for external access.
1 parent 4915299 commit b791361

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

contrib/freebsd/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ pkg add ./epithet-*.pkg
5757
| `epithet_server_config` | `/usr/local/etc/epithet/server.yaml` | Config file path |
5858
| `epithet_server_user` | `epithet` | User to run as |
5959
| `epithet_server_cakey` | `/usr/local/etc/epithet/ca.key` | CA private key path |
60-
| `epithet_server_listen` | `:8080` | Listen address |
60+
| `epithet_server_listen` | `127.0.0.1:8080` | Listen address |
6161
| `epithet_server_logfile` | `/var/log/epithet_server.log` | Log file path |
6262

6363
## Troubleshooting

contrib/freebsd/rc.d/epithet_server

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ load_rc_config $name
3030
: ${epithet_server_config:="/usr/local/etc/epithet/server.yaml"}
3131
: ${epithet_server_user:="epithet"}
3232
: ${epithet_server_cakey:="/usr/local/etc/epithet/ca.key"}
33-
: ${epithet_server_listen:=":8080"}
33+
: ${epithet_server_listen:="127.0.0.1:8080"}
3434
: ${epithet_server_logfile:="/var/log/epithet_server.log"}
3535

3636
pidfile="/var/run/${name}.pid"

0 commit comments

Comments
 (0)