This repository was archived by the owner on Nov 2, 2021. It is now read-only.

Description
In wake of recent memcached amplification problems
https://blog.cloudflare.com/memcrashed-major-amplification-attacks-from-port-11211/
it makes sense to disable UDP support.
The code of twemcache seem to be created in a way to require UDP binding always:
|
if (tcp_specified && !udp_specified) { |
if (tcp_specified && !udp_specified) {
settings.udpport = settings.port;
} else if (udp_specified && !tcp_specified) {
settings.port = settings.udpport;
}