1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/echo_server/wscript_build
Andrew Bartlett 2e87c9d865 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>
2023-10-10 14:49:40 +00:00

11 lines
310 B
Python

#!/usr/bin/env python
bld.SAMBA_MODULE('ECHO',
source='echo_server.c',
subsystem='service',
init_function='server_service_echo_init',
deps='samba-hostconfig LIBTSOCKET LIBSAMBA_TSOCKET',
local_include=False,
enabled=bld.CONFIG_GET('ENABLE_SELFTEST'),
)