From 43979c9dd9479d28d4e55ad06a89f54b54cca719 Mon Sep 17 00:00:00 2001 From: samson Date: Tue, 2 Apr 2019 04:45:52 +0800 Subject: [PATCH] Add Readme for use case, and update README. --- README.md | 6 ++--- .../hyperledger-cello-usecase/README.mkd | 22 +++++++++++++++++++ .../Readme.mkd | 2 +- 3 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 docs/use-cases/hyperledger-cello-usecase/README.mkd diff --git a/README.md b/README.md index 7e6aa3f..361f3c0 100644 --- a/README.md +++ b/README.md @@ -218,9 +218,9 @@ This document is a description of the additions to the sections not included in ### Use case docs [Nodejs + redis + mysql demo](https://github.com/hardenedlinux/harbian-audit/blob/master/docs/examples/use-cases/nodejs-redis-mysql-usecase/README.md) -[deploy-hyperledger-cello-on-debian-9](https://github.com/hardenedlinux/Debian-GNU-Linux-Profiles/blob/master/docs/blockchains/deploy-hyperledger-cello-on-debian-9.md) -[nginx-mutual-ssl-proxy-http](https://github.com/hardenedlinux/Debian-GNU-Linux-Profiles/blob/master/docs/tls/nginx-mutual-ssl-proxy-http.md) -[nginx-mutual-ssl-proxy-tcp-udp](https://github.com/hardenedlinux/Debian-GNU-Linux-Profiles/blob/master/docs/tls/nginx-mutual-ssl-proxy-tcp-udp.md) +[deploy-hyperledger-cello-on-debian-9](https://github.com/hardenedlinux/harbian-audit/blob/master/docs/use-cases/hyperledger-cello-usecase/Readme.mkd) +[nginx-mutual-ssl-proxy-http](https://github.com/hardenedlinux/harbian-audit/blob/master/docs/use-cases/tls-transmission-usecase/nginx-mutual-ssl-proxy-http-service/Readme.mkd) +[nginx-mutual-ssl-proxy-tcp-udp](https://github.com/hardenedlinux/harbian-audit/blob/master/docs/use-cases/tls-transmission-usecase/using-Nginx-as-SSL-tunnel-4TCP-UDP-service/Readme.mkd) ## harbian-audit complianced image diff --git a/docs/use-cases/hyperledger-cello-usecase/README.mkd b/docs/use-cases/hyperledger-cello-usecase/README.mkd new file mode 100644 index 0000000..9f235b3 --- /dev/null +++ b/docs/use-cases/hyperledger-cello-usecase/README.mkd @@ -0,0 +1,22 @@ +# Use case deploy document +[deploy-hyperledger-cello-on-debian-9](https://github.com/hardenedlinux/Debian-GNU-Linux-Profiles/blob/master/docs/blockchains/deploy-hyperledger-cello-on-debian-9.md) + +# How to use harbian-audit to audit and apply + +## Master node +``` +sudo iptables-restore master-ufw-rules.conf +sudo bash bin/hardening.sh --audit-all +sudo bash bin/hardening.sh --set-hardening-level 5 +sudo bash bin/hardening.sh --audit-all +sudo bash bin/hardening.sh --apply +``` + +## Worker node +``` +sudo iptables-restore worker-ufw-rules.conf +sudo bash bin/hardening.sh --audit-all +sudo bash bin/hardening.sh --set-hardening-level 5 +sudo bash bin/hardening.sh --audit-all +sudo bash bin/hardening.sh --apply +``` diff --git a/docs/use-cases/tls-transmission-usecase/nginx-mutual-ssl-proxy-http-service/Readme.mkd b/docs/use-cases/tls-transmission-usecase/nginx-mutual-ssl-proxy-http-service/Readme.mkd index abba4d0..e6c2d74 100644 --- a/docs/use-cases/tls-transmission-usecase/nginx-mutual-ssl-proxy-http-service/Readme.mkd +++ b/docs/use-cases/tls-transmission-usecase/nginx-mutual-ssl-proxy-http-service/Readme.mkd @@ -1,5 +1,5 @@ # Use case deploy document -[nginx-mutual-ssl-proxy-http](https://github.com/hardenedlinux/Debian-GNU-Linux-Profiles/blob/aa1f79d609e25d4b37fd3581b6e591ce3120b680/docs/tls/nginx-mutual-ssl-proxy-http.md) +[nginx-mutual-ssl-proxy-http](https://github.com/hardenedlinux/Debian-GNU-Linux-Profiles/blob/master/docs/tls/nginx-mutual-ssl-proxy-http.md) # How to use harbian-audit to audit and apply