Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 158 by marcolslaviero: Single packet DoS on UDP channel
http://code.google.com/p/memcached/issues/detail?id=158
What steps will reproduce the problem?
1. Download attached script
2. Start a memcached server on a UDP port
3. Run "python largeudp.py a <server_ip> <port> 1200"
What is the expected output? What do you see instead?
The server is expected to continue processing UDP traffic after the script
has copmleted.
Instead, it no longer responds to any traffic sent via UDP, legitimate or
otherwise.
Note: while UDP packets are no longer processed, the TCP channel remains
operational.
What version of the product are you using? On what operating system?
Tested on memcached-1.4.5, libevent-2.0.7-rc. Linux-2.6.24-28
Please provide any additional information below.
The attached script takes four arguments:
arg-1: either "a" or "b", to use the "a"scii or "b"inary protocol
arg-2: target ip
arg-3: target port
arg-4: length of packet to generate. 1200 works nicely for hanging 1.4.5
while not exceeding MTUs.
Attachments:
largeudp.py 3.6 KB