Sha256: 0f1b2fbbc08e21f0ba58e2c3db7dd24f65bd7fb1fe7437c52495ff75756f709f

Contents?: true

Size: 1.7 KB

Versions: 16

Compression:

Stored size: 1.7 KB

Contents

# SPAroid

Single Packet Authorization client implementation in Ruby, both a library and a CLI app. SPA sends a single encrypted and HMACed UDP package to a server, the server upon receiving it verifies and decrypts it and then executes a command, most often opening the firewall for the client that sent the package. This allows you to employ a reject-all firewall but open the firewall for e.g. SSH access. It's a first line of defence, in the case of 0-day attacks on SSH or similar.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sparoid'
```

And then execute:

    $ bundle install

Or install it yourself as:

    $ gem install sparoid

## Usage

...

Can be used with OpenSSH's ProxyCommand/ProxyUseFdpass to send the packet before connecting, open the TCP connection and that pass that connection back to the SSH client.

```
Host *.example.com
  ProxyCommand sparoid connect %h %p
  ProxyUseFdpass yes
```

## Development

After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).

## Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/84codes/sparoid.rb.

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sparoid-1.2.0 README.md
sparoid-1.1.0 README.md
sparoid-1.0.22 README.md
sparoid-1.0.21 README.md
sparoid-1.0.20 README.md
sparoid-1.0.19 README.md
sparoid-1.0.18 README.md
sparoid-1.0.17 README.md
sparoid-1.0.16 README.md
sparoid-1.0.15 README.md
sparoid-1.0.14 README.md
sparoid-1.0.13 README.md
sparoid-1.0.12 README.md
sparoid-1.0.11 README.md
sparoid-1.0.10 README.md
sparoid-1.0.9 README.md