]> git.ipfire.org Git - thirdparty/elfutils.git/commit
debuginfod: add --listen-address option
authorMichael Trapp <michael.trapp@sap.com>
Thu, 27 Mar 2025 16:06:35 +0000 (17:06 +0100)
committerMark Wielaard <mark@klomp.org>
Fri, 28 Mar 2025 11:10:47 +0000 (12:10 +0100)
commit1159fec63f438a47a597e0608c47dc5ab850246d
tree72eeda3d479d5350b933d576033f7920a842eb0c
parent31883ca665354baca6efff5a8f4f95616acf05b3
debuginfod: add --listen-address option

Use MHD_OPTION_SOCK_ADDR to bind the http listen socket to a single address.
The address should be an IPv4 or IPv6 address configured on the system:
    --listen-address=127.0.0.1
    --listen-address=::1
    --listen-address='LOCAL_IPv4|IPv6_ADDRESS'
As debuginfod does not include any security features, a listen on the
localhost address is sufficient for a HTTP/HTTPS reverse-proxy setup.

Signed-off-by: Michael Trapp <michael.trapp@sap.com>
debuginfod/debuginfod.cxx
doc/debuginfod.8