1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

s4-echo: Remove the "echo" server (port 7, RFC 862) in production builds

This demonstration should never be enabled in production, if
echo service is required other software is far better positioned
to provide it.  Reflection attacks on echo are a known issue.

This is removed for consistency with the removal of rpcecho, but was
never enabled in the default smb.conf so is mostly harmless.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Bartlett 2023-09-12 19:03:10 +12:00 committed by Jule Anger
parent a9c32f929b
commit 2e87c9d865

View File

@ -6,5 +6,5 @@ bld.SAMBA_MODULE('ECHO',
init_function='server_service_echo_init',
deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET',
local_include=False,
enabled=bld.AD_DC_BUILD_IS_ENABLED()
enabled=bld.CONFIG_GET('ENABLE_SELFTEST'),
)