New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 108867: Disable memcached UDP port to avoid being part of a DDoS attack #13

Closed
wants to merge 1 commit into
base: develop
from
Jump to file or symbol
Failed to load files and symbols.
+2 −2
Diff settings

Always

Just for now

Copy path View file
@@ -71,9 +71,9 @@ case "$1" in
addr="${addr//$'\n'/,}"
port=$(/opt/zimbra/bin/zmprov -l gs ${zimbra_server_hostname} zimbraMemcachedBindPort | awk '/^zimbraMemcachedBindPort:/{ print $2 }')
if [ x"$addr" = "x" ]; then
/opt/zimbra/common/bin/${servicename} -d -P ${pidfile} -p ${port:-11211}
/opt/zimbra/common/bin/${servicename} -d -P ${pidfile} -U 0 -p ${port:-11211}
else
/opt/zimbra/common/bin/${servicename} -d -P ${pidfile} -l ${addr} -p ${port:-11211}
/opt/zimbra/common/bin/${servicename} -d -P ${pidfile} -U 0 -l ${addr} -p ${port:-11211}
fi
for ((i=0; i < 30; i++)); do
checkrunning
ProTip! Use n and p to navigate between commits in a pull request.