Memcached.c Heap overflow in try_read_command

2017-06-27 Thread daniel
Hi there, My name is Daniel and i am a security researcher @Twistlock As part of my job i am looking in to various open source projects that have container images and this is how i stumbled upon memcached. In memcached I've found a few weak points by reviewing the code,in particular ther

Re: Multiple keys for one object

2008-12-18 Thread Daniel Bonekeeper
On Thu, Dec 18, 2008 at 6:31 PM, Boris Partensky wrote: > You could have a double fetch implementation: basically have a bookid as key > and store the object under this key, but then have a secondary mappings of > whatever (isbn, amazon_id) to book id. So getting the actual object will > always r

unsubscribe

2009-01-09 Thread Daniel Fiore

Error installing memcached on PHP

2009-08-17 Thread Daniel Miranda
Hello, im having an error trying to install memcached on PHP/windows 32. when i use the command pear install pecl/memcached the following lines are shown: downloading memcached-1.0.0.tgz ... Starting to download memcached-1.0.0.tgz (22,281 bytes) done: 22,281 bytes 4 source files, build

Re: Error installing memcached on PHP

2009-08-22 Thread Daniel Miranda
No one?? ;( On Aug 17, 4:46 pm, Daniel Miranda wrote: > Hello, > > im having an error trying to install memcached onPHP/windows 32. > > when i use the command pear install pecl/memcached the following lines > are shown: > > downloading memcached-1.0.0.tgz ... > Sta

Multiple commands in one TCP packet

2009-10-07 Thread Daniel Nichter
h the server response in the three subsequent packets. Is this normal memcached protocol behavior? memcached seems to handle it (hence the three server responses), but the protocol doc doesn't explicitly mention this ability for TCP. Thanks, Daniel

Re: Multiple commands in one TCP packet

2009-10-07 Thread Daniel Nichter
want to set this due to latency). > > So, it happens, yes, but it's not really a relevant question. > > -Eric Thanks for the response. That makes sense and explains these packets. -Daniel

write failure response from delete

2010-07-25 Thread daniel hoey
Hi, I'm using memcached via the ruby client library. Occasionally when I do a delete I get a "WriteFailure" response. What could cause this? How should I handle this situation (the library already attempt several retries)? Any suggestions would be welcome. Dan

Data compression

2012-04-13 Thread Daniel Tihelka
31 * http://www.kky.zcu.cz/en/people/tihelka-daniel * * Department of Cybernetics * Faculty of Applied Sciences * University of West Bohemia * Univerzitni 8, * 306 14 Plzen * Czech Republic * **

Re: Data compression

2012-04-13 Thread Daniel Tihelka
Thank you for your advice. I will have a look at the 1.6 branch. May I ask you, however, to share more details about new storage engine implementation? Where to look at, what (interface) must be implemented? May the new engine be built on the top of an already existing (a default) one? Thank you

Is it possible to store a binary string to memcached and then get it back in application?

2013-05-04 Thread daniel guo
t;memcached_get" function to get the result in my code, the return string is not the same to the original binary string, the length of the return string is much shorter than the original one. Who can tell my why, is it possible to store binary string to memcached? Thank you and looking

Re: Is it possible to store a binary string to memcached and then get it back in application?

2013-05-05 Thread daniel guo
he key point to the problem. Now i just used string.append(xxx, length) to get the whole binary sequence. Thank you~! Daniel. 在 2013年5月5日星期日UTC-4上午5时06分11秒,Peter J. Holzer写道: > > On 2013-05-04 12:31:46 -0700, daniel guo wrote: > > In my project i want to store a binary string (string li

Failed to open library "default_engine.so"

2013-10-02 Thread Daniel Krysiak
Hi, I have a fresh CentOS 6.4 installation, up to date. I've installed memcached and libevent. When I try to start memcache I get: memcached -u memcached Failed to open library "default_engine.so": default_engine.so: cannot open shared object file: No such file or directory Whats strange memc

Re: how does the removal of the servers handled in the memcached architecture

2018-02-17 Thread Daniel Ellis
There's nothing like what you're asking about built into memcached (i.e. key rebalancing). You can use a proxy like mcrouter to create a new pool of servers and then migrate your data by copying it over whenever a key is looked up (look up WarmUpRoute). You won't necessarily have confidence that

Re: how does the removal of the servers handled in the memcached architecture

2018-02-18 Thread Daniel Ellis
No problem, happy to help! On Sat, Feb 17, 2018 at 11:18 PM, praveen kumar wrote: > Thanks for the feedback Daniel :) > > On Sunday, 18 February 2018 12:41:14 UTC+5:30, Daniel Ellis wrote: >> >> There's nothing like what you're asking about built into memcached

Re: memcached not working

2018-05-23 Thread Daniel Ellis
I don't know anything about the PHP client, but if you're going to telnet in, you need to read the protocol and make sure your messages are formed correctly: https://github.com/memcached/memcached/blob/master/doc/protocol.txt#L132 You're missing things like the number of bytes of data to follow, t

Re: Multiple failoverNodes

2018-09-06 Thread Daniel Ellis
I think your question is missing some details. For instance, what do you mean sessions? Web sessions? Cookies? Regardless, the deeper question is: what tooling are you using to manage your clustering / failover behavior? I'm guessing your questions would be more appropriate for that group. On

Re: Keyboard with Translucent Screen

2018-09-11 Thread Daniel Ellis
Hi Maitreya, Good question! Yes, this keyboard should work with memcached. Dan On Tue, Sep 11, 2018 at 2:24 AM, maitreya bhatnagar < maitreyabhatna...@gmail.com> wrote: > https://hardware.slashdot.org/story/17/05/27/2051256/ask- > slashdot-is-there-a-screen-less-keyboard-less-battery-powered-c

Re: how to get find out key expiration time after it was put in the cache?

2019-03-22 Thread Daniel Ellis
As far as I know, cachedump is the only way. The unfortunate downside is that you can only dump one page per slab, according to this . I bet you could get fancy and dump the entire process memory and dig through it yourself... That co