91 Commits

Author SHA1 Message Date
danj
65888ed61c Update to redis-6.2.7
This fixes:
(CVE-2022-24736) An attacker attempting to load a specially crafted
Lua script can cause NULL pointer dereference which will result with
a crash of the redis-server process. This issue affects all versions
of Redis.

(CVE-2022-24735) By exploiting weaknesses in the Lua script
execution environment, an attacker with access to Redis can inject
Lua code that will execute with the (potentially higher) privileges
of another Redis user.

ok tb
2022-04-28 03:02:36 +00:00
naddy
7a958849ed drop RCS Ids 2022-03-11 18:31:17 +00:00
tb
b81baca3ab databases/redis: update to 6.2.6. Fixes a number of heap overflows
and a DoS.

https://github.com/redis/redis/releases/tag/6.2.6
2021-10-05 05:29:55 +00:00
tb
b6d4332ab5 databases/redis: Tweak patch description. ok danj 2021-09-17 01:39:38 +00:00
danj
f8fd489ec9 Update to redis-6.2.5
ok tb
2021-07-24 19:03:13 +00:00
danj
1c3ad39a98 Update to redis-6.2.3
ok tb
2021-05-11 00:17:52 +00:00
tb
86596ab42f redis: Link to PR for 64-bit time_t patches 2021-03-17 06:25:55 +00:00
tb
7913853c7a redis: switch to bundled Lua
The Redis port was hacked up to make use of Lua 5.1 from ports. This is a
bad idea since there are known Redis exploits coming from bytecode in Lua.
The Lua bundled by Redis has this neutered. In addition, this allows us to
get rid of some atrocious hackery which will be a major headache when
upstream will update its bundled Lua.

ok sthen
2021-03-16 21:18:38 +00:00
tb
c42614d345 databases/redis: zap noop patch
In Redis 2.8.12, this patch was needed due to TCP_KEEPIDLE.
Since Redis 4.0.1, the code is guarded by #if defined(__GLIBC__) && ...
so adding && !defined(__OpenBSD__) doesn't make a difference.
2021-03-14 23:39:37 +00:00
tb
5d75fac7c1 databases/redis: simplify Makefile patch
INSTALL_SBIN is no longer used, so no need to add it.
2021-03-14 23:06:17 +00:00
danj
809a0ce097 Update to redis-6.2.1
Tests pass on sparc64/amd64.

ok tb@
2021-03-06 17:42:12 +00:00
tb
ef6e779540 Update to Redis 6.2.0, ok danj sthen
Redis 6.2 includes many new commands and improvements, but no big features. It
mainly makes Redis more complete and addresses issues that have been requested
by many users frequently or for a long time.

https://github.com/redis/redis/blob/6.2/00-RELEASENOTES

This version includes a security fix for ILP32 arches (CVE-2021-21309)
2021-02-25 15:05:23 +00:00
danj
a0f4a6cec2 Update to redis-6.0.10
If you used Redis on some Big Endian Arch (like sparc64) with
previous 6.0.x versions, you should really have a look at
https://github.com/redis/redis/pull/8270 to "consider the
compatibility implications with RESTORE, replication and
persistence".

Tests pass on amd64 and sparc64 (with the usual occasional replica
hiccup on sparc64).

Positive feedback from Mark Patruck.
Help from, and ok tb@
2021-01-23 14:58:19 +00:00
tb
bd1f51cd88 Update to Redis 6.0.9
The incorrect assumption in zmalloc_usable_size() was corrected upstream,
so we can get rid of the local patch. Add a new patch for a long long
time_t format string, with a tweak from jca.

ok danj

Changelog: https://github.com/redis/redis/blob/6.0.9/00-RELEASENOTES
2020-10-29 05:14:03 +00:00
tb
03f1d45462 Update to Redis 6.0.8
ok rsadowski

