Re: Issue 158 in memcached: Single packet DoS on UDP channel

2010-12-14 Thread Eric Lambert
Yeah, the problem is due to how the server deals with a "large" (over 1024 bytes IIRC) malformed UDP messages (in this case malformed means no \r\n). I've had a fix for a while, just have not gotten around to getting a unit-test written and checking in the fix. On Dec 14, 7:20 am, memcac...@google

Re: key taking only 8 characters

2010-12-14 Thread Adam Lee
You wrote code to speak directly with memcached or you're using a client? What is the server returning when it fails- a success code, CLIENT_ERROR, ...? Perhaps it would help if you posted your test code... On Tuesday, December 14, 2010, Prashu wrote: > Hi, >  i am new to memcached. >  i write

Re: Issue 158 in memcached: Single packet DoS on UDP channel

2010-12-14 Thread memcached
Comment #9 on issue 158 by airat.halimov: Single packet DoS on UDP channel http://code.google.com/p/memcached/issues/detail?id=158 if you end up the message with "\r\n" - you won't be able to reproduce the bug.

key taking only 8 characters

2010-12-14 Thread Prashu
Hi, i am new to memcached. i write a sample program to set/get from memcached. it is accepting only 8 charcters as key if give more or less than the 8 characters it is not storing any values. could you help me for this. whether we can configure the key max or min length? thanks Prashant