From b1f3936826cd5b0b75abfe67a594edd2873f7b63 Mon Sep 17 00:00:00 2001 From: Axel Burri Date: Mon, 21 Aug 2017 14:42:01 +0200 Subject: [PATCH] ssh_filter_btrbk: bugfix: use "lzop" instead of "lzo" for lzo compression command --- doc/ssh_filter_btrbk.1 | 2 +- ssh_filter_btrbk.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ssh_filter_btrbk.1 b/doc/ssh_filter_btrbk.1 index 071114b..0cb3e9d 100644 --- a/doc/ssh_filter_btrbk.1 +++ b/doc/ssh_filter_btrbk.1 @@ -21,7 +21,7 @@ Note that the following btrfs commands are always allowed: "btrfs subvolume show", "btrfs subvolume list". .PP Note that commands for stream compression (pipes through gzip, pigz, -bzip2, pbzip2, xz, lzo, lz4), rate limiting (pipes through "pv -L"), +bzip2, pbzip2, xz, lzop, lz4), rate limiting (pipes through "pv -L"), and stream buffer (pipes through "mbuffer") are always allowed. .PP Example line in /root/.ssh/authorized_keys on a backup target host: diff --git a/ssh_filter_btrbk.sh b/ssh_filter_btrbk.sh index de26190..5ff2e5c 100755 --- a/ssh_filter_btrbk.sh +++ b/ssh_filter_btrbk.sh @@ -12,7 +12,7 @@ allow_exact_list= allow_rate_limit=1 allow_stream_buffer=1 allow_compress=1 -compress_list="gzip|pigz|bzip2|pbzip2|xz|lzo|lz4" +compress_list="gzip|pigz|bzip2|pbzip2|xz|lzop|lz4" log_cmd() {