1. 12 Feb, 2019 4 commits
    • Guy Benoish's avatar
      Trim SDS free space of retained module strings · bdd9a800
      Guy Benoish authored
      In some cases processMultibulkBuffer uses sdsMakeRoomFor to
      expand the querybuf, but later in some cases it uses that query
      buffer as is for an argv element (see "Optimization"), which means
      that the sds in argv may have a lot of wasted space, and then in case
      modules keep that argv RedisString inside their data structure, this
      space waste will remain for long (until restarted from rdb).
      bdd9a800
    • zhaozhao.zz's avatar
      ACL: add masteruser configuration for replication · ea9d3aef
      zhaozhao.zz authored
      In mostly production environment, normal user's behavior should be
      limited.
      
      Now in redis ACL mechanism we can do it like that:
      
          user default on +@all ~* -@dangerous nopass
          user admin on +@all ~* >someSeriousPassword
      
      Then the default normal user can not execute dangerous commands like
      FLUSHALL/KEYS.
      
      But some admin commands are in dangerous category too like PSYNC,
      and the configurations above will forbid replica from sync with master.
      
      Finally I think we could add a new configuration for replication,
      it is masteruser option, like this:
      
          masteruser admin
          masterauth someSeriousPassword
      
      Then replica will try AUTH admin someSeriousPassword and get privilege
      to execute PSYNC. If masteruser is NULL, replica would AUTH with only
      masterauth like before.
      ea9d3aef
    • antirez's avatar
      ACL: when client->user is NULL the client is a superuser. · d5e4a7f4
      antirez authored
      Related to #5832.
      d5e4a7f4
    • zhaozhao.zz's avatar
      ACL: show client's user · 0f42447a
      zhaozhao.zz authored
      0f42447a
  2. 11 Feb, 2019 5 commits
  3. 08 Feb, 2019 3 commits
  4. 07 Feb, 2019 9 commits
  5. 06 Feb, 2019 3 commits
  6. 05 Feb, 2019 3 commits
  7. 04 Feb, 2019 6 commits
  8. 01 Feb, 2019 4 commits
  9. 31 Jan, 2019 3 commits