Commit graph

14 commits

Author SHA1 Message Date
networkException
79bc17afab feat: add support for systemd listener activation sockets
To support starting a network service on demand and to
support a "least privilege-approach" with regards to the
permission a network service process needs to have, systemd
supports opening a network socket on behalf of the service
and passing it as an open file descriptor.

The service gets notified about open file descriptors for
this purpose as well as metadata such as named listeners
via environment variables.

This patch adds support for prefixing the listen address
passed with --address with "sd-listen-fd:" to access these
file descriptors, taking either a listener name passed using
the `LISTEN_FDNAMES` environment variable or `LISTEN_FD_$n`
for unnamed file descriptiors where `n` is the id of the
descriptor starting at 3 (LISTEN_FD_3).

See sd_listen_fds(3)
2024-12-11 17:29:03 +01:00
Henrique Dias
d7faa1f887 feat!: further log customizations 2024-07-29 10:11:02 +02:00
Henrique Dias
a255fb51e2 feat!: remove Auth option 2024-07-29 10:11:02 +02:00
Henrique Dias
d3732322bc chore: bump version to v5 2024-07-29 10:10:19 +02:00
Henrique Dias
3688420246 feat: centrally defined defaults 2024-07-22 17:52:56 +02:00
Henrique Dias
c125bedae1
refactor: code cleanup, stricter config validation (#155) 2024-07-21 20:52:50 +02:00
Henrique Dias
6f4be12e8c
ci: updated build and lint workflows (#152) 2024-07-21 19:43:30 +02:00
zmaplex
9433dbd452
fix: correctly close the listener 2024-07-18 21:24:08 +02:00
Ethan Davis
436a3b05a1
fix: 'modify:false' is respected 2022-01-18 15:17:20 +01:00
Mohammed Al Sahaf
8a8650d9b2
feat: introduce structured, field logging (#87)
* feat: introduce structured, field logging

The logging is currently minimal and only for initial message of listening and user login attempts

* chore: major version upgarde

there was a breaking API change in 8cd6d0a585 for which the git tag was v4.0.0 but the Go SIV was missed. This commit updates the SIV and retracts the defective version of v4.1.0.
2021-10-19 17:45:54 +00:00
mik2k2
fca4e54839
feat: add support for unix sockets (#58) 2020-12-17 22:14:03 +00:00
Shun Zi
2971f7ed3d feat: add URL prefix(subpath) support (#31)
To adapt to situations such as working behind a reverse proxy dispatching query to different services by URL path prefix
2019-11-08 13:01:42 +00:00
Henrique Dias
d266f1150e fix: auth enabled by default
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-06-09 13:47:28 +01:00
Henrique Dias
c5f3907994
refactor: fix ci and put files where they belong (#15)
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-05-12 19:40:58 +01:00
Renamed from cmd/webdav/root.go (Browse further)