Upgrade urgency HIGH: Anyone who's using Redis 6.0.7 with Sentinel or
CONFIG REWRITE command is affected and should upgrade ASAP, see #7760.
[https://github.com/redis/redis/issues/7760]

Bug fixes:

* CONFIG REWRITE after setting oom-score-adj-values either via CONFIG SET or
  loading it from a config file, will generate a corrupt config file that will
  cause Redis to fail to start
* Fix issue with redis-cli --pipe on MacOS
* Fix RESP3 response for HKEYS/HVALS on non-existing key
* Various small bug fixes

Full release notes:
https://github.com/redis/redis/blob/6.0.8/00-RELEASENOTES
2020-09-11 13:54:01 +00:00
tb
7ebc05702d regen patch 2020-09-08 05:51:53 +00:00
tb
c38ccf8cd0 Update to Redis 6.0.7
Upgrade urgency for both 6.0.6 and 6.0.7 is MODERATE, see changelog for
details. Notably, the fix for the sentinel crash was merged upstream.

https://raw.githubusercontent.com/antirez/redis/6.0/00-RELEASENOTES

There is another test that occasionally fails since 6.0.6:

[err]: Piping raw protocol in tests/integration/redis-cli.tcl

Tested on amd64 and macppc, build tested with clang and egcc on sparc64.

Thanks to danj for testing and okaying 6.0.6.

ok sthen
2020-09-03 04:29:27 +00:00
tb
83ad536d24 add a link to the PR 2020-07-02 09:27:17 +00:00
tb
b8bb52ab64 Avoid an out-of-bounds read in the redis-sentinel
The Redis sentinel would crash with a segfault after a few minutes because
it tried to read from a page without read permissions. Check up front
whether the sds is long enough to contain redis:slave or redis:master
before memcmp() as is done everywhere else in sentinelRefreshInstanceInfo().

From Nam Nguyen
2020-06-28 10:47:15 +00:00
tb
927dec0a23 add a few comments to summarize the many changes in src/Makefile 2020-06-28 10:33:01 +00:00
tb
b154cdce45 Update to Redis 6.0.5
ok danj kn
2020-06-14 07:35:36 +00:00
tb
e9670716ad Update to Redis 6.0.4
https://raw.githubusercontent.com/antirez/redis/6.0/00-RELEASENOTES

Thanks to cwen for helping me figure out what was going on with
64-bit atomics on powerpc and gkoehler for fixing this in clang.

ok danj sthen
2020-06-08 07:32:47 +00:00
tb
903f2b40ac Update to Redis 5.0.8. Fixes some security issues and plugs lots
of memory leaks. Add a patch for a time_t truncation issue on
architectures with 32 bit longs. The update results in one test
failure showing much more often on sparc64:

*** [err]: pending querybuf: check size of pending_querybuf after set a big value in tests/unit/pendingquerybuf.tcl
the used_memory of replica is much larger than master. Master:35666976 Replica:69051032

Tests by Uwe Werler.

ok kn, "move forward" danj

Release notes:

https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES
2020-03-17 04:51:28 +00:00
tb
23c4d3079f Update Redis to 5.0.7, the latest stable version.
Users should have no problem migrating from 4.0 to 5.0.
Backward incompatible changes are listed at the end of the release notes:
https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES

Tested by cwen, danj, kmos, sthen and myself on amd64, arm64, armv7 (4.0
was broken, 5.0 is still broken), i386, macppc, and sparc64 (tests get
flakier with this update).  Many thanks to kmos for his efforts.

Help with the initial patch from mikeb.  Signed char fix from cwen;
config file consolidation by danj; Makefile tweaks from sthen.

ok danj kmos sthen
2020-02-11 08:11:13 +00:00
kn
0119ab44a7 Update to redis-4.0.11
OK sthen (no response from maintainer)
2018-09-02 11:08:51 +00:00
kn
2cf1f40d84 Simplify/remove patches by passing parameters in MAKE_ENV
Input and OK jca
2018-04-24 14:35:29 +00:00
jca
82b4f48f7d Unbreak on armv7
Drop -funwind-tables which leads to undefined references to libunwind
symbols.  This seems to be needed by the libunwind support in jemalloc,
which we do not use.

Reported (and fixed differently) by Markus Hennecke, ok sthen@ kn@, maintainer timeout
2018-04-22 14:30:29 +00:00
dcoppa
bcb91e5fbc Update to redis-4.0.1 2017-08-09 09:16:09 +00:00
dcoppa
b44bc8c003 Update to redis-3.2.5 2016-11-01 09:07:19 +00:00
dcoppa
871ebe3254 Update to redis-3.2.4 2016-09-27 14:38:26 +00:00
dcoppa
73cc3897fd Update to redis-3.2.3 2016-08-05 11:23:42 +00:00
dcoppa
90810d4d66 Update to redis-3.2.1 2016-06-20 10:49:38 +00:00
dcoppa
6c55fdcb8e Set default max clients to 96 here too, like we did in redis.conf 2016-05-10 12:45:28 +00:00
dcoppa
a324065c9f Update to redis-3.2.0 2016-05-10 09:38:48 +00:00
dcoppa
1cc444ebd6 Bugfixing update to redis-3.0.7 2016-01-28 09:45:46 +00:00
dcoppa
a24c734a18 Bugfixing update to redis-3.0.5 2015-10-16 12:15:59 +00:00
dcoppa
644400d235 *Security* update to redis-3.0.2
http://benmmurphy.github.io/blog/2015/06/04/redis-eval-lua-sandbox-escape/
2015-06-05 16:29:09 +00:00
dcoppa
26540e875f Update to redis-3.0.0 2015-04-27 08:53:17 +00:00
dcoppa
d910870f30 Update to redis-2.8.19 2014-12-17 08:52:16 +00:00
dcoppa
b4ab1256ed Update to redis-2.8.18 2014-12-05 09:33:09 +00:00
dcoppa
464183415b As pointed out by sthen@, daemons should be in sbin not bin 2014-11-11 10:12:54 +00:00
dcoppa
67f38f608d Fix location/perms of the redis.sock file, for those who want to
use redis on a unix socket.

Amend redis.rc accordingly.

Also change the location of the pid file for consistency.

Discussed with, and ok landry@
2014-11-06 12:52:13 +00:00
dcoppa
d385a36753 Lower default 'maxclients' value so redis does not play with limits
Use LOG_DAEMON as the logging facility

Do not display the ascii art when logging to syslog

first two suggested by landry@
2014-11-06 09:21:28 +00:00
dcoppa
87ba8d618d Bugfixing update to redis-2.8.15 2014-09-15 08:29:33 +00:00
dcoppa
6eb77a8c3d Update to redis-2.8.14 2014-09-02 08:11:46 +00:00
dcoppa
ba262fc3b4 Update to redis-2.8.13 2014-08-12 10:09:56 +00:00
dcoppa
7a468b1cff Update to redis-2.8.12 2014-07-12 09:53:56 +00:00
dcoppa
27ec696e8f Bugfix update to redis-2.8.10 2014-06-06 11:52:49 +00:00
dcoppa
11eaab9e94 Update to redis-2.8.9 2014-04-29 08:45:28 +00:00
dcoppa
c214077b27 Update to redis-2.8.7 2014-03-12 12:07:17 +00:00