<    March 2017    >
Su Mo Tu We Th Fr Sa  
          1  2  3  4  
 5  6  7  8  9 10 11  
12 13 14 15 16 17 18  
19 20 21 22 23 24 25  
26 27 28 29 30 31
00:05 spuder joined
00:11 drbobbeaty joined
00:12 trepatudo joined
00:13 ws2k3 joined
00:23 soveran joined
00:23 soveran joined
00:29 bvcosta joined
00:34 tiwest joined
00:43 humboldt joined
00:55 FatDarrel joined
01:01 raspado_ joined
01:11 ogres joined
01:14 aruns joined
01:16 indistylo joined
01:25 soveran joined
01:30 indi_ joined
01:33 aruns__ joined
01:34 Emn1ty left
01:48 EyePulp joined
01:48 EyePulp joined
01:52 Cohedrin_ joined
01:59 hphuoc25 joined
01:59 tiwest joined
02:05 distilled joined
02:08 indi_ joined
02:08 distilled joined
02:18 spuder joined
02:22 indi_ joined
02:23 Dabo joined
02:31 steeze joined
02:37 garfed joined
02:40 garfed joined
02:49 saurabhjha joined
02:50 hphuoc25 joined
02:51 hphuoc25 joined
02:58 saurabhjha joined
02:59 saurabhj_ joined
03:01 <hphuoc25> Is ZUNIONSTORE cheap? As in can I create a union store just for a query then tear it down and do it repeatedly?
03:07 indi_ joined
03:22 jon-mac joined
03:27 soveran joined
03:28 hphuoc25 joined
03:42 saurabhjha joined
03:58 stoyvo left
04:17 cyborg-one joined
04:25 raspado joined
04:28 spuder joined
04:42 ppang joined
05:07 RemiFedora joined
05:07 svm_invictvs joined
05:29 soveran joined
05:42 rchavik joined
05:53 ppang joined
05:53 braoru joined
05:53 hphuoc25 joined
06:02 timg__ joined
06:10 saurabhjha joined
06:26 saintpablos joined
06:27 Tawonga joined
06:30 sz0 joined
06:31 pwhack joined
06:31 steeze joined
06:37 pwhack joined
06:38 Gaiga joined
06:41 akkad joined
06:44 [1]moteus joined
06:48 pwhack joined
06:54 soveran joined
06:54 soveran joined
06:54 indi_ joined
06:56 EyePulp joined
06:56 tomaz_b joined
06:56 indi_ joined
06:59 hphuoc25 joined
07:02 hphuoc25 joined
07:12 hphuoc25 joined
07:15 Tawonga_ joined
07:15 SkyRocknRoll joined
07:23 herez joined
07:25 spccold joined
08:11 hphuoc25 joined
08:11 humboldt joined
08:29 rendar joined
08:33 soveran joined
08:33 soveran joined
08:34 humboldt joined
08:56 hphuoc25 joined
08:56 programmingcool joined
09:07 winem_ joined
09:09 Dave_R joined
09:13 EyePulp joined
09:15 [1]moteus joined
09:18 efphe joined
09:21 humboldt joined
09:30 FeersumEndjinn joined
09:40 hphuoc25 joined
09:45 moteus joined
09:47 [1]moteus joined
09:49 hphuoc25 joined
09:56 drbobbeaty joined
10:11 humboldt joined
10:23 humboldt joined
11:02 humboldt_ joined
11:07 hphuoc25 joined
11:29 EyePulp joined
11:41 braoru_ joined
11:42 braoru__ joined
11:47 chipotle joined
11:52 bvcosta joined
11:58 soveran joined
11:58 soveran joined
12:00 bvcosta joined
12:03 saurabhjha joined
12:17 drbobbeaty joined
12:26 saintpablo joined
13:08 wlightning-fuel joined
13:09 hphuoc25 joined
13:11 saintpablo joined
13:13 saintpablos joined
13:35 shinnya joined
13:50 distilled joined
13:51 WindChimes joined
13:55 steeze joined
14:02 saurabhjha joined
14:05 sanyo joined
14:08 EyePulp joined
14:19 al-damiri joined
14:21 bvcosta joined
14:22 pila_ joined
14:23 <pila_> hello can i restart my default config debian 8x redis server without loosing the data?
14:23 saurabhjha joined
14:24 saurabhjha joined
14:26 <badboy_> if it is configured to persist
14:27 <pila_> @badboy_ there is a dump file in /var/lib/redis
14:28 <badboy_> CONFIG GET save
14:28 <badboy_> CONFIG GET dir
14:28 Pateriack joined
14:28 <pila_>> CONFIG GET save
14:28 <pila_> 1) "save"
14:28 <pila_> 2) "900 1 300 10 60 10000"
14:28 <badboy_> looks good then
14:28 <pila_> okay
14:29 <badboy_> if you shut it down using SHUTDOWN SAVE it will make a new dump
14:29 <pila_> is setting a password and changing redis port a good idea for external access?
14:29 <pila_> i need my crawlers to get access to redis
14:35 <badboy_> don't expose it to the internet
14:35 <badboy_> if you can: firewall it properly
14:35 <badboy_> setting a password is the minimum security mechanism you should enable
14:36 <Inge-> Why would you make it openly available on the internet?
14:36 <Inge-> *shudder*
14:37 <badboy_> "Why" is the wrong question here
14:38 bauruine joined
14:39 winem_ joined
14:41 hphuoc25 joined
14:44 <pila_> i want my crawlers to have a direct connection to redis, currently i am running an api where they can get jobs, but this drains too much cpu power
14:45 <pila_> because i need lots of php-fpm processes
14:46 <pila_> but i should be fine when i just enable my crawler's ip for the redis port in my firewall
14:46 <pila_> or?
15:22 saurabhjha joined
15:49 hphuoc25 joined
16:11 tubbo joined
16:11 soveran joined
16:11 soveran joined
16:12 FunnyLookinHat joined
16:12 FunnyLookinHat joined
16:19 herez_ joined
16:21 steeze joined
16:23 danns23 joined
16:30 herez joined
16:39 raspado joined
16:59 akkad joined
17:06 shortdudey123 joined
17:07 Cohedrin joined
17:14 efphe joined
17:32 svm_invictvs joined
17:46 hahuang65 joined
17:52 hphuoc25 joined
17:55 akkad joined
18:01 akkad joined
18:12 Cohedrin joined
18:20 thisis_myname joined
18:23 marc_v92 joined
18:25 <marc_v92> Pretty new to Redis, hoping someone can point me in the right direction: I've got a feature that is embedded on multiple websites/servers that uses websockets to automatically pull new data, and I'd like them all to point to the same Redis server. I'm not sure how to properly segment it so that each website/server is only capable of interfacing with its own Channel on the single Redis server.
18:26 FatDarrel joined
18:26 <marc_v92> What I mean is, I don't want Site A to be able to see Site B's messages by just faking a referrer header or something. How would I set up the Redis server to that Site A can only see Site A's messages, Site B can only see Site B's messages, and so on?
18:30 Circuitsoft joined
18:32 <Circuitsoft> Hello - using redis-py, is there a way to do the equivalent of: 'zadd "P\xb6\x89V\xf0\xbeR\xe4\t\x1bZ-\xac" 4 "X\xb7\x0b2\x9d\"\xb6\xa5s\xfd\x0b\x88"'? The zadd method doesn't seem to like binary keys.
18:33 <Circuitsoft> TypeError: zadd() keywords must be strings
18:37 <minus> Circuitsoft: it says keywords, so i guess you're passing stuff in the wrong order maybe
18:46 <Circuitsoft> Got it. Just have to use positional rather than keyword arguments.
18:47 <Circuitsoft> redis-py allows things like: rd.zadd("my_zset", alex=1, david=2), which is equivalent to rd.zadd("my_zset", 1, "alex", 2, "david").
19:07 marc_v92 joined
19:08 fractalsea joined
19:15 ningu joined
19:25 netcarver joined
19:35 <ningu> does anyone know why I would be getting the error NOAUTH Authentication required, when I have not set a redis password?
19:35 <ningu> redis 3.0.6, ubuntu 16.04
19:36 SkyRocknRoll joined
19:36 <minus> because someone set a password using CONFIG SET requirepass
19:36 <minus> i guess
19:36 <ningu> yeah
19:36 <ningu> I think you're right
19:36 steeze joined
19:36 <minus> if your redis is/was accessible from the internet you better watch out
19:37 <ningu> minus: it was not, however, it was listening on *, so it would be someone in the same data center
19:37 <ningu> the firewall would have blocked it from outside
19:38 <ningu> I have restricted it to localhost now, which I should have done anyway
19:47 FatDarrel joined
19:47 <ningu> what could someone who gained access to redis have actually done?
19:48 <ningu> other than get the data in it
19:48 <ningu> which I don't care about
19:51 <minus> if someone has access to redis, they can essentially execute code
19:51 <minus> by misusing redis' dump file to create a cron job
19:52 <ningu> yeah
19:52 <ningu> I see
19:52 <ningu> any links on how that would work?
19:53 <ningu> also they can only execute code as 'redis' right?
19:53 <minus> there's a post on antirez' blog
19:53 <minus> and yes, only as redis
19:53 <ningu> if I've fixed the issue and restarted redis, is it ok now or what should I check for?
19:53 <minus> unless there's ways to escalate on your system
19:53 <ningu> there are not, afaik
19:54 <minus> i guess you could scan the file system for files owned by redis and processes spawned by redis
19:54 hphuoc25 joined
19:55 <ningu> hmm
19:55 <ningu> yes
19:56 <ningu> that's a good idea and probably enough
19:56 <minus> but the standard answer is wipe your system
19:56 <minus> yeah, it's reasonable imo
19:57 <ningu> it seems they changed the rdb to /tmp/dump.rdb
19:58 <ningu> seems a bit random
19:58 <ningu> I see no other signs of anything
19:59 <minus> does the file exist? if so, check its contents
19:59 <ningu> oh, good point
19:59 <ningu> I deleted it :(
20:00 <minus> but yeah, now it's pretty clear that someone was doing malicious things and it might better to take extra much care
20:01 <ningu> well, that was clear to me already
20:01 <ningu> however, nothing obvious is wrong on the server and I have verified it was running as redis user
20:03 <ningu> I see random people trying to connect via ssh as root in the logs, but what else is new :) I doubt that is related
20:04 <minus> got SELinux?
20:04 <ningu> no, but I could install it
20:05 dlb76 joined
20:05 <minus> if you got the time to make it work for everything you run it's definitely a plus on security
20:05 <ningu> yes, I agree
20:05 <ningu> not sure if we do have the time
20:06 <ningu> there isn't much on the server that's sensitive, the goal would just be to keep control of it :)
20:07 <minus> for the record: i'm not using SELinux either, but thinking about it now it would be a good idea. but no time; i should be a dev, not a sysadmin, but that's hard if there's no sysadmin.
20:07 <ningu> similar situation here
20:07 <ningu> we are a small operation
20:12 <ningu> maybe redis should default to localhost
20:12 <ningu> but it's the user's fault for not checking the config anyway
20:20 <badboy_> it now does with the default config and it has a protected-mode
20:20 <ningu> ah ok
20:21 <ningu> is that in 3.2?
20:21 <ningu> I am still on 3.0
20:21 <badboy_> yup
20:25 soveran joined
20:25 soveran joined
20:27 fractalsea joined
20:46 FatDarrel joined
20:52 Deamon_ joined
21:00 Fabricio20 joined
21:01 trepatudo joined
21:01 alerok_147 joined
21:26 JagArLedsen joined
21:48 hahuang65 joined
21:51 rando6100 joined
22:00 cyborg-one joined
22:08 bvcosta joined
22:21 rando6100 joined
22:22 ogres joined
22:28 bvcosta joined
22:40 Dabo joined
22:46 soveran joined
22:56 Mr__Anderson joined
23:07 timg__ joined
23:10 chatter29 joined
23:11 cliluw joined
23:25 indi_ joined
23:37 TheMue joined