Commit graph

193 commits

Author SHA1 Message Date
Victor LABORIE aafa5862f8 New upstream release (1.4.7) 2017-08-30 17:37:25 +02:00
Victor LABORIE de5c7ab5ea Merge branch 'master' into debian 2017-08-30 17:29:12 +02:00
Victor LABORIE dbea4d46b1 Use touch instead of lastlog in sshrc
Because lastlog -S doesn't work on Debian Jessie
lastlog: invalid option -- 'S'
2017-08-30 17:24:45 +02:00
Victor LABORIE fc7229fe9f Clean jail before creating it 2017-08-30 17:24:45 +02:00
Victor LABORIE 9606b23d97 Update lastlog even on non interactive ssh (eg. with rsync) 2017-08-30 17:24:45 +02:00
Victor LABORIE 985c72194a Fix /var/run to /run symlink 2017-08-30 17:24:45 +02:00
Benoît S. 2f8b655fa6 Use -e instead of -f when checking for Keyfile
Why? Because we can use FD in place of regular files. Like this:
root@backup:~# bkctld key test <(echo "ssh-rsa AA...")
Update test : key = /dev/fd/63
2017-08-30 17:23:45 +02:00
Victor Laborie ea5362ca2a Add mount check when starting jail 2017-08-17 14:55:09 -04:00
Victor Laborie 3bd4294cfb Fix jail cleaning when not running 2017-08-17 14:53:40 -04:00
Victor Laborie 5e4718da08 Merge branch 'master' into debian 2017-08-17 10:47:35 -04:00
Victor Laborie 44620c363a Detect btrfs command path instead of harcoding it 2017-08-17 10:35:08 -04:00
Victor Laborie 00e1569fd6 Move /var/run to /run 2017-08-17 10:35:08 -04:00
Victor Laborie f911adfe88 Fix host_key usage in sshd_config tpl 2017-08-17 10:35:08 -04:00
Daniel Jakots a16cd4be55 fix file name 2017-08-05 17:33:00 -04:00
Victor Laborie 433e90393d New upstream release (1.4.4) 2017-08-05 16:10:34 -04:00
Victor Laborie 1238902427 Merge branch 'master' into debian 2017-08-05 16:10:15 -04:00
Victor Laborie 26098f1020 Fix right on check_nrpe 2017-08-05 16:05:31 -04:00
Victor Laborie bd7c5d5c0a Convert to non native package 2017-08-05 15:54:23 -04:00
Victor Laborie 5d462bf72a Add explicit LICENCE file 2017-08-05 15:49:27 -04:00
Victor LABORIE 2ec3f27938 Add nrpe check 2017-08-01 21:01:55 +02:00
Victor LABORIE 2688ac99bc Set UseDNS to no in default jail's sshd_config 2017-08-01 16:38:38 +02:00
Victor LABORIE f2146a56e5 Simplier, lighter and more secure jail 2017-07-21 16:46:37 +02:00
Victor LABORIE 4b86284ca0 Don't copy dsa host key but copy ecdsa and ed25519 if present 2017-07-21 16:46:36 +02:00
Victor LABORIE 4cbe721eb6 Use sh instead of bash for root in jail 2017-07-21 16:46:36 +02:00
Victor LABORIE f8b5269ca3 Allow only SSH key in default sshd_config 2017-07-21 16:46:36 +02:00
Victor LABORIE 8f2c869dfa Fix sshd logging 2017-07-21 16:46:36 +02:00
Victor LABORIE 431a245d65 Bump version to 1.4 2017-07-21 16:46:36 +02:00
Victor LABORIE 8ac454dae0 Fix shellcheck warnings 2017-07-19 14:08:48 +02:00
Victor LABORIE b8e4c3f11b Posix compatibility
* Don't use brace expansion
* Don't use process substitution
* Don't use source keyword
* Don't use $RANDOM var
2017-07-19 13:40:16 +02:00
Victor LABORIE 03ce05b2a9 Cleaning, thanks to shellcheck 2017-07-18 16:02:43 +02:00
Victor LABORIE 648c25483b New upstream release (1.3) 2017-07-17 11:57:31 +02:00
Victor LABORIE 620dc6c88b Merge branch 'master' into debian 2017-07-17 11:39:19 +02:00
Victor LABORIE a4e3b72373 Bump version to 1.3 2017-07-17 11:36:11 +02:00
Victor LABORIE e82340943b Fix if [[ -> if [ 2017-07-13 16:41:38 +02:00
Victor LABORIE beecd93c2b Fix btrfs support/detection 2017-07-13 16:41:32 +02:00
Gregory Colpart 641d400afa Improve packages list backup 2017-07-12 01:19:22 +02:00
Victor LABORIE 1a777afb5f Add chroot dependency to README 2017-05-17 16:46:54 +02:00
Victor LABORIE cc4bee52bd Btrfs snapshot (incs) are now readonly 2017-05-17 16:46:54 +02:00
Daniel Jakots b7fedb5609 Use English for var names 2017-05-15 13:20:44 -04:00
Benoît S. d461e44609 Another method with gzip directly piped for pg_dumpall. 2017-04-04 09:47:47 +02:00
Victor LABORIE 74a9df55e1 New upstream release (1.2.4) 2017-03-31 14:57:16 +02:00
Victor LABORIE b151ef1145 Merge branch 'master' into debian 2017-03-31 14:55:52 +02:00
Victor LABORIE e5ac7e6e73 Delete firewall rules on bkctld remove 2017-03-31 14:54:18 +02:00
Victor LABORIE d8b6fe9d87 Dump all disk (include vd[a-z]) on Linux (work for mbr and gpt disk) 2017-03-27 11:36:53 +02:00
Victor LABORIE 65a461bd1b New upstream release (1.2.3) 2017-03-24 12:28:29 +01:00
Victor LABORIE bc59b64a42 Update man page 2017-03-24 12:28:29 +01:00
Victor LABORIE dabb5de436 Use lazy umount (wait for sshd stop) 2017-03-24 12:28:29 +01:00
Daniel Jakots e2c73395f9 autodetect the system we run on 2017-03-24 12:28:29 +01:00
Victor LABORIE 7ae7d607a7 Fix schema on README 2017-03-24 12:28:29 +01:00
Victor LABORIE 7b7618c5ee Don't automatically purge incs with bkctld remove (cp version) 2017-03-24 12:28:29 +01:00