Skip to content

Commit

Permalink
Merge pull request #42 from EOSIO/update-readme
Browse files Browse the repository at this point in the history
Add build instructions to README.md
  • Loading branch information
ericiles authored Jun 13, 2018
2 parents 28af9cb + 728925a commit b140f93
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

Patroneos provides a layer of protection for EOSIO nodes designed to protect against some of the basic Denial of Service attack vectors. It runs in a simple configuration and a more advanced configuration.

## Building
To build patroneos, you can simply clone the repository, and then run `./build.sh` from within the repository directory.

```
git clone https://github.com/EOSIO/patroneos
cd patroneos
./build.sh
```

You can also target a specific branch/tag/release. In the below example, we are building Patroneos v1.1.0.
```
git clone -b 1.1.0 https://github.com/EOSIO/patroneos
cd patroneos
./build.sh
```

You can confirm the version by using `patroneosd -v` which will output the Branch/Tag/Release, Git Commit ID, and Build Date/Time.

## Simple Configuration
The simple configuration is designed to simply drop requests that are invalid or could cause unnecessary load on the node. This is done by running the request through a set of middleware (described below) that apply rules to the request. If a request passes all the middleware, it is forwarded to the node with the response returned to the user. Otherwise, an error code and the failure condition is returned to the user.

Expand Down

0 comments on commit b140f93

Please sign in to comment.