Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] memcached: bump to version 1.5.6
@ 2018-03-02 18:07 Christopher McCrory
  2018-03-02 18:07 ` [Buildroot] [PATCH 2/2] apache: pass explicit sbindir Christopher McCrory
  2018-04-02  9:42 ` [Buildroot] [PATCH 1/2] memcached: bump to version 1.5.6 Thomas Petazzoni
  0 siblings, 2 replies; 7+ messages in thread
From: Christopher McCrory @ 2018-03-02 18:07 UTC (permalink / raw)
  To: buildroot

From ReleaseNotes156

This is a bugfix release, but it primarily disables the UDP protocol by
default.

In the last few days reports of UDP amplification attacks utilizing
inesure memcached instances have surfaced. Attackers are able to set
large values into memcached, then send requests via spoofed UDP packets.
Memcached will then send a very large number of very large UDP packets
back in response.

Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
 package/memcached/memcached.hash | 7 +++----
 package/memcached/memcached.mk   | 2 +-
 2 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/package/memcached/memcached.hash b/package/memcached/memcached.hash
index 204590d27c..8278933827 100644
--- a/package/memcached/memcached.hash
+++ b/package/memcached/memcached.hash
@@ -1,4 +1,3 @@
-# From http://www.memcached.org/files/memcached-1.5.0.tar.gz.sha1
-sha1 e12af93e63c05ab7e89398e4cfd0bfc7b7bff1c5  memcached-1.5.0.tar.gz
-# Calculated based on the hash above
-sha256 c001f812024bb461b5e4d7d0506daab63dff9614eea26f46536c3b7e1e601c32  memcached-1.5.0.tar.gz
+# From http://www.memcached.org/files/memcached-1.5.6.tar.gz.sha1
+sha1 ca35929e74b132c2495a6957cfdc80556337fb90  memcached-1.5.6.tar.gz
+sha256 9675ee859d7d81f7a950f190a6812720b26f08228d356044ec517d4d5af25f03  memcached-1.5.6.tar.gz
diff --git a/package/memcached/memcached.mk b/package/memcached/memcached.mk
index d0e3bc01d9..c15abc79bf 100644
--- a/package/memcached/memcached.mk
+++ b/package/memcached/memcached.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-MEMCACHED_VERSION = 1.5.0
+MEMCACHED_VERSION = 1.5.6
 MEMCACHED_SITE = http://www.memcached.org/files
 MEMCACHED_DEPENDENCIES = libevent
 MEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [Buildroot] [PATCH 1/2] memcached: bump to version 1.5.6
@ 2018-03-02 18:18 Christopher McCrory
  0 siblings, 0 replies; 7+ messages in thread
From: Christopher McCrory @ 2018-03-02 18:18 UTC (permalink / raw)
  To: buildroot

On Fri, Mar 2, 2018 at 10:07 AM, Christopher McCrory <chrismcc@gmail.com>
wrote:

> From ReleaseNotes156
>
> This is a bugfix release, but it primarily disables the UDP protocol by
> default.
>
> In the last few days reports of UDP amplification attacks utilizing
> inesure memcached instances have surfaced. Attackers are able to set
> large values into memcached, then send requests via spoofed UDP packets.
> Memcached will then send a very large number of very large UDP packets
> back in response.
>
>

This has been all over the nanog and outages lists the past several days.
google ing memcached DDoS will provide a plethora of information.  I don't
use memcached so all I verified is that it compiled and ran

in a lxc container
before:

Welcome to Buildroot
buildroot login: root
# bash
[root at buildroot ~]$ /usr/bin/memcached -u nobody -d
[root at buildroot ~]$ netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address
State
tcp        0      0 0.0.0.0:11211           0.0.0.0:*
LISTEN
tcp        0      0 :::11211                :::*
LISTEN
udp        0      0 0.0.0.0:11211           0.0.0.0:*

udp        0      0 :::11211
:::*
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path


after
Welcome to Buildroot
buildroot login: root
# bash
[root at buildroot ~]$ /usr/bin/memcached -u nobody -d
[root at buildroot ~]$ netstat -ln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address
State
tcp        0      0 0.0.0.0:11211           0.0.0.0:*
LISTEN
tcp        0      0 :::11211                :::*
LISTEN
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node Path


-- 
Christopher McCrory
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20180302/06ae209d/attachment.html>

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-10-20 22:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-02 18:07 [Buildroot] [PATCH 1/2] memcached: bump to version 1.5.6 Christopher McCrory
2018-03-02 18:07 ` [Buildroot] [PATCH 2/2] apache: pass explicit sbindir Christopher McCrory
2018-03-02 18:11   ` Christopher McCrory
2018-10-20 22:26   ` Arnout Vandecappelle
2018-04-02  9:42 ` [Buildroot] [PATCH 1/2] memcached: bump to version 1.5.6 Thomas Petazzoni
2018-04-08 19:40   ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2018-03-02 18:18 Christopher McCrory

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox